Crash when opening / related to trying to display an image
Created by: al-tonio
SMSSecure version: Latest - v0.13.2
Phone: Nexus 5 Android version: 6.0.1 Patch level: March 1, 2016
Issue: When opening SMSSecure, It closes and reports "Unfortunately, SMSSecure has stopped". AFAICT, The issue started after I got an image sent to me - I do not know if I trust the sender or not: I do not know how to check who the sender is not what the image is since SMSSecure dies when I try to open it.
LOG:
$ ./platform-tools/adb logcat | grep org.smssecure.smssecure
02-17 17:48:35.844 1900 1913 I ActivityManager: Start proc 20126:org.smssecure.smssecure/u0a144 for broadcast org.smssecure.smssecure/.service.SmsListener
02-17 21:31:37.121 1900 2431 I ActivityManager: Killing 20126:org.smssecure.smssecure/u0a144 (adj 15): empty #17
02-18 11:39:48.293 1900 8130 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 pkg=org.smssecure.smssecure cmp=org.smssecure.smssecure/.RoutingActivity bnds=[789,984][1023,1246] (has extras)} from uid 10019 on display 0
02-18 11:39:48.357 1900 11870 I ActivityManager: Start proc 30702:org.smssecure.smssecure/u0a144 for activity org.smssecure.smssecure/.RoutingActivity
02-18 11:39:49.175 30702 30702 W KeyCachingService: onStartCommand, org.smssecure.smssecure.service.action.ACTIVITY_START_EVENT
02-18 11:39:49.637 1900 1918 I ActivityManager: Displayed org.smssecure.smssecure/.RoutingActivity: +1s305ms
02-18 11:39:49.794 30702 30758 W AttachmentDatabase: java.util.concurrent.ExecutionException: org.smssecure.smssecure.util.BitmapDecodingException: Failed to decode image dimensions: -1, -1
02-18 11:39:49.794 30702 30758 W AttachmentDatabase: at org.smssecure.smssecure.database.AttachmentDatabase.getThumbnailStream(AttachmentDatabase.java:130)
02-18 11:39:49.794 30702 30758 W AttachmentDatabase: at org.smssecure.smssecure.mms.PartAuthority.getAttachmentStream(PartAuthority.java:52)
02-18 11:39:49.794 30702 30758 W AttachmentDatabase: at org.smssecure.smssecure.mms.DecryptableStreamLocalUriFetcher.loadResource(DecryptableStreamLocalUriFetcher.java:32)
02-18 11:39:49.794 30702 30758 W AttachmentDatabase: at org.smssecure.smssecure.mms.DecryptableStreamLocalUriFetcher.loadResource(DecryptableStreamLocalUriFetcher.java:16)
02-18 11:39:49.794 30702 30758 W AttachmentDatabase: Caused by: org.smssecure.smssecure.util.BitmapDecodingException: Failed to decode image dimensions: -1, -1
02-18 11:39:49.794 30702 30758 W AttachmentDatabase: at org.smssecure.smssecure.util.BitmapUtil.getImageDimensions(BitmapUtil.java:133)
02-18 11:39:49.794 30702 30758 W AttachmentDatabase: at org.smssecure.smssecure.util.BitmapUtil.getDimensions(BitmapUtil.java:140)
02-18 11:39:49.794 30702 30758 W AttachmentDatabase: at org.smssecure.smssecure.util.BitmapUtil.createScaledBitmap(BitmapUtil.java:76)
02-18 11:39:49.794 30702 30758 W AttachmentDatabase: at org.smssecure.smssecure.util.MediaUtil.generateImageThumbnail(MediaUtil.java:55)
02-18 11:39:49.794 30702 30758 W AttachmentDatabase: at org.smssecure.smssecure.util.MediaUtil.generateThumbnail(MediaUtil.java:39)
02-18 11:39:49.794 30702 30758 W AttachmentDatabase: at org.smssecure.smssecure.database.AttachmentDatabase$ThumbnailFetchCallable.call(AttachmentDatabase.java:529)
02-18 11:39:49.794 30702 30758 W AttachmentDatabase: at org.smssecure.smssecure.database.AttachmentDatabase$ThumbnailFetchCallable.call(AttachmentDatabase.java:505)
02-18 11:39:49.794 30702 30758 W DecryptableStreamLocalUriFetcher: java.io.IOException: java.util.concurrent.ExecutionException: org.smssecure.smssecure.util.BitmapDecodingException: Failed to decode image dimensions: -1, -1
02-18 11:39:49.794 30702 30758 W DecryptableStreamLocalUriFetcher: at org.smssecure.smssecure.database.AttachmentDatabase.getThumbnailStream(AttachmentDatabase.java:138)
02-18 11:39:49.794 30702 30758 W DecryptableStreamLocalUriFetcher: at org.smssecure.smssecure.mms.PartAuthority.getAttachmentStream(PartAuthority.java:52)
02-18 11:39:49.794 30702 30758 W DecryptableStreamLocalUriFetcher: at org.smssecure.smssecure.mms.DecryptableStreamLocalUriFetcher.loadResource(DecryptableStreamLocalUriFetcher.java:32)
02-18 11:39:49.794 30702 30758 W DecryptableStreamLocalUriFetcher: at org.smssecure.smssecure.mms.DecryptableStreamLocalUriFetcher.loadResource(DecryptableStreamLocalUriFetcher.java:16)
02-18 11:39:49.794 30702 30758 W DecryptableStreamLocalUriFetcher: Caused by: java.util.concurrent.ExecutionException: org.smssecure.smssecure.util.BitmapDecodingException: Failed to decode image dimensions: -1, -1
02-18 11:39:49.794 30702 30758 W DecryptableStreamLocalUriFetcher: at org.smssecure.smssecure.database.AttachmentDatabase.getThumbnailStream(AttachmentDatabase.java:130)
02-18 11:39:49.794 30702 30758 W DecryptableStreamLocalUriFetcher: Caused by: org.smssecure.smssecure.util.BitmapDecodingException: Failed to decode image dimensions: -1, -1
02-18 11:39:49.794 30702 30758 W DecryptableStreamLocalUriFetcher: at org.smssecure.smssecure.util.BitmapUtil.getImageDimensions(BitmapUtil.java:133)
02-18 11:39:49.794 30702 30758 W DecryptableStreamLocalUriFetcher: at org.smssecure.smssecure.util.BitmapUtil.getDimensions(BitmapUtil.java:140)
02-18 11:39:49.794 30702 30758 W DecryptableStreamLocalUriFetcher: at org.smssecure.smssecure.util.BitmapUtil.createScaledBitmap(BitmapUtil.java:76)
02-18 11:39:49.794 30702 30758 W DecryptableStreamLocalUriFetcher: at org.smssecure.smssecure.util.MediaUtil.generateImageThumbnail(MediaUtil.java:55)
02-18 11:39:49.794 30702 30758 W DecryptableStreamLocalUriFetcher: at org.smssecure.smssecure.util.MediaUtil.generateThumbnail(MediaUtil.java:39)
02-18 11:39:49.794 30702 30758 W DecryptableStreamLocalUriFetcher: at org.smssecure.smssecure.database.AttachmentDatabase$ThumbnailFetchCallable.call(AttachmentDatabase.java:529)
02-18 11:39:49.794 30702 30758 W DecryptableStreamLocalUriFetcher: at org.smssecure.smssecure.database.AttachmentDatabase$ThumbnailFetchCallable.call(AttachmentDatabase.java:505)
02-18 11:39:49.807 30702 30735 E AndroidRuntime: Process: org.smssecure.smssecure, PID: 30702
02-18 11:39:49.807 30702 30735 E AndroidRuntime: at org.smssecure.smssecure.notifications.SingleRecipientNotificationBuilder.getBigPicture(SingleRecipientNotificationBuilder.java:223)
02-18 11:39:49.807 30702 30735 E AndroidRuntime: at org.smssecure.smssecure.notifications.SingleRecipientNotificationBuilder.build(SingleRecipientNotificationBuilder.java:168)
02-18 11:39:49.807 30702 30735 E AndroidRuntime: at org.smssecure.smssecure.notifications.MessageNotifier.sendSingleThreadNotification(MessageNotifier.java:256)
02-18 11:39:49.807 30702 30735 E AndroidRuntime: at org.smssecure.smssecure.notifications.MessageNotifier.updateNotification(MessageNotifier.java:190)
02-18 11:39:49.807 30702 30735 E AndroidRuntime: at org.smssecure.smssecure.notifications.MessageNotifier.updateNotificationWithFlags(MessageNotifier.java:139)
02-18 11:39:49.807 30702 30735 E AndroidRuntime: at org.smssecure.smssecure.notifications.MessageNotifier.updateNotification(MessageNotifier.java:143)
02-18 11:39:49.807 30702 30735 E AndroidRuntime: at org.smssecure.smssecure.service.KeyCachingService$1.doInBackground(KeyCachingService.java:113)
02-18 11:39:49.807 30702 30735 E AndroidRuntime: at org.smssecure.smssecure.service.KeyCachingService$1.doInBackground(KeyCachingService.java:106)
02-18 11:39:49.807 30702 30735 E AndroidRuntime: at org.smssecure.smssecure.notifications.SingleRecipientNotificationBuilder.getBigPicture(SingleRecipientNotificationBuilder.java:217)
02-18 11:39:49.807 30702 30735 E AndroidRuntime: at org.smssecure.smssecure.mms.DecryptableStreamLocalUriFetcher.loadResource(DecryptableStreamLocalUriFetcher.java:35)
02-18 11:39:49.807 30702 30735 E AndroidRuntime: at org.smssecure.smssecure.mms.DecryptableStreamLocalUriFetcher.loadResource(DecryptableStreamLocalUriFetcher.java:16)
02-18 11:39:49.839 1900 3618 W ActivityManager: Force finishing activity org.smssecure.smssecure/.RoutingActivity
02-18 11:39:49.883 30702 30702 W KeyCachingService: onStartCommand, org.smssecure.smssecure.service.action.ACTIVITY_STOP_EVENT
02-18 11:39:55.206 1900 1910 I ActivityManager: Process org.smssecure.smssecure (pid 30702) has died
02-18 11:39:55.206 1900 1910 W ActivityManager: Scheduling restart of crashed service org.smssecure.smssecure/.service.KeyCachingService in 1000ms