On Tue, 18 Dec 2012, Axel Rau wrote:
> Under load, I see:
> ---
> Program received signal SIGSEGV, Segmentation fault. 
> 0x07dd2fce in memcpy () from /usr/lib/libc.so.65.0
> (gdb) bt
> #0  0x07dd2fce in memcpy () from /usr/lib/libc.so.65.0
> #1  0x1c0048a1 in queuePacket ()
> #2  0x06bc807d in pcap_read (p=0x835f9000, cnt=-1, callback=0x1c004820 
> <queuePacket>, user=0x0)
>     at /usr/src/lib/libpcap/pcap-bpf.c:189
> #3  0x06bc69cd in pcap_dispatch (p=0x835f9000, cnt=-1, callback=0x1c004820 
> <queuePacket>, user=0x0)
>     at /usr/src/lib/libpcap/pcap.c:59
> #4  0x1c003d79 in main ()
> ---
> The problem disappears if built with
>       ./configure --disable-threads

Since it's threaded, can you get the backtraces for all the threads?  
I.e., in gdb:
        info threads
        thread apply all bt

...and then check whether the latter command actually shows traces for all 
the threads that the former command listed.  If not, then do those 
manually with
        thread ##number-here
        bt


Philip Guenther

Reply via email to