I’m experiencing a SIGSGV crash since updating to 5.2, which happens not all the time, but around 1 of 3 times when starting the build. I still have to build a smaller repro, but maybe somebody here already has an idea what it could be…?
OS: Ubuntu 14.04
Architecture: x64
Stacktrace:
Native stacktrace:
/home/krautscape/krautscape/node/bin/game/Krautscape_Data/Mono/x86_64/libmono.so(+0x915e6) [0x7f1e16c3b5e6]
/home/krautscape/krautscape/node/bin/game/Krautscape_Data/Mono/x86_64/libmono.so(+0x3483b) [0x7f1e16bde83b]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7f1e181b7340]
/home/krautscape/krautscape/node/bin/game/Krautscape.x86_64() [0xd1a8d0]
/home/krautscape/krautscape/node/bin/game/Krautscape.x86_64() [0xd1adef]
/home/krautscape/krautscape/node/bin/game/Krautscape.x86_64() [0x843a20]
/home/krautscape/krautscape/node/bin/game/Krautscape.x86_64() [0x843839]
/home/krautscape/krautscape/node/bin/game/Krautscape.x86_64() [0x843975]
/home/krautscape/krautscape/node/bin/game/Krautscape.x86_64() [0x843a06]
/home/krautscape/krautscape/node/bin/game/Krautscape.x86_64() [0x843839]
/home/krautscape/krautscape/node/bin/game/Krautscape.x86_64() [0x843975]
/home/krautscape/krautscape/node/bin/game/Krautscape.x86_64() [0x843a06]
/home/krautscape/krautscape/node/bin/game/Krautscape.x86_64() [0x843839]
/home/krautscape/krautscape/node/bin/game/Krautscape.x86_64() [0x845207]
/home/krautscape/krautscape/node/bin/game/Krautscape.x86_64() [0x842be9]
/home/krautscape/krautscape/node/bin/game/Krautscape.x86_64() [0xd01dd1]
/home/krautscape/krautscape/node/bin/game/Krautscape.x86_64() [0x46f26a]
/home/krautscape/krautscape/node/bin/game/Krautscape.x86_64() [0x7198f2]
/home/krautscape/krautscape/node/bin/game/Krautscape.x86_64() [0x715bd3]
/home/krautscape/krautscape/node/bin/game/Krautscape.x86_64() [0x716714]
/home/krautscape/krautscape/node/bin/game/Krautscape.x86_64() [0x5ca827]
/home/krautscape/krautscape/node/bin/game/Krautscape.x86_64() [0x7257f4]
/home/krautscape/krautscape/node/bin/game/Krautscape.x86_64() [0x45e213]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f1e173daec5]
/home/krautscape/krautscape/node/bin/game/Krautscape.x86_64() [0x46684d]
Debug info from gdb:
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
I investigated a bit. It still happens in 5.2.1p3.
I made a new repro that consists of just two scenes. In Start of a script in scene 1, scene 2 is loaded. The first scene also includes a canvas with an image inside. Starting a build with just this inside is enough to trigger the crash. I reported it as a new case with more precise description as case 734921.
It might be somehow connected to this:
But I’m only able to reproduce it in linux headless builds, not in a Mac build or in the Editor, so I’m not completely sure if it’s the same.
Same here. Lot of users reporting their dedicated servers don’t work anymore with the latest release (Unity 5.2.3f1 vs 5.1.1 in our previous release). All get that stack trace as shown in the OP.
It does work on some machines though, for example both my own desktop and dedi.
Also could maybe be related to sound changes (maybe previous headless builds properly disabled audio output which does make sense but the newer ones do not?). Reason: quite a bunch of the users reported it working after installing pulseaudio.
I have done more research and found that it depends. On my dell r410 and centos7, it’s ok; but dell r420 and centos7, it crashed. I can’t imagine why this happens. So my guess is that this issue is related with hardware.