After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 629175 - xchat-gnome crashed with SIGSEGV in servlist_connect()
xchat-gnome crashed with SIGSEGV in servlist_connect()
Status: RESOLVED INCOMPLETE
Product: xchat-gnome
Classification: Other
Component: general
0.26.x
Other Linux
: Normal critical
: ---
Assigned To: xchat-gnome maintainers
xchat-gnome maintainers
Depends on:
Blocks:
 
 
Reported: 2010-09-09 14:22 UTC by Pedro Villavicencio
Modified: 2010-09-12 02:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pedro Villavicencio 2010-09-09 14:22:25 UTC
this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/xchat-gnome/+bug/630993

"xchat crashes when I started it, but the following time, it was fine. I really cannot provide any more information as I don't know how/why it happened."

"#0  servlist_connect (sess=0x90ca490, net=0x8d6f8f8, join=1) at servlist.c:519
    ircserv = (ircserver *) 0xbf94ed58
    list = (GSList *) 0x0
    serv = (server *) 0x90c99a8
  • #1 servlist_auto_connect
    at servlist.c line 634
  • #2 xchat_auto_connect
    at xchat.c line 681
  • #3 ??
    from /lib/libglib-2.0.so.0
  • #4 g_main_context_dispatch
    from /lib/libglib-2.0.so.0
  • #5 ??
    from /lib/libglib-2.0.so.0
  • #6 g_main_loop_run
    from /lib/libglib-2.0.so.0
  • #7 IA__gtk_main
    at /build/buildd/gtk+2.0-2.21.7/gtk/gtkmain.c line 1237
  • #8 fe_main
    at fe-gnome.c line 185
  • #9 main
    at xchat.c line 1065

Comment 1 Ritesh Khadgaray ( irc:ritz) 2010-09-12 02:25:49 UTC
odd trace, from git tree.

  • #1 servlist_auto_connect
    at servlist.c line 634

int                                                           
servlist_auto_connect (session *sess)                         
{                                                             
        GSList *list = network_list;                          
634:        ircnet *net;                                          
        int ret = 0;                                          
                                                              
        while (list)                                          
        {                                                     
                net = list->data;                             
                                                              
                if (net->flags & FLAG_AUTO_CONNECT)           
                {                                             
                        servlist_connect (sess, net, TRUE);   


"#0  servlist_connect (sess=0x90ca490, net=0x8d6f8f8, join=1) at servlist.c:519
void                                                                  
servlist_connect (session *sess, ircnet *net, gboolean join)          
{                                                                     
        ircserver *ircserv;                                           
        GSList *list;                                                 
        char *port;                                                   
        server *serv;                                                 
                                                                      
519:        if (!sess)                                                    
                sess = new_ircwindow (NULL, NULL, SESS_SERVER, TRUE); 
                                                                      


it seems, ubuntu is carrying additional patches, or I am missing something here ?
Comment 2 Ritesh Khadgaray ( irc:ritz) 2010-09-12 02:36:34 UTC
nm, bug #608515. I do not see a reason for xg to crash here. code looks fine. Would need network_list to help me identify the issue further.
 

Thanks for taking the time to report this bug.
Unfortunately, that stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. Can you get us a stack trace with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so and reopen this bug or report a new one. Thanks in advance!