pcp
[Top] [All Lists]

[Bug 1319288] segv in libpcp during discovery error processing

To: pcp@xxxxxxxxxxx
Subject: [Bug 1319288] segv in libpcp during discovery error processing
From: bugzilla@xxxxxxxxxx
Date: Fri, 18 Mar 2016 20:27:10 +0000
Auto-submitted: auto-generated
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <bug-1319288-355098@xxxxxxxxxxxxxxxxxxx>
References: <bug-1319288-355098@xxxxxxxxxxxxxxxxxxx>
https://bugzilla.redhat.com/show_bug.cgi?id=1319288



--- Comment #2 from Frank Ch. Eigler <fche@xxxxxxxxxx> ---
A few things jump out in that backtrace collection.

- pmNotifyErr() does PM_LOCK* work for no obvious reason.  The syslog(3)
facility doesn't need it.  The "stderr equivalent" block doesn't manipulate
shared data, except perhaps the pmprintf* stuff.  Except pmprintf* uses locks
internally, and at the pmNotifyErr level isn't properly protected anyway, since
a PM_UNLOCK is placed too early.

- The actual crash appears to occur during a callq instruction, as it's writing
the return-pc into the stack.  I don't have a theory as to why that should be
bad; the stack pointer etc. look ok.  Continuing investigation.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=mKSlLGANh7&a=cc_unsubscribe
<Prev in Thread] Current Thread [Next in Thread>