delete blocking at a semaphore...
Posted on 2000-02-16
I am compiling an multithread app under solaris 2.5.1 fully patched, and running on solaris 7.
The app locks up, including all other threads with zero CPU usage.
I allocate a char array, then use it, then I free it.
Is there a known problem with 2.5.1 compilation, and solaris7 running? if not, how do I fix this bug? It is not readilly repeatable.
The following is a GDB attach...
Symbols already loaded for /usr/lib/libthread.so.1
0xdf6c25d1 in _lwp_sema_wait () from /usr/lib/libc.so.1
#0 0xdf6c25d1 in _lwp_sema_wait () from /usr/lib/libc.so.1
#1 0xdf61cc61 in _park () from /usr/lib/libthread.so.1
#2 0xdf61c8d7 in _swtch () from /usr/lib/libthread.so.1
#3 0xdf61df52 in _mutex_adaptive_lock () from /usr/lib/libthread.so.1
#4 0xdf61dd6c in mutex_lock () from /usr/lib/libthread.so.1
#5 0xdf6ce8a5 in free () from /usr/lib/libc.so.1
#6 0xdfaf259c in __builtin_delete () from /gems/lib/liblogging.so.1
#7 0xdfaf25e7 in __builtin_vec_delete () from /gems/lib/liblogging.so.1
#8 0x819639c in CallShell::activate (this=0x82a98f8) at CallShell.cpp:160