public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "dsmith at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sourceware.org
Subject: [Bug uprobes/13539] occasional oops, kernel SEGV, RHEL5, :uprobes:uprobe_free_process+0xba/0x131
Date: Fri, 06 Jan 2012 16:57:00 -0000	[thread overview]
Message-ID: <bug-13539-6586-T65GdFg734@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-13539-6586@http.sourceware.org/bugzilla/>

http://sourceware.org/bugzilla/show_bug.cgi?id=13539

David Smith <dsmith at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dsmith at redhat dot com

--- Comment #5 from David Smith <dsmith at redhat dot com> 2012-01-06 16:56:25 UTC ---
I've reproduced this oops.  Here's how.  I wasn't able to reproduce this in a
vm.  Here are the details of the hardware/software I've duplicated this on.

x86_64
2.6.18-301.el5debug
4 cpus
1Gb memory

Note that I couldn't duplicate the oops with the regular kernel, only the debug
kernel.

with the code on the pr13539 branch, I'm seeing a hang in stapio:

    Jan 5 15:48:27 hp-dl140g2-01 kernel:
stap_29f5d7d6b50882b60786646febccf5da_2100: systemtap: 1.7/0.152, base:
ffffffff8862e000, memory: 94data/25text/2ctx/2058net/34alloc kb, probes: 2,
unpriv-uid: 0
    Jan 5 15:48:27 hp-dl140g2-01 kernel: uprobe_report_clone ffff810023d7e118
4525=4525
    Jan 5 15:48:27 hp-dl140g2-01 kernel: uprobe_report_clone2 ffff810023d7e118
4525=4525
    Jan 5 15:48:27 hp-dl140g2-01 kernel: uprobe_report_exit ffff810023d7e118
4525=4528
    Jan 5 15:48:27 hp-dl140g2-01 kernel: uprobe_report_exit1a ffff810023d7e118
4525=4528
    Jan 5 15:48:27 hp-dl140g2-01 kernel: uprobe_report_exit2 ffff810023d7e118
4525=4528
    Jan 5 15:48:27 hp-dl140g2-01 kernel: uprobe_free_task ffff81002c1604d0 (tid
4528), caller ffffffff8861fbfcS, ctid 4528
    Jan 5 15:48:27 hp-dl140g2-01 kernel: uprobe_report_exit3 ffff810023d7e118
4525=4528
    Jan 5 15:48:27 hp-dl140g2-01 kernel: uprobe_report_exit4 ffff810023d7e118
4525=4528
    Jan 5 15:48:27 hp-dl140g2-01 kernel: uprobe_report_quiesce ffff810023d7e118
4525=4525
    Jan 5 15:48:27 hp-dl140g2-01 kernel: uprobe_report_quiesce2
ffff810023d7e118 4525=4525
    Jan 5 15:48:27 hp-dl140g2-01 kernel: uprobe_report_quiesce3
ffff810023d7e118 4525=4525
    Jan 5 15:48:27 hp-dl140g2-01 kernel: uprobe_free_process ffff810023d7e118
(pid 4525), caller ffffffff8861e048S, ctid 4518
    Jan 5 15:48:27 hp-dl140g2-01 kernel: uprobe_free_task ffff81002c160188 (tid
4525), caller ffffffff8861dfb2S, ctid 4518
    Jan 5 15:48:27 hp-dl140g2-01 kernel: uprobe_free_process zap
ffff810023d7e118
    Jan 5 15:48:27 hp-dl140g2-01 kernel:
stap_65966cac75d5cb53185970245c71624b_2107: systemtap: 1.7/0.152, base:
ffffffff8862e000, memory: 94data/25text/2ctx/2058net/34alloc kb, probes: 2,
unpriv-uid: 0
    Jan 5 15:48:27 hp-dl140g2-01 kernel: uprobe_report_clone ffff81002bfd7238
4651=4651
    Jan 5 15:48:27 hp-dl140g2-01 kernel: uprobe_report_clone2 ffff81002bfd7238
4651=4651
    Jan 5 15:48:27 hp-dl140g2-01 kernel: uprobe_report_quiesce ffff81002bfd7238
4651=4651
    Jan 5 15:48:27 hp-dl140g2-01 kernel: uprobe_report_exit ffff81002bfd7238
4651=4654
    Jan 5 15:48:27 hp-dl140g2-01 kernel: uprobe_report_quiesce2
ffff81002bfd7238 4651=4651
    Jan 5 15:48:27 hp-dl140g2-01 kernel: uprobe_report_quiesce3
ffff81002bfd7238 4651=4651
    Jan 5 15:48:27 hp-dl140g2-01 kernel: uprobe_report_exit1a ffff81002bfd7238
4651=4654
    Jan 5 15:48:27 hp-dl140g2-01 kernel: uprobe_report_exit2 ffff81002bfd7238
4651=4654
    Jan 5 15:48:27 hp-dl140g2-01 kernel: uprobe_free_task ffff81002c6203b8 (tid
4654), caller ffffffff8861fbfcS, ctid 4654
    Jan 5 15:48:27 hp-dl140g2-01 kernel: uprobe_report_exit3 ffff81002bfd7238
4651=4654
    Jan 5 15:48:27 hp-dl140g2-01 kernel: uprobe_report_exit4 ffff81002bfd7238
4651=4654
    INFO: task stapio:4645 blocked for more than 120 seconds.
    "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    stapio D ffff81002b784608 0 4645 4544 4651 4652 (NOTLB)
    ffff81001cc33dc8 0000000000000046 0000000000000000 0000000000000046
    ffff81002bfd7240 0000000000000004 ffff81001ad94640 ffff810037c5e300
    000000967ed8046e 0000000000012432 ffff81001ad94828 000000022c9b70d8
    Call Trace:
    [<ffffffff8861eae3>] :uprobes:__unregister_uprobe+0x1ef/0x22f
    [<ffffffff800a811e>] autoremove_wake_function+0x0/0x2e
    [<ffffffff88632abe>]
:stap_65966cac75d5cb53185970245c71624b_2107:_stp_cleanup_and_exit+0x140/0x311
    [<ffffffff88632dbc>]
:stap_65966cac75d5cb53185970245c71624b_2107:_stp_ctl_write_cmd+0xf1/0xdbd
    [<ffffffff8013d5fd>] file_has_perm+0x48/0xa3
    [<ffffffff80017827>] vfs_write+0xce/0x174
    [<ffffffff8001811b>] sys_write+0x45/0x6e
    [<ffffffff800602a6>] tracesys+0xd5/0xdf

    no locks held by stapio/4645.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

  parent reply	other threads:[~2012-01-06 16:57 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-21 22:38 [Bug uprobes/13539] New: " fche at redhat dot com
2011-12-21 22:59 ` [Bug uprobes/13539] " fche at redhat dot com
2011-12-22  1:38 ` fche at redhat dot com
2011-12-22 12:20 ` fche at redhat dot com
2011-12-31 14:27 ` fche at redhat dot com
2012-01-02 22:31 ` fche at redhat dot com
2012-01-06 12:25   ` Srikar Dronamraju
2012-01-06 17:01     ` David Smith
2012-01-06 16:57 ` dsmith at redhat dot com [this message]
2012-01-06 17:01 ` dsmith at redhat dot com
2012-01-26 16:10 ` fche at redhat dot com
2012-01-26 22:35 ` dsmith at redhat dot com
2012-01-26 22:58 ` jistone at redhat dot com
2012-01-27 14:52 ` dsmith at redhat dot com
2012-01-27 15:10 ` dsmith at redhat dot com
2012-01-27 16:20 ` jistone at redhat dot com
2012-01-30 22:05 ` fche at redhat dot com

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=bug-13539-6586-T65GdFg734@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=systemtap@sourceware.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).