root@homegear:/var/lib/homegear# gdb homegear /var/lib/homegear/core GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "arm-linux-gnueabihf". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from homegear...Reading symbols from /usr/lib/debug//usr/bin/homegear...done. done. [New LWP 25357] [New LWP 25321] [New LWP 25338] [New LWP 25352] [New LWP 25354] [New LWP 25356] [New LWP 25358] [New LWP 25360] [New LWP 25348] [New LWP 25359] [New LWP 25361] [New LWP 25339] [New LWP 25340] [New LWP 25341] [New LWP 25342] [New LWP 25343] [New LWP 25344] [New LWP 25345] [New LWP 25346] [New LWP 25347] [New LWP 25349] [New LWP 25350] [New LWP 25351] [New LWP 25353] [New LWP 25355] [New LWP 25362] [New LWP 24940] [New LWP 25363] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Core was generated by `/usr/bin/homegear -u homegear -g homegear -p /var/run/homegear/homegear.pid'. Program terminated with signal SIGSEGV, Segmentation fault. #0 load (__m=std::memory_order_seq_cst, this=0x8c) at /usr/include/c++/4.9/bits/atomic_base.h:500 500 return __atomic_load_n(&_M_i, __m); (gdb) where #0 load (__m=std::memory_order_seq_cst, this=0x8c) at /usr/include/c++/4.9/bits/atomic_base.h:500 #1 operator bool (this=0x8c) at /usr/include/c++/4.9/atomic:77 #2 Flows::FlowsServer::broadcastEvent (this=this@entry=0x0, id=0, channel=channel@entry=-1, variables=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr >*, (__gnu_cxx::_Lock_policy)2>' warning: RTTI symbol not found for class 'std::_Sp_counted_ptr >*, (__gnu_cxx::_Lock_policy)2>' std::shared_ptr (count 2, weak 0) 0x2f10640, values=std::shared_ptr (count 2, weak 0) 0x2f0f778) at Flows/FlowsServer.cpp:1471 #3 0x001634a2 in DatabaseController::setSystemVariable (this=, variableID=..., value=...) at Systems/DatabaseController.cpp:1106 #4 0x00101274 in Rpc::RPCSetSystemVariable::invoke (this=0x2d7df00, clientInfo=..., parameters=std::shared_ptr (count 2, weak 0) 0x2f137c0) at RPC/RPCMethods.cpp:4021 #5 0x00135a16 in Rpc::RPCServer::callMethod (this=0x1d74bd8, methodName="setSystemVariable", parameters=std::shared_ptr (count 3, weak 0) 0x2f13770) at RPC/RPCServer.cpp:701 #6 0x00144442 in Rpc::Server::callMethod (this=this@entry=0x1d74bc4, methodName="setSystemVariable", parameters=std::shared_ptr (count 3, weak 0) 0x2f13770) at RPC/Server.cpp:170 #7 0x000d5092 in Mqtt::processPublish (this=this@entry=0x1d334e8, data=...) at MQTT/Mqtt.cpp:708 #8 0x000d97a8 in Mqtt::processQueueEntry (this=0x1d334e8, index=, entry=...) at MQTT/Mqtt.cpp:1281 #9 0xb6c59e42 in BaseLib::IQueue::process (this=0x1d334e8, index=1) at IQueue.cpp:172 #10 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 #11 0xb6eecf88 in start_thread (arg=0xab3ff3a0) at pthread_create.c:311 #12 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) thread apply all bt Thread 28 (Thread 0xa81ff3a0 (LWP 25363)): #0 0xb60d27c2 in select () at ../sysdeps/unix/syscall-template.S:81 #1 0x00140116 in Rpc::RPCServer::getClientSocketDescriptor (this=this@entry=0x2e10500, address="", port=@0xa81fecec: -1) at RPC/RPCServer.cpp:1498 #2 0x001415a0 in Rpc::RPCServer::mainThread (this=0x2e10500) at RPC/RPCServer.cpp:379 #3 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 #4 0xb6eecf88 in start_thread (arg=0xa81ff3a0) at pthread_create.c:311 #5 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 27 (Thread 0xb5b70000 (LWP 24940)): #0 0xb69cbaa0 in __gmpn_addmul_1 () from /usr/lib/arm-linux-gnueabihf/libgmp.so.10 #1 0xb69ec6da in __gmpn_redc_1 () from /usr/lib/arm-linux-gnueabihf/libgmp.so.10 #2 0xb69edb0a in __gmpn_sec_powm () from /usr/lib/arm-linux-gnueabihf/libgmp.so.10 #3 0xb69c63cc in __gmpz_powm_sec () from /usr/lib/arm-linux-gnueabihf/libgmp.so.10 #4 0xb5e2cbd8 in nettle_rsa_compute_root () from /usr/lib/arm-linux-gnueabihf/libhogweed.so.2 #5 0xb5e2cd62 in nettle_rsa_pkcs1_sign_tr () from /usr/lib/arm-linux-gnueabihf/libhogweed.so.2 #6 0xb666295c in ?? () from /usr/lib/arm-linux-gnueabihf/libgnutls-deb0.so.28 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 26 (Thread 0xa89ff3a0 (LWP 25362)): #0 0xb60d27c2 in select () at ../sysdeps/unix/syscall-template.S:81 ---Type to continue, or q to quit--- #1 0x00140116 in Rpc::RPCServer::getClientSocketDescriptor (this=this@entry=0x1d74bd8, address="", port=@0xa89fecec: -1) at RPC/RPCServer.cpp:1498 #2 0x001415a0 in Rpc::RPCServer::mainThread (this=0x1d74bd8) at RPC/RPCServer.cpp:379 #3 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 #4 0xb6eecf88 in start_thread (arg=0xa89ff3a0) at pthread_create.c:311 #5 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 25 (Thread 0xac3ff3a0 (LWP 25355)): #0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43 #1 0xb6ef0144 in __pthread_cond_wait (cond=0x1d32190, mutex=0x1d33480) at pthread_cond_wait.c:187 #2 0xb62518d8 in __gthread_cond_wait (__mutex=, __cond=__cond@entry=0x1d32190) at /build/gcc-4.9-YnrWeB/gcc-4.9-4.9.2/build/arm-linux-gnueabihf/libstdc++-v3/include/arm-linux-gnueabihf/bits/gthr-default.h:864 #3 std::condition_variable::wait (this=this@entry=0x1d32190, __lock=...) at ../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:52 #4 0xb6c59ebc in wait > (__p=..., __lock=..., this=0x1d32190) at /usr/include/c++/4.9/condition_variable:98 #5 BaseLib::IQueue::process (this=0x1d334e8, index=1) at IQueue.cpp:158 #6 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 #7 0xb6eecf88 in start_thread (arg=0xac3ff3a0) at pthread_create.c:311 #8 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) ---Type to continue, or q to quit--- Thread 24 (Thread 0xad3ff3a0 (LWP 25353)): #0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43 #1 0xb6ef0144 in __pthread_cond_wait (cond=0x1d32160, mutex=0x1d33468) at pthread_cond_wait.c:187 #2 0xb62518d8 in __gthread_cond_wait (__mutex=, __cond=__cond@entry=0x1d32160) at /build/gcc-4.9-YnrWeB/gcc-4.9-4.9.2/build/arm-linux-gnueabihf/libstdc++-v3/include/arm-linux-gnueabihf/bits/gthr-default.h:864 #3 std::condition_variable::wait (this=this@entry=0x1d32160, __lock=...) at ../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:52 #4 0xb6c59ebc in wait > (__p=..., __lock=..., this=0x1d32160) at /usr/include/c++/4.9/condition_variable:98 #5 BaseLib::IQueue::process (this=0x1d334e8, index=0) at IQueue.cpp:158 #6 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 #7 0xb6eecf88 in start_thread (arg=0xad3ff3a0) at pthread_create.c:311 #8 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 23 (Thread 0xae5203a0 (LWP 25351)): #0 0xb6ef2d8e in nanosleep () at ../sysdeps/unix/syscall-template.S:81 #1 0xb4d7a156 in sleep_for > (__rtime=...) at /usr/include/c++/4.9/thread:282 #2 BidCoS::HomeMaticCentral::worker (this=0x1d647e8) at HomeMaticCentral.cpp:679 #3 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 #4 0xb6eecf88 in start_thread (arg=0xae5203a0) at pthread_create.c:311 #5 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 ---Type to continue, or q to quit--- Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 22 (Thread 0xaed203a0 (LWP 25350)): #0 0xb6ef2d8e in nanosleep () at ../sysdeps/unix/syscall-template.S:81 #1 0xb4d6c13a in sleep_for > (__rtime=) at /usr/include/c++/4.9/thread:282 #2 BidCoS::BidCoSPacketManager::worker (this=0x1d6498c) at BidCoSPacketManager.cpp:86 #3 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 #4 0xb6eecf88 in start_thread (arg=0xaed203a0) at pthread_create.c:311 #5 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 21 (Thread 0xaf5203a0 (LWP 25349)): #0 0xb6ef2d8e in nanosleep () at ../sysdeps/unix/syscall-template.S:81 #1 0xb4d6c13a in sleep_for > (__rtime=) at /usr/include/c++/4.9/thread:282 #2 BidCoS::BidCoSPacketManager::worker (this=0x1d64948) at BidCoSPacketManager.cpp:86 #3 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 #4 0xb6eecf88 in start_thread (arg=0xaf5203a0) at pthread_create.c:311 #5 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 20 (Thread 0xb05203a0 (LWP 25347)): ---Type to continue, or q to quit--- #0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43 #1 0xb6ef0144 in __pthread_cond_wait (cond=0x1d6ce70, mutex=0x1d78e70) at pthread_cond_wait.c:187 #2 0xb62518d8 in __gthread_cond_wait (__mutex=, __cond=__cond@entry=0x1d6ce70) at /build/gcc-4.9-YnrWeB/gcc-4.9-4.9.2/build/arm-linux-gnueabihf/libstdc++-v3/include/arm-linux-gnueabihf/bits/gthr-default.h:864 #3 std::condition_variable::wait (this=this@entry=0x1d6ce70, __lock=...) at ../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:52 #4 0xb6c59ebc in wait > (__p=..., __lock=..., this=0x1d6ce70) at /usr/include/c++/4.9/condition_variable:98 #5 BaseLib::IQueue::process (this=0x1d790e0, index=1) at IQueue.cpp:158 #6 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 #7 0xb6eecf88 in start_thread (arg=0xb05203a0) at pthread_create.c:311 #8 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 19 (Thread 0xb0d203a0 (LWP 25346)): #0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43 #1 0xb6ef0144 in __pthread_cond_wait (cond=0x1d6ce70, mutex=0x1d78e70) at pthread_cond_wait.c:187 #2 0xb62518d8 in __gthread_cond_wait (__mutex=, __cond=__cond@entry=0x1d6ce70) at /build/gcc-4.9-YnrWeB/gcc-4.9-4.9.2/build/arm-linux-gnueabihf/libstdc++-v3/include/arm-linux-gnueabihf/bits/gthr-default.h:864 #3 std::condition_variable::wait (this=this@entry=0x1d6ce70, __lock=...) at ../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:52 #4 0xb6c59ebc in wait > (__p=..., __lock=..., this=0x1d6ce70) at /usr/include/c++/4.9/condition_variable:98 #5 BaseLib::IQueue::process (this=0x1d790e0, index=1) at IQueue.cpp:158 ---Type to continue, or q to quit--- #6 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 #7 0xb6eecf88 in start_thread (arg=0xb0d203a0) at pthread_create.c:311 #8 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 18 (Thread 0xb15203a0 (LWP 25345)): #0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43 #1 0xb6ef0144 in __pthread_cond_wait (cond=0x1d6ce70, mutex=0x1d78e70) at pthread_cond_wait.c:187 #2 0xb62518d8 in __gthread_cond_wait (__mutex=, __cond=__cond@entry=0x1d6ce70) at /build/gcc-4.9-YnrWeB/gcc-4.9-4.9.2/build/arm-linux-gnueabihf/libstdc++-v3/include/arm-linux-gnueabihf/bits/gthr-default.h:864 #3 std::condition_variable::wait (this=this@entry=0x1d6ce70, __lock=...) at ../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:52 #4 0xb6c59ebc in wait > (__p=..., __lock=..., this=0x1d6ce70) at /usr/include/c++/4.9/condition_variable:98 #5 BaseLib::IQueue::process (this=0x1d790e0, index=1) at IQueue.cpp:158 #6 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 #7 0xb6eecf88 in start_thread (arg=0xb15203a0) at pthread_create.c:311 #8 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 17 (Thread 0xb1d203a0 (LWP 25344)): #0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43 ---Type to continue, or q to quit--- #1 0xb6ef0144 in __pthread_cond_wait (cond=0x1d6ce70, mutex=0x1d78e70) at pthread_cond_wait.c:187 #2 0xb62518d8 in __gthread_cond_wait (__mutex=, __cond=__cond@entry=0x1d6ce70) at /build/gcc-4.9-YnrWeB/gcc-4.9-4.9.2/build/arm-linux-gnueabihf/libstdc++-v3/include/arm-linux-gnueabihf/bits/gthr-default.h:864 #3 std::condition_variable::wait (this=this@entry=0x1d6ce70, __lock=...) at ../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:52 #4 0xb6c59ebc in wait > (__p=..., __lock=..., this=0x1d6ce70) at /usr/include/c++/4.9/condition_variable:98 #5 BaseLib::IQueue::process (this=0x1d790e0, index=1) at IQueue.cpp:158 #6 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 #7 0xb6eecf88 in start_thread (arg=0xb1d203a0) at pthread_create.c:311 #8 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 16 (Thread 0xb25203a0 (LWP 25343)): #0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43 #1 0xb6ef0144 in __pthread_cond_wait (cond=0x1d6ce70, mutex=0x1d78e70) at pthread_cond_wait.c:187 #2 0xb62518d8 in __gthread_cond_wait (__mutex=, __cond=__cond@entry=0x1d6ce70) at /build/gcc-4.9-YnrWeB/gcc-4.9-4.9.2/build/arm-linux-gnueabihf/libstdc++-v3/include/arm-linux-gnueabihf/bits/gthr-default.h:864 #3 std::condition_variable::wait (this=this@entry=0x1d6ce70, __lock=...) at ../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:52 #4 0xb6c59ebc in wait > (__p=..., __lock=..., this=0x1d6ce70) at /usr/include/c++/4.9/condition_variable:98 #5 BaseLib::IQueue::process (this=0x1d790e0, index=1) at IQueue.cpp:158 #6 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) ---Type to continue, or q to quit--- at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 #7 0xb6eecf88 in start_thread (arg=0xb25203a0) at pthread_create.c:311 #8 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 15 (Thread 0xb2d203a0 (LWP 25342)): #0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43 #1 0xb6ef0144 in __pthread_cond_wait (cond=0x1d6ce40, mutex=0x1d78e58) at pthread_cond_wait.c:187 #2 0xb62518d8 in __gthread_cond_wait (__mutex=, __cond=__cond@entry=0x1d6ce40) at /build/gcc-4.9-YnrWeB/gcc-4.9-4.9.2/build/arm-linux-gnueabihf/libstdc++-v3/include/arm-linux-gnueabihf/bits/gthr-default.h:864 #3 std::condition_variable::wait (this=this@entry=0x1d6ce40, __lock=...) at ../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:52 #4 0xb6c59ebc in wait > (__p=..., __lock=..., this=0x1d6ce40) at /usr/include/c++/4.9/condition_variable:98 #5 BaseLib::IQueue::process (this=0x1d790e0, index=0) at IQueue.cpp:158 #6 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 #7 0xb6eecf88 in start_thread (arg=0xb2d203a0) at pthread_create.c:311 #8 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 14 (Thread 0xb35203a0 (LWP 25341)): #0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43 #1 0xb6ef0144 in __pthread_cond_wait (cond=0x1d6ce40, mutex=0x1d78e58) at pthread_cond_wait.c:187 ---Type to continue, or q to quit--- #2 0xb62518d8 in __gthread_cond_wait (__mutex=, __cond=__cond@entry=0x1d6ce40) at /build/gcc-4.9-YnrWeB/gcc-4.9-4.9.2/build/arm-linux-gnueabihf/libstdc++-v3/include/arm-linux-gnueabihf/bits/gthr-default.h:864 #3 std::condition_variable::wait (this=this@entry=0x1d6ce40, __lock=...) at ../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:52 #4 0xb6c59ebc in wait > (__p=..., __lock=..., this=0x1d6ce40) at /usr/include/c++/4.9/condition_variable:98 #5 BaseLib::IQueue::process (this=0x1d790e0, index=0) at IQueue.cpp:158 #6 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 #7 0xb6eecf88 in start_thread (arg=0xb35203a0) at pthread_create.c:311 #8 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 13 (Thread 0xb3d203a0 (LWP 25340)): #0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43 #1 0xb6ef0144 in __pthread_cond_wait (cond=0x1d6ce40, mutex=0x1d78e58) at pthread_cond_wait.c:187 #2 0xb62518d8 in __gthread_cond_wait (__mutex=, __cond=__cond@entry=0x1d6ce40) at /build/gcc-4.9-YnrWeB/gcc-4.9-4.9.2/build/arm-linux-gnueabihf/libstdc++-v3/include/arm-linux-gnueabihf/bits/gthr-default.h:864 #3 std::condition_variable::wait (this=this@entry=0x1d6ce40, __lock=...) at ../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:52 #4 0xb6c59ebc in wait > (__p=..., __lock=..., this=0x1d6ce40) at /usr/include/c++/4.9/condition_variable:98 #5 BaseLib::IQueue::process (this=0x1d790e0, index=0) at IQueue.cpp:158 #6 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 ---Type to continue, or q to quit--- #7 0xb6eecf88 in start_thread (arg=0xb3d203a0) at pthread_create.c:311 #8 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 12 (Thread 0xb45203a0 (LWP 25339)): #0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43 #1 0xb6ef0144 in __pthread_cond_wait (cond=0x1d6ce40, mutex=0x1d78e58) at pthread_cond_wait.c:187 #2 0xb62518d8 in __gthread_cond_wait (__mutex=, __cond=__cond@entry=0x1d6ce40) at /build/gcc-4.9-YnrWeB/gcc-4.9-4.9.2/build/arm-linux-gnueabihf/libstdc++-v3/include/arm-linux-gnueabihf/bits/gthr-default.h:864 #3 std::condition_variable::wait (this=this@entry=0x1d6ce40, __lock=...) at ../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:52 #4 0xb6c59ebc in wait > (__p=..., __lock=..., this=0x1d6ce40) at /usr/include/c++/4.9/condition_variable:98 #5 BaseLib::IQueue::process (this=0x1d790e0, index=0) at IQueue.cpp:158 #6 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 #7 0xb6eecf88 in start_thread (arg=0xb45203a0) at pthread_create.c:311 #8 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 11 (Thread 0xa91ff3a0 (LWP 25361)): #0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43 #1 0xb6ef03bc in __pthread_cond_timedwait (cond=0xa9300d40, mutex=0xa9300d24, abstime=0xa91febc8) at pthread_cond_timedwait.c:199 #2 0x000d6fdc in __gthread_cond_timedwait (__abs_timeout=0xa91febc8, __mutex=, __cond=0xa9300d40) ---Type to continue, or q to quit--- at /usr/include/arm-linux-gnueabihf/c++/4.9/bits/gthr-default.h:871 #3 __wait_until_impl > > (__atime=..., __lock=..., this=0xa9300d40) at /usr/include/c++/4.9/condition_variable:165 #4 wait_until > > (__atime=..., __lock=..., this=0xa9300d40) at /usr/include/c++/4.9/condition_variable:105 #5 wait_until >, Mqtt::getResponse(const std::vector&, std::vector&, uint8_t, int16_t, bool):: > (__p=..., __atime=..., __lock=..., this=0xa9300d40) at /usr/include/c++/4.9/condition_variable:128 #6 wait_for, Mqtt::getResponse(const std::vector&, std::vector&, uint8_t, int16_t, bool):: > (__p=..., __rtime=..., __lock=..., this=0xa9300d40) at /usr/include/c++/4.9/condition_variable:144 #7 Mqtt::getResponse (this=this@entry=0x1d334e8, packet=std::vector of length 27, capacity 27 = {...}, responseBuffer=std::vector of length 0, capacity 0, responseType=responseType@entry=144 '\220', packetId=packetId@entry=3, errors=errors@entry=false) at MQTT/Mqtt.cpp:277 #8 0x000d7608 in Mqtt::subscribe (this=this@entry=0x1d334e8, topic="homegear/a20/value/#") at MQTT/Mqtt.cpp:774 #9 0x000d8402 in Mqtt::connect (this=0x1d334e8) at MQTT/Mqtt.cpp:906 #10 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 #11 0xb6eecf88 in start_thread (arg=0xa91ff3a0) at pthread_create.c:311 #12 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 10 (Thread 0xaa3ff3a0 (LWP 25359)): #0 0xb60d27c4 in select () at ../sysdeps/unix/syscall-template.S:81 ---Type to continue, or q to quit--- #1 0xb6d5249a in BaseLib::TcpSocket::proofread (this=0x2d6b448, buffer=buffer@entry=0xa9200468 "\220\003", bufferSize=bufferSize@entry=2048) at Sockets/TcpSocket.cpp:308 #2 0x000d14ee in Mqtt::listen (this=0x1d334e8) at MQTT/Mqtt.cpp:380 #3 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 #4 0xb6eecf88 in start_thread (arg=0xaa3ff3a0) at pthread_create.c:311 #5 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 9 (Thread 0xafd203a0 (LWP 25348)): #0 0xb60d27c2 in select () at ../sysdeps/unix/syscall-template.S:81 #1 0x0019838a in ScriptEngine::ScriptEngineServer::mainThread (this=0x1d790e0) at ScriptEngine/ScriptEngineServer.cpp:1230 #2 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 #3 0xb6eecf88 in start_thread (arg=0xafd203a0) at pthread_create.c:311 #4 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 8 (Thread 0xa9bff3a0 (LWP 25360)): #0 0xb6ef2d8e in nanosleep () at ../sysdeps/unix/syscall-template.S:81 #1 0x000d6aca in sleep_for > (__rtime=...) at /usr/include/c++/4.9/thread:282 #2 Mqtt::ping (this=0x1d334e8) at MQTT/Mqtt.cpp:333 #3 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) ---Type to continue, or q to quit--- at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 #4 0xb6eecf88 in start_thread (arg=0xa9bff3a0) at pthread_create.c:311 #5 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 7 (Thread 0xaabff3a0 (LWP 25358)): #0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43 #1 0xb6ef0144 in __pthread_cond_wait (cond=0x1d32190, mutex=0x1d33480) at pthread_cond_wait.c:187 #2 0xb62518d8 in __gthread_cond_wait (__mutex=, __cond=__cond@entry=0x1d32190) at /build/gcc-4.9-YnrWeB/gcc-4.9-4.9.2/build/arm-linux-gnueabihf/libstdc++-v3/include/arm-linux-gnueabihf/bits/gthr-default.h:864 #3 std::condition_variable::wait (this=this@entry=0x1d32190, __lock=...) at ../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:52 #4 0xb6c59ebc in wait > (__p=..., __lock=..., this=0x1d32190) at /usr/include/c++/4.9/condition_variable:98 #5 BaseLib::IQueue::process (this=0x1d334e8, index=1) at IQueue.cpp:158 #6 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 #7 0xb6eecf88 in start_thread (arg=0xaabff3a0) at pthread_create.c:311 #8 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 6 (Thread 0xabbff3a0 (LWP 25356)): #0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43 #1 0xb6ef0144 in __pthread_cond_wait (cond=0x1d32190, mutex=0x1d33480) at pthread_cond_wait.c:187 ---Type to continue, or q to quit--- #2 0xb62518d8 in __gthread_cond_wait (__mutex=, __cond=__cond@entry=0x1d32190) at /build/gcc-4.9-YnrWeB/gcc-4.9-4.9.2/build/arm-linux-gnueabihf/libstdc++-v3/include/arm-linux-gnueabihf/bits/gthr-default.h:864 #3 std::condition_variable::wait (this=this@entry=0x1d32190, __lock=...) at ../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:52 #4 0xb6c59ebc in wait > (__p=..., __lock=..., this=0x1d32190) at /usr/include/c++/4.9/condition_variable:98 #5 BaseLib::IQueue::process (this=0x1d334e8, index=1) at IQueue.cpp:158 #6 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 #7 0xb6eecf88 in start_thread (arg=0xabbff3a0) at pthread_create.c:311 #8 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 5 (Thread 0xacbff3a0 (LWP 25354)): #0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43 #1 0xb6ef0144 in __pthread_cond_wait (cond=0x1d32190, mutex=0x1d33480) at pthread_cond_wait.c:187 #2 0xb62518d8 in __gthread_cond_wait (__mutex=, __cond=__cond@entry=0x1d32190) at /build/gcc-4.9-YnrWeB/gcc-4.9-4.9.2/build/arm-linux-gnueabihf/libstdc++-v3/include/arm-linux-gnueabihf/bits/gthr-default.h:864 #3 std::condition_variable::wait (this=this@entry=0x1d32190, __lock=...) at ../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:52 #4 0xb6c59ebc in wait > (__p=..., __lock=..., this=0x1d32190) at /usr/include/c++/4.9/condition_variable:98 #5 BaseLib::IQueue::process (this=0x1d334e8, index=1) at IQueue.cpp:158 #6 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 ---Type to continue, or q to quit--- #7 0xb6eecf88 in start_thread (arg=0xacbff3a0) at pthread_create.c:311 #8 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 4 (Thread 0xadbff3a0 (LWP 25352)): #0 0xb6ef2d8e in nanosleep () at ../sysdeps/unix/syscall-template.S:81 #1 0xb4ea8a00 in sleep_for > (__rtime=...) at /usr/include/c++/4.9/thread:282 #2 Misc::MiscPeer::runScript (this=0x2e68f68, delay=) at MiscPeer.cpp:300 #3 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 #4 0xb6eecf88 in start_thread (arg=0xadbff3a0) at pthread_create.c:311 #5 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 3 (Thread 0xb4d203a0 (LWP 25338)): #0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43 #1 0xb6ef0144 in __pthread_cond_wait (cond=0x1d6ce40, mutex=0x1d78e58) at pthread_cond_wait.c:187 #2 0xb62518d8 in __gthread_cond_wait (__mutex=, __cond=__cond@entry=0x1d6ce40) at /build/gcc-4.9-YnrWeB/gcc-4.9-4.9.2/build/arm-linux-gnueabihf/libstdc++-v3/include/arm-linux-gnueabihf/bits/gthr-default.h:864 #3 std::condition_variable::wait (this=this@entry=0x1d6ce40, __lock=...) at ../../../../../src/libstdc++-v3/src/c++11/condition_variable.cc:52 #4 0xb6c59ebc in wait > (__p=..., __lock=..., this=0x1d6ce40) at /usr/include/c++/4.9/condition_variable:98 #5 BaseLib::IQueue::process (this=0x1d790e0, index=0) at IQueue.cpp:158 ---Type to continue, or q to quit--- #6 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 #7 0xb6eecf88 in start_thread (arg=0xb4d203a0) at pthread_create.c:311 #8 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 2 (Thread 0xb5b173a0 (LWP 25321)): #0 0xb6ef24f0 in write () at ../sysdeps/unix/syscall-template.S:81 #1 0xb6b0630c in ?? () from /usr/lib/arm-linux-gnueabihf/libsqlite3.so.0 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Thread 1 (Thread 0xab3ff3a0 (LWP 25357)): #0 load (__m=std::memory_order_seq_cst, this=0x8c) at /usr/include/c++/4.9/bits/atomic_base.h:500 #1 operator bool (this=0x8c) at /usr/include/c++/4.9/atomic:77 #2 Flows::FlowsServer::broadcastEvent (this=this@entry=0x0, id=0, channel=channel@entry=-1, variables=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr >*, (__gnu_cxx::_Lock_policy)2>' warning: RTTI symbol not found for class 'std::_Sp_counted_ptr >*, (__gnu_cxx::_Lock_policy)2>' std::shared_ptr (count 2, weak 0) 0x2f10640, values=std::shared_ptr (count 2, weak 0) 0x2f0f778) at Flows/FlowsServer.cpp:1471 #3 0x001634a2 in DatabaseController::setSystemVariable (this=, variableID=..., value=...) at Systems/DatabaseController.cpp:1106 #4 0x00101274 in Rpc::RPCSetSystemVariable::invoke (this=0x2d7df00, clientInfo=..., parameters=std::shared_ptr (count 2, weak 0) 0x2f137c0) at RPC/RPCMethods.cpp:4021 #5 0x00135a16 in Rpc::RPCServer::callMethod (this=0x1d74bd8, methodName="setSystemVariable", parameters=std::shared_ptr (count 3, weak 0) 0x2f13770) at RPC/RPCServer.cpp:701 #6 0x00144442 in Rpc::Server::callMethod (this=this@entry=0x1d74bc4, methodName="setSystemVariable", parameters=std::shared_ptr (count 3, weak 0) 0x2f13770) at RPC/Server.cpp:170 ---Type to continue, or q to quit--- #7 0x000d5092 in Mqtt::processPublish (this=this@entry=0x1d334e8, data=...) at MQTT/Mqtt.cpp:708 #8 0x000d97a8 in Mqtt::processQueueEntry (this=0x1d334e8, index=, entry=...) at MQTT/Mqtt.cpp:1281 #9 0xb6c59e42 in BaseLib::IQueue::process (this=0x1d334e8, index=1) at IQueue.cpp:172 #10 0xb6254118 in std::(anonymous namespace)::execute_native_thread_routine (__p=) at ../../../../../src/libstdc++-v3/src/c++11/thread.cc:84 #11 0xb6eecf88 in start_thread (arg=0xab3ff3a0) at pthread_create.c:311 #12 0xb60d70fc in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92 from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?)