Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
crash, happens when debugging 32bit app on 64bit device
0xf72db4ec in nanosleep () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
(gdb) c
Continuing.
[New Thread 22828]
[New Thread 22830]
[New Thread 22831]
Program received signal SIGSEGV, Segmentation fault.
0xe820fc4c in ?? ()
(gdb) p mono_pmip ($pc)
$1 = 0xe82ad0e0 " System.Threading.Timer:.ctor (System.Threading.TimerCallback,object,int,int) + 0x44 (0xe820fc08 0xe820fd40) [0xee9f66c0 - RootDomain]"
(gdb) bt
#0 0xe820fc4c in ?? ()
#1 0xf4ac0000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) p $pc
$2 = (void (*)()) 0xe820fc4c
(gdb) p mono_pmip (0xf4ac0000)
$3 = 0x0
(gdb) thread apply all bt
[New Thread 22800]
[New Thread 22801]
[New Thread 22802]
[New Thread 22803]
[New Thread 22804]
[New Thread 22805]
[New Thread 22807]
[New Thread 22808]
[New Thread 22810]
[New Thread 22829]
[New Thread 22836]
Thread 15 (Thread 22836):
#0 0xf72b05e8 in syscall () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#1 0xf72d8636 in __pthread_cond_timedwait_relative(pthread_cond_internal_t*, pthread_mutex_t*, timespec const*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#2 0xf3e85504 in suspend_current () at /Users/builder/data/lanes/1196/e25bf736/source/mono/mono/mini/debugger-agent.c:2929
#3 0xf3e8d384 in process_event (event=event@entry=EVENT_KIND_THREAD_START, arg=arg@entry=0xef3b0300, il_offset=il_offset@entry=0, ctx=ctx@entry=0x0, events=0x0, events@entry=0xdef4a000, suspend_policy=<optimized out>)
at /Users/builder/data/lanes/1196/e25bf736/source/mono/mono/mini/debugger-agent.c:3763
#4 0xf3e8d4d8 in process_profiler_event (event=event@entry=EVENT_KIND_THREAD_START, arg=arg@entry=0xef3b0300) at /Users/builder/data/lanes/1196/e25bf736/source/mono/mono/mini/debugger-agent.c:3789
#5 0xf3e91028 in thread_startup (prof=<optimized out>, tid=3739220272) at /Users/builder/data/lanes/1196/e25bf736/source/mono/mono/mini/debugger-agent.c:3861
#6 0xf3f16954 in mono_profiler_thread_start (tid=3739220272) at /Users/builder/data/lanes/1196/e25bf736/source/mono/mono/metadata/profiler.c:602
#7 0xf3f21644 in start_wrapper_internal (data=0xe82eb0b0) at /Users/builder/data/lanes/1196/e25bf736/source/mono/mono/metadata/threads.c:708
#8 start_wrapper (data=0xe82eb0b0) at /Users/builder/data/lanes/1196/e25bf736/source/mono/mono/metadata/threads.c:765
#9 0xf3fb988c in inner_start_thread (arg=0xff7f164c) at /Users/builder/data/lanes/1196/e25bf736/source/mono/mono/utils/mono-threads-posix.c:92
#10 0xf72d8814 in __pthread_start(void*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#11 0xf72b2f76 in __start_thread () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#12 0x00000000 in ?? ()
Thread 14 (Thread 22829):
#0 0xf72b05e8 in syscall () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#1 0xf72d8636 in __pthread_cond_timedwait_relative(pthread_cond_internal_t*, pthread_mutex_t*, timespec const*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#2 0xf3f8d7f0 in thread_func (thread_data=0x0) at /Users/builder/data/lanes/1196/e25bf736/source/mono/mono/sgen/sgen-thread-pool.c:118
#3 0xf72d8814 in __pthread_start(void*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#4 0xf72b2f76 in __start_thread () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#5 0x00000000 in ?? ()
Thread 13 (Thread 22810):
#0 0xf72db098 in __ioctl () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#1 0xf72e07f4 in ioctl () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#2 0xf74d280a in android::IPCThreadState::talkWithDriver(bool) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libbinder.so
#3 0xf74d2d42 in android::IPCThreadState::getAndExecuteCommand() () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libbinder.so
#4 0xf74d2de0 in android::IPCThreadState::joinThreadPool(bool) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libbinder.so
#5 0xf74d7818 in ?? () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libbinder.so
#6 0xf7500072 in android::Thread::_threadLoop(void*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libutils.so
#7 0xf7427728 in android::AndroidRuntime::javaThreadShell(void*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libandroid_runtime.so
#8 0xf72d8814 in __pthread_start(void*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#9 0xf72b2f76 in __start_thread () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#10 0x00000000 in ?? ()
Thread 12 (Thread 22808):
#0 0xf72db098 in __ioctl () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#1 0xf72e07f4 in ioctl () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#2 0xf74d280a in android::IPCThreadState::talkWithDriver(bool) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libbinder.so
#3 0xf74d2d42 in android::IPCThreadState::getAndExecuteCommand() () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libbinder.so
#4 0xf74d2de0 in android::IPCThreadState::joinThreadPool(bool) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libbinder.so
#5 0xf74d7818 in ?? () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libbinder.so
#6 0xf7500072 in android::Thread::_threadLoop(void*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libutils.so
#7 0xf7427728 in android::AndroidRuntime::javaThreadShell(void*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libandroid_runtime.so
#8 0xf72d8814 in __pthread_start(void*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#9 0xf72b2f76 in __start_thread () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#10 0x00000000 in ?? ()
Thread 11 (Thread 22807):
#0 0xf72db098 in __ioctl () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#1 0xf72e07f4 in ioctl () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#2 0xf74d280a in android::IPCThreadState::talkWithDriver(bool) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libbinder.so
#3 0xf74d2d42 in android::IPCThreadState::getAndExecuteCommand() () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libbinder.so
#4 0xf74d2de0 in android::IPCThreadState::joinThreadPool(bool) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libbinder.so
#5 0xf74d7818 in ?? () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libbinder.so
#6 0xf7500072 in android::Thread::_threadLoop(void*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libutils.so
#7 0xf7427728 in android::AndroidRuntime::javaThreadShell(void*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libandroid_runtime.so
#8 0xf72d8814 in __pthread_start(void*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#9 0xf72b2f76 in __start_thread () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#10 0x00000000 in ?? ()
Thread 10 (Thread 22805):
---Type <return> to continue, or q <return> to quit---
#0 0xf72b05e8 in syscall () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#1 0xf4fa7cf0 in art::ConditionVariable::Wait(art::Thread*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libart.so
#2 0xf507eef2 in art::gc::TaskProcessor::GetTask(art::Thread*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libart.so
#3 0xf507f3c6 in art::gc::TaskProcessor::RunAllTasks(art::Thread*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libart.so
#4 0x71d36380 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 9 (Thread 22804):
#0 0xf72b05e8 in syscall () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#1 0xf4fa7cf0 in art::ConditionVariable::Wait(art::Thread*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libart.so
#2 0xf51605fa in art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libart.so
#3 0xf51612b6 in art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libart.so
#4 0xf5172118 in art::Object_wait(_JNIEnv*, _jobject*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libart.so
#5 0x71d36380 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 8 (Thread 22803):
#0 0xf72b05e8 in syscall () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#1 0xf4fa7cf0 in art::ConditionVariable::Wait(art::Thread*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libart.so
#2 0xf51605fa in art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libart.so
#3 0xf51612b6 in art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libart.so
#4 0xf5172144 in art::Object_waitJI(_JNIEnv*, _jobject*, long long, int) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libart.so
#5 0x71d3656e in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 7 (Thread 22802):
#0 0xf72b05e8 in syscall () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#1 0xf4fa7cf0 in art::ConditionVariable::Wait(art::Thread*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libart.so
#2 0xf51605fa in art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libart.so
#3 0xf51612b6 in art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libart.so
#4 0xf5172118 in art::Object_wait(_JNIEnv*, _jobject*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libart.so
#5 0x71d36380 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 6 (Thread 22801):
#0 0xf72db4a8 in recvmsg () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#1 0xf5299008 in art::JDWP::JdwpAdbState::ReceiveClientFd() () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libart.so
#2 0xf529978c in art::JDWP::JdwpAdbState::Accept() () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libart.so
#3 0xf510bad0 in art::JDWP::JdwpState::Run() () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libart.so
#4 0xf510c98a in art::JDWP::StartJdwpThread(void*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libart.so
#5 0xf72d8814 in __pthread_start(void*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#6 0xf72b2f76 in __start_thread () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#7 0x00000000 in ?? ()
Thread 5 (Thread 22800):
#0 0xf72da158 in __rt_sigtimedwait () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#1 0xf72b5d9a in sigwait () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#2 0xf51d7f5a in art::SignalCatcher::WaitForSignal(art::Thread*, art::SignalSet&) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libart.so
#3 0xf51d902a in art::SignalCatcher::Run(void*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libart.so
#4 0xf72d8814 in __pthread_start(void*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#5 0xf72b2f76 in __start_thread () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#6 0x00000000 in ?? ()
Thread 4 (Thread 22831):
#0 0xf72da830 in sendto () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#1 0xf72b5b4a in send () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#2 0xf3e7d2a8 in socket_transport_send (data=0xeb8184d0, len=15) at /Users/builder/data/lanes/1196/e25bf736/source/mono/mono/mini/debugger-agent.c:1194
#3 0xf3e81258 in transport_send (len=15, buf=0xeb8184d0) at /Users/builder/data/lanes/1196/e25bf736/source/mono/mono/mini/debugger-agent.c:1514
#4 send_reply_packets (npackets=npackets@entry=1, packets=packets@entry=0xe8f446f4) at /Users/builder/data/lanes/1196/e25bf736/source/mono/mono/mini/debugger-agent.c:1842
#5 0xf3e81370 in send_reply_packet (id=id@entry=11, error=error@entry=0, data=data@entry=0xe8f447ac) at /Users/builder/data/lanes/1196/e25bf736/source/mono/mono/mini/debugger-agent.c:1860
#6 0xf3e8d990 in debugger_thread (arg=<optimized out>) at /Users/builder/data/lanes/1196/e25bf736/source/mono/mono/mini/debugger-agent.c:9722
#7 0xf3fb988c in inner_start_thread (arg=0xff7f26d4) at /Users/builder/data/lanes/1196/e25bf736/source/mono/mono/utils/mono-threads-posix.c:92
#8 0xf72d8814 in __pthread_start(void*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#9 0xf72b2f76 in __start_thread () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#10 0x00000000 in ?? ()
---Type <return> to continue, or q <return> to quit---
Thread 3 (Thread 22830):
#0 0xf72b05e8 in syscall () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#1 0xf72b599c in sem_wait () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#2 0xf3fb1eec in mono_sem_wait (sem=sem@entry=0xf4065a24 <finalizer_sem>, alertable=alertable@entry=1) at /Users/builder/data/lanes/1196/e25bf736/source/mono/mono/utils/mono-semaphore.c:107
#3 0xf3f33354 in finalizer_thread (unused=<optimized out>) at /Users/builder/data/lanes/1196/e25bf736/source/mono/mono/metadata/gc.c:717
#4 0xf3f2166c in start_wrapper_internal (data=<optimized out>) at /Users/builder/data/lanes/1196/e25bf736/source/mono/mono/metadata/threads.c:718
#5 start_wrapper (data=<optimized out>) at /Users/builder/data/lanes/1196/e25bf736/source/mono/mono/metadata/threads.c:765
#6 0xf3fb988c in inner_start_thread (arg=0xff7f27e4) at /Users/builder/data/lanes/1196/e25bf736/source/mono/mono/utils/mono-threads-posix.c:92
#7 0xf72d8814 in __pthread_start(void*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#8 0xf72b2f76 in __start_thread () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#9 0x00000000 in ?? ()
Thread 2 (Thread 22828):
#0 0xf72db098 in __ioctl () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#1 0xf72e07f4 in ioctl () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#2 0xf74d280a in android::IPCThreadState::talkWithDriver(bool) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libbinder.so
#3 0xf74d2d42 in android::IPCThreadState::getAndExecuteCommand() () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libbinder.so
#4 0xf74d2de0 in android::IPCThreadState::joinThreadPool(bool) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libbinder.so
#5 0xf74d7818 in ?? () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libbinder.so
#6 0xf7500072 in android::Thread::_threadLoop(void*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libutils.so
#7 0xf7427728 in android::AndroidRuntime::javaThreadShell(void*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libandroid_runtime.so
#8 0xf72d8814 in __pthread_start(void*) () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#9 0xf72b2f76 in __start_thread () from /Users/rodo/git/Duplo/Xamarin.Forms.ControlGallery.Android/gdb-symbols/libc.so
#10 0x00000000 in ?? ()
Thread 1 (Thread 22795):
#0 0xe820fc4c in ?? ()
#1 0xf4ac0000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.