When stopping the camera with SIGINT, the sig handler
function attempts to destroy the connection manager
and runs into the following situation, hanging on the
mutex lock.
#0 0xffffe410 in ?? ()
#1 0xbfffef2c in ?? ()
#2 0x00000002 in ?? ()
#3 0x00000000 in ?? ()
#4 0x40035cce in __lll_mutex_lock_wait ()
from /lib/tls/libpthread.so.0
#5 0x40032a4d in _L_mutex_lock_33 ()
from /lib/tls/libpthread.so.0
#6 0x40289780 in __malloc_initialize_hook ()
from /lib/tls/libc.so.6
#7 0x08143028 in ?? ()
#8 0xbffff2b4 in ?? ()
#9 0xbffff3cc in ?? ()
#10 0x00000000 in ?? ()
#11 0xbfffef5c in ?? ()
#12 0x0804bb06 in ee_cam_close_conn_to_server
(control_fd=134617036)
at ee_cam_skt.c:277
#13 0x0804bb06 in ee_cam_close_conn_to_server
(control_fd=8) at ee_cam_skt.c:277
#14 0x0804aa62 in ee_cam_cmgr_destroy
(pp_cmgr=0x80617b0) at ee_cam_cmgr.c:429
#15 0x0804b6f3 in sighandler (sig_no=2) at
ee_cam_ctl.c:375
#16 <signal handler called>
#17 0xffffe410 in ?? ()
#18 0xbffff458 in ?? ()
#19 0x40287ff4 in ?? () from /lib/tls/libc.so.6
#20 0xbffff2b4 in ?? ()
#21 0x401fcb56 in __nanosleep_nocancel ()
from /lib/tls/libc.so.6
#22 0x401fc933 in sleep () from /lib/tls/libc.so.6
#23 0x0804b654 in main (argc=0, argv=0xbffff514) at
ee_cam_ctl.c:350