Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2000 10:29:07 -0700 (PDT)
From:      jose@we.lc.ehu.es
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/20066: xfig crashes with SIGSEGV when built with XFree86 4.0.1
Message-ID:  <20000720172907.7DE8637B5E2@hub.freebsd.org>

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

>Number:         20066
>Category:       ports
>Synopsis:       xfig crashes with SIGSEGV when built with XFree86 4.0.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 20 10:30:02 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Jose M. Alcaide
>Release:        4.1-RC
>Organization:
Universidad del Pais Vasco
>Environment:
FreeBSD v-ger.we.lc.ehu.es 4.1-RC FreeBSD 4.1-RC #0: Mon Jul 17 15:55:17 CEST 2000     toor@v-ger.we.lc.ehu.es:/usr/src/sys/compile/V-GER  i386
>Description:
Xfig 3.2.3a crashes with a segmentation violation when it has been
built with XFree86-4: this occurs when trying to pull down any menu.
Here is the gdb backtrace:

Starting program: /usr/ports/graphics/xfig/work/xfig.3.2.3a/xfig 

Program received signal SIGSEGV, Segmentation fault.
0x283aaf45 in strlen () from /usr/lib/libc.so.4
(gdb) where
#0  0x283aaf45 in strlen () from /usr/lib/libc.so.4
#1  0x81d52e4 in ?? ()
#2  0x281bf3ed in Redisplay () from /usr/X11R6/lib/libXaw3d.so.7
#3  0x28231bb7 in SendExposureEvent () from /usr/X11R6/lib/libXt.so.6
#4  0x28231818 in CompressExposures () from /usr/X11R6/lib/libXt.so.6
#5  0x2823150c in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
#6  0x282320ee in _XtDefaultDispatcher () from /usr/X11R6/lib/libXt.so.6
#7  0x282324f3 in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
#8  0x2823287b in XtAppMainLoop () from /usr/X11R6/lib/libXt.so.6
#9  0x808e9a2 in main (argc=1, argv=0xbfbff9e0) at main.c:1478
#10 0x804cf11 in _start ()

However, if I install on the same machine an xfig package built on
another system with XFree86 3.3.6, it works fine. Note that this
binary is using the XFree86 4.0.1's dynamic libraries.
>How-To-Repeat:
In a system with XFree86 4.0.1 installed, build graphics/xfig (and
x11-toolkits/Xaw3d). Start xfig and try to pull down the "File" menu.
Boom.
>Fix:
None known. Since an xfig built with XFree86 3.3.6 works fine
when runs on a system with XFree86 4.0.1, I think that there is
a problem with some header file of XFree86 4.0.1 or Xaw3d 1.5.

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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