Closed wnhre2ur8cxx8 closed 2 years ago
Looks like we may be having trouble reading the sticker:
2020-08-17 19:57:47.163 CEST W MediaConstraints: Failed to determine if media's constraints are satisfied.
2020-08-17 19:57:47.163 CEST W MediaConstraints: java.io.IOException: org.thoughtcrime.securesms.util.BitmapDecodingException: Failed to decode image dimensions: -1, -1
2020-08-17 19:57:47.163 CEST W MediaConstraints: at org.thoughtcrime.securesms.mms.MediaConstraints.isWithinBounds(MediaConstraints.java:69)
2020-08-17 19:57:47.163 CEST W MediaConstraints: at org.thoughtcrime.securesms.mms.MediaConstraints.isSatisfied(MediaConstraints.java:52)
2020-08-17 19:57:47.163 CEST W MediaConstraints: at org.thoughtcrime.securesms.jobs.AttachmentCompressionJob.scaleAndStripExif(AttachmentCompressionJob.java:152)
2020-08-17 19:57:47.163 CEST W MediaConstraints: at org.thoughtcrime.securesms.jobs.AttachmentCompressionJob.onRun(AttachmentCompressionJob.java:126)
2020-08-17 19:57:47.163 CEST W MediaConstraints: at org.thoughtcrime.securesms.jobs.BaseJob.run(BaseJob.java:25)
2020-08-17 19:57:47.163 CEST W MediaConstraints: at org.thoughtcrime.securesms.jobmanager.JobRunner.run(JobRunner.java:85)
2020-08-17 19:57:47.163 CEST W MediaConstraints: at org.thoughtcrime.securesms.jobmanager.JobRunner.run(JobRunner.java:48)
2020-08-17 19:57:47.163 CEST W MediaConstraints: Caused by: org.thoughtcrime.securesms.util.BitmapDecodingException: Failed to decode image dimensions: -1, -1
2020-08-17 19:57:47.163 CEST W MediaConstraints: at org.thoughtcrime.securesms.util.BitmapUtil.getImageDimensions(BitmapUtil.java:225)
2020-08-17 19:57:47.163 CEST W MediaConstraints: at org.thoughtcrime.securesms.util.BitmapUtil.getDimensions(BitmapUtil.java:252)
2020-08-17 19:57:47.163 CEST W MediaConstraints: at org.thoughtcrime.securesms.mms.MediaConstraints.isWithinBounds(MediaConstraints.java:65)
2020-08-17 19:57:47.163 CEST W MediaConstraints: ... 6 more
2020-08-17 19:57:47.183 CEST W BaseJob: [JOB::0507c2c7-9286-4db9-995c-b888b875b925][AttachmentCompressionJob] Encountered a failing exception. (Time Since Submission: 242 ms, Lifespan: 86400000 ms, Run Attempt: 1/Unlimited)
2020-08-17 19:57:47.183 CEST W BaseJob: org.thoughtcrime.securesms.transport.UndeliverableMessageException: java.io.IOException: org.thoughtcrime.securesms.util.BitmapDecodingException: java.util.concurrent.ExecutionException: com.bumptech.glide.load.engine.GlideException: Failed to load resource
2020-08-17 19:57:47.183 CEST W BaseJob: at org.thoughtcrime.securesms.jobs.AttachmentCompressionJob.scaleAndStripExif(AttachmentCompressionJob.java:166)
2020-08-17 19:57:47.183 CEST W BaseJob: at org.thoughtcrime.securesms.jobs.AttachmentCompressionJob.onRun(AttachmentCompressionJob.java:126)
2020-08-17 19:57:47.183 CEST W BaseJob: at org.thoughtcrime.securesms.jobs.BaseJob.run(BaseJob.java:25)
2020-08-17 19:57:47.183 CEST W BaseJob: at org.thoughtcrime.securesms.jobmanager.JobRunner.run(JobRunner.java:85)
2020-08-17 19:57:47.183 CEST W BaseJob: at org.thoughtcrime.securesms.jobmanager.JobRunner.run(JobRunner.java:48)
2020-08-17 19:57:47.183 CEST W BaseJob: Caused by: java.io.IOException: org.thoughtcrime.securesms.util.BitmapDecodingException: java.util.concurrent.ExecutionException: com.bumptech.glide.load.engine.GlideException: Failed to load resource
2020-08-17 19:57:47.183 CEST W BaseJob: at org.thoughtcrime.securesms.jobs.AttachmentCompressionJob.getResizedMedia(AttachmentCompressionJob.java:260)
2020-08-17 19:57:47.183 CEST W BaseJob: at org.thoughtcrime.securesms.jobs.AttachmentCompressionJob.scaleAndStripExif(AttachmentCompressionJob.java:159)
2020-08-17 19:57:47.183 CEST W BaseJob: ... 4 more
2020-08-17 19:57:47.183 CEST W BaseJob: Caused by: org.thoughtcrime.securesms.util.BitmapDecodingException: java.util.concurrent.ExecutionException: com.bumptech.glide.load.engine.GlideException: Failed to load resource
2020-08-17 19:57:47.183 CEST W BaseJob: at org.thoughtcrime.securesms.util.BitmapUtil.createScaledBytes(BitmapUtil.java:155)
2020-08-17 19:57:47.183 CEST W BaseJob: at org.thoughtcrime.securesms.util.BitmapUtil.createScaledBytes(BitmapUtil.java:79)
2020-08-17 19:57:47.183 CEST W BaseJob: at org.thoughtcrime.securesms.util.BitmapUtil.createScaledBytes(BitmapUtil.java:67)
2020-08-17 19:57:47.183 CEST W BaseJob: at org.thoughtcrime.securesms.util.BitmapUtil.createScaledBytes(BitmapUtil.java:53)
2020-08-17 19:57:47.183 CEST W BaseJob: at org.thoughtcrime.securesms.jobs.AttachmentCompressionJob.getResizedMedia(AttachmentCompressionJob.java:251)
2020-08-17 19:57:47.183 CEST W BaseJob: ... 5 more
2020-08-17 19:57:47.183 CEST W BaseJob: Caused by: java.util.concurrent.ExecutionException: com.bumptech.glide.load.engine.GlideException: Failed to load resource
2020-08-17 19:57:47.183 CEST W BaseJob: at com.bumptech.glide.request.RequestFutureTarget.doGet(RequestFutureTarget.java:217)
2020-08-17 19:57:47.183 CEST W BaseJob: at com.bumptech.glide.request.RequestFutureTarget.get(RequestFutureTarget.java:130)
2020-08-17 19:57:47.183 CEST W BaseJob: at org.thoughtcrime.securesms.util.BitmapUtil.createScaledBytes(BitmapUtil.java:105)
2020-08-17 19:57:47.183 CEST W BaseJob: ... 9 more
2020-08-17 19:57:47.183 CEST W BaseJob: Caused by: com.bumptech.glide.load.engine.GlideException: Failed to load resource
Are you able to share the sticker pack(s) and sticker(s) you're having trouble with?
Hey sorry for the delay. Holiday :)
The Problem still exists, sometimes they are now sent, but are displayed corrupted on my end.
The problem persists between sticker packs. Its even the official ones the refuse to send. For example the official dog one. It seems to be a problem of single stickers in the pack. For example the "dog partying" sticker (the 4th one) refuses to send every time. Or the 2nd sticker "laughing dog". The 1st one seems to work fine. In general its about a 50% chance for every sticker I have. I created a small video and uploaded it here so you can see what I mean, I also have the debug log shortly after the recording.
https://debuglogs.org/8249b8fb03d187cb3f803baff86c85192bb1f08d6b6275959fcd156829b6abe8
For the corrupted images, it only appeared for me on these sticker packs:
Funny Animals
Meme Pack
Broken Cats
@greyson-signal So the issue persists, but I was able to find out that it seems to only happen to "old" sticker packs. At least the new ones I added just recently like: https://signalstickers.com/pack/c4d174fe9e61444fcc9a354c0f33a61c or https://signalstickers.com/pack/ea128ace5dace7b662144d7c9054124c dont have the issue at all.
Just to be clear I tried (right now again) to remove and readd the stickerpacks with the problems. They still have it. But that seems to switch around the broken stickers for some reason. Anyway, have another debug log good sir: https://debuglogs.org/b8efaf59f4e9ff9a3782a78ca3307355e2ed33e65d5479d7c55fd032e43d2e17
Edit: forgot to tell you what the debuglog is about: I tried out the working "new" stickers, then removed and readded the official dog stickerpack, and posted some stickers of it in the note to self thread.
Lots of updates, still my issue persists.. I even switched phone in between. I am on Android 10 now. Signal backup restored. So I guess my database somehow is broken?
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Unfortunately the issue still persists. I can do another bug report with an up to date signal. But only if there is a need for it.
If possible, try removing one of the offending sticker packs and redownloading it. It's likely that the downloaded pack itself is corrupt.
Ok, I did that in the past, but will try it again and report. Thanks for the fast response :)
Allright, apparently most of the stickers now work fine. I found one thats still corrupted though. Its from your official Stickers, "Swoon / Hands" and its the crossed fingers one. I removed it and installed it again but the outcome didnt change. What changed though is that the stickers are now sent properly (both checkmarks). And on the receiving side they are displayed correctly.
Do you need screenshots or a log or anything?
Ah sorry, the removing and installing thing didnt change that they are sent properly. It was sent normally before doing that aswell.
So is this still an issue or is it working, sorry, I'm having trouble tracking what happened. If it is still happening, an updated debuglog is always helpful.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been closed due to inactivity.
@cody-signal Sorry it took me so long, I guess also the bug is not super important, but it has been existing since I first posted the issue so I guess there is still something broken. I even switched phones, I switched phone number, reinstalled signal, etc.
I finally created a new debug log: https://debuglogs.org/android/5.35.3/2860e104c69a010195dcae7999e5d90cb6e9c52495f20398b0982e8556f592c0
What I did this time is, i sent some stickers that I knew were working, and the I sent a sticker that was corrupted. All were in Swoons hands sticker pack, so the official one. Then I removed the sticker pack and added it again. then sent the broken stickers again.
On my desktop devices there is no corruption by the way. the stickers send just fine.
I can add more info if anyone needs it.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been closed due to inactivity.
The issue kept existing since then, but for whatever reason since the latest version all stickers are now displaying properly :)
Bug description
Some stickers are not sent or received. It feels random but is very very common for me. It is happenening since the last 3-4 version upgrades.
Steps to reproduce
Actual result: "Send failed" No sticker seen Expected result: A sent or received sticker
Device info
Device: Xiaomi Mi A1 Android version: 9 Signal version: 4.68.8
Link to debug log
https://debuglogs.org/07b50a66b0a65d1a1e933b114381c7f8643355418ffe1c2f7370aa5da481d38e