Re: bug using lyx-1.5.2 export at the command line?

2007-10-14 Thread Oscar Lopez
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



Re: bug using lyx-1.5.2 export at the command line?

2007-10-14 Thread Jürgen Spitzmüller
Oscar Lopez wrote:
 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.

I see. This bug has been fixed in the meantime (for forthcoming 1.5.3):
http://bugzilla.lyx.org/show_bug.cgi?id=4255

Jürgen


Re: bug using lyx-1.5.2 export at the command line?

2007-10-14 Thread Oscar Lopez
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



Re: bug using lyx-1.5.2 export at the command line?

2007-10-14 Thread Jürgen Spitzmüller
Oscar Lopez wrote:
 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.

I see. This bug has been fixed in the meantime (for forthcoming 1.5.3):
http://bugzilla.lyx.org/show_bug.cgi?id=4255

Jürgen


Re: bug using lyx-1.5.2 export at the command line?

2007-10-14 Thread Oscar Lopez
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



Re: bug using lyx-1.5.2 export at the command line?

2007-10-14 Thread Jürgen Spitzmüller
Oscar Lopez wrote:
> 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.

I see. This bug has been fixed in the meantime (for forthcoming 1.5.3):
http://bugzilla.lyx.org/show_bug.cgi?id=4255

Jürgen


Re: bug using lyx-1.5.2 export at the command line?

2007-10-13 Thread Jürgen Spitzmüller
Oscar Lopez wrote:
 Hello

 When I try to export a pdf file using the command line at my linux box the
 I get the following message
 % lyx -e pdf2 file.lyx
 lyx: SIGSEGV signal caught
 Sorry, you have found a bug in LyX. Please read the bug-reporting
 instructions in Help-Introduction and send us a bug report, if necessary.
 Thanks !

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?

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

Jürgen


Re: bug using lyx-1.5.2 export at the command line?

2007-10-13 Thread Jürgen Spitzmüller
Oscar Lopez wrote:
 Hello

 When I try to export a pdf file using the command line at my linux box the
 I get the following message
 % lyx -e pdf2 file.lyx
 lyx: SIGSEGV signal caught
 Sorry, you have found a bug in LyX. Please read the bug-reporting
 instructions in Help-Introduction and send us a bug report, if necessary.
 Thanks !

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?

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

Jürgen


Re: bug using lyx-1.5.2 export at the command line?

2007-10-13 Thread Jürgen Spitzmüller
Oscar Lopez wrote:
> Hello
>
> When I try to export a pdf file using the command line at my linux box the
> I get the following message
> % lyx -e pdf2 file.lyx
> lyx: SIGSEGV signal caught
> Sorry, you have found a bug in LyX. Please read the bug-reporting
> instructions in Help->Introduction and send us a bug report, if necessary.
> Thanks !

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?

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

Jürgen


bug using lyx-1.5.2 export at the command line?

2007-10-12 Thread Oscar Lopez
Hello 

When I try to export a pdf file using the command line at my linux box the I get
the following message 
% lyx -e pdf2 file.lyx
lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting instructions
in Help-Introduction and send us a bug report, if necessary. Thanks !
Bye.

Does anybody experience the same problem? Is this a know bug?

If it helps I compiled the tar.gz file and 
% lyx --version
LyX 1.5.2 (Fri, Oct 5, 2007)
Built on Oct 10 2007, 18:21:05
Configuration
  Host type:i686-pc-linux-gnu
  Special build flags:  aiksaurus pch  use-aspell use-ispell
  C   Compiler: gcc
  C   Compiler LyX flags:
  C   Compiler flags: -O2
  C++ Compiler: g++ (4.0.3)
  C++ Compiler LyX flags:
  C++ Compiler flags: -O2
  Linker flags:
  Linker user flags:
  Qt 4 Frontend:
  Qt 4 version: 4.1.2
  Packaging:posix
  LyX binary dir:   /usr/local/bin
  LyX files dir:/usr/local/share/lyx



Thanks for your help
Best regards




bug using lyx-1.5.2 export at the command line?

2007-10-12 Thread Oscar Lopez
Hello 

When I try to export a pdf file using the command line at my linux box the I get
the following message 
% lyx -e pdf2 file.lyx
lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting instructions
in Help-Introduction and send us a bug report, if necessary. Thanks !
Bye.

Does anybody experience the same problem? Is this a know bug?

If it helps I compiled the tar.gz file and 
% lyx --version
LyX 1.5.2 (Fri, Oct 5, 2007)
Built on Oct 10 2007, 18:21:05
Configuration
  Host type:i686-pc-linux-gnu
  Special build flags:  aiksaurus pch  use-aspell use-ispell
  C   Compiler: gcc
  C   Compiler LyX flags:
  C   Compiler flags: -O2
  C++ Compiler: g++ (4.0.3)
  C++ Compiler LyX flags:
  C++ Compiler flags: -O2
  Linker flags:
  Linker user flags:
  Qt 4 Frontend:
  Qt 4 version: 4.1.2
  Packaging:posix
  LyX binary dir:   /usr/local/bin
  LyX files dir:/usr/local/share/lyx



Thanks for your help
Best regards




bug using lyx-1.5.2 export at the command line?

2007-10-12 Thread Oscar Lopez
Hello 

When I try to export a pdf file using the command line at my linux box the I get
the following message 
% lyx -e pdf2 file.lyx
lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting instructions
in Help->Introduction and send us a bug report, if necessary. Thanks !
Bye.

Does anybody experience the same problem? Is this a know bug?

If it helps I compiled the tar.gz file and 
% lyx --version
LyX 1.5.2 (Fri, Oct 5, 2007)
Built on Oct 10 2007, 18:21:05
Configuration
  Host type:i686-pc-linux-gnu
  Special build flags:  aiksaurus pch  use-aspell use-ispell
  C   Compiler: gcc
  C   Compiler LyX flags:
  C   Compiler flags: -O2
  C++ Compiler: g++ (4.0.3)
  C++ Compiler LyX flags:
  C++ Compiler flags: -O2
  Linker flags:
  Linker user flags:
  Qt 4 Frontend:
  Qt 4 version: 4.1.2
  Packaging:posix
  LyX binary dir:   /usr/local/bin
  LyX files dir:/usr/local/share/lyx



Thanks for your help
Best regards