Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - ZMQ porting problems ...: (3 Items)
   
ZMQ porting problems ...  
Hi,
 when I stop gracefully a zmq based application I see the crash below.
What's the problem??

--Armin


(gdb) c
Continuing.
usage: local_lat <bind-to> <message-size> <roundtrip-count>

Program received signal SIGSEGV, Segmentation fault.
0xb826042f in std::ios_base::~ios_base () from /usr/qnx640/target/qnx6/x86/lib/libcpp.so.4
(gdb) backtrace
#0  0xb826042f in std::ios_base::~ios_base () from /usr/qnx640/target/qnx6/x86/lib/libcpp.so.4
#1  0xb84051e6 in __tcf_3 () from /usr/qnx640/target/qnx6/x86/lib/libecpp.so.4
#2  0xb0329445 in __cxa_finalize () from /usr/qnx640/target/qnx6/x86/lib/libc.so.3
#3  0xb83fb624 in _btext () from /usr/qnx640/target/qnx6/x86/lib/libecpp.so.4
#4  0xb840c149 in _fini () from /usr/qnx640/target/qnx6/x86/lib/libecpp.so.4
#5  0xb033dae6 in fini () from /usr/qnx640/target/qnx6/x86/lib/libc.so.3
#6  0xb033dc48 in _do_exit_fini () from /usr/qnx640/target/qnx6/x86/lib/libc.so.3
#7  0xb03294e1 in _cleanup () from /usr/qnx640/target/qnx6/x86/lib/libc.so.3
#8  0xb0329bd7 in exit () from /usr/qnx640/target/qnx6/x86/lib/libc.so.3
#9  0x08048830 in _start ()
(gdb)     

What is the reason for that abort??
Re: ZMQ porting problems ...  
It's linked against both libecpp and libcpp

On 10-03-24 9:05 AM, Armin Steinhoff wrote:
> Hi,
>   when I stop gracefully a zmq based application I see the crash below.
> What's the problem??
>
> --Armin
>
>
> (gdb) c
> Continuing.
> usage: local_lat<bind-to>  <message-size>  <roundtrip-count>
>
> Program received signal SIGSEGV, Segmentation fault.
> 0xb826042f in std::ios_base::~ios_base () from /usr/qnx640/target/qnx6/x86/lib/libcpp.so.4
> (gdb) backtrace
> #0  0xb826042f in std::ios_base::~ios_base () from /usr/qnx640/target/qnx6/x86/lib/libcpp.so.4
> #1  0xb84051e6 in __tcf_3 () from /usr/qnx640/target/qnx6/x86/lib/libecpp.so.4
> #2  0xb0329445 in __cxa_finalize () from /usr/qnx640/target/qnx6/x86/lib/libc.so.3
> #3  0xb83fb624 in _btext () from /usr/qnx640/target/qnx6/x86/lib/libecpp.so.4
> #4  0xb840c149 in _fini () from /usr/qnx640/target/qnx6/x86/lib/libecpp.so.4
> #5  0xb033dae6 in fini () from /usr/qnx640/target/qnx6/x86/lib/libc.so.3
> #6  0xb033dc48 in _do_exit_fini () from /usr/qnx640/target/qnx6/x86/lib/libc.so.3
> #7  0xb03294e1 in _cleanup () from /usr/qnx640/target/qnx6/x86/lib/libc.so.3
> #8  0xb0329bd7 in exit () from /usr/qnx640/target/qnx6/x86/lib/libc.so.3
> #9  0x08048830 in _start ()
> (gdb)
>
> What is the reason for that abort??
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post50319
>
>    

-- 
cburgess@qnx.com
Re: ZMQ porting problems ...  
> It's linked against both libecpp and libcpp

libecpp removed ... all is working now :)

Thanks's a lot !

--Armin



> 
> On 10-03-24 9:05 AM, Armin Steinhoff wrote:
> > Hi,
> >   when I stop gracefully a zmq based application I see the crash below.
> > What's the problem??
> >
> > --Armin
> >
> >
> > (gdb) c
> > Continuing.
> > usage: local_lat<bind-to>  <message-size>  <roundtrip-count>
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > 0xb826042f in std::ios_base::~ios_base () from /usr/qnx640/target/qnx6/x86/
> lib/libcpp.so.4
> > (gdb) backtrace
> > #0  0xb826042f in std::ios_base::~ios_base () from /usr/qnx640/target/qnx6/
> x86/lib/libcpp.so.4
> > #1  0xb84051e6 in __tcf_3 () from /usr/qnx640/target/qnx6/x86/lib/libecpp.so
> .4
> > #2  0xb0329445 in __cxa_finalize () from /usr/qnx640/target/qnx6/x86/lib/
> libc.so.3
> > #3  0xb83fb624 in _btext () from /usr/qnx640/target/qnx6/x86/lib/libecpp.so.
> 4
> > #4  0xb840c149 in _fini () from /usr/qnx640/target/qnx6/x86/lib/libecpp.so.4
> 
> > #5  0xb033dae6 in fini () from /usr/qnx640/target/qnx6/x86/lib/libc.so.3
> > #6  0xb033dc48 in _do_exit_fini () from /usr/qnx640/target/qnx6/x86/lib/libc
> .so.3
> > #7  0xb03294e1 in _cleanup () from /usr/qnx640/target/qnx6/x86/lib/libc.so.3
> 
> > #8  0xb0329bd7 in exit () from /usr/qnx640/target/qnx6/x86/lib/libc.so.3
> > #9  0x08048830 in _start ()
> > (gdb)
> >
> > What is the reason for that abort??
> >
> >
> >
> >
> > _______________________________________________
> >
> > General
> > http://community.qnx.com/sf/go/post50319
> >
> >    
> 
> -- 
> cburgess@qnx.com