From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14759 invoked by alias); 12 Mar 2013 14:21:22 -0000 Received: (qmail 14750 invoked by uid 22791); 12 Mar 2013 14:21:21 -0000 X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-oa0-f50.google.com (HELO mail-oa0-f50.google.com) (209.85.219.50) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 12 Mar 2013 14:21:09 +0000 Received: by mail-oa0-f50.google.com with SMTP id l20so5765845oag.37 for ; Tue, 12 Mar 2013 07:21:08 -0700 (PDT) X-Received: by 10.182.118.42 with SMTP id kj10mr12049480obb.99.1363098068457; Tue, 12 Mar 2013 07:21:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.60.7 with HTTP; Tue, 12 Mar 2013 07:20:27 -0700 (PDT) In-Reply-To: References: <20130311192521.GA28983@host2.jankratochvil.net> <20130312123654.GA12204@host2.jankratochvil.net> From: Hui Zhu Date: Tue, 12 Mar 2013 14:21:00 -0000 Message-ID: Subject: Re: [PATCH] Fix gdb crash with tui To: Jan Kratochvil Cc: gdb-patches ml , Joel Brobecker Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2013-03/txt/msg00516.txt.bz2 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 , 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 , 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 wrote: > On Tue, Mar 12, 2013 at 8:36 PM, Jan Kratochvil > 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