Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Automated report: NetBSD-current/i386 test failure (l2tp)

Roy Marples wrote:
> This is rump crashing and I don't know why.

If the rump kernel crashes in the test, that likely means the real
kernel will crash in actual use.

> I can't get a backtrace to tell me where the problem is.

I managed to get one this way:

  sysctl -w kern.defcorename="/tmp/%n.core"
  cd /usr/tests/net/if_l2tp
  ./t_l2tp l2tp_basic_ipv4overipv4
  gdb rump_server /tmp/rump_server.core

It looks like this:

  (gdb) bt
  #0  0x0000752206d751ea in _lwp_kill () from /usr/lib/
  #1  0x0000752206d756e5 in abort ()
      at /tmp/build/2020.
  #2  0x00007522076088bf in rumpuser_exit (rv=rv@entry=-1)
      at /tmp/build/2020.
  #3  0x00007522082c2b74 in cpu_reboot (howto=<optimized out>, 
      bootstr=<optimized out>)
      at /tmp/build/2020.
  #4  0x000075220827b08d in kern_reboot (howto=4, bootstr=0x0)
      at /tmp/build/2020.
  #5  0x0000752208279efe in vpanic (
      fmt=0x752205ea5428 "kernel %sassertion \"%s\" failed: file \"%s\", line %d ", ap=0x75220319fc88)
      at /tmp/build/2020.
  #6  0x000075220825f298 in kern_assert (fmt=<optimized out>)
      at /tmp/build/2020.
  #7  0x0000752205e9fa7d in if_percpuq_enqueue (ipq=0x0, m=0x752208061650)
      at /tmp/build/2020.
  #8  0x0000752204a03801 in in_l2tp_input (eparg=<optimized out>, 
      proto=<optimized out>, off=20, m=0x752208061858)
      at /tmp/build/2020.
  #9  in_l2tp_input (m=0x752208061858, off=20, proto=<optimized out>, 
      eparg=<optimized out>)
      at /tmp/build/2020.
  #10 0x0000752205e75097 in encap4_input (m=0x752208061858, off=20, proto=115)
      at /tmp/build/2020.
  #11 0x0000752205e7d465 in ip_input (ifp=<optimized out>, m=<optimized out>)
      at /tmp/build/2020.
  #12 ipintr (arg=<optimized out>)
      at /tmp/build/2020.
  #13 0x00007522082c265c in sithread (arg=<optimized out>)
      at /tmp/build/2020.
  #14 0x00007522082bf52e in threadbouncer (arg=0x75220883bac0)
      at /tmp/build/2020.
  #15 0x000075220720bf7e in pthread__create_tramp (cookie=0x7522085a4800)
      at /tmp/build/2020.
  #16 0x0000752206c91dc0 in ?? () from /usr/lib/

Andreas Gustafsson,

Home | Main Index | Thread Index | Old Index