From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Mar 12 19:50:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E2E46EED for ; Wed, 12 Mar 2014 19:50:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BF915957 for ; Wed, 12 Mar 2014 19:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2CJo0M5066544 for ; Wed, 12 Mar 2014 19:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2CJo05s066543; Wed, 12 Mar 2014 19:50:00 GMT (envelope-from gnats) Resent-Date: Wed, 12 Mar 2014 19:50:00 GMT Resent-Message-Id: <201403121950.s2CJo05s066543@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Denver Hull Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 36A38DEB for ; Wed, 12 Mar 2014 19:48:18 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 22CF6945 for ; Wed, 12 Mar 2014 19:48:18 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2CJmHPj053780 for ; Wed, 12 Mar 2014 19:48:17 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2CJmHYf053779; Wed, 12 Mar 2014 19:48:17 GMT (envelope-from nobody) Message-Id: <201403121948.s2CJmHYf053779@cgiserv.freebsd.org> Date: Wed, 12 Mar 2014 19:48:17 GMT From: Denver Hull To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/187506: SEGV when printing with qcad on amd64 system X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Mar 2014 19:50:01 -0000 >Number: 187506 >Category: ports >Synopsis: SEGV when printing with qcad on amd64 system >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: Wed Mar 12 19:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Denver Hull >Release: 9.2 >Organization: >Environment: FreeBSD dhbsd.comcast.net 9.2-STABLE FreeBSD 9.2-STABLE #0 r262221: Wed Feb 19 13:45:52 CST 2014 root@dhbsd:/usr/obj/usr/src/sys/DHULL amd64 >Description: The current version of cad/qcad, 3.4.6.0, will exit with a SEGV when attempting to print a drawing or export to PDF. This happens on amd64 but not on i386. In fact, if built in a i386 chroot (like wine) it will work on the same amd64 system where it fails if built natively. This has been a problem for at least the last few versions, and possibly longer. >How-To-Repeat: 1. Build and install cad/qcad on an amd64 system 2. Start it up 3. In the file menu select either "Print" or "PDF Export" - you don't have to actually create a drawing 4. If you selected "PDF Export" then follow the prompts for the file to save 5. qcad will exit with a SEGV >Fix: This is not a very easy work around, but cad/qcad can be built as a 32 bit application on an amd64 system, pretty much like one would do for emulators/wine. You have to set up a 32 bit chroot, build and install it there, then fix up all the symbolic links that get created with absolute paths. After all that you need to specify an appropriate LD_32_LIBRARY_PATH each time you want to run qcad. But it will work that way. >Release-Note: >Audit-Trail: >Unformatted: