GDB unable to trace xchat on linux
Tue Apr 16 23:10:00 GMT 2013

On Tue, 16 Apr 2013 18:08:34 -0400 "Sergio Durigan Junior" 
<> wrote:
>On Tuesday, April 16 2013, wrote:
>> To reproduce:
>> $ gdb /path/to/xchat
>> (gdb) r
>> xchat starts but hangs at "Looking up <insert server used 
>What do you mean by "hangs"?  Is it unresponsible?  Can you still 
>commands on it?  Is it just waiting for the server to respond?

By "hangs" I mean it doesn't progress beyond "Looking up...". I am
still able to navigate the menus and open pop-ups say via "About"
menus, etc. while in this state. However, it becomes totally
unresponsive if I Server->Disconnect or XChat->Quit.

>> xchat's faq ( suggests GDB has trouble 
>> when a server hostname is used. As they suggest, I ran a local 
>ircd and 
>> used The problem remains.
>The page doesn't suggest that.  It only suggests that you use the
>server's IP address directly.  Anyway, have you tried that?  You 
>try freenode's IP address ( and see if it works.

I understood the FAQ. I ran an ircd locally to speed up my
debugging. No numeric IP works (freenode or otherwise).

To make this crystal clear: no connection progresses beyond the 
"looking up..." message: not hostname not IP, not local, not
remote, nor any permutations thereof.

More information about the Gdb mailing list