public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/15741] New: backtraces in optimized longjmp handlers are incomplete
@ 2013-07-15 18:33 dsmith at redhat dot com
  2013-07-15 18:35 ` [Bug runtime/15741] " dsmith at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: dsmith at redhat dot com @ 2013-07-15 18:33 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug runtime/15741] backtraces in optimized longjmp handlers are incomplete
  2013-07-15 18:33 [Bug runtime/15741] New: backtraces in optimized longjmp handlers are incomplete dsmith at redhat dot com
@ 2013-07-15 18:35 ` dsmith at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: dsmith at redhat dot com @ 2013-07-15 18:35 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=15741

--- Comment #1 from David Smith <dsmith at redhat dot com> ---
I forgot to state that I was on rawhide (3.11.0-0.rc0.git2.1.fc20.x86_64).

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-15 18:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-15 18:33 [Bug runtime/15741] New: backtraces in optimized longjmp handlers are incomplete dsmith at redhat dot com
2013-07-15 18:35 ` [Bug runtime/15741] " dsmith at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).