Bennett Helm wrote:
> With most recent 1.5svn, I get a crash on saving an existing  
> document. (It doesn't occur when saving a new document or saving-as a  
> new document, but it does occur when saving-as and overwriting an  
> existing document.)

I had a similar crash with 1.4.3svn today. It turned out that the reason was a 
non-existing backup directory, which I had in Preferences->Paths. Seems that 
boost::filesystem asserts when it has to copy a file to a non-existing 
directory. Backtrace is below.

Jürgen

SuSE Linux 10.0
gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)

Exception caught:
boost::filesystem::copy_file: "/home/juergen/uni/pub/textdesign-05/Master.lyx", 
"/home/juergen/test/chapterbib/!home!juergen!uni!pub!textdesign-05!Master.lyx~":
 
Datei oder Verzeichnis nicht gefunden
[File or directory not found]

Assertion triggered in void boost::throw_exception(const std::exception&) by 
failing check "false" in file boost.C:29
LyX: Versuche, das Dokument /home/juergen/uni/pub/textdesign-05/Master.lyx zu 
speichern...
  /home/juergen/uni/pub/textdesign-05/Master.lyx.emergency
  Speichern scheint gelungen zu sein. Glück gehabt!

Program received signal SIGABRT, Aborted.
[Switching to Thread 1088159072 (LWP 12025)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x40c08541 in raise () from /lib/tls/libc.so.6
#2  0x40c09dbb in abort () from /lib/tls/libc.so.6
#3  0x0836faf7 in lyx::support::abort () at abort.C:22
#4  0x080a7ca1 in boost::assertion_failed (expr=0x83bddd7 "false",
    function=0x83bf6a0 "void boost::throw_exception(const std::exception&)", 
file=0x83bf694 "boost.C", line=29) at boost.C:56
#5  0x080a7d60 in boost::throw_exception ([EMAIL PROTECTED]) at boost.C:29
#6  0x08382f7d in boost::filesystem::copy_file ([EMAIL PROTECTED],
    [EMAIL PROTECTED], noclobber=false) at fs_extras.C:125
#7  0x080b176c in Buffer::save (this=0x864f028) at buffer.C:706
#8  0x0810515f in MenuWrite (buffer=0x864f028) at lyx_cb.C:103
#9  0x0811b46b in LyXFunc::dispatch (this=0x853fe18, [EMAIL PROTECTED])
    at lyxfunc.C:813

Reply via email to