public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/4060] New: Missing stack frames on i386
@ 2007-02-15 23:45 mcvet at redhat dot com
  2007-02-15 23:48 ` [Bug general/4060] " mcvet at redhat dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: mcvet at redhat dot com @ 2007-02-15 23:45 UTC (permalink / raw)
  To: frysk-bugzilla

Sometimes when stepping into new functions on i386, the frame being stepped /
from/ may dissapear when performing instruction steps.

TestStackBacktrace.testFramePushing and TestStackBacktrace.testFramePopping are 
designed to test this.

These tests do not fail on x86_64 but do appear to fail on x86.

I'll attach a testcase, but the general sitation is that the order of frames 
should be:

main -> foo -> jump

but during the push of 'jump' onto the call stack, the trace may show:

main -> jump

and similarly doing the pop of 'jump' off of the call stack.

-- 
           Summary: Missing stack frames on i386
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: mcvet at redhat dot com
                CC: cagney at redhat dot com,mcvet at redhat dot com,npremji
                    at redhat dot com
OtherBugsDependingO 1839,3076,3346
             nThis:


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

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


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

* [Bug general/4060] Missing stack frames on i386
  2007-02-15 23:45 [Bug general/4060] New: Missing stack frames on i386 mcvet at redhat dot com
  2007-02-15 23:48 ` [Bug general/4060] " mcvet at redhat dot com
  2007-02-15 23:48 ` mcvet at redhat dot com
@ 2007-02-15 23:48 ` mcvet at redhat dot com
  2007-02-16 16:01 ` mcvet at redhat dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: mcvet at redhat dot com @ 2007-02-15 23:48 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From mcvet at redhat dot com  2007-02-15 23:47 -------
Created an attachment (id=1555)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=1555&action=view)
Test program for this bug.

Perform instruction stepping when about to enter jump() and about to exit
jump() to reproduce the bug.

-- 


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

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


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

* [Bug general/4060] Missing stack frames on i386
  2007-02-15 23:45 [Bug general/4060] New: Missing stack frames on i386 mcvet at redhat dot com
  2007-02-15 23:48 ` [Bug general/4060] " mcvet at redhat dot com
@ 2007-02-15 23:48 ` mcvet at redhat dot com
  2007-02-15 23:48 ` mcvet at redhat dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: mcvet at redhat dot com @ 2007-02-15 23:48 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From mcvet at redhat dot com  2007-02-15 23:48 -------
Created an attachment (id=1556)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=1556&action=view)
Entering jump()


-- 


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

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


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

* [Bug general/4060] Missing stack frames on i386
  2007-02-15 23:45 [Bug general/4060] New: Missing stack frames on i386 mcvet at redhat dot com
@ 2007-02-15 23:48 ` mcvet at redhat dot com
  2007-02-15 23:48 ` mcvet at redhat dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: mcvet at redhat dot com @ 2007-02-15 23:48 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From mcvet at redhat dot com  2007-02-15 23:48 -------
Created an attachment (id=1557)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=1557&action=view)
exiting jump()


-- 


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

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


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

* [Bug general/4060] Missing stack frames on i386
  2007-02-15 23:45 [Bug general/4060] New: Missing stack frames on i386 mcvet at redhat dot com
                   ` (2 preceding siblings ...)
  2007-02-15 23:48 ` mcvet at redhat dot com
@ 2007-02-16 16:01 ` mcvet at redhat dot com
  2007-02-16 16:10 ` mcvet at redhat dot com
  2007-02-20 22:33 ` [Bug general/4060] Stack frame epilogues broken mcvet at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: mcvet at redhat dot com @ 2007-02-16 16:01 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From mcvet at redhat dot com  2007-02-16 16:01 -------
For what its worth, also reproducable in GDB:

(gdb) bt
#0  jump () at stepper.c:55
#1  0x080483db in foo () at stepper.c:76
#2  0x080483f0 in main () at stepper.c:82
(gdb) stepi
0x08048355 in jump () at stepper.c:55
55      }
(gdb) bt
#0  0x08048355 in jump () at stepper.c:55
#1  0x080483f0 in main () at stepper.c:82
(gdb) 


-- 


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

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


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

* [Bug general/4060] Missing stack frames on i386
  2007-02-15 23:45 [Bug general/4060] New: Missing stack frames on i386 mcvet at redhat dot com
                   ` (3 preceding siblings ...)
  2007-02-16 16:01 ` mcvet at redhat dot com
@ 2007-02-16 16:10 ` mcvet at redhat dot com
  2007-02-20 22:33 ` [Bug general/4060] Stack frame epilogues broken mcvet at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: mcvet at redhat dot com @ 2007-02-16 16:10 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From mcvet at redhat dot com  2007-02-16 16:10 -------
Upstream bug:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12990#c3

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |SUSPENDED


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

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


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

* [Bug general/4060] Stack frame epilogues broken
  2007-02-15 23:45 [Bug general/4060] New: Missing stack frames on i386 mcvet at redhat dot com
                   ` (4 preceding siblings ...)
  2007-02-16 16:10 ` mcvet at redhat dot com
@ 2007-02-20 22:33 ` mcvet at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: mcvet at redhat dot com @ 2007-02-20 22:33 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From mcvet at redhat dot com  2007-02-20 22:33 -------
This bug only concerns the epilogues of the frames - the prologue part is moved 
to #4083

-- 


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

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


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

end of thread, other threads:[~2007-02-20 22:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-15 23:45 [Bug general/4060] New: Missing stack frames on i386 mcvet at redhat dot com
2007-02-15 23:48 ` [Bug general/4060] " mcvet at redhat dot com
2007-02-15 23:48 ` mcvet at redhat dot com
2007-02-15 23:48 ` mcvet at redhat dot com
2007-02-16 16:01 ` mcvet at redhat dot com
2007-02-16 16:10 ` mcvet at redhat dot com
2007-02-20 22:33 ` [Bug general/4060] Stack frame epilogues broken mcvet 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).