Pro / raspi-toolchain

170 stars 40 forks source link

deadlock only seen in cross compile? #11

Open x37v opened 3 years ago

x37v commented 3 years ago

I'm cross compiling a c++ project that uses dbus-cpp to do dbus communication on an rpi. I'm able to build the project fine but when I run it on the rpi I get a deadlock in the pthreads library, it looks like it is happening while creating a shared_ptr.

[0] from 0xb6ee4e5c in __lll_lock_wait+36 at lowlevellock.c:43
[1] from 0xb6edcf44 in __GI___pthread_mutex_lock+264 at pthread_mutex_lock.c:80

I've built the same project on the pi and I don't see the deadlock. I use cmake in both places.

Anyone else see anything like this? Any pointers on how to debug?