From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4883 invoked by alias); 19 Mar 2012 19:44:40 -0000 Received: (qmail 4870 invoked by uid 22791); 19 Mar 2012 19:44:39 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 19 Mar 2012 19:44:17 +0000 From: "fche at redhat dot com" To: systemtap@sourceware.org Subject: [Bug runtime/13868] Use UTRACE_ATTACH_ATOMIC when calling utrace create under lock. Date: Mon, 19 Mar 2012 19:44:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fche at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Resolution Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2012-q1/txt/msg00330.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=13868 Frank Ch. Eigler changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Frank Ch. Eigler 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: [] 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] [] ? utrace_attach_task+0x140/0x369 <4>[ 5423.984939] [] __might_sleep+0xee/0xf5 <4>[ 5423.989736] [] kmem_cache_alloc+0x37/0x132 <4>[ 5423.994824] [] utrace_attach_task+0x140/0x369 <4>[ 5424.000240] [] ? next_thread+0x2b/0x2b [utracetestgdwv2] <4>[ 5424.006553] [] T.1331+0x41/0x15b [utracetestgdwv2] <4>[ 5424.012425] [] _stp_ctl_write_cmd+0x56a/0xac4 [utracetestgdwv2] <4>[ 5424.019349] [] ? 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.