From owner-freebsd-questions Wed Oct 1 02:27:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA01672 for questions-outgoing; Wed, 1 Oct 1997 02:27:27 -0700 (PDT) Received: from ns0.eris.dera.gov.uk (ns0.eris.dera.gov.uk [128.98.1.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id CAA01667 for ; Wed, 1 Oct 1997 02:27:23 -0700 (PDT) Received: (qmail 26867 invoked from network); 1 Oct 1997 08:29:05 -0000 Received: from mail-relay.eris.dera.gov.uk (128.98.2.2) by ns0.eris.dera.gov.uk with SMTP; 1 Oct 1997 08:29:05 -0000 Received: (qmail 8470 invoked by alias); 1 Oct 1997 08:30:39 -0000 Received: (qmail 5084 invoked from network); 1 Oct 1997 08:30:39 -0000 Received: from wandle.eris.dera.gov.uk (HELO wandle.dra.hmg.gb) (128.98.3.36) by mail-relay.eris.dera.gov.uk with SMTP; 1 Oct 1997 08:30:39 -0000 Received: from rivers.dra.hmg.gb by wandle.dra.hmg.gb with smtp(Smail3.1.28.1 #64) id m0xGK9V-0005kAC; Wed, 1 Oct 97 09:29 WET DST To: freebsd-questions@freebsd.org Subject: Re: LyX Segmentation Fault (core dumped) X-Disclaimer: This message contains the author's opinion only. It should not be taken as the position of DERA unless stated explicitly. References: <199709302205.SAA26219@tower.my.domain> Mime-Version: 1.0 (generated by tm-edit 7.100) Content-Type: text/plain; charset=US-ASCII From: Steve Folkes In-Reply-To: User Gp's message of "Tue, 30 Sep 1997 18:05:06 -0400" X-Mailer: Gnus v5.5/Emacs 19.34 Date: Wed, 01 Oct 1997 09:28:55 +0100 Message-ID: <301.17435.875694535@rivers.dra.hmg.gb> Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk User Gp writes: >>> I guess the subject line about says it. I have current as of 9/24 and >>> pkg_add-ed lyx-0.10.7 from packages-current, but when I type lyx, I always get >>> "Segmentation fault (core dumped)". Anyone have any ideas how to fix this? I don't know how relevant this is (I'm running 2.2.1-RELEASE), but I had problems with LyX that resulted in it core-dumping (I was compiling my own version rather than using the package). The problem turned out to be with the Xforms library - the interface had changed incompatibly: The version that came in the package was 0.86, with the following prototype that caused problems: extern int fl_show_question(const char *, int); The version that I used that worked was 0.81, with the following prototype: extern int fl_show_question(const char *, const char *, const char *); The fix involved forcing it to compile using the header and shared library for 0.81. I suspect that your problem might be that the wrong shared library is being picked up (then again ...). Hope that is of some use, - Steve. -- Steve Folkes, N137, DERA Malvern, St Andrews Rd, Malvern, Worcs. WR14 3PS. UK. Tel: +44 1684 895649; Fax: +44 1684 894303; Email: smf@rivers.dra.hmg.gb