[Nexus One Q&A, Help & Troubleshooting] crishna:
rebooting randomly

Hi, i have the same issues here with my nexus one... i had in the past, unlocked, rooted and installed CM6, wasnt having any issues at all... but since i installed CM7, troubles started...

this week, i've done some work on that little phone... re-installed stock image, updated to 2.3.4 from OTA, done nothing else, except installing su for terminal purposes... and then, i tried to replicate troubles, which i did easily...

at first, i thought it was heat... not the case, then i remarked that it kept crashing randomly on 3g network connections, since i never have issues watching youtube on my wifi at home, but when im in the bus going to work, it crashed on youtube... so i tried other network datacomm on the 3g, and i can easily make it crash. i can never make it crash on the wifi tho...

so i started adb shell, did su, then logcat command, which gives me output in realtime of whats happening...

this output shows when i started youtube... the video started to play in portrait, so i swithc my creen landscape to get it full screen and BAM! crash, here is the output

I/WindowManager( 99): Setting rotation to 1, animFlags=0
I/ActivityManager( 99): Config changed: { scale=1.0 imsi=302/500 loc=fr_FR touch=3 keys=1/1/2 nav=3/1 orien=2 layout=34 uiMode=17 seq=5}
D/dalvikvm( 99): GC_EXPLICIT freed 304K, 44% free 5301K/9415K, external 3125K/3903K, paused 140ms
W/TimedEventQueue( 70): Event 2393 was not found in the queue, already cancelled?
D/MediaPlayer(15126): Couldn't open file on client side, trying server side
I/StagefrightPlayer( 70): setDataSource('http : //v21.lscache2.googlevideo.com/videoplayback?id=09857e993aa523f8&itag=18&uaopt=no-save&ip=0.0.0.0&ipbits=0&expire=1307568226&sparams=id,itag,uaopt,ip,ipbits,expire&signature=E5F3700F4F5B82898EB4D207F05C187045243C55.D9B8BFD850E01766AC708F880046A3333B5E29E1&key=yta1&el=standard&devKey=ATdpM7DMA4JyVrf7elHDrdsO88HsQjpE1a8d1GxQnGDm&app=youtube_gdata')
I/NuHTTPDataSource( 70): connect to v21.lscache2.googlevideo.com:80/videoplayback?id=09857e993aa523f8&itag=18&uaopt=no-save&ip=0.0.0.0&ipbits=0&expire=1307568226&sparams=id,itag,uaopt,ip,ipbits,expire&signature=E5F3700F4F5B82898EB4D207F05C187045243C55.D9B8BFD850E01766AC708F880046A3333B5E29E1&key=yta1&el=standard&devKey=ATdpM7DMA4JyVrf7elHDrdsO88HsQjpE1a8d1GxQnGDm&app=youtube_gdata @0
W/libutils.threads( 70): Thread (this=0x12608): don't call waitForExit() from this Thread object's thread. It's a guaranteed deadlock!
I/OMXCodec( 70): [OMX.qcom.video.decoder.avc] allocating 4 buffers of size 460800 on input port
I/OMXCodec( 70): [OMX.qcom.video.decoder.avc] allocating 8 buffers of size 345600 on output port
D/AudioHardwareQSD( 70): AudioHardware pcm playback is going to standby.
W/YouTube (15126): Avoiding double logging of play start
W/QCvdec ( 70): H264_Utils::check_header
W/QCvdec ( 70): check_header: start code 29
I/NuCachedSource2( 70): new range: offset= 1852430
I/NuHTTPDataSource( 70): connect to v21.lscache2.googlevideo.com:80/videoplayback?id=09857e993aa523f8&itag=18&uaopt=no-save&ip=0.0.0.0&ipbits=0&expire=1307568226&sparams=id,itag,uaopt,ip,ipbits,expire&signature=E5F3700F4F5B82898EB4D207F05C187045243C55.D9B8BFD850E01766AC708F880046A3333B5E29E1&key=yta1&el=standard&devKey=ATdpM7DMA4JyVrf7elHDrdsO88HsQjpE1a8d1GxQnGDm&app=youtube_gdata @1852430
W/AudioFlinger( 70): write blocked for 179 msecs, 2 delayed writes, thread 0xea00

another example, was that i wanted to install rom manager, so i went on the market, downloaded rom manager and BAM! crashed, here is a few last line of the logcat output

W/System.err( 407): at dalvik.system.NativeStart.main(Native Method)
I/TelephonyRegistry( 99): notifyServiceState: 0 home Videotron 302500 UMTS CSS not supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false
I/TelephonyRegistry( 99): notifyDataConnection: state=2 isDataConnectivityPossible=true reason=null interfaceName=rmnet0 networkType=3
I/ActivityManager( 99): Starting: Intent { dat=market://details?id=com.koushikdutta.rommanager cmp=com.android.vending/.AssetInfoActivity } from pid 407
I/ActivityManager( 99): No longer want com.android.mms (pid 385): hidden #16
D/dalvikvm( 256): GC_EXPLICIT freed 424K, 47% free 4239K/7879K, external 3230K/3696K, paused 47ms
I/LicenseChecker( 539): Received response.
I/LicenseChecker( 539): Clearing timeout.
I/dalvikvm( 539): Total arena pages for JIT: 11
I/ActivityManager( 99): Displayed com.android.vending/.AssetInfoActivity: +352ms
I/vending ( 256): [1] PermissionsSection.getPermissionGroupLabels(): Invalid group name: null
I/LicenseChecker( 539): Received response.
I/LicenseChecker( 539): Clearing timeout.
D/dalvikvm( 407): GC_CONCURRENT freed 797K, 49% free 3694K/7239K, external 3261K/3411K, paused 3ms+3ms
I/RomNexus( 407): Using gzip for download.
W/KeyCharacterMap( 256): No keyboard for id 131074
W/KeyCharacterMap( 256): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
I/TelephonyRegistry( 99): notifyServiceState: 0 home Videotron 302500 HSDPA CSS not supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false
I/TelephonyRegistry( 99): notifyDataConnection: state=2 isDataConnectivityPossible=true reason=null interfaceName=rmnet0 networkType=8
E/C2DMRegistrar( 201): [C2DMReg] handleRequest caught javax.net.ssl.SSLException: Connection closed by peer
I/C2DMReceiver( 407): SERVICE_NOT_AVAILABLE
W/webcore ( 407): Can't get the viewWidth after the first layout
I/TelephonyRegistry( 99): notifyServiceState: 0 home Videotron 302500 UMTS CSS not supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false
I/TelephonyRegistry( 99): notifyDataConnection: state=2 isDataConnectivityPossible=true reason=null interfaceName=rmnet0 networkType=3
D/dalvikvm( 407): GC_EXTERNAL_ALLOC freed 662K, 48% free 3782K/7239K, external 3357K/3411K, paused 38ms
D/dalvikvm( 407): GC_EXTERNAL_ALLOC freed 14K, 48% free 3783K/7239K, external 3849K/3921K, paused 34ms
D/dalvikvm( 407): GC_EXTERNAL_ALLOC freed 128K, 48% free 3812K/7239K, external 4286K/4392K, paused 40ms

now i did executed a adb bugreport, i can see the following, if i search for ARM9

[ 460.500457] ARM9 has CRASHED
[ 460.500518] smem: DIAG '[WCDMA] 02:18:58 FATAL: WCDMA L2 DL (dsmi.c:00191) (0)

that crash code looks really like a 3G connection issues...

here is the header of the bugreport

Build: GRJ22
Bootloader: 0.35.0017
Radio: 5.12.00.08
Network: Videotron
Kernel: Linux version 2.6.35.7-59463-g52630a3 (android-build@apa28.mtv.corp.google.com) (gcc version 4.4.3 (GCC) ) #1 PREEMPT Tue Mar 29 11:49:12 PDT 2011
Command line: board_mahimahi.disable_uart3=0 board_mahimahi.usb_h2w_sw=0 board_mahimahi.disable_sdcard=0 diag.enabled=0 board_mahimahi.debug_uart=0 smisize=0 androidboot.baseband=5.12.00.08 androidboot.cid=GOOGL001 androidboot.carrier=GOOGLE androidboot.mid=PB9910000 androidboot.keycaps=qwerty androidboot.mode=normal androidboot.serialno=HT08LP803098 androidboot.bootloader=0.35.0017 no_console_suspend=1 wire.search_count=5