libzmq: [Help] Process aborted going infinite loop at src/fq.cpp:40
Process aborted, crashed and core dump created
Environment
- libzmq 4.2.1
- OS: Custom LInux based OS with kernel 3.14
My app was running continuously for 3 days. There is a script running in the background to restart the app if it crashes for some reason. In the last few days, I observed app was crashed three times.
When I debug the core dump with gdb, it pointed to following prints:
#0 0xb6bea424 in __GI_raise (sig=sig@entry=6) at libpthread/nptl/sysdeps/unix/sysv/linux/raise.c:67
#1 0xb6be47f0 in __GI_abort () at libc/stdlib/abort.c:89
#2 0xb6ec12b8 in _Alloc_hider (__a=...,
__dat=0xb6f16944 <std::basic_string<unsigned char, std::char_traits<unsigned char>, std::allocator<unsigned char> >::_Rep::_S_empty_rep_storage+12> "", this=0x1c)
at /home/nayab/toolchain/arm-openwrt-linux-uclibcgnueabi/include/c++/4.8.3/bits/basic_string.h:275
#3 basic_string (this=0x1c) at /home/nayab/toolchain/arm-openwrt-linux-uclibcgnueabi/include/c++/4.8.3/bits/basic_string.h:439
#4 zmq::fq_t::fq_t (this=0x0) at src/fq.cpp:40
#5 0xb6ec12b8 in _Alloc_hider (__a=...,
__dat=0xb6f16944 <std::basic_string<unsigned char, std::char_traits<unsigned char>, std::allocator<unsigned char> >::_Rep::_S_empty_rep_storage+12> "", this=0x1c)
at /home/nayab/toolchain/arm-openwrt-linux-uclibcgnueabi/include/c++/4.8.3/bits/basic_string.h:275
#6 basic_string (this=0x1c) at /home/nayab/toolchain/arm-openwrt-linux-uclibcgnueabi/include/c++/4.8.3/bits/basic_string.h:439
#7 zmq::fq_t::fq_t (this=0x0) at src/fq.cpp:40
#8 0xb6ec12b8 in _Alloc_hider (__a=...,
__dat=0xb6f16944 <std::basic_string<unsigned char, std::char_traits<unsigned char>, std::allocator<unsigned char> >::_Rep::_S_empty_rep_storage+12> "", this=0x1c)
at /home/nayab/toolchain/arm-openwrt-linux-uclibcgnueabi/include/c++/4.8.3/bits/basic_string.h:275
#9 basic_string (this=0x1c) at /home/nayab/toolchain/arm-openwrt-linux-uclibcgnueabi/include/c++/4.8.3/bits/basic_string.h:439
#10 zmq::fq_t::fq_t (this=0x0) at src/fq.cpp:40
#11 0xb6ec12b8 in _Alloc_hider (__a=...,
__dat=0xb6f16944 <std::basic_string<unsigned char, std::char_traits<unsigned char>, std::allocator<unsigned char> >::_Rep::_S_empty_rep_storage+12> "", this=0x1c)
at /home/nayab/toolchain/arm-openwrt-linux-uclibcgnueabi/include/c++/4.8.3/bits/basic_string.h:275
#12 basic_string (this=0x1c) at /home/nayab/toolchain/arm-openwrt-linux-ucli bcgnueabi/include/c++/4.8.3/bits/basic_string.h:439
#13 zmq::fq_t::fq_t (this=0x0) at src/fq.cpp:40
.
.
.
....(Infinite times. Stack crashed).
Any useful information I am missing here? Or Would anybody tell me how to avaoid this crash?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (7 by maintainers)
Ok, I’ll close for now then - feel free to reopen if you reproduce again.