Skip to content

Instantly share code, notes, and snippets.

@ArsenShnurkov
Created March 12, 2015 16:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ArsenShnurkov/cd7ad6b8a03cfad6cd87 to your computer and use it in GitHub Desktop.
Save ArsenShnurkov/cd7ad6b8a03cfad6cd87 to your computer and use it in GitHub Desktop.
native stack
# ./run.sh
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Stacktrace:
Native stacktrace:
/usr/bin/mono(mono_handle_native_sigsegv+0xc8) [0x4bbf68]
/usr/bin/mono(mono_arch_handle_altstack_exception+0xbe) [0x5115be]
/usr/bin/mono(mono_sigsegv_signal_handler+0xf8) [0x43a2a8]
/lib64/libpthread.so.0() [0x3471a10910]
/usr/bin/mono(mono_trace_enter_method+0x3a8) [0x48e228]
[0x41955d28]
Debug info from gdb:
warning: File "/usr/bin/mono-sgen-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
add-auto-load-safe-path /usr/bin/mono-sgen-gdb.py
line to your configuration file "/root/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/root/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
[New LWP 22288]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x0000003471a104d7 in waitpid () from /lib64/libpthread.so.0
Id Target Id Frame
2 Thread 0x7f83d98b0700 (LWP 22288) "Finalizer" 0x0000003471a0f060 in sem_wait () from /lib64/libpthread.so.0
* 1 Thread 0x7f83db3bb780 (LWP 22287) "mono" 0x0000003471a104d7 in waitpid () from /lib64/libpthread.so.0
Thread 2 (Thread 0x7f83d98b0700 (LWP 22288)):
#0 0x0000003471a0f060 in sem_wait () from /lib64/libpthread.so.0
#1 0x00000000006384e7 in mono_sem_wait ()
#2 0x00000000005bcf7e in ?? ()
#3 0x00000000005a1716 in ?? ()
#4 0x000000000063d1be in ?? ()
#5 0x0000003471a0905e in start_thread () from /lib64/libpthread.so.0
#6 0x00000034716eb93d in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x7f83db3bb780 (LWP 22287)):
#0 0x0000003471a104d7 in waitpid () from /lib64/libpthread.so.0
#1 0x00000000004bbff5 in mono_handle_native_sigsegv ()
#2 0x00000000005115be in mono_arch_handle_altstack_exception ()
#3 0x000000000043a2a8 in mono_sigsegv_signal_handler ()
#4 <signal handler called>
#5 0x000000000048e228 in mono_trace_enter_method ()
#6 0x0000000041955d28 in ?? ()
#7 0x0000000001f34d30 in ?? ()
#8 0x0000000000000000 in ?? ()
=================================================================
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.
=================================================================
./run.sh: line 5: 22287 Aborted /usr/bin/mono --trace ./resgen.exe /useSourcePath /compile "${PROJPATH}/Properties/Resources.resx,${PROJPATH}/obj/Debug/GitUI.Properties.Resources.resources" > res2.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment