-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x4 in tid 14281 (glide-disk-cach) #2623
Comments
Please fill out the issue template when filing new issues. What is your Glide load line? What version of Glide are you using? What version of Android is this? Is it specific to one device or version of Android? |
@sjudd sorry.I was wrong GlideVersion:4.3.1 |
Just one device/version of Android? |
Also do you have a more complete stack trace? It looks like this is only a partial error? |
@sjudd ,I sent you by mail. |
Thanks this is a new one to me. I don't have any great ideas, but I'll see what I can find out. Do you have steps or a Glide load line that you could provide that show how you can reproduce this? A sample app would be even better. |
@JwyinKevin What |
@sjudd I have recently asked for leave so I don't have a tracking problem.I'm very sorry. I using DecodeFormat for AppGlideModule. @GlideModule Glide load line use: |
This issue has been automatically marked as stale because it has not had activity in the last seven days. It will be closed if no further activity occurs within the next seven days. Thank you for your contributions. |
Thanks. Unfortunately no one I've talked to has any ideas. If you're able to provide a sample app that can reproduce this, please do so. We probably won't be able to make further progress with a repro case. |
This issue has been automatically marked as stale because it has not had activity in the last seven days. It will be closed if no further activity occurs within the next seven days. Thank you for your contributions. |
I met too |
@shfouc if you can reproduce this, please provide more detail and a sample app we can use to reproduce the issue. |
@sjudd I also experienced almost the same problem but it only happened a few times when I transfer from fragment to fragment and scroll up and down on the recyclerview
Device: code below is in a RecyclerView.Holder public void setImage(String string) {
RequestOptions options = new RequestOptions();
options.centerCrop()
.transform(new RoundedCorners(2));
GlideApp.with(mContext)
.load(string)
.thumbnail(0.5f)
.diskCacheStrategy(DiskCacheStrategy.ALL)
.apply(options)
.into(mImageView);
}
public void setImage(int resId) {
GlideApp.with(mContext)
.load(resId)
.into(new SimpleTarget<Drawable>() {
@Override
public void onResourceReady(Drawable resource, Transition<? super Drawable> transition) {
resource.setAlpha(70);
mImageView.setImageDrawable(resource);
}
});
} |
Google brought me here: |
See comments above. If you can reproduce this, attach a failing test case or a sample app please. |
My solution was clearing the disk cache (or just the app's cache). |
For what it is worth, we are seeing this one too, and after discussing it with other devs, we are not the only ones. |
Actually, I have been able to completely get rid of native crashes by cleaning up our Target code. I suggest to other reproducing this issue to do a deep review of their Target usage and to make sure they are satisfying it's contract. |
Dio cane |
Mi fanno schifo i negri puzzolenti |
We're seeing a similar issue, but only on Android 7 and 7.1.
|
I am also seeing a similar issue on LG K3 2017 (Android 6)
|
10-21 00:19:54.811 22148-22535/? A/libc: Fatal signal 11 (SIGSEGV) at 0x386a1800 (code=1), thread 22535 (mediaserver) |
I also have this issue (Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xaad19840 in tid 6249 (glide-source-th), pid 6165), and I don't know what to do |
same issue on only one device Motorola E. but hey..let's close everything we cannot fix |
We are getting this issue on Samsung galaxy grand 2. I can share the build also. |
The same issue is in Samsung galaxy grand 2 (Android 4.4), Asus and Redmi Note 7 (Android 9). This is due to a corrupt local video file in which the File descriptor failed to get the thumbnail from the video path. Thanks in advance for supporting us. Please fix it or share a workaround to stop crashes in the app. |
Almost the same issue on samsung J2 Prime, android 6.0
Not sure but I think problem is in icon uri. I am trying to load the icon from resources as uri:
I tried to replace the code with another uri Also the problem was solved when I move
|
same question, fix it please |
Same issue Please help. |
same here |
is it fixed? |
same problem on a RecyclerView , a way to fix it ?
|
Same problem with Hawaii y9 |
SIGSEV means segmentation fault... so wrongly allocated memory or wrongly indexed buffer; libc is the c standard library so one of your libc function is wrongly used. |
@e2002e , thanks for this answer, how I can fix it? it happened in the old mobile-android version 5.0.1, and where I can get more information about this issue. |
same issue on Redmi 9C, Android version 10 |
It happened to me, too. Is there a solution |
I cant fix this bugs. Help! |
#14783 glide-source-th SIGSEGV(SEGV_MAPERR) |
I have the same problem. What version are you using? I think it is a problem with the image decoding or the Android system. |
I call the glide method in the viewpage + fragment.Then when I change the viewpage states or click the fragment into the detail activity,the app would crash.The faster I changed,the faster the APP crashes.
Why do you report this crash? Is it related to disk cache?
Recently, we found many times throw this exception
--------- beginning of crash
11-20 15:28:46.368 22100 14281 F google-breakpad: Microdump skipped (uninteresting)
11-20 15:28:46.417 13699 14281 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x4 in tid 14281 (glide-disk-cach)
11-20 15:28:46.596 22106 22106 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-20 15:28:46.597 22106 22106 F DEBUG : Build fingerprint: 'HUAWEI/MHA-AL00/HWMHA:7.0/HUAWEIMHA-AL00/C00B231:user/release-keys'
11-20 15:28:46.597 22106 22106 F DEBUG : Revision: '0'
11-20 15:28:46.597 22106 22106 F DEBUG : ABI: 'arm'
11-20 15:28:46.597 22106 22106 F DEBUG : pid: 13699, tid: 14281, name: glide-disk-cach >>> com.smartvideo.phone <<<
11-20 15:28:46.597 22106 22106 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x4
11-20 15:28:46.597 22106 22106 F DEBUG : r0 00000004 r1 cc3f9060 r2 c86d55e0 r3 cc3f8fa4
11-20 15:28:46.597 22106 22106 F DEBUG : r4 cc3f9044 r5 cc3f9050 r6 c86d55e0 r7 cc3f96bc
11-20 15:28:46.597 22106 22106 F DEBUG : r8 00000000 r9 00000000 sl cc3f95b4 fp cc3f8fa0
11-20 15:28:46.597 22106 22106 F DEBUG : ip ee19f15c sp cc3f8d78 lr edf1202d pc edf0f9b2 cpsr 000a0030
11-20 15:28:46.607 22106 22106 F DEBUG :
11-20 15:28:46.607 22106 22106 F DEBUG : backtrace:
11-20 15:28:46.607 22106 22106 F DEBUG : #00 pc 001309b2 /vendor/lib/libskia.so (_ZN15SkShaderBlitterC1ERK8SkPixmapRK7SkPaintPN8SkShader7ContextE+61)
11-20 15:28:46.608 22106 22106 F DEBUG : #1 pc 00133029 /vendor/lib/libskia.so (_ZN23SkARGB32_Shader_BlitterC2ERK8SkPixmapRK7SkPaintPN8SkShader7ContextE+24)
11-20 15:28:46.608 22106 22106 F DEBUG : #2 pc 001308f7 /vendor/lib/libskia.so
11-20 15:28:46.608 22106 22106 F DEBUG : #3 pc 00130729 /vendor/lib/libskia.so (_ZN9SkBlitter6ChooseERK8SkPixmapRK8SkMatrixRK7SkPaintP16SkSmallAllocatorILj3ELj1500EEb+936)
11-20 15:28:46.608 22106 22106 F DEBUG : #4 pc 001462cb /vendor/lib/libskia.so
11-20 15:28:46.608 22106 22106 F DEBUG : #5 pc 0014720f /vendor/lib/libskia.so (ZNK6SkDraw8drawRectERK6SkRectRK7SkPaintPK8SkMatrixPS1+606)
11-20 15:28:46.608 22106 22106 F DEBUG : #6 pc 00128461 /vendor/lib/libskia.so (_ZN14SkBitmapDevice8drawRectERK6SkDrawRK6SkRectRK7SkPaint+22)
11-20 15:28:46.608 22106 22106 F DEBUG : #7 pc 00139ff5 /vendor/lib/libskia.so (_ZN8SkCanvas10onDrawRectERK6SkRectRK7SkPaint+336)
11-20 15:28:46.608 22106 22106 F DEBUG : #8 pc 0013cc0b /vendor/lib/libskia.so (_ZN8SkCanvas14drawRectCoordsEffffRK7SkPaint+162)
11-20 15:28:46.608 22106 22106 F DEBUG : #9 pc 7449d123 /data/dalvik-cache/arm/system@[email protected] (offset 0x17b3000)
The text was updated successfully, but these errors were encountered: