Subject: pkg/19432: bbappconf segfault - patch
To: None <gnats-bugs@gnats.netbsd.org>
From: Anthony Mallet <anthony.mallet@useless-ficus.net>
List: netbsd-bugs
Date: 12/17/2002 23:17:46
>Number:         19432
>Category:       pkg
>Synopsis:       bbappconf segfault - patch
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 17 14:18:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Anthony Mallet
>Release:        NetBSD 1.6E
>Organization:
>Environment:
	
	
System: NetBSD ficus 1.6E NetBSD 1.6E (FICUS) #6: Sat Aug 17 16:11:10 CEST 2002 troot@ficus:/home/src/netbsd-current/sys/arch/i386/compile/FICUS i386
Architecture: i386
Machine: i386
>Description:

My bbappconf started to segfault at startup when I upgraded to
XFree-current (not xsrc). The patch is so simple that I think it should
be integrated into the package, even though XFree-current is not supposed
to be supported :)

(the patch is to be applied in
pkgsrc/misc/bbappconf/work/bbappconf-0.0.1-peak3, as usual)
>How-To-Repeat:

>Fix:
--- resource.cc~	Tue Dec 17 23:00:07 2002
+++ resource.cc	Tue Dec 17 23:05:33 2002
@@ -23,6 +23,7 @@
 #include "blackboxstyle.hh"
 
 Resource::Resource(ToolWindow *toolwindow): BaseResource(toolwindow) {
+  frame.font = NULL;
   Load();
 }
>Release-Note:
>Audit-Trail:
>Unformatted: