[nanomsg] Re: tests/device fail

  • From: David Beck <dbeck@xxxxxxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Fri, 27 Sep 2013 12:23:07 +0200

Sure. Stack trace:

dbeck@zotac:~/Dev/nanomsg$ gdb tests/.libs/device
GNU gdb (GDB) 7.5-ubuntu
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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 "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/dbeck/Dev/nanomsg/tests/.libs/device...done.
(gdb) run
Starting program: /home/dbeck/Dev/nanomsg/tests/.libs/device
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff73ab700 (LWP 15641)]
[New Thread 0x7ffff6baa700 (LWP 15642)]
Unexpected action: state=2 source=27713 action=3 (src/transports/inproc/sinproc.c:284)

Program received signal SIGABRT, Aborted.
0x00007ffff75e6425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 64 ../nptl/sysdeps/unix/sysv/linux/raise.c: Nincs ilyen fájl vagy könyvtár.
(gdb) bt
#0 0x00007ffff75e6425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff75e9b8b in __GI_abort () at abort.c:91
#2  0x0000000000401199 in nn_err_abort () at tests/../src/utils/err.c:33
#3 0x00007ffff7bc8ae3 in nn_sinproc_handler (self=0x7ffff0000c20, src=<optimized out>, type=<optimized out>, srcptr=<optimized out>) at src/transports/inproc/sinproc.c:253 #4 0x00007ffff7bbb46e in nn_ctx_leave (self=self@entry=0x6056d8) at src/aio/ctx.c:91 #5 0x00007ffff7bba5eb in nn_sock_send (self=0x605660, msg=msg@entry=0x7fffffffdf30, flags=flags@entry=0) at src/core/sock.c:533 #6 0x00007ffff7bb8712 in nn_send (s=s@entry=0, buf=buf@entry=0x401b1e, len=len@entry=3, flags=flags@entry=0) at src/core/global.c:522 #7 0x000000000040147e in test_send_impl (line=line@entry=125, sock=sock@entry=0, data=data@entry=0x401b1e "ABC", file=0x401a9f "tests/device.c") at tests/testutil.h:108
#8  0x0000000000400e29 in main () at tests/device.c:125
(gdb)

I'll debug too.

Best regards, David


2013-09-27 07:24 keltezéssel, Martin Sustrik írta:
On 27/09/13 00:02, David Beck wrote:

Unexpected action: state=2 source=27713 action=3
(src/transports/inproc/sinproc.c:284)
/bin/bash: 5. line: 14733 Interrupted         (core created) ${dir}$tst

Doesn't happen on my box. Would you mind doing a little debugging? Specifically, can you report the stack trace of the failure?

Martin




Other related posts: