Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 2010 01:46:01 +0100 (CET)
From:      Oliver Adler <bug_reporter@a999.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/142801: [patch] ports print/scribus (scribus-1.3.3.13_1) dumps core during import of text
Message-ID:  <20100114004601.E810B372E6@mail.a999.de>
Resent-Message-ID: <201001140110.o0E1A3Nf045071@freefall.freebsd.org>

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

>Number:         142801
>Category:       ports
>Synopsis:       [patch] ports print/scribus (scribus-1.3.3.13_1) dumps core during import of text
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 14 01:10:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Adler
>Release:        FreeBSD 8.0-RC1 i386
>Organization:
>Environment:
System: FreeBSD fbsd8_rc1_extern.a999.de 8.0-RC1 FreeBSD 8.0-RC1 #0: Thu Sep 17 20:45:19 UTC 2009     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386


	
>Description:
	Due to wrong arguments to the linker during compilation of port,
	references of plugins are not satisfied.
	Errors look like this and eventually scribus dumps core:
	Cannot find plugin: /usr/local/lib/scribus/plugins//libsvgimplugin.so: Undefined symbol "_ZN8ScPlugin19newPrefsPanelWidgetEP7QWidgetRP10PrefsPanelR7QStringR7QPixmap"
>How-To-Repeat:
	1. start scribus from xterm
	2. select Single Page in New Document dialog
	3. Activate Automatic Text Frames in New Document dialog
	4. Press OK in New Document dialog
	5. Click in middle of text area 
	6. Select File->Import->Get Text
	7. In Open dialog choose some small ASCII file
	8. During text import scribus crashes with core dump
	   
>Fix:

	I searched the internet and found the following link: 
	http://bugs.scribus.net/print_bug_page.php?bug_id=6897 which
	tells us to add the Linkerflag "-E" during compile.
	I tried this and attached a patch which fixes the problem


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



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