From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32516 invoked by alias); 16 Apr 2013 14:55:06 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 32506 invoked by uid 89); 16 Apr 2013 14:55:06 -0000 X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,SPF_HELO_NEUTRAL,TW_FC,TW_GT autolearn=no version=3.3.1 Received: from smtp5a.hushmail.com (HELO smtp5.hushmail.com) (65.39.178.235) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 16 Apr 2013 14:55:05 +0000 Received: from smtp5.hushmail.com (smtp5a.hushmail.com [65.39.178.235]) by smtp5.hushmail.com (Postfix) with SMTP id DE9E558015 for ; Tue, 16 Apr 2013 14:55:03 +0000 (UTC) Received: from smtp.hushmail.com (w5.hushmail.com [65.39.178.80]) by smtp5.hushmail.com (Postfix) with ESMTP for ; Tue, 16 Apr 2013 14:55:01 +0000 (UTC) Received: by smtp.hushmail.com (Postfix, from userid 99) id 6D4AFE6736; Tue, 16 Apr 2013 14:55:01 +0000 (UTC) MIME-Version: 1.0 Date: Tue, 16 Apr 2013 14:55:00 -0000 To: gdb@sourceware.org Subject: GDB unable to trace xchat on linux From: mancha1@hush.com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" Message-Id: <20130416145501.6D4AFE6736@smtp.hushmail.com> X-SW-Source: 2013-04/txt/msg00043.txt.bz2 Hello. I am using GDB 7.5.1 and trying to trace xchat 2.8.8 compiled with -ggdb and default configure options (see below). To reproduce: $ gdb /path/to/xchat (gdb) r xchat starts but hangs at "Looking up ". xchat's faq (http://xchat.org/gdb/) suggests GDB has trouble debugging when a server hostname is used. As they suggest, I ran a local ircd and used 127.0.0.1. The problem remains. Any linux GDB gurus out there that can offer some guidance on what the problem is? --mancha PS. When in this hung state, ^C followed by "thread apply all bt" gives the following stack. Also after SIGINT and quit from GDB in this state, xchat's window stays open and the process is unkillable. ps x shows it in state "t". #0 0xb7fde424 in __kernel_vsyscall () #1 0xb7eed8bb in poll () from /lib/libc.so.6 #2 0xb6e481e6 in g_poll () from /usr/lib/libglib-2.0.so.0 #3 0xb6e3a3ad in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #4 0xb6e3aaef in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #5 0xb7b29fcb in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #6 0x08060da2 in fe_main () at fe-gtk.c:290 #7 0x080b4904 in main (argc=1, argv=0xbfffef14) at xchat.c:920 PPS. Default configuration on this system: xchat 2.8.8 Building GTK+ Interface .... : yes Building TEXT Interface .... : no PLUGINS: Perl: yes Python: yes TCL: yes mmx tinting ......... : yes spelling .............. : libsexy XShm tinting ........ : no plugin interface ...... : yes text backend ........ : pango nls/gettext ........... : yes openssl support ..... : yes ipv6 support .......... : no dbus support ........ : yes msproxy ntlm (ISA) .... : no