[Devel] Re: [lxc-devel] segfault on shutdown if containers running
Sukadev Bhattiprolu
sukadev at linux.vnet.ibm.com
Wed Jul 1 18:04:24 PDT 2009
Daniel Lezcano [dlezcano at fr.ibm.com] wrote:
> 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 ?
>
What version of the kernel are you running ?
Could it be this bug: http://lkml.org/lkml/2009/1/26/274
It was fixed by following commit and should be in 2.6.29.
commit 808ffa3d302257b9dc37b1412c1fcdf976fcddac
Author: Eric Paris <eparis at redhat.com>
Date: Tue Jan 27 11:50:37 2009 +0000
Sukadev
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list