1. Pre-collision warning system malfunctioned. On my vehicle it has activated 4 different times when there was no obstacle in the roadway -- one of which happened in front of a semi truck and the semi truck almost rear ended me. On the loaner vehicle while mine was being looked it, the pre-collision warning didn't activate at all when there was a significant obstruction in the roadway and I wrecked the vehicle. 2. My safety has been put at risk by having a pre-collision warning system activate randomly and then brake hard due to this. It was also put at risk by the pre-collision warning system not activated at all and causing an accident. My safety has further been put at risk by Subaru asking me to continue to drive my vehicle to help them figure out what is happening. I am not a crash test dummy. 3. The problem has not been able to be reproduced but I do have some pictures of the malfunctions. 4. The vehicle has been inspected by the dealership. 5. My vehicle has been plagued with multiple electrical issues prior to the pre-collision warning activating for no apparent reason. The warning signs were came on and off too fast for me to see what they were other than the vehicle was braking hard for no reason.