From joeldiaz@nc.rr.com  Fri Dec 23 20:36:25 2005
Return-Path: <joeldiaz@nc.rr.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0D90716A420
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 23 Dec 2005 20:36:25 +0000 (GMT)
	(envelope-from joeldiaz@nc.rr.com)
Received: from ms-smtp-01-eri0.southeast.rr.com (ms-smtp-01-lbl.southeast.rr.com [24.25.9.100])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DB5C243D5E
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 23 Dec 2005 20:36:13 +0000 (GMT)
	(envelope-from joeldiaz@nc.rr.com)
Received: from bsdtp (cpe-071-065-242-241.nc.res.rr.com [71.65.242.241])
	by ms-smtp-01-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id jBNKaAWe024224
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 23 Dec 2005 15:36:10 -0500 (EST)
Message-Id: <1135370169.0@bsdtp>
Date: Fri, 23 Dec 2005 15:36:09 -0500
From: "Joel Diaz" <joeldiaz@nc.rr.com>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Subject: xchat-gnome 0.5_1 crash on startup
X-Send-Pr-Version: gtk-send-pr 0.4.6 
X-GNATS-Notify:

>Number:         90865
>Category:       ports
>Synopsis:       xchat-gnome 0.5_1 crash on startup
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pav
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 23 20:40:03 GMT 2005
>Closed-Date:    Fri May 26 08:24:27 GMT 2006
>Last-Modified:  Fri May 26 08:24:27 GMT 2006
>Originator:     Joel Diaz
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:


System: FreeBSD 6.0-RELEASE #25: Mon Dec 19 16:26:49 EST 2005
    joel@bsdtp:/usr/obj/usr/src/sys/MYKERNEL



>Description:


/usr/X11R6/bin/xchat-gnome crashes on startup.

Probably need a PORTREVISION bump too.


>How-To-Repeat:


run '/usr/X11R6/bin/xchat-gnome'


>Fix:


--- patch-navigation-tree.c begins here ---
--- src/fe-gnome/navigation-tree.c.orig	Fri Dec 23 15:17:33 2005
+++ src/fe-gnome/navigation-tree.c	Fri Dec 23 15:18:14 2005
@@ -849,7 +849,7 @@
 
 	treeview = GTK_TREE_VIEW (glade_xml_get_widget (gui.xml, "userlist"));
 
-	if (gui.server_tree->current_path != NULL)
+	if (gui.server_tree != NULL && gui.server_tree->current_path != NULL)
 		navigation_model_path_deref (gui.server_tree->model, gui.server_tree->current_path);
 
 	/* XXX: This sets model to be the GtkTreeModelSort used by the NavTree, it is
--- patch-navigation-tree.c ends here ---



>Release-Note:
>Audit-Trail:

From: Joel Diaz <joeldiaz@nc.rr.com>
To: bug-followup@FreeBSD.org, joeldiaz@nc.rr.com
Cc:  
Subject: Re: ports/90865: xchat-gnome 0.5_1 crash on startup
Date: Fri, 23 Dec 2005 19:16:30 -0500

 --=-J4d/jkWyoVI4EcDojvdx
 Content-Type: text/plain
 Content-Transfer-Encoding: 7bit
 
 Actually, I poked around the xchat-gnome subversion repository.
 
 The proper fix is more like (I'm attaching the file also since Evolution
 is going to kill the formating on this):
 
 --- src/fe-gnome/navigation-tree.c.orig Fri Dec 23 19:10:30 2005
 +++ src/fe-gnome/navigation-tree.c      Fri Dec 23 19:11:11 2005
 @@ -847,6 +847,9 @@
         session *sess;
         session_gui *tgui;
 
 +       if (gui.server_tree == NULL)
 +               return;
 +
         treeview = GTK_TREE_VIEW (glade_xml_get_widget (gui.xml,
 "userlist"));
 
         if (gui.server_tree->current_path != NULL)
 
 
 --=-J4d/jkWyoVI4EcDojvdx
 Content-Disposition: attachment; filename=patch-navigation-tree.c
 Content-Type: text/x-csrc; name=patch-navigation-tree.c; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 
 --- src/fe-gnome/navigation-tree.c.orig	Fri Dec 23 19:10:30 2005
 +++ src/fe-gnome/navigation-tree.c	Fri Dec 23 19:11:11 2005
 @@ -847,6 +847,9 @@
  	session *sess;
  	session_gui *tgui;
  
 +	if (gui.server_tree == NULL)
 +		return;
 +
  	treeview = GTK_TREE_VIEW (glade_xml_get_widget (gui.xml, "userlist"));
  
  	if (gui.server_tree->current_path != NULL)
 
 --=-J4d/jkWyoVI4EcDojvdx--
 
Responsible-Changed-From-To: freebsd-ports-bugs->kwm 
Responsible-Changed-By: pav 
Responsible-Changed-When: Mon Dec 26 01:26:49 UTC 2005 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=90865 
Responsible-Changed-From-To: kwm->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Apr 14 23:27:05 UTC 2006 
Responsible-Changed-Why:  
Maintainer was reset. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=90865 
State-Changed-From-To: open->feedback 
State-Changed-By: pav 
State-Changed-When: Thu May 25 20:13:08 UTC 2006 
State-Changed-Why:  
Can you check if this is still relevant with xchat-gnome 0.11? 


Responsible-Changed-From-To: freebsd-ports-bugs->pav 
Responsible-Changed-By: pav 
Responsible-Changed-When: Thu May 25 20:13:08 UTC 2006 
Responsible-Changed-Why:  
Track 

http://www.freebsd.org/cgi/query-pr.cgi?pr=90865 

From: Joel Diaz <joeldiaz@nc.rr.com>
To: bug-followup@FreeBSD.org, joeldiaz@nc.rr.com
Cc:  
Subject: Re: ports/90865: xchat-gnome 0.5_1 crash on startup
Date: Thu, 25 May 2006 21:46:36 -0400

 It's fixed in 0.11.
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Fri May 26 08:24:14 UTC 2006 
State-Changed-Why:  
Reportedly fixed in 0.11 

http://www.freebsd.org/cgi/query-pr.cgi?pr=90865 
>Unformatted:
