Linux Container Development
 help / color / mirror / Atom feed
From: Daniel Lezcano <dlezcano-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
To: Adam Majer <adamm-+878OnfSgr5BDgjK7y7TUQ@public.gmane.org>,
	Sukadev Bhattiprolu
	<sukadev-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
Cc: Linux Containers
	<containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org>,
	Lxc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [lxc-devel] segfault on shutdown if containers running
Date: Wed, 01 Jul 2009 10:14:47 +0200	[thread overview]
Message-ID: <4A4B1AF7.8090009@fr.ibm.com> (raw)
In-Reply-To: <4A4AA6D6.2090308-+878OnfSgr5BDgjK7y7TUQ@public.gmane.org>

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

  parent reply	other threads:[~2009-07-01  8:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4A42D033.5060202@zombino.com>
     [not found] ` <4A432714.4040606@free.fr>
     [not found]   ` <4A480F08.3040102@zombino.com>
     [not found]     ` <4A480F08.3040102-+878OnfSgr5BDgjK7y7TUQ@public.gmane.org>
2009-06-29  8:44       ` [lxc-devel] segfault on shutdown if containers running Daniel Lezcano
     [not found]     ` <4A48555E.9060607@free.fr>
     [not found]       ` <4A491745.2050002@zombino.com>
     [not found]         ` <4A491FDA.1050904@fr.ibm.com>
     [not found]           ` <4A4AA6D6.2090308@zombino.com>
     [not found]             ` <4A4AA6D6.2090308-+878OnfSgr5BDgjK7y7TUQ@public.gmane.org>
2009-07-01  8:14               ` Daniel Lezcano [this message]
     [not found]                 ` <4A4B1AF7.8090009-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2009-07-02  1:04                   ` Sukadev Bhattiprolu
     [not found]                     ` <20090702010424.GA28523-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-07-02  4:29                       ` Adam Majer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A4B1AF7.8090009@fr.ibm.com \
    --to=dlezcano-nmtc/0zbporqt0dzr+alfa@public.gmane.org \
    --cc=Lxc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=adamm-+878OnfSgr5BDgjK7y7TUQ@public.gmane.org \
    --cc=containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org \
    --cc=sukadev-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox