Skip to content

assert disabling and enabling network card on linux #1399

Closed
@mdionisio

Description

@mdionisio

I have the following stack trace:

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x44670450 (LWP 243)]
0x40406460 in __GI_raise (sig=sig@entry=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) bt
#0 0x40406460 in __GI_raise (sig=sig@entry=6)

at ../nptl/sysdeps/unix/sysv/linux/raise.c:56

#1 0x40409e88 in GI_abort () at abort.c:89
#2 0x403ad728 in zmq::zmq_abort (errmsg
=) at err.cpp:76
#3 0x403c0000 in read (this=, data
=,

size_=<optimized out>) at stream_engine.cpp:566

#4 zmq::stream_engine_t::read (this=, data_=,

size_=<optimized out>) at stream_engine.cpp:523

#5 0x403c070c in zmq::stream_engine_t::in_event (this=0x41b14000)

at stream_engine.cpp:197

#6 0x403ad1fc in zmq::epoll_t::loop (this=0x166370) at epoll.cpp:154
#7 0x403c41ec in thread_routine (arg_=0x1663b8) at thread.cpp:83
#8 0x4004efc4 in start_thread (arg=0x44670450) at pthread_create.c:314
#9 0x404a7b30 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/clone.S:97

from /lib/libc.so.6
#10 0x404a7b30 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/clone.S:97

from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Simply removing the errno_assert in

int zmq::stream_engine_t::read (void *data_, size_t size_)

the problem is solved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions