i actually had the same experience couple of weeks ago. i was at the canyons going on a left hand turn at about a good speed, had the bike leaned over & as soon as i had a glimpse of my exit i saw a biggest gmc truck ever pulling right in front of me!
thought were running through my head, will he stop? did he see me? f$ck im gonna crash :-( at this time the bike only had 400m & i was just trying to break her in. sure enough he went & drove right in front of me, and the worst part is he pulled in slooowwwllyyy... so i stood the bike up and grabbed both brakes! it was like God sent his angels & pulled me away from hitting the truck's rear bumper, i was literally inches away from hitting it & possible front flip action was going to happen...
i had to pull over after that & thank the motorcycle God & also thank to the wonderful creation of ABS. closest encounter by far (whew... what a experience)
2012 BMW S1000RR B.Fire (current)
2009 GSX-R 600 (current-track)
2006 YZF R6R (track-sold)
2009 YZF R1 (sold)
2007 GSXR 750 (sold)
2003 YZF R6S (sold)