[zeromq-dev] czmq security examples

Gerry Weaver gerryw at compvia.com
Wed Aug 6 09:29:38 CEST 2014


Hi Pieter,

Sorry. I forgot the backtrace.

Starting program: /build/compvia/x86_linux_64/pqvm/zmq_test 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff6fd5700 (LWP 12793)]
[New Thread 0x7ffff67d4700 (LWP 12794)]
[New Thread 0x7ffff5fd3700 (LWP 12795)]
zmq_test: zsockopt.c:335: zsocket_set_curve_server: Assertion `rc == 0 || zmq_errno () == (156384712 + 53)' failed.

Program received signal SIGABRT, Aborted.
0x00007ffff7312f79 in __GI_raise (sig=sig at entry=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) where
#0  0x00007ffff7312f79 in __GI_raise (sig=sig at entry=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff7316388 in __GI_abort () at abort.c:89
#2  0x00007ffff730be36 in __assert_fail_base (
    fmt=0x7ffff745d718 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", 
    assertion=assertion at entry=0x477a90 "rc == 0 || zmq_errno () == (156384712 + 53)", file=file at entry=0x47ba10 "zsockopt.c", line=line at entry=335, 
    function=function at entry=0x47c2c0 <__PRETTY_FUNCTION__.10843> "zsocket_set_curve_server") at assert.c:92
#3  0x00007ffff730bee2 in __GI___assert_fail (
    assertion=assertion at entry=0x477a90 "rc == 0 || zmq_errno () == (156384712 + 53)", file=file at entry=0x47ba10 "zsockopt.c", line=line at entry=335, 
    function=function at entry=0x47c2c0 <__PRETTY_FUNCTION__.10843> "zsocket_set_curve_server") at assert.c:101
#4  0x00000000004244dd in zsocket_set_curve_server (
    zocket=zocket at entry=0x6aa760, curve_server=curve_server at entry=1)
    at zsockopt.c:335
#5  0x000000000040d569 in main () at /build/compvia/src/pqvm/zmq_test.c:34


Thanks,
-G


________________________________________
From: zeromq-dev-bounces at lists.zeromq.org [zeromq-dev-bounces at lists.zeromq.org] on behalf of Pieter Hintjens [ph at imatix.com]
Sent: Wednesday, August 06, 2014 12:45 AM
To: ZeroMQ development list
Subject: Re: [zeromq-dev] czmq security examples

Can you provide a stack backtrace? Thanks. Also, retry with libzmq
master and czmq master.

On Tue, Aug 5, 2014 at 11:56 PM, Gerry Weaver <gerryw at compvia.com> wrote:
> Hello All,
>
>
>
> I’m trying to run the czmq security examples, but I get a segfault in
> zcert_set_meta. Is this a known issue?
>
>
>
> czmq – 2.0.2
>
> zmq – 4.0.4
>
> libsodium – 0.4.5
>
> Ubuntu 14.04 64bit
>
>
>
> Thanks,
>
> -G
>
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
_______________________________________________
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev



More information about the zeromq-dev mailing list