From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sukadev Bhattiprolu Subject: Re: [lxc-devel] segfault on shutdown if containers running Date: Wed, 1 Jul 2009 18:04:24 -0700 Message-ID: <20090702010424.GA28523@us.ibm.com> References: <4A42D033.5060202@zombino.com> <4A432714.4040606@free.fr> <4A480F08.3040102@zombino.com> <4A48555E.9060607@free.fr> <4A491745.2050002@zombino.com> <4A491FDA.1050904@fr.ibm.com> <4A4AA6D6.2090308@zombino.com> <4A4B1AF7.8090009@fr.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <4A4B1AF7.8090009-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Daniel Lezcano Cc: Linux Containers , Adam Majer , Lxc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: containers.vger.kernel.org Daniel Lezcano [dlezcano-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org] 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 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 Date: Tue Jan 27 11:50:37 2009 +0000 Sukadev