Bug 119239 - gdb coredumps on sparc64
Summary: gdb coredumps on sparc64
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: sparc64 (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-sparc64 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-02 01:40 UTC by Stephen Hurd
Modified: 2011-03-22 13:19 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Hurd freebsd_committer freebsd_triage 2008-01-02 01:40:01 UTC
When attempting to run a debug build of comms/syncterm under gdb, gdb crashes with the following backtrace:
#0  0x0000000040ad5fa8 in __sparc_utrap_install () from /lib/libc.so.7
#1  0x0000000040ad60cc in __sparc_utrap_install () from /lib/libc.so.7
#2  0x0000000040ad6370 in __sparc_utrap_install () from /lib/libc.so.7
#3  0x0000000040ad5bac in __sparc_utrap_install () from /lib/libc.so.7
#4  0x0000000040aa9ea8 in realloc () from /lib/libc.so.7
#5  0x000000000017ee18 in xmrealloc ()
#6  0x0000000000193b30 in target_resize_to_sections ()
#7  0x0000000000170fb0 in no_shared_libraries ()
#8  0x0000000000171284 in solib_add ()
#9  0x00000000001c9ac8 in handle_inferior_event ()
#10 0x00000000001cad74 in wait_for_inferior ()
#11 0x00000000001caefc in proceed ()
#12 0x0000000000192964 in find_default_create_inferior ()
#13 0x0000000000138a4c in get_inferior_args ()
#14 0x000000000015c034 in cmd_show_list ()
#15 0x000000000015c244 in cmd_func ()
#16 0x0000000000190620 in execute_command ()
#17 0x0000000000150c70 in push_prompt ()
#18 0x0000000000151b24 in display_gdb_prompt ()
#19 0x00000000406c3268 in rl_callback_read_char () from /lib/libreadline.so.7
#20 0x0000000000150e2c in push_prompt ()
#21 0x0000000000151424 in stdin_event_handler ()
#22 0x0000000000152f90 in gdb_do_one_event ()
#23 0x0000000000152180 in delete_async_signal_handler ()
#24 0x0000000000152c38 in gdb_do_one_event ()
#25 0x000000000018e8f0 in tui_dispatch_ctrl_char ()
#26 0x0000000000190bb8 in throw_exception ()
#27 0x0000000000190c18 in catch_errors ()
#28 0x000000000021041c in _initialize_tui_interp ()
#29 0x0000000000135208 in current_interp_command_loop ()
#30 0x0000000000134dcc in gdb_main ()
#31 0x000000000018e8f0 in tui_dispatch_ctrl_char ()
#32 0x0000000000190bb8 in throw_exception ()
#33 0x0000000000190c18 in catch_errors ()
#34 0x0000000000134758 in gdb_main ()
#35 0x000000000018e8f0 in tui_dispatch_ctrl_char ()
#36 0x0000000000190bb8 in throw_exception ()
#37 0x0000000000190c18 in catch_errors ()
#38 0x0000000000134050 in gdb_main ()
#39 0x0000000000133e4c in main ()

How-To-Repeat: Install comms/syncterm with DEBUG enabled, run syncterm under gdb
Comment 1 Pietro Cerutti freebsd_committer freebsd_triage 2008-06-24 08:41:32 UTC
State Changed
From-To: open->feedback

Hello, I can't reproduce it here, 8.0-CURRENT with 
syncterm-0.9.20080406.  Here's a screenshot showing syncterm under GDB: 
http://gahr.ch/FreeBSD/misc/syncterm.png 

Can you confirm that the problem is still present?
Comment 2 Pietro Cerutti freebsd_committer freebsd_triage 2008-06-25 12:26:17 UTC
State Changed
From-To: feedback->suspended

Submitter will be able to check back in a few weeks.
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2011-03-22 13:19:04 UTC
State Changed
From-To: suspended->closed

feedback timeout & gahr unable to reproduce