Am 16.03.2011 16:41, schrieb Stephan Witt:
Sorry, I cannot reproduce it on Mac with SVN.
It looks like the message strings and/or the file name gets corrupted. Look at the file name in the window title of the attached screen shot.
Eventually LyX asserts withlassert.cpp(21): ASSERTION contains(fmt, from_ascii("%1$s")) VIOLATED IN lstrings.cpp:1329
Here is a partial backtrace (it is an endless loop). The error might happen at some different place, though.
#0 std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_construct<__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<char const*, std::__norm::vector<char, std::allocator<char> > >, std::__debug::vector<char> > > (__beg=..., __end=
..., __a=...) at /usr/include/c++/4.5/bits/basic_string.tcc:128#1 0x089eb327 in _S_construct_aux<__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<char const*, std::__norm::vector<char, std::allocator<char> > >, std::__debug::vector<char> > > (this=0xaf53c098, __beg=..., __end=..., __a=...)
at /usr/include/c++/4.5/bits/basic_string.h:1649#2 _S_construct<__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<char const*, std::__norm::vector<char, std::allocator<char> > >, std::__debug::vector<char> > > (
this=0xaf53c098, __beg=..., __end=..., __a=...) at /usr/include/c++/4.5/bits/basic_string.h:1670#3 std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<char const*, std::__norm::vector<char, std::allocator<char> > >, std::__debug::vector<char> > > (this=0xaf53c098, __beg=..., __end=..., __a=...) at /usr/include/c++/4.5/bits/basic_string.tcc:229
#4 0x089e78e5 in lyx::to_utf8 (ucs4=...) at docstring.cpp:108 #5 0x089e320d in lyx::operator<< (l=..., t=...) at debug.cpp:233#6 0x080f6563 in lyx::Buffer::emergencyWrite (this=0xb442608) at Buffer.cpp:1131
#7 0x0814074c in lyx::BufferList::emergencyWriteAll (this=0x8e01368) at BufferList.cpp:228 #8 0x082504dd in lyx::emergencyCleanup () at LyX.cpp:893 #9 0x0825058d in lyx::lyx_exit (exit_code=1) at LyX.cpp:232 ---Type <return> to continue, or q <return> to quit--- #10 0x080e7f78 in boost::assertion_failed (expr=0x8b01879 "false", function=0x8bf8080 "void lyx::doAssert(const char*, const char*, long int)", file=
0x8bf804c "lassert.cpp", line=23) at boost.cpp:47 #11 0x08a1b09f in lyx::doAssert (expr=0x8bf8140 "contains(fmt, from_ascii(\"%1$s\"))", file=0x8bf8216 "lstrings.cpp",
line=1329) at lassert.cpp:23#12 0x08a2004b in lyx::support::bformat<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > (fmt=..., arg1=...) at lstrings.cpp:1329 #13 0x080f65f5 in lyx::Buffer::emergencyWrite (this=0xb442608) at Buffer.cpp:1134
#14 0x0814074c in lyx::BufferList::emergencyWriteAll (this=0x8e01368) at BufferList.cpp:228 #15 0x082504dd in lyx::emergencyCleanup () at LyX.cpp:893 Jürgen
<<attachment: lyx.png>>