Bug 4864 - Debug WIndow aborts when hovering over a variable when debugging bash on F7
Summary: Debug WIndow aborts when hovering over a variable when debugging bash on F7
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Rick Moseley
URL:
Keywords:
Depends on:
Blocks: 1633
  Show dependency treegraph
 
Reported: 2007-07-30 14:37 UTC by Rick Moseley
Modified: 2007-11-19 16:44 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Moseley 2007-07-30 14:37:58 UTC
When debugging a bash shell with its debuginfo loaded on my x86/F7 system, the
debug window aborts when you hover over a variable in the source view of
shell.c(usually frame #14 on this arch).

This works fine on my AMD64/FC6 machine.

No backtrace is given.  All I get is "Aborted (core dumped)".  (This is when I
have "ulimit -c unlimited" set in the bash shell where I activate the Frysk UI.)

Using "fstack" on the core file I get the following:

Task #25147
#0 0x00220802 in [unknown] from /usr/lib/libgtkjava-2.8.so
#1 0x00000000 in [unknown] from Unknown

Task #25148
#0 0x00220802 in [unknown] from /usr/lib/libgtkjava-2.8.so
#1 0x00000000 in [unknown] from Unknown

Task #25149
#0 0x00220802 in [unknown] from /usr/lib/libgtkjava-2.8.so
#1 0x00000000 in [unknown] from Unknown

Using gdb to look at the backtrace I get this:

(gdb) bt
#0  0x00110402 in __kernel_vsyscall ()
#1  0x4a950fa0 in ?? ()
#2  0x4aa77ff4 in ?? ()
#3  0xb7f788f0 in ?? ()
#4  0xbf9f89a8 in ?? ()
#5  0x4a9528b1 in ?? ()
#6  0x00000006 in ?? ()
#7  0xbf9f891c in ?? ()
#8  0x00000000 in ?? ()
Comment 1 Rick Moseley 2007-07-30 15:22:42 UTC
When running with strace I get the following:

tkill(25288, SIGIO)                     = 0
futex(0x9212d80, FUTEX_WAIT, 10343, NULL) = 0
futex(0x9212dac, FUTEX_WAKE, 1)         = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
rt_sigprocmask(SIG_UNBLOCK, [SEGV], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(25286, 25286, SIGABRT)           = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT (core dumped) +++
Process 25286 detached


ftrace aborted when I tried to use it.   If no bug is filed for it, I will file one.
Comment 2 Rick Moseley 2007-11-19 16:44:19 UTC
Fixed.  Cannot reproduce in a current HEAD checkout.