[zeromq-dev] OpenPGM & segfault - assertion failed

Steven McCoy steven.mccoy at miru.hk
Tue May 11 15:03:09 CEST 2010


On 11 May 2010 20:50, Steven McCoy <steven.mccoy at miru.hk> wrote:

> Ok, reproducing crashing is easy enough, getting gdb to work with zmq is
> not so easy.
>
>
Rebuilding with CFLAGS="-g -O0" CXXFLAGS="-g -O0" seems to work,  now is
this purely a zeromq issue first:

(gdb) print *mru_decoder
$11 = {<zmq::decoder_t<zmq::zmq_decoder_t>> = {
    read_pos = 0x401aa005c7 <Address 0x401aa005c7 out of bounds>, to_read =
558076263070,
    next = 0x4000000000, bufsize = 9165358252710428672,
    buf = 0x401aa00000 <Address 0x401aa00000 out of bounds>}, destination =
0x81f0900000,
  tmpbuf = "\000\000\000\000@\000\000", in_progress = {content = 0x0, flags
= 0 '\0',
    vsm_size = 0 '\0',
    vsm_data = "\000L▒▒1\177\000\000▒\032@", '\0' <repeats 13 times>,
"▒Y\204\000e"}}

Those pointers and counters are very messed up.

-- 
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100511/cc9d7efa/attachment.htm>


More information about the zeromq-dev mailing list