mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm.com>
To: "Luis R. Rodriguez" <mcgrof@gmail.com>
Cc: linux-kernel@vger.kernel.org,
	"Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>,
	Greg Kroah-Hartman <gregkh@suse.de>
Subject: Re: memleaks, acpi + ext4 + tty
Date: Sat, 29 Aug 2009 22:41:21 +0100	[thread overview]
Message-ID: <1251582081.6412.6.camel@pc1117.cambridge.arm.com> (raw)
In-Reply-To: <43e72e890908280952j410293fbm47b4b9d566e26c14@mail.gmail.com>

On Fri, 2009-08-28 at 09:52 -0700, Luis R. Rodriguez wrote:
> On Fri, Aug 28, 2009 at 9:32 AM, Catalin
> Marinas<catalin.marinas@arm.com> wrote:
> > "Luis R. Rodriguez" <mcgrof@gmail.com> wrote:
> >> unreferenced object 0xffff880006ce0400 (size 1024):
> >>   comm "mplayer", pid 5293, jiffies 4295366945
> >>   backtrace:
> >>     [<ffffffff81121fad>] create_object+0x13d/0x2d0
> >>     [<ffffffff81122265>] kmemleak_alloc+0x25/0x60
> >>     [<ffffffff81119f3b>] __kmalloc+0x16b/0x250
> >>     [<ffffffff813021b0>] tty_buffer_request_room+0xc0/0x190
> >>     [<ffffffff8130244c>] tty_insert_flip_string+0x3c/0xb0
> >>     [<ffffffff81302f49>] pty_write+0x49/0x70
> >>     [<ffffffff812fd3b0>] n_tty_write+0x1c0/0x450
> >>     [<ffffffff812f9ec1>] tty_write+0x1a1/0x290
> >>     [<ffffffff81124518>] vfs_write+0xb8/0x1a0
> >>     [<ffffffff81124fcc>] sys_write+0x4c/0x80
> >>     [<ffffffff81011f02>] system_call_fastpath+0x16/0x1b
> >>     [<ffffffffffffffff>] 0xffffffffffffffff
> >
> > It could be a real leak as you get several of these. I cc'ed Greg KH
> > for any suggestions he may have. It looks like it only happens when
> > running mplayer.
> 
> It took me a while to figure out how to reproduce, and it really
> didn't make sense to see this playing video, why would playing video
> affect tty?

Maybe mplayer is just opening the tty for some user interaction.

I managed to the same report just using "top" but it is not persistent,
so it may be a false positive.

-- 
Catalin


  parent reply	other threads:[~2009-08-29 21:41 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-28  5:25 Luis R. Rodriguez
2009-08-28 16:32 ` Catalin Marinas
2009-08-28 16:52   ` Luis R. Rodriguez
2009-08-28 21:50     ` Luis R. Rodriguez
2009-08-28 22:09       ` Luis R. Rodriguez
2009-08-31  8:23         ` Luis R. Rodriguez
2009-08-31 17:50           ` Luis R. Rodriguez
2009-08-31 18:37             ` Luis R. Rodriguez
2009-08-31 19:30               ` Luis R. Rodriguez
2009-08-31 19:33                 ` John W. Linville
2009-08-31 19:43                   ` Luis R. Rodriguez
2009-08-31 19:47                     ` John W. Linville
2009-08-31 20:02                       ` Luis R. Rodriguez
2009-08-31 23:54                         ` Luis R. Rodriguez
2009-09-01  0:26                           ` Eric Paris
2009-09-01  0:31                             ` Luis R. Rodriguez
2009-09-01  6:33                               ` Zhu Yi
2009-09-01 18:00                                 ` Luis R. Rodriguez
2009-08-31 19:58                     ` Luis R. Rodriguez
2009-09-01 22:10                       ` H. Peter Anvin
2009-08-29 21:41     ` Catalin Marinas [this message]
2009-08-30 16:34   ` Aneesh Kumar K.V
2009-08-30 17:17     ` Theodore Tso
2009-08-30 17:29       ` Luis R. Rodriguez
2009-08-30 18:24         ` Theodore Tso
2009-09-01 17:59           ` Luis R. Rodriguez

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=1251582081.6412.6.camel@pc1117.cambridge.arm.com \
    --to=catalin.marinas@arm.com \
    --cc=aneesh.kumar@linux.vnet.ibm.com \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mcgrof@gmail.com \
    /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

all inboxes | Powered by JetHome®