From sgk@troutmask.apl.washington.edu  Fri May 25 17:26:01 2007
Return-Path: <sgk@troutmask.apl.washington.edu>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id C29F816A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 25 May 2007 17:26:01 +0000 (UTC)
	(envelope-from sgk@troutmask.apl.washington.edu)
Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105])
	by mx1.freebsd.org (Postfix) with ESMTP id A851F13C44B
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 25 May 2007 17:26:01 +0000 (UTC)
	(envelope-from sgk@troutmask.apl.washington.edu)
Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1])
	by troutmask.apl.washington.edu (8.14.1/8.13.8) with ESMTP id l4PHOhW2044517;
	Fri, 25 May 2007 10:24:43 -0700 (PDT)
	(envelope-from sgk@troutmask.apl.washington.edu)
Received: (from sgk@localhost)
	by troutmask.apl.washington.edu (8.14.1/8.13.8/Submit) id l4PHOd3A044516;
	Fri, 25 May 2007 10:24:39 -0700 (PDT)
	(envelope-from sgk)
Message-Id: <200705251724.l4PHOd3A044516@troutmask.apl.washington.edu>
Date: Fri, 25 May 2007 10:24:39 -0700 (PDT)
From: Steve Kargl <sgk@troutmask.apl.washington.edu>
Reply-To: Steve Kargl <sgk@troutmask.apl.washington.edu>
To: FreeBSD-gnats-submit@freebsd.org
Cc: kargl@troutmask.apl.washington.edu
Subject: nedit broken by either xorg-7.2 or gcc-4.2 imports
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         112999
>Category:       ports
>Synopsis:       editors/nedit broken by either xorg-7.2 or gcc-4.2 imports
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    steve
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 25 17:30:02 GMT 2007
>Closed-Date:    Wed Aug 27 22:14:51 UTC 2008
>Last-Modified:  Wed Aug 27 22:20:01 UTC 2008
>Originator:     Steve Kargl
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
apl/uw
>Environment:
FreeBSD mobile.kargl.org 7.0-CURRENT FreeBSD 7.0-CURRENT #5: Wed May 23 20:11:01 PDT 2007     kargl@mobile.kargl.org:/usr/obj/usr/src/sys/MOBILE  i386

>Description:

mobile:kargl[201] nedit txt
Segmentation fault (core dumped)

(gdb) bt
#0  0x282af7e2 in _XmGetWidgetExtData () from /usr/X11R6/lib/libXm.so.3
#1  0x282b75e7 in _XmImRealize () from /usr/X11R6/lib/libXm.so.3
#2  0x282bf4fc in Realize () from /usr/X11R6/lib/libXm.so.3
#3  0x282af891 in RealizeWrapper () from /usr/X11R6/lib/libXm.so.3
#4  0x2841175f in RealizeWidget () from /usr/X11R6/lib/libXt.so.6
#5  0xbfbfd9b8 in ?? ()
#6  0xbfbfd96c in ?? ()
#7  0x00000000 in ?? ()
#8  0x28178000 in ?? ()
#9  0xbfbfd984 in ?? ()
#10 0x2814f617 in dladdr () from /libexec/ld-elf.so.1
Previous frame inner to this frame (corrupt stack?)

Note, /usr/X11R6 is symlinked to /usr/local as per ports/UPDATING
for the xorg-7.2 import.


>How-To-Repeat:

Install nedit and try to edit a file.

>Fix:

	


>Release-Note:
>Audit-Trail:

From: Steve Kargl <sgk@troutmask.apl.washington.edu>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc:  
Subject: Re: ports/112999: nedit broken by either xorg-7.2 or gcc-4.2 imports
Date: Fri, 25 May 2007 10:47:24 -0700

 On Fri, May 25, 2007 at 05:30:02PM +0000, FreeBSD-gnats-submit@FreeBSD.org wrote:
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=112999
 > 
 > >Category:       ports
 > >Responsible:    freebsd-ports-bugs
 > >Synopsis:       nedit broken by either xorg-7.2 or gcc-4.2 imports
 > >Arrival-Date:   Fri May 25 17:30:02 GMT 2007
 
 The fix appears to be that open-motif needs to be built
 with -fno-strict-aliasing in the CFLAGS.
 
 --- Makefile.orig       Fri May 25 10:46:39 2007
 +++ Makefile    Fri May 25 10:29:30 2007
 @@ -21,6 +21,8 @@
  
  RUN_DEPENDS=   imake:${X_IMAKE_PORT}
  
 +CFLAGS+=-fno-strict-aliasing
 +
  USE_AUTOTOOLS= libtool:15
  CONFLICTS=     lesstif-*
  USE_X_PREFIX=  yes
 
 -- 
 Steve
Responsible-Changed-From-To: freebsd-ports-bugs->deischen 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri May 25 22:22:38 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112999 
Responsible-Changed-From-To: deischen->steve 
Responsible-Changed-By: deischen 
Responsible-Changed-When: Sun Jun 3 06:18:10 UTC 2007 
Responsible-Changed-Why:  
Submitter states that this is an open-motif problem.  Reassign to open-motif 
maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112999 
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Tue Jul 10 15:50:29 UTC 2007 
State-Changed-Why:  
Closed at submitter's request. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112999 
State-Changed-From-To: closed->open 
State-Changed-By: linimon 
State-Changed-When: Wed Jul 11 22:22:29 UTC 2007 
State-Changed-Why:  
Although submitter has lost interest in this one, on second examination 
it sounds as though it might still be a problem, so reopen. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112999 
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Wed Aug 27 22:14:14 UTC 2008 
State-Changed-Why:  
Patch from Steve Kargl submitted.  Thanks. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/112999: commit references a PR
Date: Wed, 27 Aug 2008 22:14:20 +0000 (UTC)

 steve       2008-08-27 22:14:06 UTC
 
   FreeBSD ports repository
 
   Modified files:
     x11-toolkits/open-motif Makefile 
   Log:
   Keep ports depending on the Motif libraries from crashing on 7.x.
   
   PR:             112999, 117626
   Submitted by:   sgk@troutmask.apl.washington.edu
   
   Revision  Changes    Path
   1.45      +1 -0      ports/x11-toolkits/open-motif/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
