[G1 Android Development] bug666:
MMS Crash

I don't know what version of the MMS app is in 3.9.10, but whenever I try to attach a picture, or my big block of texts makes a message convert to MMS, the app FCs (no wait option) and loses the message

Log!

08-14 16:24:02.978 D/dalvikvm( 408): GC freed 19 objects / 648 bytes in 411ms

08-14 16:24:03.028 D/dalvikvm( 178): GC freed 346 objects / 17464 bytes in 447ms

08-14 16:24:03.208 D/dalvikvm( 137): GC freed 2435 objects / 99736 bytes in 620ms

08-14 16:24:03.808 D/dalvikvm( 5808): GC freed 7 objects / 256 bytes in 698ms

08-14 16:24:03.828 D/dalvikvm( 5801): GC freed 34 objects / 1288 bytes in 728ms

08-14 16:24:03.868 D/dalvikvm( 5788): GC freed 9 objects / 312 bytes in 768ms

08-14 16:24:03.868 D/dalvikvm( 5918): GC freed 9 objects / 296 bytes in 749ms

08-14 16:24:03.898 D/dalvikvm( 5996): GC freed 3427 objects / 218368 bytes in 825ms

08-14 16:24:03.918 D/dalvikvm( 331): GC freed 7 objects / 240 bytes in 830ms

08-14 16:24:03.968 D/dalvikvm( 184): GC freed 159 objects / 7104 bytes in 892ms

08-14 16:24:04.118 I/ActivityManager( 137): Starting activity: Intent { comp={com.android.mms/com.android.mms.ui.ComposeMessageActivity} }

08-14 16:24:04.408 D/dalvikvm( 5996): GC freed 1070 objects / 71624 bytes in 108ms

08-14 16:24:04.938 I/ActivityManager( 137): Displayed activity com.android.mms/.ui.ComposeMessageActivity: 816 ms

08-14 16:24:09.568 I/ActivityManager( 137): Starting activity: Intent { action=android.intent.action.CHOOSER comp={android/com.android.internal.app.ChooserActivity} (has extras) }

08-14 16:24:10.038 I/ActivityManager( 137): Starting activity: Intent { action=android.intent.action.GET_CONTENT type=image/* flags=0x3000000 comp={com.htc.album/com.htc.album.ImageGallery2} }

08-14 16:24:10.098 I/ActivityManager( 137): Start proc com.htc.album for activity com.htc.album/.ImageGallery2: pid=6009 uid=10020 gids={1006, 3003, 2001}

08-14 16:24:10.528 D/dalvikvm( 6009): GC freed 1225 objects / 96880 bytes in 126ms

08-14 16:24:10.818 D/dalvikvm( 118): GC freed 284 objects / 10784 bytes in 201ms

08-14 16:24:10.858 I/ActivityManager( 137): Start proc android.process.media for content provider com.android.providers.media/.MediaProvider: pid=6016 uid=10020 gids={1006, 3003, 2001}

08-14 16:24:10.918 D/dalvikvm( 118): GC freed 52 objects / 2280 bytes in 100ms

08-14 16:24:11.028 D/dalvikvm( 118): GC freed 2 objects / 48 bytes in 106ms

08-14 16:24:11.068 I/ActivityThread( 6016): Publishing provider media: com.android.providers.media.MediaProvider

08-14 16:24:11.138 V/MediaProvider( 6016): Attached volume: internal

08-14 16:24:11.148 V/MediaProvider( 6016): /sdcard volume ID: -1596434550

08-14 16:24:11.318 V/MediaProvider( 6016): Attached volume: external

08-14 16:24:11.448 I/ActivityThread( 6016): Publishing provider downloads: com.android.providers.downloads.DownloadProvider

08-14 16:24:11.508 I/ActivityThread( 6016): Publishing provider drm: com.android.providers.drm.DrmProvider

08-14 16:24:11.568 V/ImageManager( 6009): storage state is mounted

08-14 16:24:11.758 V/ImageManager( 6009): storage state is mounted

08-14 16:24:11.778 V/ImageManager( 6009): storage writable is true

08-14 16:24:12.048 D/dalvikvm( 6009): GC freed 707 objects / 51960 bytes in 107ms

08-14 16:24:12.168 D/dalvikvm( 6009): GC freed 50 objects / 1784 bytes in 110ms

08-14 16:24:12.288 D/dalvikvm( 6009): GC freed 161 objects / 7184 bytes in 109ms

08-14 16:24:12.408 D/dalvikvm( 6009): GC freed 2 objects / 48 bytes in 116ms

08-14 16:24:12.688 D/ImageManager( 6009): getMiniThumbnailfrom File : /sdcard/DCIM/.thumbnails/.thumbdata3--1967290299

08-14 16:24:12.728 W/IInputConnectionWrapper( 5996): showStatusIcon on inactive InputConnection

08-14 16:24:12.908 I/ActivityManager( 137): Displayed activity com.htc.album/.ImageGallery2: 2872 ms

08-14 16:24:15.018 V/ImageGallery2( 6009): /ImageBlockManager.onPause

08-14 16:24:15.028 D/crap ( 6009): crap, closed cursor null

08-14 16:24:15.218 D/AndroidRuntime( 5996): Shutting down VM

08-14 16:24:15.218 W/dalvikvm( 5996): threadid=3: thread exiting with uncaught exception (group=0x40019a68)

08-14 16:24:15.218 E/AndroidRuntime( 5996): Uncaught handler: thread main exiting due to uncaught exception

08-14 16:24:15.278 E/AndroidRuntime( 5996): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=10, result=-1, data=Intent { data=content://media/external/images/media/299 }} to activity {com.android.mms/com.android.mms.ui.ComposeMessageActivity}: java.lang.NullPointerException

08-14 16:24:15.278 E/AndroidRuntime( 5996):	at android.app.ActivityThread.deliverResults(ActivityThread.java:3005)

08-14 16:24:15.278 E/AndroidRuntime( 5996):	at android.app.ActivityThread.handleSendResult(ActivityThread.java:3047)

08-14 16:24:15.278 E/AndroidRuntime( 5996):	at android.app.ActivityThread.access$2300(ActivityThread.java:112)

08-14 16:24:15.278 E/AndroidRuntime( 5996):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1721)

08-14 16:24:15.278 E/AndroidRuntime( 5996):	at android.os.Handler.dispatchMessage(Handler.java:99)

08-14 16:24:15.278 E/AndroidRuntime( 5996):	at android.os.Looper.loop(Looper.java:123)

08-14 16:24:15.278 E/AndroidRuntime( 5996):	at android.app.ActivityThread.main(ActivityThread.java:3948)

08-14 16:24:15.278 E/AndroidRuntime( 5996):	at java.lang.reflect.Method.invokeNative(Native Method)

08-14 16:24:15.278 E/AndroidRuntime( 5996):	at java.lang.reflect.Method.invoke(Method.java:521)

08-14 16:24:15.278 E/AndroidRuntime( 5996):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782)

08-14 16:24:15.278 E/AndroidRuntime( 5996):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)

08-14 16:24:15.278 E/AndroidRuntime( 5996):	at dalvik.system.NativeStart.main(Native Method)

08-14 16:24:15.278 E/AndroidRuntime( 5996): Caused by: java.lang.NullPointerException

08-14 16:24:15.278 E/AndroidRuntime( 5996):	at com.google.android.mms.pdu.PduBody.putPartToMaps(PduBody.java:55)

08-14 16:24:15.278 E/AndroidRuntime( 5996):	at com.google.android.mms.pdu.PduBody.addPart(PduBody.java:101)

08-14 16:24:15.278 E/AndroidRuntime( 5996):	at com.android.mms.model.SlideshowModel.makePduBody(SlideshowModel.java:274)

08-14 16:24:15.278 E/AndroidRuntime( 5996):	at com.android.mms.model.SlideshowModel.makePduBody(SlideshowModel.java:188)

08-14 16:24:15.278 E/AndroidRuntime( 5996):	at com.android.mms.model.SlideshowModel.toPduBody(SlideshowModel.java:182)

08-14 16:24:15.278 E/AndroidRuntime( 5996):	at com.android.mms.ui.ComposeMessageActivity.createTemporaryMmsMessage(ComposeMessageActivity.java:2841)

08-14 16:24:15.278 E/AndroidRuntime( 5996):	at com.android.mms.ui.ComposeMessageActivity.initMmsComponents(ComposeMessageActivity.java:504)

08-14 16:24:15.278 E/AndroidRuntime( 5996):	at com.android.mms.ui.ComposeMessageActivity.convertMessage(ComposeMessageActivity.java:633)

08-14 16:24:15.278 E/AndroidRuntime( 5996):	at com.android.mms.ui.ComposeMessageActivity.onActivityResult(ComposeMessageActivity.java:2226)

08-14 16:24:15.278 E/AndroidRuntime( 5996):	at android.app.Activity.dispatchActivityResult(Activity.java:3595)

08-14 16:24:15.278 E/AndroidRuntime( 5996):	at android.app.ActivityThread.deliverResults(ActivityThread.java:3001)

08-14 16:24:15.278 E/AndroidRuntime( 5996):	... 11 more

08-14 16:24:15.398 I/Process ( 137): Sending signal. PID: 5996 SIG: 3

08-14 16:24:15.398 I/dalvikvm( 5996): threadid=7: reacting to signal 3

08-14 16:24:15.448 I/dalvikvm( 5996): Wrote stack trace to '/data/anr/traces.txt'

08-14 16:24:15.618 I/DumpStateReceiver( 137): Added state dump to 1 crashes

08-14 16:24:18.758 I/Process ( 5996): Sending signal. PID: 5996 SIG: 9

08-14 16:24:18.768 I/ActivityManager( 137): Process com.android.mms (pid 5996) has died.

08-14 16:24:18.808 I/WindowManager( 137): WIN DEATH: Window{438f86e0 com.android.mms/com.android.mms.ui.ComposeMessageActivity paused=false}

08-14 16:24:18.848 I/WindowManager( 137): WIN DEATH: Window{438a1e20 com.android.mms/com.android.mms.ui.ConversationList paused=false}

08-14 16:24:18.918 I/ActivityManager( 137): Start proc com.android.mms for activity com.android.mms/.ui.ConversationList: pid=6031 uid=10018 gids={3003}

08-14 16:24:20.568 I/ActivityManager( 137): Displayed activity com.android.mms/.ui.ConversationList: 1715 ms

08-14 16:24:21.408 I/ActivityManager( 137): Start proc com.android.settings for broadcast com.android.settings/.widget.SettingsAppWidgetProvider: pid=6042 uid=1000 gids={3003, 3002, 3001}

08-14 16:24:22.068 I/ActivityManager( 137): Process com.htc.album (pid 6009) has died.

08-14 16:24:23.288 I/ActivityManager( 137): Starting activity: Intent { action=android.intent.action.MAIN categories={android.intent.category.LAUNCHER} flags=0x10100000 comp={com.xtralogic.android.logcollector/com.xtralogic.android.logcollector.SendLogActivity} }

08-14 16:24:23.428 I/ActivityManager( 137): Start proc com.xtralogic.android.logcollector for activity com.xtralogic.android.logcollector/.SendLogActivity: pid=6050 uid=10038 gids={1007}

08-14 16:24:23.588 W/InputManagerService( 137): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@439c1930

08-14 16:24:25.558 I/ActivityManager( 137): Displayed activity com.xtralogic.android.logcollector/.SendLogActivity: 2258 ms

08-14 16:24:25.658 I/global ( 6050): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.