[lxc-devel] segfault on shutdown if containers running

Adam Majer adamm at zombino.com
Tue Jun 30 23:59:18 UTC 2009


>>>> chrdev_open + 0x148/0x167
>>>> chrdev_open + 0x0/0x167
>>>> __dentry_open + 0x148/0x260
>>>> do_flip_open + 0x468/0x85a
>>>> alloc_fd + ....
>>>> do_sys_gen + ...
>>>> system_call_fastpath + ....
>>>>
>>>> RIP tty_open
>>> which kernel are you using ? could you run :
>>>
>>>     $ addr2line -e <vmlinux> ffffffff803b26f1

>> Would setting this to yes produce a backtrace with line numbers?
> 
> Yes and maybe CONFIG_FRAME_POINTER too.

Well, adding symbols didn't add line numbers to the backtrace. But now I
can use addr2line with the vmlinux (all 78mb of it) to get you guys a
backtrace with line numbers :)


So,

OOPS (NULL pointer deference) at

  drivers/char/tty_io.c:1321  (tty_open)

Backtrace,

  fs/char_dev.c:397 (chrdev_open)
  fs/char_dev.c:357 (chrdev_open)
  fs/open.c:841     (__dentry_open)
  arch/x86/include/asm/atomic_64.h:117 (do_flip_open)
  fs/file.c:459     (alloc_fd)
  ...


- Adam





More information about the lxc-devel mailing list