Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jan 2006 11:46:15 -0800 (PST)
From:      "Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/92223: xfig dumps core
Message-ID:  <200601231946.k0NJkF9K044533@troutmask.apl.washington.edu>
Resent-Message-ID: <200601232020.k0NKK6oE027973@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         92223
>Category:       ports
>Synopsis:       xfig dumps core
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 23 20:20:06 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Steven G. Kargl
>Release:        FreeBSD 7.0-CURRENT amd64
>Organization:
APL/UW
>Environment:
System: FreeBSD troutmask.apl.washington.edu 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Jan 19 13:50:25 PST 2006 kargl@troutmask.apl.washington.edu:/usr/obj/usr/src/sys/SPEW amd64


	
>Description:

xfig dumps core when trying to insert a picture.

>How-To-Repeat:

Install FreeBSD-current on an AMD64 system after jemalloc was
introduced into libc.  Compile and install xfig.  Start xfig
and try to insert figure.

>Fix:

The problem is a missing header file in w_drawprim.c where new_string
is prototyped.

--- w_drawprim.c.orig   Mon Jan 23 11:45:22 2006
+++ w_drawprim.c        Mon Jan 23 11:45:40 2006
@@ -35,6 +35,7 @@
 #include "paintop.h"
 #include "mode.h"
 #include "object.h"
+#include "u_create.h"
 #include "u_fonts.h"
 #include "w_canvas.h"
 #include "w_drawprim.h"


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601231946.k0NJkF9K044533>