Search Issue Tracker
Not Reproducible
Votes
50
Found in
4.6.0f3
Issue ID
655263
Regression
No
Android crash: Fatal signal 11 (SIGSEGV) on some devices
On a small number of Android devices app crashes having exhibited very strange behaviour. The behaviour can vary but the result is (almost) always "Fatal signal 11 (SIGSEGV)"
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
Berno
Jan 16, 2018 23:00
This issue is occurring for a customer using a TECTOY TT-5000i since upgrading my project to 2017.3.0f3.
He opens the app and after some seconds it crashes giving:
java.lang.Error: signal 11 (SIGSEGV), code 128 (?), fault addr 00000000
I have removed all crunch compression and unchecked Multithreaded Rendering as per previously suggested solutions however the error still occurs.
Erik-Hegen
Jan 03, 2018 15:18
Seems like crunched compression on textures are causing a fatal signal 11 under android (2017.3f3). I've submitted a bug report (#984270).
I can 100% reproduce this issue. Just create a new project, import a texture and set compression to crunched (all default values). Create a new scene and a cube. Last has to use a new material using the imported texture as diffuse texture.
Now make an android build. Use Build System Internal as gradle will crash.
Run app and wait 2-5 seconds. -> Fatal Signal Crash
I use Memu but I also could reproduce it on a Samsung Note 3 and Galaxy S5 mini
Erik-Hegen
Jan 02, 2018 13:34
Same problem here:
We load our scenes additive asynchronously in a coroutine. It seams the routine gets stucked at 2% progress. After that the following fatal signal occours:
01-02 21:24:46.349 8921-9000/com.xxxxxx.xxxxxx A/libc: Fatal signal 11 (SIGSEGV) at 0x00000000 (code=128), thread 9000 (UnityMain)
01-02 21:24:46.449 145-145/? I/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-02 21:24:46.449 145-145/? I/DEBUG: Build fingerprint: 'samsung/samsung/GT-P5210:4.4.4/KTU84P/eng.se.infra.20170110.154925:userdebug/release-keys'
01-02 21:24:46.449 145-145/? I/DEBUG: Revision: '0'
01-02 21:24:46.449 145-145/? I/DEBUG: pid: 8921, tid: 9000, name: UnityMain >>> com.xxxxxx.xxxxxx <<<
01-02 21:24:46.449 145-145/? I/DEBUG: signal 11 (SIGSEGV), code 128 (SI_KERNEL), fault addr 00000000
01-02 21:24:46.909 145-145/? I/DEBUG: eax b8ebc230 ebx 950f0278 ecx 0000000b edx 00000320
01-02 21:24:46.909 145-145/? I/DEBUG: esi b8ec4830 edi 93fb1804
01-02 21:24:46.913 145-145/? I/DEBUG: xcs 00000073 xds 0000007b xes 0000007b xfs 00000000 xss 0000007b
01-02 21:24:46.913 145-145/? I/DEBUG: eip 9430dc59 ebp 95156378 esp 93fb173c flags 00210296
01-02 21:24:46.949 145-145/? I/DEBUG: backtrace:
01-02 21:24:46.949 145-145/? I/DEBUG: #00 pc 0035bc59 /data/app-lib/com.xxxxxx.xxxxxx-1/libunity.so
01-02 21:24:46.949 145-145/? I/DEBUG: #01 pc 003be879 /data/app-lib/com.xxxxxx.xxxxxx-1/libunity.so
01-02 21:24:46.949 145-145/? I/DEBUG: #02 pc 003c2d61 /data/app-lib/com.xxxxxx.xxxxxx-1/libunity.so
01-02 21:24:46.953 145-145/? I/DEBUG: #03 pc 0037c6b0 /data/app-lib/com.xxxxxx.xxxxxx-1/libunity.so
01-02 21:24:46.953 145-145/? I/DEBUG: #04 pc 0037c66c /data/app-lib/com.xxxxxx.xxxxxx-1/libunity.so
01-02 21:24:46.957 145-145/? I/DEBUG: #05 pc 00364744 /data/app-lib/com.xxxxxx.xxxxxx-1/libunity.so
01-02 21:24:46.957 145-145/? I/DEBUG: #06 pc 002b29c4 /data/app-lib/com.xxxxxx.xxxxxx-1/libunity.so
01-02 21:24:46.957 145-145/? I/DEBUG: #07 pc 001e04d5 /data/app-lib/com.xxxxxx.xxxxxx-1/libunity.so
01-02 21:24:46.961 145-145/? I/DEBUG: #08 pc 001d7e6e /data/app-lib/com.xxxxxx.xxxxxx-1/libunity.so
01-02 21:24:46.961 145-145/? I/DEBUG: #09 pc 001d90eb /data/app-lib/com.xxxxxx.xxxxxx-1/libunity.so
01-02 21:24:46.961 145-145/? I/DEBUG: #10 pc 003c5b78 /data/app-lib/com.xxxxxx.xxxxxx-1/libunity.so
01-02 21:24:46.965 145-145/? I/DEBUG: #11 pc 003c8573 /data/app-lib/com.xxxxxx.xxxxxx-1/libunity.so
01-02 21:24:46.965 145-145/? I/DEBUG: #12 pc 0002a33b /system/lib/libdvm.so (dvmPlatformInvoke+79)
01-02 21:24:46.969 145-145/? I/DEBUG: #13 pc 00022b2f [heap]
01-02 21:24:46.969 145-145/? I/DEBUG: #14 pc 00086a52 /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+434)
01-02 21:24:46.969 145-145/? I/DEBUG: #15 pc 0000011e /dev/ashmem/dalvik-jit-code-cache (deleted)
01-02 21:24:46.969 145-145/? I/DEBUG: #16 pc 0003b7f2 /system/lib/libdvm.so (dvmMterpStd(Thread*)+66)
01-02 21:24:46.969 145-145/? I/DEBUG: #17 pc 00036eb9 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+217)
01-02 21:24:46.969 145-145/? I/DEBUG: #18 pc 000bccd7 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, char*)+759)
01-02 21:24:46.973 145-145/? I/DEBUG: #19 pc 000bd0e7 /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+55)
01-02 21:24:46.973 145-145/? I/DEBUG: #20 pc 00099073 /system/lib/libdvm.so
01-02 21:24:46.977 145-145/? I/DEBUG: #21 pc 0000bc7c /system/lib/libc.so (__thread_entry+236)
01-02 21:24:46.977 145-145/? I/DEBUG: #22 pc 0003e295 /system/lib/libc.so (__pthread_clone+69)
01-02 21:24:46.981 145-145/? I/DEBUG: #23 pc 00098c8f /system/lib/libdvm.so
01-02 21:24:46.981 145-145/? I/DEBUG: stack:
01-02 21:24:46.981 145-145/? I/DEBUG: 93fb16fc b8ec1468 [heap]
01-02 21:24:46.981 145-145/? I/DEBUG: 93fb1700 00000000
01-02 21:24:46.985 145-145/? I/DEBUG: 93fb1704 b8ec0114 [heap]
01-02 21:24:46.985 145-145/? I/DEBUG: 93fb1708 ffffffff
01-02 21:24:46.985 145-145/? I/DEBUG: 93fb170c 00000000
01-02 21:24:46.985 145-145/? I/DEBUG: 93fb1710 ffffffff
01-02 21:24:46.993 145-145/? I/DEBUG: 93fb1714 a55194fe /dev/ashmem/dalvik-heap (deleted)
01-02 21:24:46.997 145-145/? I/DEBUG: 93fb1718 b8ec4830 [heap]
01-02 21:24:46.997 145-145/? I/DEBUG: 93fb171c 93fb1804 [stack:9000]
01-02 21:24:47.001 145-145/? I/DEBUG: 93fb1720 950f0278 /data/app-lib/com.xxxxxx.xxxxxx-1/libunity.so
01-02 21:24:47.005 145-145/? I/DEBUG: 93fb1724 95156378
01-02 21:24:47.009 145-145/? I/DEBUG: 93fb1728 9430dc46 /data/app-lib/com.xxxxxx.xxxxxx-1/libunity.so
01-02 21:24:47.009 145-145/? I/DEBUG: 93fb172c b8ec4830 [heap]
01-02 21:24:47.009 145-145/? I/DEBUG: 93fb1730 00000000
01-02 21:24:47.009 145-145/? I/DEBUG: 93fb1734 9425212e /data/app-lib/com.xxxxxx.xxxxxx-1/libunity.so
01-02 21:24:47.009 145-145/? I/DEBUG: 93fb1738 9430dc4e /data/app-lib/com.xxxxxx.xxxxxx-1/libunity.so
01-02 21:24:47.009 145-145/? I/DEBUG: #00 93fb173c 93fb1828 [stack:9000]
01-02 21:24:47.009 145-145/? I/DEBUG: 93fb1740 00000000
01-02 21:24:47.009 145-145/? I/DEBUG: 93fb1744 b8c1eba8 [heap]
01-02 21:24:47.009 145-145/? I/DEBUG: 93fb1748 00004ee0
01-02 21:24:47.009 145-145/? I/DEBUG: 93fb174c 93fb1828 [stack:9000]
01-02 21:24:47.009 145-145/? I/DEBUG: 93fb1750 a4d1b650 /dev/ashmem/dalvik-zygote (deleted)
01-02 21:24:47.009 145-145/? I/DEBUG: 93fb1754 87400005 [anon:libc_malloc]
01-02 21:24:47.009 145-145/? I/DEBUG: 93fb1758 94374a96 /data/app-lib/com.xxxxxx.xxxxxx-1/libunity.so
01-02 21:24:47.009 145-145/? I/DEBUG: 93fb175c 00000000
01-02 21:24:47.009 145-145/? I/DEBUG: 93fb1760 00000000
01-02 21:24:47.009 145-145/? I/DEBUG: 93fb1764 950f0278 /data/app-lib/com.xxxxxx.xxxxxx-1/libunity.so
01-02 21:24:47.009 145-145/? I/DEBUG: 93fb1768 0000000b
01-02 21:24:47.009 145-145/? I/DEBUG: 93fb176c 93fb1804 [stack:9000]
01-02 21:24:47.009 145-145/? I/DEBUG: 93fb1770 950f0278 /data/app-lib/com.xxxxxx.xxxxxx-1/libunity.so
01-02 21:24:47.009 145-145/? I/DEBUG: 93fb1774 95156378
01-02 21:24:47.009 145-145/? I/DEBUG: 93fb1778 9437087a /data/app-lib/com.xxxxxx.xxxxxx-1/libunity.so
01-02 21:24:47.009 145-145/? I/DEBUG: #01 93fb177c b8ec4830 [heap]
01-02 21:24:47.017 145-145/? I/DEBUG: 93fb1780 0000000b
01-02 21:24:47.017 145-145/? I/DEBUG: 93fb1784 b8ec1468 [heap]
01-02 21:24:47.017 145-145/? I/DEBUG: 93fb1788 9431055d /data/app-lib/com.xxxxxx.xxxxxx-1/libunity.so
01-02 21:24:47.017 145-145/? I/DEBUG: 93fb178c 93fb179c [stack:9000]
01-02 21:24:47.017 145-145/? I/DEBUG: 93fb1790 b8ec1468 [heap]
01-02 21:24:47.017 145-145/? I/DEBUG: 93fb1794 b8ec1544 [heap]
01-02 21:24:47.017 145-145/? I/DEBUG: 93fb1798 9431049a /data/app-lib/com.xxxxxx.xxxxxx-1/libunity.so
01-02 21:24:47.017 145-145/? I/DEBUG: 93fb179c 00000000
01-02 21:24:47.021 145-145/? I/DEBUG: 93fb17a0 ffffffff
01-02 21:24:47.021 145-145/? I/DEBUG: 93fb17a4 00000320
01-02 21:24:47.021 145-145/? I/DEBUG: 93fb17a8 00000500
01-02 21:24:47.021 145-145/? I/DEBUG: 93fb17ac 0000000b
01-02 21:24:47.029 145-145/? I/DEBUG: 93fb17b0 950f0278 /data/app-lib/com.xxxxxx.xxxxxx-1/libunity.so
01-02 21:24:47.029 145-145/? I/DEBUG: 93fb17b4 b8ebc230 [heap]
01-02 21:24:47.033 145-145/? I/DEBUG: 93fb17b8 94381800 /data/app-lib/com.xxxxxx.xxxxxx-1/libunity.so
01-02 21:24:47.037 145-145/? I/DEBUG: ........ ........
01-02 21:24:47.037 145-145/? I/DEBUG: #02 93fb182c 95156378
01-02 21:24:47.037 145-145/? I/DEBUG: 93fb1830 00000500
01-02 21:24:47.037 145-145/? I/DEBUG: 93fb1834 00000320
01-02 21:24:47.037 145-145/? I/DEBUG: 93fb1838 00000f8e
01-02 21:24:47.037 145-145/? I/DEBUG: 93fb183c 948f7989 /data/app-lib/com.xxxxxx.xxxxxx-1/libunity.so
01-02 21:24:47.041 145-145/? I/DEBUG: 93fb1840 b8c1eb30 [heap]
01-02 21:24:47.045 145-145/? I/DEBUG: 93fb1844 00000320
01-02 21:24:47.049 145-145/? I/DEBUG: 93fb1848 00000500
01-02 21:24:47.049 145-145/? I/DEBUG: 93fb184c 948f77ea /data/app-lib/com.xxxxxx.xxxxxx-1/libunity.so
01-02 21:24:47.049 145-145/? I/DEBUG: 93fb1850 b8ab1730 [heap]
01-02 21:24:47.049 145-145/? I/DEBUG: 93fb1854 93fb187c [stack:9000]
01-02 21:24:47.049 145-145/? I/DEBUG: 93fb1858 b76beffa /system/lib/libc.so (pthread_mutex_unlock+154)
01-02 21:24:47.053 145-145/? I/DEBUG: 93fb185c 93fb1898 [stack:9000]
01-02 21:24:47.053 145-145/? I/DEBUG: 93fb1860 b8c1eba8 [heap]
01-02 21:24:47.053 145-145/? I/DEBUG: 93fb1864 b8c1eb30 [heap]
01-02 21:24:47.053 145-145/? I/DEBUG: 93fb1868 93fb1898 [stack:9000]
01-02 21:24:47.053 145-145/? I/DEBUG: ........ ........
01-02 21:24:47.093 151-486/? I/AudioFlinger: BUFFER TIMEOUT: remove(4100) from active list on thread 0xb4044008
Multithreaded rendering is disabled. We are using 2017.3f3
We don't use Resources.Load in Awake-methods
The scene is big but memory allocations/usage is still ok, no low memory warnings. Problem primarily occours on Memu Emulator but also happens on my Samsung Note 3. On other android devices it doesn't crash
RaffaeleT
Dec 11, 2017 23:04
Same here, version 2017.2.0f3 on a Samsung Galaxy S3 Neo.
To resolve the issue I unchecked Multithreaded Rendering, thanks ETHANKENNERLY-GLU for the suggestion. I wonder why this is the default option.
EthanKennerly-Glu
Dec 01, 2017 22:02
Unity 2017.2.0f3 sometimes crashes if Android property Multithreaded Rendering is left in default checked state. Test scene is a simple canvas with one text and one button.
Device is a low-end Android Phone, Samsung Galaxy S4.
adb log cat in context:
D/Unity ( 1647): Sensor : Accelerometer ( 1) ; 0.000599 / 0.01s ; K330 3-axis Accelerometer / STMicroelectronics
D/WifiDisplayAdapter( 826): getWifiDisplayStatusLocked: result=WifiDisplayStatus{featureState=2, scanState=0, activeDisplayState=0, activeDisplay=null, displays=[], sessionInfo=WifiDisplaySessionInfo: Client/Owner: Client GroupId: Passphrase: SessionId: 0 IP Address: , connectedState=-1, networkQoS=0}
D/WifiDisplayAdapter( 826): getWifiDisplayStatusLocked: result=WifiDisplayStatus{featureState=2, scanState=0, activeDisplayState=0, activeDisplay=null, displays=[], sessionInfo=WifiDisplaySessionInfo: Client/Owner: Client GroupId: Passphrase: SessionId: 0 IP Address: , connectedState=-1, networkQoS=0}
F/libc ( 1647): Fatal signal 11 (SIGSEGV) at 0x7c402000 (code=2), thread 1703 (UnityGfxDeviceW)
I/DEBUG ( 289): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 289): Build fingerprint: 'samsung/jflteuc/jflteatt:4.4.4/KTU84P/I337UCUFNJ4:user/release-keys'
I/DEBUG ( 289): Revision: '10'
I/DEBUG ( 289): pid: 1647, tid: 1703, name: UnityGfxDeviceW >>> com.gluplay.test <<<
I/DEBUG ( 289): signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 7c402000
I/AudioFlinger( 306): BUFFER TIMEOUT: remove(4097) from active list on thread 0xb3938008
tlevi
Nov 24, 2017 11:50
Same here version 2017.2.0p2 - On Nvidia Shield TV
saygin
Nov 24, 2017 11:37
Suffering from the same crash on 2017.2.0f3
hm_assets
Nov 14, 2017 06:52
Still see this problem on 2017.1.1p2
posibillian_tech
Oct 11, 2017 18:19
Still suffering in 2017.1.2f1 too on Samsung Galaxy Note 3.
10-11 15:14:53.744 30260-30291/? A/libc: Fatal signal 11 (SIGSEGV) at 0x7c6eb000 (code=2), thread 30291 (UnityGfxDeviceW)
10-11 15:14:53.864 25802-25802/? I/DEBUG: pid: 30260, tid: 30291, name: UnityGfxDeviceW >>> com.fhacktions <<<
10-11 15:14:54.694 25802-25802/? I/DEBUG: #03 pc 009fdbf8 /mnt/asec/com.fhacktions-8/lib/libunity.so (ApiGLES::CreateBuffer(gl::BufferTarget, long, void const*, unsigned int)+164)
10-11 15:14:54.694 25802-25802/? I/DEBUG: #04 pc 009c80bc /mnt/asec/com.fhacktions-8/lib/libunity.so (DataBufferGLES::RecreateWithData(unsigned int, void const*)+116)
10-11 15:14:54.694 25802-25802/? I/DEBUG: #05 pc 009c7cc0 /mnt/asec/com.fhacktions-8/lib/libunity.so (ConstantBuffersGLES::UpdateBuffers(MonoOrStereoscopicEye, bool)+220)
10-11 15:14:54.694 25802-25802/? I/DEBUG: #06 pc 009d84ec /mnt/asec/com.fhacktions-8/lib/libunity.so (GfxDeviceGLES::BeforeDrawCall()+2204)
10-11 15:14:54.694 25802-25802/? I/DEBUG: #07 pc 009d99f0 /mnt/asec/com.fhacktions-8/lib/libunity.so (GfxDeviceGLES::DrawBuffers(GfxBuffer*, VertexStreamSource const*, int, DrawBuffersRange const*, int, VertexDeclaration*, ShaderChannelMask)+140)
10-11 15:14:54.694 25802-25802/? I/DEBUG: #08 pc 009b9468 /mnt/asec/com.fhacktions-8/lib/libunity.so (GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&)+15932)
10-11 15:14:54.694 25802-25802/? I/DEBUG: #09 pc 009bc8f4 /mnt/asec/com.fhacktions-8/lib/libunity.so (GfxDeviceWorker::Run()+52)
10-11 15:14:54.694 25802-25802/? I/DEBUG: #10 pc 009b560c /mnt/asec/com.fhacktions-8/lib/libunity.so (GfxDeviceWorker::RunGfxDeviceWorker(void*)+92)
10-11 15:14:54.694 25802-25802/? I/DEBUG: #11 pc 0072b8fc /mnt/asec/com.fhacktions-8/lib/libunity.so (Thread::RunThreadWrapper(void*)+84)
10-11 15:14:54.694 25802-25802/? I/DEBUG: 7c7e8784 783d5bfc /mnt/asec/com.fhacktions-8/lib/libunity.so (ApiGLES::CreateBuffer(gl::BufferTarget, long, void const*, unsigned int)+168)
NolaroadsDevs
Oct 09, 2017 09:13
it seem it's related to UI sub Canvas (i tried to clean sub canvas became useless, and it cause the crash, i restored it and crash disappeared)