Hi,

Leon Lagodny writes:
> #3  0x000000313390ab56 in ?? () from /usr/sbin/switchd
> #4  0x000000313390cb32 in ?? () from /usr/sbin/switchd
> #5  0x0000003133909672 in ?? () from /usr/sbin/switchd
> #6  0x0000003133911625 in ?? () from /usr/sbin/switchd
> #7  0x0000003133911157 in ?? () from /usr/sbin/switchd
> #8  0x00000034308dbbbd in event_base_loop (base=0x33c2016000, flags=0) at /us
> r/src/lib/libevent/event.c:350
> #9  0x0000003133903a98 in ?? () from /usr/sbin/switchd
> #10 0x0000003133902a8b in ?? () from /usr/sbin/switchd
> #11 0x0000003133907660 in ?? () from /usr/sbin/switchd
> #12 0x0000003133900b46 in ?? () from /usr/sbin/switchd
> #13 0x0000000000000000 in ?? ()

Please rebuild switchd with DEBUG=-g in /etc/mk.conf, so that your
backtrace will contain debug symbols.

I've been seeing switchd die regularly under load on my router, but
my backtrace looks a little different:


Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00000f66a36d82d0 in memcpy (dst0=0xf6716959028, src0=<optimized out>, 
    length=60) at /usr/src/lib/libc/string/memcpy.c:103
103     /usr/src/lib/libc/string/memcpy.c: No such file or directory.
(gdb) bt
#0  0x00000f66a36d82d0 in memcpy (dst0=0xf6716959028, src0=<optimized out>, 
    length=60) at /usr/src/lib/libc/string/memcpy.c:103
#1  0x00000f66f3b3ba50 in ibuf_add (buf=0xf66bbd7e900, data=0x0, len=60)
    at /usr/src/lib/libutil/imsg-buffer.c:97
#2  0x00000f66f3b3fc2b in imsg_add (msg=0xf66bbd7e900, data=0x0, datalen=60)
    at /usr/src/lib/libutil/imsg.c:240
#3  0x00000f64239db49d in ofp13_packet_in (sc=0xf66d4cc24d0, 
    con=0xf66d4cca400, ih=<optimized out>, ibuf=<optimized out>)
    at ofp13.c:1150
#4  0x00000f64239dd52c in ofp13_input (sc=0xf66d4cc24d0, con=0xf66d4cca400, 
    oh=0xf666d4f2000, ibuf=0xf66bbd7a800) at ofp13.c:621
#5  0x00000f64239d9d18 in ofp_input (con=0xf66d4cca400, ibuf=0xf66bbd7a800)
    at ofp.c:159
#6  0x00000f64239e20d0 in ofrelay_input_done (con=0xf66d4cca400, 
    buf=0xf66bbd7a800) at ofrelay.c:282
#7  0x00000f64239e1c07 in ofrelay_event (fd=8, event=2, arg=0xf66d4cca400)
    at ofrelay.c:138
#8  0x00000f665ca13f92 in event_process_active (base=<optimized out>)
    at /usr/src/lib/libevent/event.c:350
#9  event_base_loop (base=0xf66bbd7c800, flags=0)
    at /usr/src/lib/libevent/event.c:502
#10 0x00000f64239d410b in proc_run (ps=0xf66d4cc24d0, p=0xf64239e7000 <procs>, 
    procs=0xf64239e7180 <procs>, nproc=2, run=0xf64239d9a00 <ofp_run>, arg=0x0)
    at proc.c:602
#11 0x00000f64239d30a4 in proc_init (ps=0xf6716959028, procs=<optimized out>, 
    nproc=<optimized out>, debug=0, argc=56, argv=0xf6716959028, 
    proc_id=PROC_OFP) at proc.c:260
#12 0x00000f64239d7d27 in main (argc=5, argv=0x7f7ffffd3a58) at switchd.c:187
(gdb) 

Reply via email to