Jürgen Spitzmüller <[EMAIL PROTECTED]> writes:

>Does it crash on any file or only on specific files? If the latter, do these
>files contain something specufic, such as a branch inset?

It crash on a simple beamer lyx file (just a frame and an item, no text with
branches, no notes, nothing particular, just a branch defined in Document
Settings and activated)

>Also, running the command in gdb to produce a backtrance would help.

Here you have:
% gdb lyx
GNU gdb 6.4-debian
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...Using host libthread_db library
"/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) run :0 -e pdf2 test.lyx
Starting program: /usr/local/bin/lyx :0 -e pdf2 test.lyx
[Thread debugging using libthread_db enabled]
[New Thread -1220835648 (LWP 15502)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1220835648 (LWP 15502)]
0x0806f7a9 in lyx::Branch::Branch ()
(gdb) bt
#0  0x0806f7a9 in lyx::Branch::Branch ()
#1  0x0806fa77 in lyx::BranchList::add ()
#2  0x0809bbdf in lyx::BufferParams::readToken ()
#3  0x0807d741 in lyx::Buffer::readHeader ()
#4  0x0807deb5 in lyx::Buffer::readDocument ()
#5  0x0807f38c in lyx::Buffer::readFile ()
#6  0x0807fceb in lyx::Buffer::readFile ()
#7  0x0808b899 in lyx::(anonymous namespace)::readFile ()
#8  0x0808c1d1 in lyx::loadLyXFile ()
#9  0x08143079 in lyx::LyX::loadFiles ()
#10 0x08150465 in lyx::LyX::exec ()
#11 0x08067614 in main ()

I have played around a little bit and I can confirm that independently of the
document class everytime the document has a branch defined at Document Settings
(activated or not) the export from the command line fails. However File->
Export-> PDF (pdflatex) it works.


>
>Jürgen

Thanks Jurgen
Best regards
PS Sorry for the delay but yesterday gmane were down

Reply via email to