I have a Galaxy Nexus (rooted, running stock Jellybean). When I place it in the car dock, my screen gets flooded with notifications for "shell granted superuser access," and after a few minutes something attempts to send an email, which I know because it raises the "Select an application to continue" dialog box with choices between Gmail and Email; if I allow it to continue, it simply provides me with a bug reporting email message with no pre-filled recipient, a screen shot of my lock screen, and a 4.7MB(!) textfile.
When I check the superuser log, all of the last 200 events are for "shell," all within a second of each other, which tells me that the actual count of superuser accesses is far higher than that. Consulting the log indicates that the
su process is being used to run a bunch of different diagnostics (one for
lsof, one per running process, one per sqlite database, and so on). So this tells me that it's actually the bug reporting process that is causing the "shell granted superuser access" messages to pop up. Also, the
su instance being used is not the third-party root one but
/system/xbin/su - and this process is terminating with exit code 127.
I have never seen this behavior occur anywhere else - it is only when I dock the phone to the car dock when plugged into my car (plugging it into a USB AC adapter doesn't cause this behavior, which is especially strange). I have written a small application that uses UiModeManager to artificially enter car mode, but doing that does not cause the issue to occur; aLogcat doesn't show anything interesting while the issue is actually happening.
I am running Apex Launcher instead of the default, but these notifications occur regardless of what's in the foreground (the first time it happened, Maps was running in navigation mode), and whether I have a Car Home-specific shell installed or not.