This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/9747] Quit and "(running)" bug


------- Additional Comments From luisgpm at linux dot vnet dot ibm dot com  2009-01-20 12:34 -------
This is still broken for my situation.

Staticthreads.exp throws a "find_new_threads_callback: cannot get thread info:
generic error" error on ppc and after that we're stuck in the "thread running"
state.

The backtrace for when that error message is thrown follows:

#0  find_new_threads_callback (th_p=0xfffff85b4d0, data=0x0) at
/home/luis/src/gdb/HEAD/src/gdb/linux-thread-db.c:986
#1  0x00000400003f6d48 in .iterate_thread_list () from
/lib64/ppc970/libthread_db.so.1
#2  0x00000400003f6e44 in .td_ta_thr_iter () from /lib64/ppc970/libthread_db.so.1
#3  0x00000000100c834c in thread_db_find_new_threads () at
/home/luis/src/gdb/HEAD/src/gdb/linux-thread-db.c:1040
#4  0x00000000100c7224 in check_for_thread_db () at
/home/luis/src/gdb/HEAD/src/gdb/linux-thread-db.c:667
#5  0x00000000100cb450 in linux_child_post_startup_inferior (ptid={pid = 15214,
lwp = 0, tid = 0}) at /home/luis/src/gdb/HEAD/src/gdb/linux-nat.c:685
#6  0x00000000102df22c in inf_ptrace_create_inferior (ops=0x109ceca0,
exec_file=0x10a1ba40
"/home/luis/builds/gdb/HEAD-now/gdb/testsuite/gdb.threads/staticthreads",
    allargs=0x10a5d2e0 "", env=0x109ef010, from_tty=1) at
/home/luis/src/gdb/HEAD/src/gdb/inf-ptrace.c:164
#7  0x00000000100ccf38 in linux_nat_create_inferior (ops=0x109ceca0,
exec_file=0x10a1ba40
"/home/luis/builds/gdb/HEAD-now/gdb/testsuite/gdb.threads/staticthreads",
    allargs=0x10a5d2e0 "", env=0x109ef010, from_tty=1) at
/home/luis/src/gdb/HEAD/src/gdb/linux-nat.c:1378
#8  0x00000000101fde28 in find_default_create_inferior (ops=0x1092d468,
exec_file=0x10a1ba40
"/home/luis/builds/gdb/HEAD-now/gdb/testsuite/gdb.threads/staticthreads",
    allargs=0x10a5d2e0 "", env=0x109ef010, from_tty=1) at
/home/luis/src/gdb/HEAD/src/gdb/target.c:2171
#9  0x00000000101f88c8 in target_create_inferior (exec_file=0x10a1ba40
"/home/luis/builds/gdb/HEAD-now/gdb/testsuite/gdb.threads/staticthreads",
args=0x10a5d2e0 "",
    env=0x109ef010, from_tty=1) at /home/luis/src/gdb/HEAD/src/gdb/target.c:292
#10 0x00000000101aa9c4 in run_command_1 (args=0x0, from_tty=1, tbreak_at_main=1)
at /home/luis/src/gdb/HEAD/src/gdb/infcmd.c:546
#11 0x00000000101aabf8 in start_command (args=0x0, from_tty=1) at
/home/luis/src/gdb/HEAD/src/gdb/infcmd.c:600
#12 0x0000000010108acc in do_cfunc (c=0x109ee890, args=0x0, from_tty=1) at
/home/luis/src/gdb/HEAD/src/gdb/cli/cli-decode.c:67
#13 0x000000001010cc90 in cmd_func (cmd=0x109ee890, args=0x0, from_tty=1) at
/home/luis/src/gdb/HEAD/src/gdb/cli/cli-decode.c:1732
During symbol reading, DW_AT_type missing from DW_TAG_subrange_type.
#14 0x0000000010072d94 in execute_command (p=0x10931ed5 "", from_tty=1) at
/home/luis/src/gdb/HEAD/src/gdb/top.c:449
#15 0x00000000101d58e0 in command_handler (command=0x10931ed0 "") at
/home/luis/src/gdb/HEAD/src/gdb/event-top.c:514
#16 0x00000000101d62cc in command_line_handler (rl=0x109316d0 "") at
/home/luis/src/gdb/HEAD/src/gdb/event-top.c:739
#17 0x00000000106307a0 in rl_callback_read_char () at
/home/luis/src/gdb/HEAD/src/readline/callback.c:205
#18 0x00000000101d4808 in rl_callback_read_char_wrapper (client_data=0x0) at
/home/luis/src/gdb/HEAD/src/gdb/event-top.c:178
#19 0x00000000101d5664 in stdin_event_handler (error=0, client_data=0x0) at
/home/luis/src/gdb/HEAD/src/gdb/event-top.c:433
#20 0x00000000101d331c in handle_file_event (data={ptr = 0x1, integer = 0}) at
/home/luis/src/gdb/HEAD/src/gdb/event-loop.c:812
#21 0x00000000101d2340 in process_event () at
/home/luis/src/gdb/HEAD/src/gdb/event-loop.c:394
#22 0x00000000101d24c8 in gdb_do_one_event (data=0x0) at
/home/luis/src/gdb/HEAD/src/gdb/event-loop.c:459
#23 0x00000000101c9cfc in catch_errors (func=@0x108c9260: 0x101d2384
<gdb_do_one_event>, func_args=0x0, errstring=0x10778db0 "", mask=6)
    at /home/luis/src/gdb/HEAD/src/gdb/exceptions.c:516
#24 0x00000000101271cc in tui_command_loop (data=0x0) at
/home/luis/src/gdb/HEAD/src/gdb/tui/tui-interp.c:153
#25 0x00000000101ca7a8 in current_interp_command_loop () at
/home/luis/src/gdb/HEAD/src/gdb/interps.c:290
#26 0x000000001006616c in captured_command_loop (data=0x0) at
/home/luis/src/gdb/HEAD/src/gdb/main.c:99
#27 0x00000000101c9cfc in catch_errors (func=@0x108b41e8: 0x10066148
<captured_command_loop>, func_args=0x0, errstring=0x1075dc48 "", mask=6)
    at /home/luis/src/gdb/HEAD/src/gdb/exceptions.c:516
#28 0x0000000010067aa4 in captured_main (data=0xfffff85cb20) at
/home/luis/src/gdb/HEAD/src/gdb/main.c:837
#29 0x00000000101c9cfc in catch_errors (func=@0x108b4200: 0x100661d8
<captured_main>, func_args=0xfffff85cb20, errstring=0x1075dc48 "", mask=6)
    at /home/luis/src/gdb/HEAD/src/gdb/exceptions.c:516
#30 0x0000000010067b00 in gdb_main (args=0xfffff85cb20) at
/home/luis/src/gdb/HEAD/src/gdb/main.c:846
#31 0x0000000010066118 in main (argc=1, argv=0xfffff85cfd8) at
/home/luis/src/gdb/HEAD/src/gdb/gdb.c:33


Reopening..


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]