From freddy@pegasus.dyndns.info  Fri Feb 20 09:54:43 2004
Return-Path: <freddy@pegasus.dyndns.info>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0828516A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Feb 2004 09:54:43 -0800 (PST)
Received: from pegasus.dyndns.info (unknown [195.179.188.60])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0BC9743D1D
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Feb 2004 09:54:42 -0800 (PST)
	(envelope-from freddy@pegasus.dyndns.info)
Received: from pegasus.dyndns.info (localhost [127.0.0.1])
	by pegasus.dyndns.info (8.12.10/8.12.10) with ESMTP id i1KHseSw010326
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Feb 2004 18:54:40 +0100 (CET)
	(envelope-from freddy@pegasus.dyndns.info)
Received: (from freddy@localhost)
	by pegasus.dyndns.info (8.12.10/8.12.10/Submit) id i1KHsdBs010325;
	Fri, 20 Feb 2004 18:54:39 +0100 (CET)
	(envelope-from freddy)
Message-Id: <200402201754.i1KHsdBs010325@pegasus.dyndns.info>
Date: Fri, 20 Feb 2004 18:54:39 +0100 (CET)
From: Frank Altpeter <frank@altpeter.de>
Reply-To: Frank Altpeter <frank@altpeter.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: print/lyx WITH_QT bus error
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         63144
>Category:       ports
>Synopsis:       print/lyx WITH_QT bus error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 20 10:00:33 PST 2004
>Closed-Date:    Sun Mar 28 07:56:26 PST 2004
>Last-Modified:  Sun Mar 28 07:56:26 PST 2004
>Originator:     Frank Altpeter
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD pegasus 4.9-STABLE FreeBSD 4.9-STABLE #16: Sun Feb 8 21:42:12 CET 2004 root@pegasus:/usr/obj/usr/src/sys/kernconf.pegasus i386


	
>Description:
	When compiling print/lyx with QT support (WITH_QT=YES), it
	happens to be almost unable to be used since most operations
	cause lyx to core dump with bus error.

>How-To-Repeat:
	First: Compile lyx with WITH_QT=YES (which depends on qt-3.2.3)
	Then: Start lyx on CLI with -h argument.

	freddy@pegasus:~ 0% lyx -h
	Wrong command line option `-h'. Exiting.
	rcmdsh: unknown user: $PjVc FX
	zsh: bus error (core dumped)  lyx -h
	freddy@pegasus:~ 138% 

	Same happens when you try to exit from an edited file, or trying
	to print a file, or ...

	When compiling without QT support, lyx is running fine (here).
>Fix:

	


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: thierry 
State-Changed-When: Sun Mar 28 02:17:47 PST 2004 
State-Changed-Why:  

Here lyx is built with QT, and everything runs well: 

ldd /usr/local/bin/lyx | grep qt 
libqt-mt.so.3 => /usr/X11R6/lib/libqt-mt.so.3 (0x285fa000) 

LC_ALL=C lyx -h 
Wrong command line option `-h'. Exiting. 

LC_ALL=C lyx -help 
Usage: lyx [ command line switches ] [ name.lyx ... ] 
Command line switches (case sensitive): 
-help              summarize LyX usage 
-userdir dir       try to set user directory to dir 
-sysdir dir        try to set system directory to dir 
-geometry WxH+X+Y  set geometry of the main window 
-dbg feature[,feature]... 
select the features to debug. 
Type `lyx -dbg' to see the list of features 
-x [--execute] command 
where command is a lyx command. 
-e [--export] fmt 
where fmt is the export format of choice. 
-i [--import] fmt file.xxx 
where fmt is the import format of choice 
and file.xxx is the file to be imported. 
-version        summarize version and build info 
Check the LyX man page for more details. 

Could you please check your dependencies, and try again? 


http://www.freebsd.org/cgi/query-pr.cgi?pr=63144 
State-Changed-From-To: feedback->closed 
State-Changed-By: thierry 
State-Changed-When: Sun Mar 28 07:55:20 PST 2004 
State-Changed-Why:  

From the submitter: the bug has been resolved by the last 
qt update from 3.2.3 to 3.3.1. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=63144 
>Unformatted:
