This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/13868] Use UTRACE_ATTACH_ATOMIC when calling utrace create under lock.
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Mon, 19 Mar 2012 19:41:48 +0000
- Subject: [Bug runtime/13868] Use UTRACE_ATTACH_ATOMIC when calling utrace create under lock.
- Auto-submitted: auto-generated
- References: <bug-13868-6586@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13868
Frank Ch. Eigler <fche at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Frank Ch. Eigler <fche at redhat dot com> 2012-03-19 19:41:48 UTC ---
Sample kernel BUG backtrace that is fixed by this work:
<3>[ 5423.930203] BUG: sleeping function called from invalid context at
xxx/intel/linux/mm/slub.c:847
<3>[ 5423.948137] in_atomic(): 0, irqs_disabled(): 0, pid: 3196, name: stapio
<4>[ 5423.956007] 1 lock held by stapio/3196:
<4>[ 5423.959994] #0: (rcu_read_lock){.+.+.+}, at: [<f1600603>]
rcu_read_lock+0x0/0x26 [utracetestgdwv2]
<4>[ 5423.969609] Pid: 3196, comm: stapio Tainted: G WC 3.0.8-dirty #1
<4>[ 5423.976924] Call Trace:
<4>[ 5423.979413] [<c10795e2>] ? utrace_attach_task+0x140/0x369
<4>[ 5423.984939] [<c102aad7>] __might_sleep+0xee/0xf5
<4>[ 5423.989736] [<c10d17f6>] kmem_cache_alloc+0x37/0x132
<4>[ 5423.994824] [<c10795e2>] utrace_attach_task+0x140/0x369
<4>[ 5424.000240] [<f1600603>] ? next_thread+0x2b/0x2b [utracetestgdwv2]
<4>[ 5424.006553] [<f1603007>] T.1331+0x41/0x15b [utracetestgdwv2]
<4>[ 5424.012425] [<f1603b65>] _stp_ctl_write_cmd+0x56a/0xac4
[utracetestgdwv2]
<4>[ 5424.019349] [<c11f9f1a>] ? security_file_permission+0x22/0x26
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.