This is the mail archive of the gdb-patches@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]

Re: [PATCH] Fix gdb crash with tui


Hi Jan,

I got crash in fedora 13, this is the backtrace:

#0  0x0000000000000000 in ?? ()
#1  0x000000000076b353 in rl_callback_read_char () at
../../gdb/readline/callback.c:220
#2  0x000000000061a771 in rl_callback_read_char_wrapper
(client_data=0x0) at ../../gdb/gdb/event-top.c:163
#3  0x000000000061ab0b in stdin_event_handler (error=0,
client_data=0x0) at ../../gdb/gdb/event-top.c:371
#4  0x00000000006196f9 in handle_file_event (data=...) at
../../gdb/gdb/event-loop.c:768
#5  0x0000000000618bb4 in process_event () at ../../gdb/gdb/event-loop.c:342
#6  0x0000000000618c7a in gdb_do_one_event () at ../../gdb/gdb/event-loop.c:406
#7  0x0000000000618ccb in start_event_loop () at ../../gdb/gdb/event-loop.c:431
#8  0x000000000061a79b in cli_command_loop () at ../../gdb/gdb/event-top.c:176
#9  0x0000000000611112 in current_interp_command_loop () at
../../gdb/gdb/interps.c:331
#10 0x0000000000611b41 in captured_command_loop (data=0x0) at
../../gdb/gdb/main.c:256
#11 0x000000000060fe50 in catch_errors (func=0x611b26
<captured_command_loop>, func_args=0x0, errstring=0x9433d4 "",
    mask=6) at ../../gdb/gdb/exceptions.c:546
#12 0x0000000000612fb5 in captured_main (data=0x7fff099dcc90) at
../../gdb/gdb/main.c:1033
#13 0x000000000060fe50 in catch_errors (func=0x611dff <captured_main>,
func_args=0x7fff099dcc90, errstring=0x9433d4 "",
    mask=6) at ../../gdb/gdb/exceptions.c:546
#14 0x0000000000612feb in gdb_main (args=0x7fff099dcc90) at
../../gdb/gdb/main.c:1042
#15 0x000000000045d832 in main (argc=2, argv=0x7fff099dcd98) at
../../gdb/gdb/gdb.c:34

Thanks,
Hui

On Tue, Mar 12, 2013 at 9:19 PM, Hui Zhu <teawater@gmail.com> wrote:
> On Tue, Mar 12, 2013 at 8:36 PM, Jan Kratochvil
> <jan.kratochvil@redhat.com> wrote:
>> On Tue, 12 Mar 2013 13:21:44 +0100, Hui Zhu wrote:
>>> Not sure the prev backtrace for crash is right, so I post new one:
>>
>> BTW don't you have a recipe for the reproducibility?  Don't you have some
>> unusual terminal size (stty size) for example?  Which distro?
>>
>>
>> Jan
>
> Ubuntu 12.04.  I can got this crash even if in simple text terminal.
> I am trying to reproduce this issue in fedora.
>
> Thanks,
> Hui


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