(gdb) attach 4363 Attaching to process 4363 [New LWP 4364] [New LWP 4365] [New LWP 4366] [New LWP 4414] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:46 46 ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S: No such file or directory. (gdb) thread apply all bt Thread 5 (Thread 0xb2c302f0 (LWP 4414)): #0 __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:46 #1 0xb665adba in __pthread_cond_wait (cond=0xb0600d98, mutex=0xb0600dc8) at pthread_cond_wait.c:186 #2 0xb6818d36 in void IceUtil::Cond::waitImpl(IceUtil::Mutex const&) const () from /usr/local/Ice/lib/arm-linux-gnueabihf/libIce.so.37 #3 0xb6815b66 in IceUtil::Monitor::wait() const () from /usr/local/Ice/lib/arm-linux-gnueabihf/libIce.so.37 #4 0xb68a1454 in IceInternal::OutgoingAsyncBase::_waitForResponse() () from /usr/local/Ice/lib/arm-linux-gnueabihf/libIce.so.37 #5 0xb68e2c64 in IceProxy::Ice::Object::end_ice_isA(IceInternal::Handle const&) () from /usr/local/Ice/lib/arm-linux-gnueabihf/libIce.so.37 #6 0xb0b659c6 in IceProxy::Ice::Object::ice_isA ( context=std::map with 0 elements, typeId=..., this=0xb0600d50) at /usr/local/Ice/include/Ice/Proxy.h:1758 #7 IceInternal::checkedCastImpl > (b=..., context=std::map with 0 elements) at /usr/local/Ice/include/Ice/Proxy.h:3264 #8 0xb0b62a74 in IceInternal::checkedCastHelper (ctx=..., b=...) at /usr/local/Ice/include/Ice/ProxyHandle.h:103 #9 IceInternal::ProxyHandle::checkedCast (ctx=..., r=...) at /usr/local/Ice/include/Ice/ProxyHandle.h:268 #10 astro::camera::nice::NiceLocator::getModules (this=this@entry=0xb0600808, key=...) at NiceLocator.cpp:148 #11 0xb0b63a5c in astro::camera::nice::NiceLocator::getDevicelist[abi:cxx11](astro::DeviceName::device_type, astro::discover::ServiceKey const&) ( this=this@entry=0xb0600808, device=astro::DeviceName::Camera, key=...) at NiceLocator.cpp:276 #12 0xb0b63f24 in astro::camera::nice::NiceLocator::getDevicelist[abi:cxx11](astro::DeviceName::device_type) (this=0xb0600808, device=astro::DeviceName::Camera) at NiceLocator.cpp:327 #13 0x00061100 in snowstar::DeviceLocatorI::getDevicelist[abi:cxx11](snowstar::devicetype, Ice::Current const&) (this=, type=snowstar::DevCAMERA) at DeviceLocatorI.cpp:22 #14 0xb6adf9be in snowstar::DeviceLocator::_iceD_getDevicelist ( this=, inS=..., current=...) at device.cpp:4690 #15 0xb68aae8c in IceInternal::Incoming::invoke(IceInternal::Handle const&, Ice::InputStream*) () from /usr/local/Ice/lib/arm-linux-gnueabihf/libIce.so.37 #16 0xb6972f68 in Ice::ConnectionI::invokeAll(Ice::InputStream&, int, int, unsigned char, IceInternal::Handle const&, IceInternal::Handle const&) () from /usr/local/Ice/lib/arm-linux-gnueabihf/libIce.so.37 #17 0xb696d696 in Ice::ConnectionI::dispatch(IceUtil::Handle const&, std::vector > const&, unsigned char, int, int, IceInternal::Handle const&, IceInternal::Handle const&, IceInternal::Handle const&, IceInternal::Handle const&, Ice::InputStream&) () from /usr/local/Ice/lib/arm-linux-gnueabihf/libIce.so.37 #18 0xb696cfbc in Ice::ConnectionI::message(IceInternal::ThreadPoolCurrent&) () from /usr/local/Ice/lib/arm-linux-gnueabihf/libIce.so.37 #19 0xb6961620 in IceInternal::ThreadPool::run(IceUtil::Handle const&) () from /usr/local/Ice/lib/arm-linux-gnueabihf/libIce.so.37 #20 0xb6962bf8 in IceInternal::ThreadPool::EventHandlerThread::run() () from /usr/local/Ice/lib/arm-linux-gnueabihf/libIce.so.37 #21 0xb6860a18 in startHook () from /usr/local/Ice/lib/arm-linux-gnueabihf/libIce.so.37 #22 0xb66565b4 in start_thread (arg=0x0) at pthread_create.c:335 #23 0xb64c1c4c in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:89 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 4 (Thread 0xb237d2f0 (LWP 4366)): #0 0xb64c2132 in epoll_wait () at ../sysdeps/unix/syscall-template.S:84 #1 0xb6808fc2 in IceInternal::Selector::select(int) () ---Type to continue, or q to quit--- from /usr/local/Ice/lib/arm-linux-gnueabihf/libIce.so.37 #2 0xb6961644 in IceInternal::ThreadPool::run(IceUtil::Handle const&) () from /usr/local/Ice/lib/arm-linux-gnueabihf/libIce.so.37 #3 0xb6962bf8 in IceInternal::ThreadPool::EventHandlerThread::run() () from /usr/local/Ice/lib/arm-linux-gnueabihf/libIce.so.37 #4 0xb6860a18 in startHook () from /usr/local/Ice/lib/arm-linux-gnueabihf/libIce.so.37 #5 0xb66565b4 in start_thread (arg=0x0) at pthread_create.c:335 #6 0xb64c1c4c in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:89 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 3 (Thread 0xb1b7d2f0 (LWP 4365)): #0 0xb64bbbf0 in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0xb5bd7290 in avahi_simple_poll_run () from /usr/lib/arm-linux-gnueabihf/libavahi-common.so.3 #2 0xb5bd741a in avahi_simple_poll_iterate () from /usr/lib/arm-linux-gnueabihf/libavahi-common.so.3 #3 0xb5bd758c in avahi_simple_poll_loop () from /usr/lib/arm-linux-gnueabihf/libavahi-common.so.3 #4 0xb6cff2dc in astro::discover::AvahiPublisher::main (this=0x11af48) at AvahiPublisher.cpp:259 #5 0xb65cedc8 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 #6 0xb66565b4 in start_thread (arg=0x0) at pthread_create.c:335 #7 0xb64c1c4c in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:89 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 2 (Thread 0xb137d2f0 (LWP 4364)): #0 0xb64bbbf0 in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0xb5bd7290 in avahi_simple_poll_run () from /usr/lib/arm-linux-gnueabihf/libavahi-common.so.3 #2 0xb5bd741a in avahi_simple_poll_iterate () from /usr/lib/arm-linux-gnueabihf/libavahi-common.so.3 #3 0xb5bd758c in avahi_simple_poll_loop () from /usr/lib/arm-linux-gnueabihf/libavahi-common.so.3 #4 0xb6cff1be in astro::discover::AvahiDiscovery::main (this=0x116e08) at AvahiDiscovery.cpp:133 #5 0xb65cedc8 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 #6 0xb66565b4 in start_thread (arg=0x0) at pthread_create.c:335 #7 0xb64c1c4c in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:89 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 1 (Thread 0xb6f75000 (LWP 4363)): #0 __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:46 #1 0xb665adba in __pthread_cond_wait (cond=0xdff28, mutex=0xdff58) at pthread_cond_wait.c:186 #2 0xb6835ade in void IceUtil::Cond::waitImpl(IceUtil::RecMutex const&) const () from /usr/local/Ice/lib/arm-linux-gnueabihf/libIce.so.37 #3 0xb6834062 in IceUtil::Monitor::wait() const () from /usr/local/Ice/lib/arm-linux-gnueabihf/libIce.so.37 #4 0xb689b8fe in IceInternal::ObjectAdapterFactory::waitForShutdown() () from /usr/local/Ice/lib/arm-linux-gnueabihf/libIce.so.37 #5 0xb6824322 in Ice::CommunicatorI::waitForShutdown() () from /usr/local/Ice/lib/arm-linux-gnueabihf/libIce.so.37 #6 0x000924d6 in snowstar::Server::waitForShutdown ( this=this@entry=0xbe8f8698) at Server.cpp:313 #7 0x00057a92 in snowstar::snowstar_main (argc=argc@entry=9, argv=argv@entry=0xbe8f8a34) at snowstar.cpp:314 #8 0x00058bf0 in astro::main_function<&snowstar::snowstar_main> (argc=9, argv=0xbe8f8a34) at ../../include/AstroUtils.h:343 #9 0xb64458aa in __libc_start_main (main=0x532a9 , argc=9, argv=0xbe8f8a34, init=, fini=0x9a2dd <__libc_csu_fini>, rtld_fini=0xb6f65c2d <_dl_fini>, stack_end=0xbe8f8a34) at libc-start.c:291 #10 0x000564c4 in _start () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb)