[Bug runtime/15741] New: backtraces in optimized longjmp handlers are incomplete

dsmith at redhat dot com sourceware-bugzilla@sourceware.org
Mon Jul 15 18:33:00 GMT 2013


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.



More information about the Systemtap mailing list