From andrew@areilly.bpa.nu  Sat Dec 29 09:39:24 2007
Return-Path: <andrew@areilly.bpa.nu>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 3BA6516A418
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 29 Dec 2007 09:39:24 +0000 (UTC)
	(envelope-from andrew@areilly.bpa.nu)
Received: from omta02ps.mx.bigpond.com (omta02ps.mx.bigpond.com [144.140.83.154])
	by mx1.freebsd.org (Postfix) with ESMTP id CF68813C45A
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 29 Dec 2007 09:39:23 +0000 (UTC)
	(envelope-from andrew@areilly.bpa.nu)
Received: from oaamta07ps.mx.bigpond.com ([124.188.162.219])
          by omta02ps.mx.bigpond.com with ESMTP
          id <20071229093922.ZXKB28980.omta02ps.mx.bigpond.com@oaamta07ps.mx.bigpond.com>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Sat, 29 Dec 2007 09:39:22 +0000
Received: from areilly.bpa.nu ([124.188.162.219])
          by oaamta07ps.mx.bigpond.com with ESMTP
          id <20071229093922.KIKM25013.oaamta07ps.mx.bigpond.com@areilly.bpa.nu>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Sat, 29 Dec 2007 09:39:22 +0000
Received: (qmail 2237 invoked by uid 501); 29 Dec 2007 09:39:06 -0000
Message-Id: <20071229093906.2236.qmail@areilly.bpa.nu>
Date: 29 Dec 2007 09:39:06 -0000
From: Andrew Reilly <areilly@bigpond.net.au>
Reply-To: Andrew Reilly <areilly@bigpond.net.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: AbiWord fails to start (problem with gnome_program_init) on 7-STABLE/amd64
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         119127
>Category:       ports
>Synopsis:       editores/AbiWord fails to start (problem with gnome_program_init) on 7-STABLE/amd64
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 29 09:40:02 UTC 2007
>Closed-Date:    Sun Dec 30 23:46:51 UTC 2007
>Last-Modified:  Wed Jan 02 03:13:15 UTC 2008
>Originator:     Andrew Reilly
>Release:        FreeBSD 7.0-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD duncan.reilly.home 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #5: Sat Dec 29 13:00:47 EST 2007 root@duncan:/usr/obj/usr/src/sys/DUNCAN amd64


	AMD Athlon64-X2 with 1G RAM
>Description:
	AbiWord compiled from ports on my system (cleanly) does
	not run (even to handle command line flags).
	Compiled with debugging enabled, it stops with the
	single error message:
	DEBUG: SEVIOR: Building menus and toolbars 

	Run under gdb, it shows a SIGSEGV generated by the first
	created thread.  See this gdb stack trace:
(gdb) run
Starting program: /usr/local/bin/AbiWord-2.4 
[New LWP 100172]
[New Thread 0x808701120 (LWP 100172)]
DEBUG: SEVIOR: Building menus and toolbars 

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x808701120 (LWP 100172)]
0x0000000805c75570 in strchr () from /lib/libc.so.7
(gdb) where
#0  0x0000000805c75570 in strchr () from /lib/libc.so.7
#1  0x0000000802ea751d in IA__g_param_spec_pool_lookup (pool=0x808751720, 
    param_name=0x800000000 <Error reading address 0x800000000: Bad address>, 
    owner_type=34501668800, walk_ancestors=1) at gparam.c:765
#2  0x0000000802ea4860 in IA__g_object_new_valist (object_type=34501668800, 
    first_property_name=0x0, var_args=0x7fffffffe1d0) at gobject.c:998
#3  0x0000000803c488e9 in gnome_program_init_common (type=34501668800, 
    app_id=0x900499 "AbiWord-2.4", app_version=0x900493 "2.4.6", 
    module_info=0x58, argc=1, argv=0x7fffffffe498, 
    first_property_name=0x900488 "app-prefix", args=0x7fffffffe1d0, 
    nparams=-1, params=0x0) at gnome-program.c:2046
#4  0x0000000803c489cd in gnome_program_initv (type=Variable "type" is not available.
) at gnome-program.c:2099
#5  0x0000000803c48ac4 in gnome_program_init (app_id=0x900499 "AbiWord-2.4", 
    app_version=0x900493 "2.4.6", module_info=0x803826580, argc=1, 
    argv=0x7fffffffe498, first_property_name=0x900488 "app-prefix")
    at gnome-program.c:1878
#6  0x000000000053e8cb in AP_UnixApp::main (szAppName=0x8f79ad "AbiWord", 
    argc=1, argv=0x7fffffffe498) at ap_UnixApp.cpp:1408
#7  0x0000000000538840 in main (argc=1, argv=0x7fffffffe498) at UnixMain.cpp:26
(gdb) 

    For what it's worth, I've blown away any gnome configurations that
    looked like they belonged to previous versions of abiword (which ran
    fine under FreeBSD-6).

>How-To-Repeat:
	Build (on my system); run.
>Fix:

        Sorry, no idea.  Happy to report any other system
        peculiarities, if that helps.


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: marcus 
State-Changed-When: Sun Dec 30 23:46:32 UTC 2007 
State-Changed-Why:  
Fixed in 2.4.6_3. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/119127: commit references a PR
Date: Sun, 30 Dec 2007 23:46:33 +0000 (UTC)

 marcus      2007-12-30 23:46:29 UTC
 
   FreeBSD ports repository
 
   Modified files:
     editors/abiword      Makefile 
   Added files:
     editors/abiword/files patch-src_wp_ap_unix_ap_UnixApp.cpp 
   Log:
   Use an explicit (void *)0 instead of NULL to indicate a varargs sentinel.
   This fixes the runtime on 64-bit platforms since since C++ treats NULL as
   simply 0.
   
   PR:             119127
   
   Revision  Changes    Path
   1.126     +1 -1      ports/editors/abiword/Makefile
   1.3       +11 -0     ports/editors/abiword/files/patch-src_wp_ap_unix_ap_UnixApp.cpp (new)
 _______________________________________________
 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:
