Closed merkste closed 6 years ago
Appareantly the photo is broken. Other apps won't display it except for its thumbnail.
could you upload the photo somewhere? (if its not personal) It would be easier to fix this, if its reproducable...
I deleted the photo, precipitately. But it's not the first damaged photo I
got. Therefore, chances are good that I can provide one in the nearer
future.
This is the image that was sent regarding the latest dump in #5193:
I have a similar crash at each startup. But I fail to stop the loop :
03-07 16:04:42.307 779-1219/? I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 pkg=org.thoughtcrime.securesms cmp=org.thoughtcrime.securesms/.RoutingActivity bnds=[99,1097][333,1359] (has extras)} from uid 10020 on display 0
03-07 16:04:42.326 1468-19741/? W/SearchService: Abort, client detached.
03-07 16:04:42.326 1468-19741/? W/SearchService: Abort, client detached.
03-07 16:04:42.326 1468-19741/? W/SearchService: Abort, client detached.
03-07 16:04:42.326 1468-19741/? W/SearchService: Abort, client detached.
03-07 16:04:42.328 1468-1468/? I/MicroDetector: Keeping mic open: false
03-07 16:04:42.328 1468-8452/? I/DeviceStateChecker: DeviceStateChecker cancelled
03-07 16:04:42.328 1468-2538/? I/MicrophoneInputStream: mic_close com.google.android.apps.gsa.speech.audio.ac@7dc1309
03-07 16:04:42.329 1468-8454/? E/AudioRecord-JNI: Error -4 during AudioRecord native read
03-07 16:04:42.346 779-16678/? I/ActivityManager: Start proc 8590:org.thoughtcrime.securesms/u0a178 for activity org.thoughtcrime.securesms/.RoutingActivity
03-07 16:04:42.391 204-8456/? D/audio_hw_primary: disable_audio_route: reset and update mixer path: audio-record
03-07 16:04:42.391 204-8456/? D/audio_hw_primary: disable_snd_device: snd_device(61: voice-rec-mic)
03-07 16:04:42.405 1468-8453/? I/MicroRecognitionRunner: Detection finished
03-07 16:04:42.406 1468-2540/? I/MicroRecognitionRunner: Stopping hotword detection.
03-07 16:04:42.433 8590-8590/? W/PartProvider: onCreate()
03-07 16:04:42.476 8590-8590/? W/PassphraseRequiredActionBarActivity: onCreate(null)
03-07 16:04:42.562 8590-8590/? W/ExperienceUpgradeActivity: getExperienceUpgrade(157)
03-07 16:04:42.565 8590-8590/? W/PassphraseRequiredActionBarActivity: routeApplicationState(), state: 0
03-07 16:04:42.579 8590-8590/? W/PassphraseRequiredActionBarActivity: initializeClearKeyReceiver()
03-07 16:04:42.608 8590-8590/? W/DirectoryRefreshListener: Scheduling for: 1457403308857
03-07 16:04:42.655 8590-8590/? W/PassphraseRequiredActionBarActivity: onResume()
03-07 16:04:42.664 8590-8615/? D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
03-07 16:04:42.681 8590-8590/? W/KeyCachingService: onCreate()
03-07 16:04:42.759 8590-8590/? W/service: Broadcasting new secret...
03-07 16:04:42.760 8590-8590/? W/KeyCachingService: onStartCommand, null
03-07 16:04:42.760 8590-8590/? W/KeyCachingService: onStartCommand, org.thoughtcrime.securesms.service.action.ACTIVITY_START_EVENT
03-07 16:04:42.760 8590-8590/? W/KeyCachingService: Incrementing activity count...
03-07 16:04:42.770 8590-8616/? W/MmsSmsDatabase: Executing query: SELECT _id, unique_row_id, body, type, thread_id, address, address_device_id, subject, date_sent, date_received, m_type, msg_box, status, part_count, ct_l, tr_id, m_size, exp, st, delivery_receipt_count, mismatched_identities, network_failures, subscription_id, transport_type, attachment_id, unique_id, mid, data_size, _data, ct, cl, cd, name, pending_push FROM (SELECT DISTINCT date_sent AS date_sent, date AS date_received, _id, 'SMS::' || _id || '::' || date_sent AS unique_row_id, NULL AS attachment_id, body, read, thread_id, type, address, address_device_id, subject, NULL AS m_type, NULL AS msg_box, status, NULL AS part_count, NULL AS ct_l, NULL AS tr_id, NULL AS m_size, NULL AS exp, NULL AS st, delivery_receipt_count, mismatched_identities, subscription_id, NULL AS network_failures, 'sms' AS transport_type, NULL AS unique_id, NULL AS mid, NULL AS data_size, NULL AS _data, NULL AS ct, NULL AS cl, NULL AS cd, NULL AS name, NULL AS pending_push FROM sms WHERE (read = 0) UNION ALL SELECT DISTINCT date AS date_sent, date_received AS date_received, mms._id AS _id, 'MMS::' || mms._id || '::' || date AS unique_row_id, part._id AS attachment_id, body, read, thread_id, NULL AS type, address, address_device_id, NULL AS subject, m_type, msg_box, NULL AS status, part_count, ct_l, tr_id, m_size, exp, st, delivery_receipt_count, mismatched_identities, subscription_id, network_failures, 'mms' AS transport_type, unique_id, NULL AS mid, data_size, NULL AS _data, ct, cl, cd, name, pending_push FROM mms LEFT OUTER JOIN part ON part._id = (SELECT part._id FROM part WHERE part.mid = mms._id LIMIT 1) WHERE (read = 0) ORDER BY date_received ASC)
03-07 16:04:42.778 8590-8590/? W/MessageRetrievalService: Active Count: 1
03-07 16:04:42.779 8590-8617/? W/MessageRetrievalService: Waiting for websocket state change....
03-07 16:04:42.780 8590-8617/? W/MessageRetrievalService: Network requirement: true, active activities: 1, push pending: 0
03-07 16:04:42.780 8590-8617/? W/MessageRetrievalService: Making websocket connection....
03-07 16:04:42.782 8590-8617/? W/WebSocketConnection: WSC connect()...
03-07 16:04:42.782 8590-8617/? W/OkHttpClientWrapper: Connecting to: wss://textsecure-service.whispersystems.org/v1/websocket/?login=%s&password=%s
03-07 16:04:42.784 8590-8617/? W/MessageRetrievalService: Network requirement: true, active activities: 1, push pending: 0
03-07 16:04:42.784 8590-8617/? W/MessageRetrievalService: Reading message...
03-07 16:04:42.808 8590-8615/? I/Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb
03-07 16:04:42.810 8590-8615/? I/OpenGLRenderer: Initialized EGL, version 1.4
03-07 16:04:42.881 8590-8599/? I/art: Background sticky concurrent mark sweep GC freed 35995(2MB) AllocSpace objects, 4(80KB) LOS objects, 29% free, 16MB/23MB, paused 6.790ms total 32.486ms
03-07 16:04:42.946 8590-8619/? W/RecipientPreferenceDatabase: Muted until: 0
03-07 16:04:43.118 779-800/? I/ActivityManager: Displayed org.thoughtcrime.securesms/.RoutingActivity: +783ms
03-07 16:04:43.123 1239-1239/? I/Keyboard.Facilitator: onFinishInput()
03-07 16:04:43.146 8590-8637/? W/AttachmentDatabase: getThumbnailStream((row id: 137, unique ID: 1457183610588))
03-07 16:04:43.173 1468-7348/? W/SearchService: Abort, client detached.
03-07 16:04:43.173 1468-7348/? W/SearchService: Abort, client detached.
03-07 16:04:43.173 1468-7348/? W/SearchService: Abort, client detached.
03-07 16:04:43.184 8590-8612/? D/skia: --- SkImageDecoder::Factory returned null
03-07 16:04:43.189 8590-8637/? W/AttachmentDatabase: java.util.concurrent.ExecutionException: org.thoughtcrime.securesms.util.BitmapDecodingException: Failed to decode image dimensions: -1, -1
at java.util.concurrent.FutureTask.report(FutureTask.java:94)
at java.util.concurrent.FutureTask.get(FutureTask.java:164)
at org.thoughtcrime.securesms.database.AttachmentDatabase.getThumbnailStream(AttachmentDatabase.java:131)
at org.thoughtcrime.securesms.mms.PartAuthority.getAttachmentStream(PartAuthority.java:52)
at org.thoughtcrime.securesms.mms.DecryptableStreamLocalUriFetcher.loadResource(DecryptableStreamLocalUriFetcher.java:32)
at org.thoughtcrime.securesms.mms.DecryptableStreamLocalUriFetcher.loadResource(DecryptableStreamLocalUriFetcher.java:16)
at com.bumptech.glide.load.data.LocalUriFetcher.loadData(LocalUriFetcher.java:44)
at com.bumptech.glide.load.model.ImageVideoModelLoader$ImageVideoFetcher.loadData(ImageVideoModelLoader.java:70)
at com.bumptech.glide.load.model.ImageVideoModelLoader$ImageVideoFetcher.loadData(ImageVideoModelLoader.java:53)
at com.bumptech.glide.load.engine.DecodeJob.decodeSource(DecodeJob.java:170)
at com.bumptech.glide.load.engine.DecodeJob.decodeFromSource(DecodeJob.java:128)
at com.bumptech.glide.load.engine.EngineRunnable.decodeFromSource(EngineRunnable.java:122)
at com.bumptech.glide.load.engine.EngineRunnable.decode(EngineRunnable.java:101)
at com.bumptech.glide.load.engine.EngineRunnable.run(EngineRunnable.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
at com.bumptech.glide.load.engine.executor.FifoPriorityThreadPoolExecutor$DefaultThreadFactory$1.run(FifoPriorityThreadPoolExecutor.java:118)
Caused by: org.thoughtcrime.securesms.util.BitmapDecodingException: Failed to decode image dimensions: -1, -1
at org.thoughtcrime.securesms.util.BitmapUtil.getImageDimensions(BitmapUtil.java:134)
at org.thoughtcrime.securesms.util.BitmapUtil.getDimensions(BitmapUtil.java:141)
at org.thoughtcrime.securesms.util.BitmapUtil.createScaledBitmap(BitmapUtil.java:77)
at org.thoughtcrime.securesms.util.MediaUtil.generateImageThumbnail(MediaUtil.java:55)
at org.thoughtcrime.securesms.util.MediaUtil.generateThumbnail(MediaUtil.java:39)
at org.thoughtcrime.securesms.database.AttachmentDatabase$ThumbnailFetchCallable.call(AttachmentDatabase.java:530)
at org.thoughtcrime.securesms.database.AttachmentDatabase$ThumbnailFetchCallable.call(AttachmentDatabase.java:506)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
03-07 16:04:43.193 8590-8637/? W/DecryptableStreamLocalUriFetcher: java.io.IOException: java.util.concurrent.ExecutionException: org.thoughtcrime.securesms.util.BitmapDecodingException: Failed to decode image dimensions: -1, -1
at org.thoughtcrime.securesms.database.AttachmentDatabase.getThumbnailStream(AttachmentDatabase.java:139)
at org.thoughtcrime.securesms.mms.PartAuthority.getAttachmentStream(PartAuthority.java:52)
at org.thoughtcrime.securesms.mms.DecryptableStreamLocalUriFetcher.loadResource(DecryptableStreamLocalUriFetcher.java:32)
at org.thoughtcrime.securesms.mms.DecryptableStreamLocalUriFetcher.loadResource(DecryptableStreamLocalUriFetcher.java:16)
at com.bumptech.glide.load.data.LocalUriFetcher.loadData(LocalUriFetcher.java:44)
at com.bumptech.glide.load.model.ImageVideoModelLoader$ImageVideoFetcher.loadData(ImageVideoModelLoader.java:70)
at com.bumptech.glide.load.model.ImageVideoModelLoader$ImageVideoFetcher.loadData(ImageVideoModelLoader.java:53)
at com.bumptech.glide.load.engine.DecodeJob.decodeSource(DecodeJob.java:170)
at com.bumptech.glide.load.engine.DecodeJob.decodeFromSource(DecodeJob.java:128)
at com.bumptech.glide.load.engine.EngineRunnable.decodeFromSource(EngineRunnable.java:122)
at com.bumptech.glide.load.engine.EngineRunnable.decode(EngineRunnable.java:101)
at com.bumptech.glide.load.engine.EngineRunnable.run(EngineRunnable.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
at com.bumptech.glide.load.engine.executor.FifoPriorityThreadPoolExecutor$DefaultThreadFactory$1.run(FifoPriorityThreadPoolExecutor.java:118)
Caused by: java.util.concurrent.ExecutionException: org.thoughtcrime.securesms.util.BitmapDecodingException: Failed to decode image dimensions: -1, -1
at java.util.concurrent.FutureTask.report(FutureTask.java:94)
at java.util.concurrent.FutureTask.get(FutureTask.java:164)
at org.thoughtcrime.securesms.database.AttachmentDatabase.getThumbnailStream(AttachmentDatabase.java:131)
at org.thoughtcrime.securesms.mms.PartAuthority.getAttachmentStream(PartAuthority.java:52)
at org.thoughtcrime.securesms.mms.DecryptableStreamLocalUriFetcher.loadResource(DecryptableStreamLocalUriFetcher.java:32)
at org.thoughtcrime.securesms.mms.DecryptableStreamLocalUriFetcher.loadResource(DecryptableStreamLocalUriFetcher.java:16)
at com.bumptech.glide.load.data.LocalUriFetcher.loadData(LocalUriFetcher.java:44)
at com.bumptech.glide.load.model.ImageVideoModelLoader$ImageVideoFetcher.loadData(ImageVideoModelLoader.java:70)
at com.bumptech.glide.load.model.ImageVideoModelLoader$ImageVideoFetcher.loadData(ImageVideoModelLoader.java:53)
at com.bumptech.glide.load.engine.DecodeJob.decodeSource(DecodeJob.java:170)
at com.bumptech.glide.load.engine.DecodeJob.decodeFromSource(DecodeJob.java:128)
at com.bumptech.glide.load.engine.EngineRunnable.decodeFromSource(EngineRunnable.java:122)
at com.bumptech.glide.load.engine.EngineRunnable.decode(EngineRunnable.java:101)
at com.bumptech.glide.load.engine.EngineRunnable.run(EngineRunnable.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
at com.bumptech.glide.load.engine.executor.FifoPriorityThreadPoolExecutor$DefaultThreadFactory$1.run(FifoPriorityThreadPoolExecutor.java:118)
Caused by: org.thoughtcrime.securesms.util.BitmapDecodingException: Failed to decode image dimensions: -1, -1
at org.thoughtcrime.securesms.util.BitmapUtil.getImageDimensions(BitmapUtil.java:134)
at org.thoughtcrime.securesms.util.BitmapUtil.getDimensions(BitmapUtil.java:141)
at org.thoughtcrime.securesms.util.BitmapUtil.createScaledBitmap(BitmapUtil.java:77)
at org.thoughtcrime.securesms.util.MediaUtil.generateImageThumbnail(MediaUtil.java:55)
at org.thoughtcrime.securesms.util.MediaUtil.generateThumbnail(MediaUtil.java:39)
at org.thoughtcrime.securesms.database.AttachmentDatabase$ThumbnailFetchCallable.call(AttachmentDatabase.java:530)
at org.thoughtcrime.securesms.database.AttachmentDatabase$ThumbnailFetchCallable.call(AttachmentDatabase.java:506)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
03-07 16:04:43.205 8590-8616/? W/NotificationState: Added thread: 201
03-07 16:04:43.205 8590-8616/? W/NotificationState: Pending array off intent length: 1
03-07 16:04:43.218 8590-8643/? W/AttachmentDatabase: getThumbnailStream((row id: 137, unique ID: 1457183610588))
03-07 16:04:43.222 8590-8612/? D/skia: --- SkImageDecoder::Factory returned null
03-07 16:04:43.228 8590-8643/? W/AttachmentDatabase: java.util.concurrent.ExecutionException: org.thoughtcrime.securesms.util.BitmapDecodingException: Failed to decode image dimensions: -1, -1
at java.util.concurrent.FutureTask.report(FutureTask.java:94)
at java.util.concurrent.FutureTask.get(FutureTask.java:164)
at org.thoughtcrime.securesms.database.AttachmentDatabase.getThumbnailStream(AttachmentDatabase.java:131)
at org.thoughtcrime.securesms.mms.PartAuthority.getAttachmentStream(PartAuthority.java:52)
at org.thoughtcrime.securesms.mms.DecryptableStreamLocalUriFetcher.loadResource(DecryptableStreamLocalUriFetcher.java:32)
at org.thoughtcrime.securesms.mms.DecryptableStreamLocalUriFetcher.loadResource(DecryptableStreamLocalUriFetcher.java:16)
at com.bumptech.glide.load.data.LocalUriFetcher.loadData(LocalUriFetcher.java:44)
at com.bumptech.glide.load.model.ImageVideoModelLoader$ImageVideoFetcher.loadData(ImageVideoModelLoader.java:70)
at com.bumptech.glide.load.model.ImageVideoModelLoader$ImageVideoFetcher.loadData(ImageVideoModelLoader.java:53)
at com.bumptech.glide.load.engine.DecodeJob.decodeSource(DecodeJob.java:170)
at com.bumptech.glide.load.engine.DecodeJob.decodeFromSource(DecodeJob.java:128)
at com.bumptech.glide.load.engine.EngineRunnable.decodeFromSource(EngineRunnable.java:122)
at com.bumptech.glide.load.engine.EngineRunnable.decode(EngineRunnable.java:101)
at com.bumptech.glide.load.engine.EngineRunnable.run(EngineRunnable.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
at com.bumptech.glide.load.engine.executor.FifoPriorityThreadPoolExecutor$DefaultThreadFactory$1.run(FifoPriorityThreadPoolExecutor.java:118)
Caused by: org.thoughtcrime.securesms.util.BitmapDecodingException: Failed to decode image dimensions: -1, -1
at org.thoughtcrime.securesms.util.BitmapUtil.getImageDimensions(BitmapUtil.java:134)
at org.thoughtcrime.securesms.util.BitmapUtil.getDimensions(BitmapUtil.java:141)
at org.thoughtcrime.securesms.util.BitmapUtil.createScaledBitmap(BitmapUtil.java:77)
at org.thoughtcrime.securesms.util.MediaUtil.generateImageThumbnail(MediaUtil.java:55)
at org.thoughtcrime.securesms.util.MediaUtil.generateThumbnail(MediaUtil.java:39)
at org.thoughtcrime.securesms.database.AttachmentDatabase$ThumbnailFetchCallable.call(AttachmentDatabase.java:530)
at org.thoughtcrime.securesms.database.AttachmentDatabase$ThumbnailFetchCallable.call(AttachmentDatabase.java:506)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
03-07 16:04:43.228 8590-8643/? W/DecryptableStreamLocalUriFetcher: java.io.IOException: java.util.concurrent.ExecutionException: org.thoughtcrime.securesms.util.BitmapDecodingException: Failed to decode image dimensions: -1, -1
at org.thoughtcrime.securesms.database.AttachmentDatabase.getThumbnailStream(AttachmentDatabase.java:139)
at org.thoughtcrime.securesms.mms.PartAuthority.getAttachmentStream(PartAuthority.java:52)
at org.thoughtcrime.securesms.mms.DecryptableStreamLocalUriFetcher.loadResource(DecryptableStreamLocalUriFetcher.java:32)
at org.thoughtcrime.securesms.mms.DecryptableStreamLocalUriFetcher.loadResource(DecryptableStreamLocalUriFetcher.java:16)
at com.bumptech.glide.load.data.LocalUriFetcher.loadData(LocalUriFetcher.java:44)
at com.bumptech.glide.load.model.ImageVideoModelLoader$ImageVideoFetcher.loadData(ImageVideoModelLoader.java:70)
at com.bumptech.glide.load.model.ImageVideoModelLoader$ImageVideoFetcher.loadData(ImageVideoModelLoader.java:53)
at com.bumptech.glide.load.engine.DecodeJob.decodeSource(DecodeJob.java:170)
at com.bumptech.glide.load.engine.DecodeJob.decodeFromSource(DecodeJob.java:128)
at com.bumptech.glide.load.engine.EngineRunnable.decodeFromSource(EngineRunnable.java:122)
at com.bumptech.glide.load.engine.EngineRunnable.decode(EngineRunnable.java:101)
at com.bumptech.glide.load.engine.EngineRunnable.run(EngineRunnable.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
at com.bumptech.glide.load.engine.executor.FifoPriorityThreadPoolExecutor$DefaultThreadFactory$1.run(FifoPriorityThreadPoolExecutor.java:118)
Caused by: java.util.concurrent.ExecutionException: org.thoughtcrime.securesms.util.BitmapDecodingException: Failed to decode image dimensions: -1, -1
at java.util.concurrent.FutureTask.report(FutureTask.java:94)
at java.util.concurrent.FutureTask.get(FutureTask.java:164)
at org.thoughtcrime.securesms.database.AttachmentDatabase.getThumbnailStream(AttachmentDatabase.java:131)
at org.thoughtcrime.securesms.mms.PartAuthority.getAttachmentStream(PartAuthority.java:52)
at org.thoughtcrime.securesms.mms.DecryptableStreamLocalUriFetcher.loadResource(DecryptableStreamLocalUriFetcher.java:32)
at org.thoughtcrime.securesms.mms.DecryptableStreamLocalUriFetcher.loadResource(DecryptableStreamLocalUriFetcher.java:16)
at com.bumptech.glide.load.data.LocalUriFetcher.loadData(LocalUriFetcher.java:44)
at com.bumptech.glide.load.model.ImageVideoModelLoader$ImageVideoFetcher.loadData(ImageVideoModelLoader.java:70)
at com.bumptech.glide.load.model.ImageVideoModelLoader$ImageVideoFetcher.loadData(ImageVideoModelLoader.java:53)
at com.bumptech.glide.load.engine.DecodeJob.decodeSource(DecodeJob.java:170)
at com.bumptech.glide.load.engine.DecodeJob.decodeFromSource(DecodeJob.java:128)
at com.bumptech.glide.load.engine.EngineRunnable.decodeFromSource(EngineRunnable.java:122)
at com.bumptech.glide.load.engine.EngineRunnable.decode(EngineRunnable.java:101)
at com.bumptech.glide.load.engine.EngineRunnable.run(EngineRunnable.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
at com.bumptech.glide.load.engine.executor.FifoPriorityThreadPoolExecutor$DefaultThreadFactory$1.run(FifoPriorityThreadPoolExecutor.java:118)
Caused by: org.thoughtcrime.securesms.util.BitmapDecodingException: Failed to decode image dimensions: -1, -1
at org.thoughtcrime.securesms.util.BitmapUtil.getImageDimensions(BitmapUtil.java:134)
at org.thoughtcrime.securesms.util.BitmapUtil.getDimensions(BitmapUtil.java:141)
at org.thoughtcrime.securesms.util.BitmapUtil.createScaledBitmap(BitmapUtil.java:77)
at org.thoughtcrime.securesms.util.MediaUtil.generateImageThumbnail(MediaUtil.java:55)
at org.thoughtcrime.securesms.util.MediaUtil.generateThumbnail(MediaUtil.java:39)
at org.thoughtcrime.securesms.database.AttachmentDatabase$ThumbnailFetchCallable.call(AttachmentDatabase.java:530)
at org.thoughtcrime.securesms.database.AttachmentDatabase$ThumbnailFetchCallable.call(AttachmentDatabase.java:506)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
03-07 16:04:43.230 8590-8619/? W/RecipientPreferenceDatabase: Muted until: 0
03-07 16:04:43.231 8590-8619/? W/RecipientPreferenceDatabase: Muted until: 0
03-07 16:04:43.231 8590-8616/? E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #2
Process: org.thoughtcrime.securesms, PID: 8590
java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:309)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
Caused by: java.lang.AssertionError: java.util.concurrent.ExecutionException: java.io.FileNotFoundException: PartAuthority couldn't load Uri resource.
at org.thoughtcrime.securesms.notifications.SingleRecipientNotificationBuilder.getBigPicture(SingleRecipientNotificationBuilder.java:216)
at org.thoughtcrime.securesms.notifications.SingleRecipientNotificationBuilder.build(SingleRecipientNotificationBuilder.java:169)
at org.thoughtcrime.securesms.notifications.MessageNotifier.sendSingleThreadNotification(MessageNotifier.java:244)
at org.thoughtcrime.securesms.notifications.MessageNotifier.updateNotification(MessageNotifier.java:187)
at org.thoughtcrime.securesms.notifications.MessageNotifier.updateNotification(MessageNotifier.java:108)
at org.thoughtcrime.securesms.service.KeyCachingService$1.doInBackground(KeyCachingService.java:114)
at org.thoughtcrime.securesms.service.KeyCachingService$1.doInBackground(KeyCachingService.java:110)
at android.os.AsyncTask$2.call(AsyncTask.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
Caused by: java.util.concurrent.ExecutionException: java.io.FileNotFoundException: PartAuthority couldn't load Uri resource.
at com.bumptech.glide.request.RequestFutureTarget.doGet(RequestFutureTarget.java:189)
at com.bumptech.glide.request.RequestFutureTarget.get(RequestFutureTarget.java:100)
at org.thoughtcrime.securesms.notifications.SingleRecipientNotificationBuilder.getBigPicture(SingleRecipientNotificationBuilder.java:214)
at org.thoughtcrime.securesms.notifications.SingleRecipientNotificationBuilder.build(SingleRecipientNotificationBuilder.java:169)
at org.thoughtcrime.securesms.notifications.MessageNotifier.sendSingleThreadNotification(MessageNotifier.java:244)
at org.thoughtcrime.securesms.notifications.MessageNotifier.updateNotification(MessageNotifier.java:187)
at org.thoughtcrime.securesms.notifications.MessageNotifier.updateNotification(MessageNotifier.java:108)
at org.thoughtcrime.securesms.service.KeyCachingService$1.doInBackground(KeyCachingService.java:114)
at org.thoughtcrime.securesms.service.KeyCachingService$1.doInBackground(KeyCachingService.java:110)
at android.os.AsyncTask$2.call(AsyncTask.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
Caused by: java.io.FileNotFoundException: PartAuthority couldn't load Uri resource.
at org.thoughtcrime.securesms.mms.DecryptableStreamLocalUriFetcher.loadResource(DecryptableStreamLocalUriFetcher.java:35)
at org.thoughtcrime.securesms.mms.DecryptableStreamLocalUriFetcher.loadResource(DecryptableStreamLocalUriFetcher.java:16)
at com.bumptech.glide.load.data.LocalUriFetcher.loadData(LocalUriFetcher.java:44)
at com.bumptech.glide.load.model.ImageVideoModelLoader$ImageVideoFetcher.loadData(ImageVideoModelLoader.java:70)
at com.bumptech.glide.load.model.ImageVideoModelLoader$ImageVideoFetcher.loadData(ImageVideoModelLoader.java:53)
at com.bumptech.glide.load.engine.DecodeJob.decodeSource(DecodeJob.java:170)
at com.bumptech.glide.load.engine.DecodeJob.decodeFromSource(DecodeJob.java:128)
at com.bumptech.glide.load.engine.EngineRunnable.decodeFromSource(EngineRunnable.java:122)
at com.bumptech.glide.load.engine.EngineRunnable.decode(EngineRunnable.java:101)
at com.bumptech.glide.load.engine.EngineRunnable.run(EngineRunnable.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
at com.bumptech.glide.load.engine.executor.FifoPriorityThreadPoolExecutor$DefaultThreadFactory$1.run(FifoPriorityThreadPoolExecutor.java:118)
03-07 16:04:43.235 779-16679/? W/ActivityManager: Force finishing activity org.thoughtcrime.securesms/.RoutingActivity
03-07 16:04:43.241 196-2060/? W/SurfaceFlinger: FB is protected: PERMISSION_DENIED
03-07 16:04:43.241 779-16679/? W/WindowManager: Screenshot failure taking screenshot for (1080x1920) to layer 21095
03-07 16:04:43.243 779-8645/? W/DropBoxManagerService: Dropping: data_app_crash (3862 > 0 bytes)
03-07 16:04:43.254 8590-8590/? W/PassphraseRequiredActionBarActivity: onPause()
03-07 16:04:43.268 8590-8618/? W/WebSocketConnection: onConnected()
03-07 16:04:43.276 779-2939/? I/OpenGLRenderer: Initialized EGL, version 1.4
03-07 16:04:43.282 8590-8590/? W/KeyCachingService: onStartCommand, org.thoughtcrime.securesms.service.action.ACTIVITY_STOP_EVENT
03-07 16:04:43.282 8590-8590/? W/KeyCachingService: Decrementing activity count...
03-07 16:04:43.282 8590-8590/? W/MessageRetrievalService: Active Count: 0
03-07 16:04:43.313 8590-8619/? W/RecipientPreferenceDatabase: Muted until: 0
03-07 16:04:43.313 8590-8619/? W/RecipientPreferenceDatabase: Muted until: 0
03-07 16:04:43.440 8590-8619/? W/RecipientPreferenceDatabase: Muted until: 0
03-07 16:04:43.630 8590-8590/? W/PassphraseRequiredActionBarActivity: onDestroy()
03-07 16:04:43.888 1341-1603/? W/OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
@xabroc I have a similar issue (the exact same Exception) but it does not seems related to @merkste problem.
I opened a new issue here : #5349
The exception reported here is:
java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object com.bumptech.glide.load.engine.Resource.get()' on a null object reference
E AndroidRuntime: at com.bumptech.glide.load.resource.bitmap.BitmapTransformation.transform(BitmapTransformation.java:51)
E AndroidRuntime: at org.thoughtcrime.securesms.util.BitmapUtil.createScaledBitmapInto(BitmapUtil.java:104)
E AndroidRuntime: at org.thoughtcrime.securesms.util.BitmapUtil.createScaledBitmap(BitmapUtil.java:80)
E AndroidRuntime: at org.thoughtcrime.securesms.util.BitmapUtil.createScaledBytes(BitmapUtil.java:49)
E AndroidRuntime: at org.thoughtcrime.securesms.mms.MediaConstraints.getResizedMedia(MediaConstraints.java:78)
E AndroidRuntime: at org.thoughtcrime.securesms.jobs.SendJob.scaleAttachments(SendJob.java:69)
E AndroidRuntime: at org.thoughtcrime.securesms.jobs.PushMediaSendJob.deliver(PushMediaSendJob.java:119)
E AndroidRuntime: at org.thoughtcrime.securesms.jobs.PushMediaSendJob.onSend(PushMediaSendJob.java:69)
E AndroidRuntime: at org.thoughtcrime.securesms.jobs.SendJob.onRun(SendJob.java:43)
E AndroidRuntime: at org.thoughtcrime.securesms.jobs.MasterSecretJob.onRun(MasterSecretJob.java:18)
E AndroidRuntime: at org.whispersystems.jobqueue.JobConsumer.runJob(JobConsumer.java:76)
E AndroidRuntime: at org.whispersystems.jobqueue.JobConsumer.run(JobConsumer.java:46)
see unmerged #5193
Hello gents, this happened to me and I know how to duplicate it. I have the exact same phone as the OP. https://gist.github.com/anonymous/9d312709dc391e1e9d21165cb71f5616 Here's how to reproduce it:
Thank you @merkste - you helped me break my Signal crash loop. Switching off internet, and deleting the Signal image upload in limbo stopped my Signal from crashing at every start-up.
So far I could not reproduce either. How it happened for me:
I still have the picture that caused the crash in my gallery. It looks normal, no black parts etc. I repeated steps 1-4 above and there was no crash: same gallery, same picture, same Signal recipient, same private WiFi, (only Signal updated now, which alone didn't help, don't know if it was relevant).
I use the camera stock app of CyanogenMod corresponding to Android 6.0.1. Mobile phone model: Samsung S4 mini Signal version after update mentioned above: 3.17.0, before I didn't check but I update at least every 10 days
I had a similar issue when i tried to send a pdf by renaming it to .jpg and then send it as picture.
Similar issue = crashloop?
Well, every time i started the app, it would crash. Fixed it in the same way: turn off internet, open app, cancel the message with the attachment.
Was that after 3.28.0? If yes, could you upload the file?
Play store shows I'm on 3.27.1 and sorry, can't upload the file, it was my filled in visum request :)
just try it again after you have upgraded to 3.28 ;)
GitHub Issue Cleanup: See #7598 for more information.
I have:
Bug description
While I phoned (non Signal) with someone, I took a photo and attempted to send it with Signal including a line of text. As soon as I hit send, Signal crashed and continued to crash on each startup after entering the passphrase. Cutting off all network connections stopped the crash loop. But I had to delete that message in order to not start crashing again when enabling network. The message was in pending status and did not show the photo anymore.
Steps to reproduce
Could not reproduce.
Device info
Model: Motorola Moto G 3rd Gen
Android version: 6.0
Signal version: 3.12.0
Link to debug log
https://gist.github.com/anonymous/e547ae296fa0f9bd5d95