public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/4676] New: incorrect back trace produced by libunwind
@ 2007-06-20 18:07 swagiaal at redhat dot com
  2007-06-20 18:53 ` [Bug general/4676] " swagiaal at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: swagiaal at redhat dot com @ 2007-06-20 18:07 UTC (permalink / raw)
  To: frysk-bugzilla

1)
testFrameAdjustedAddress(frysk.rt.TestFrameDebugInfo)junit.framework.AssertionFailedError:
fourth

(test coming soon to cvs)

-- 
           Summary: incorrect back trace produced by libunwind
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: swagiaal at redhat dot com
OtherBugsDependingO 3076
             nThis:


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

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


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

* [Bug general/4676] incorrect back trace produced by libunwind
  2007-06-20 18:07 [Bug general/4676] New: incorrect back trace produced by libunwind swagiaal at redhat dot com
@ 2007-06-20 18:53 ` swagiaal at redhat dot com
  2007-06-20 18:54 ` swagiaal at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: swagiaal at redhat dot com @ 2007-06-20 18:53 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From swagiaal at redhat dot com  2007-06-20 18:53 -------
Test program:

#include <stdlib.h>

void fourth(){
  exit(1);
}

void third(){
  fourth();
}

void second(){
  third();
}

void first(){
  second();
}


int main(){
  first ();
  return 0;
}



-- 


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

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


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

* [Bug general/4676] incorrect back trace produced by libunwind
  2007-06-20 18:07 [Bug general/4676] New: incorrect back trace produced by libunwind swagiaal at redhat dot com
  2007-06-20 18:53 ` [Bug general/4676] " swagiaal at redhat dot com
@ 2007-06-20 18:54 ` swagiaal at redhat dot com
  2007-06-20 19:53 ` swagiaal at redhat dot com
  2007-08-17 13:06 ` swagiaal at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: swagiaal at redhat dot com @ 2007-06-20 18:54 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From swagiaal at redhat dot com  2007-06-20 18:54 -------
Stack trace:

#0 0x00b19402 in __kernel_vsyscall ()
#1 0x0051efc4 in __GI__exit ()
#2 0x08048374 in third ()
#3 0x080483a9 in third ()
#4 0x080483c6 in second ()
#5 0x080483e3 in first ()
#6 0x08048410 in main ()
#7 0x004a6f2c in __libc_start_main ()
#8 0x080482f1 in _start ()

Frame #2 is incorrect. It should be fourth

-- 


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

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


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

* [Bug general/4676] incorrect back trace produced by libunwind
  2007-06-20 18:07 [Bug general/4676] New: incorrect back trace produced by libunwind swagiaal at redhat dot com
  2007-06-20 18:53 ` [Bug general/4676] " swagiaal at redhat dot com
  2007-06-20 18:54 ` swagiaal at redhat dot com
@ 2007-06-20 19:53 ` swagiaal at redhat dot com
  2007-08-17 13:06 ` swagiaal at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: swagiaal at redhat dot com @ 2007-06-20 19:53 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From swagiaal at redhat dot com  2007-06-20 19:53 -------
Test is now in cvs 

Index: frysk-core/frysk/pkglibdir/ChangeLog
2007-06-20  Sami Wagiaalla  <swagiaal@redhat.com>

       * funit-stacks-exit.c: New.

Index: frysk-core/frysk/rt/ChangeLog
2007-06-20  Sami Wagiaalla  <swagiaal@redhat.com>

       * TestFrameDebugInfo.java (testFrameAdjustedAddress): New test.

-- 


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

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


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

* [Bug general/4676] incorrect back trace produced by libunwind
  2007-06-20 18:07 [Bug general/4676] New: incorrect back trace produced by libunwind swagiaal at redhat dot com
                   ` (2 preceding siblings ...)
  2007-06-20 19:53 ` swagiaal at redhat dot com
@ 2007-08-17 13:06 ` swagiaal at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: swagiaal at redhat dot com @ 2007-08-17 13:06 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From swagiaal at redhat dot com  2007-08-17 13:06 -------
Also on a 32 bit machine:

[swagiaal@towns frysk-core]$ ./frysk/bindir/fstack $$
Task #505
#0 0x0051d402 in __kernel_vsyscall () from [vdso]
#1 0x00337d69 in __waitpid_nocancel () from /lib/libc-2.6.so
#2 0x100f41dd in [unknown] from Unknown
#3 0x0807bfa8 in wait_for () from /bin/bash
#4 0x0806eedd in execute_command_internal () from /bin/bash
#5 0x0806f923 in execute_command () from /bin/bash
#6 0x0805ef61 in reader_loop () from /bin/bash
#7 0x0805ea70 in main () from /bin/bash
#8 0x002bdf70 in __libc_start_main () from /lib/libc-2.6.so
#9 0x0805c6c1 in _start () from /bin/bash
[swagiaal@towns frysk-core]$ pstack $$
#0  0x0051d402 in __kernel_vsyscall ()
#1  0x00337d73 in __waitpid_nocancel () from /lib/libc.so.6
#2  0x0807a12d in ?? ()
#3  0x0807bfa8 in wait_for ()
#4  0x0806eedd in execute_command_internal ()
#5  0x0806f923 in execute_command ()
#6  0x0805ef61 in reader_loop ()
#7  0x0805ea70 in main ()


The addresses are different between the two stack back traces.


-- 


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

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


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

end of thread, other threads:[~2007-08-17 13:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-20 18:07 [Bug general/4676] New: incorrect back trace produced by libunwind swagiaal at redhat dot com
2007-06-20 18:53 ` [Bug general/4676] " swagiaal at redhat dot com
2007-06-20 18:54 ` swagiaal at redhat dot com
2007-06-20 19:53 ` swagiaal at redhat dot com
2007-08-17 13:06 ` swagiaal 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).