[lxc-devel] segfault on shutdown if containers running

Daniel Lezcano dlezcano at fr.ibm.com
Wed Jul 1 08:14:47 UTC 2009


Adam Majer wrote:
>>>>> 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)
>   ...

Excellent !

Suka ? Isn't this oops related to the newpts instance ?

Thanks
   -- Daniel




More information about the lxc-devel mailing list