This is repeatable (with any lyx file) and is not architecture
dependant. I did this on both Sun Solaris and Linux i{5,6}86.

Backtrace follows:

(gdb) run  --export ps /net/home/kayvan/foo.lyx
Starting program: /usr/bin/lyxgdb --export ps /net/home/kayvan/foo.lyx
About to handle -x 'buffer-export ps'
Converting from  latex to dvi
Running latex 
 
Program received signal SIGSEGV, Segmentation fault.
0x80c87a7 in LyXFunc::Dispatch (this=0x0, ac=252, 
    do_not_use_this_arg=@0xbffff63c) at lyxfunc.C:589
589             errorstat = false;
(gdb) where
#0  0x80c87a7 in LyXFunc::Dispatch (this=0x0, ac=252, 
    do_not_use_this_arg=@0xbffff63c) at lyxfunc.C:589
#1  0x806cbc7 in LaTeX::run (this=0xbffff6c0, terr=@0xbffff6e0, lfun=0x0)
    at LaTeX.C:177
#2  0x80a6240 in Converters::runLaTeX (this=0x841fb80, buffer=0x84549f8, 
    command=@0xbffff88c) at converter.C:829
#3  0x80a3402 in Converters::Convert (this=0x841fb80, buffer=0x84549f8, 
    from_file=@0xbffff934, to_file_base=@0xbffff938, from_format=@0xbffff978, 
    to_format=@0xbffffa88, to_file=@0xbffff9c8) at converter.C:590
#4  0x80a92be in Exporter::Export (buffer=0x84549f8, format=@0xbffffa88, 
    put_in_tempdir=false, result_file=@0xbffff9c8) at exporter.C:85
#5  0x80a98ab in Exporter::Export (buffer=0x84549f8, format=@0xbffffa88, 
    put_in_tempdir=false) at exporter.C:101
#6  0x8099863 in Buffer::Dispatch (this=0x84549f8, action=195, 
    argument=@0xbffffa88) at buffer.C:3843
#7  0x8099728 in Buffer::Dispatch (this=0x84549f8, command=@0xbffffba0)
    at buffer.C:3834
#8  0x80bc491 in LyX::LyX (this=0xbffffb94, argc=0xbffffbe0, argv=0xbffffc24)
    at ../src/lyx_main.C:151
#9  0x80e0f67 in main (argc=2, argv=0xbffffc24) at ../src/main.C:40
(gdb) 

Reply via email to