This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/15741] New: backtraces in optimized longjmp handlers are incomplete
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Mon, 15 Jul 2013 18:31:44 +0000
- Subject: [Bug runtime/15741] New: backtraces in optimized longjmp handlers are incomplete
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15741
Bug ID: 15741
Summary: backtraces in optimized longjmp handlers are
incomplete
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
Assignee: systemtap at sourceware dot org
Reporter: dsmith at redhat dot com
Commit 84119fe fixed up the testsuite/systemtap.base/setjmp.exp testcase.
Originally it wasn't testing what it thought it was testing because the test
programs were getting compiled without the correct flags.
The test was supposed to be testing combinations of the following flags:
-DSIGJMP, -DUNDERJMP, and -D_FORTIFY_SOURCE=2. However, none of those flags got
passed to the compiler.
Commit 84119fe fixed that problem with the testcase, and added new optimization
tests.
Now the test is showing true failures. Basically, any test that uses
optimization fails:
FAIL: setjmp -O
FAIL: setjmp -O -D_FORTIFY_SOURCE=2
FAIL: setjmp -DSIGJMP -O
FAIL: setjmp -DSIGJMP -O -D_FORTIFY_SOURCE=2
FAIL: setjmp -DUNDERJMP -O
FAIL: setjmp -DUNDERJMP -O -D_FORTIFY_SOURCE=2
This appears to be because when in an optimized longjmp handler, the backtrace
gets truncated. This should be investigate to figure out if this is a real
failure.
--
You are receiving this mail because:
You are the assignee for the bug.