When I try to compile the following testcase from bugzilla:
http://bugzilla.lyx.org/attachment.cgi?id=1416&action=view
I get an assert:

Assertion triggered in lyx::support::FileName::FileName(const std::string&) by 
failing check "!contains(name_, '\\')" in file filename.C:48
LyX: Attempting to save document /home/juergen/test/3117-2.lyx
  /home/juergen/test/3117-2.lyx.emergency
  Save seems successful. Phew.

I couldn't reproduce it with another file. I guess the reason is the LaTeX 
error produced by this file.

Backtrace:

#0  0x00002b5425b84535 in raise () from /lib64/libc.so.6
#1  0x00002b5425b85990 in abort () from /lib64/libc.so.6
#2  0x0000000000cc813d in lyx::support::abort () at abort.C:25
#3  0x0000000000540f2f in boost::assertion_failed (
    expr=0xe7f548 "!contains(name_, '\\\\')",
    function=0xe7f9a0 "lyx::support::FileName::FileName(const std::string&)",
    file=0xe7f529 "filename.C", line=48) at boost.C:56
#4  0x0000000000cde513 in FileName (this=0x7fff895f5910,
    abs_filename=<value optimized out>) at filename.C:48
#5  0x0000000000ce335e in lyx::support::makeAbsPath (
    relPath=<value optimized out>, [EMAIL PROTECTED]) at 
filetools.C:527
#6  0x00000000004bbbee in lyx::(anonymous namespace)::handleFoundFile (
    ff=<value optimized out>, [EMAIL PROTECTED]) at LaTeX.C:756
#7  0x00000000004bcd92 in lyx::LaTeX::deplog (this=0x7fff895f6770,
    [EMAIL PROTECTED]) at LaTeX.C:854
#8  0x00000000004bdf75 in lyx::LaTeX::run (this=0x7fff895f6770,
    [EMAIL PROTECTED]) at LaTeX.C:269
#9  0x00000000005e83fa in lyx::Converters::runLaTeX (
    this=<value optimized out>, [EMAIL PROTECTED], [EMAIL PROTECTED],
    [EMAIL PROTECTED], [EMAIL PROTECTED]) at converter.C:607
#10 0x00000000005ea4c6 in lyx::Converters::convert (this=0x1408768,
    buffer=0x159a510, from_file=<value optimized out>,
    [EMAIL PROTECTED], [EMAIL PROTECTED],
---Type <return> to continue, or q <return> to quit---
    [EMAIL PROTECTED], [EMAIL PROTECTED],
    [EMAIL PROTECTED], conversionflags=0) at converter.C:386
#11 0x0000000000629549 in lyx::Exporter::Export (buffer=0x159a510,
    [EMAIL PROTECTED], put_in_tempdir=true, [EMAIL PROTECTED])
    at exporter.C:226
#12 0x000000000062b2b9 in lyx::Exporter::preview (buffer=0x5c09,
    [EMAIL PROTECTED]) at exporter.C:283
#13 0x00000000006de37d in lyx::LyXFunc::dispatch (this=0x1408610,
    [EMAIL PROTECTED]) at lyxfunc.C:913
#14 0x00000000006b74f8 in lyx::dispatch ([EMAIL PROTECTED]) at lyx_main.C:1441
#15 0x0000000000a2bfd6 in lyx::LyXView::dispatch (this=0x14c04e8,
    [EMAIL PROTECTED]) at LyXView.C:426
#16 0x0000000000bf124b in lyx::frontend::Action::action (
    this=<value optimized out>) at Action.C:95

Jürgen

Reply via email to