There is something really strange going on. I am trying to debug the problem for half an hour now as it also shows up on my machine. The layoutlist_ containter looks fine before the "cit = begin()" call in TextClass::read. But when I step into the begin() function suddenly the start value of the layoutlist_ container turns into 0x0. More precisely in TextClass::read tells me that layoutlist_::P_impl is at 0xbffff0c8. In the begin() call though it is shown at 0xbffff0e8 where the 0x0 is. This either smells like a compiler error or some memory corruption.

Stefan

Am 16.05.2007 um 13:42 schrieb Leuven, E.:

with attached doc.

backtrace:

tex2lyx.exe!boost::assertion_failed(const char * expr=0x005b6c44, const char * function=0x005b6c50, const char * file=0x005b6cc0, long line=315) Line 39 + 0x8 bytes C++ tex2lyx.exe!boost::shared_ptr<lyx::Layout>::operator->() Line 315 + 0x23 bytes C++ > tex2lyx.exe!lyx::TextClass::read(const lyx::support::FileName & filename={...}, bool merge=false) Line 455 + 0x12 bytes C++ tex2lyx.exe!lyx::parse_preamble(lyx::Parser & p={...}, std::basic_ostream<char,std::char_traits<char> > & os={...}, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & forceclass="") Line 502 C++ tex2lyx.exe!lyx::`anonymous namespace'::tex2lyx (std::basic_istream<char,std::char_traits<char> > & is={...}, std::basic_ostream<char,std::char_traits<char> > & os={...}) Line 428 + 0x3e bytes C++ tex2lyx.exe!lyx::`anonymous namespace'::tex2lyx(const lyx::support::FileName & infilename={...}, std::basic_ostream<char,std::char_traits<char> > & os={...}) Line 462 + 0x10 bytes C++ tex2lyx.exe!lyx::tex2lyx(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & infilename="C:/_projects/profs3/internal.tex", const lyx::support::FileName & outfilename={...}) Line 494 + 0x38 bytes C++ tex2lyx.exe!main(int argc=2, char * * argv=0x003d52f8) Line 554 + 0x35 bytes C++
        tex2lyx.exe!__tmainCRTStartup()  Line 586 + 0x19 bytes  C
        tex2lyx.exe!mainCRTStartup()  Line 403  C
        kernel32.dll!7c816fd7()

<internal.tex>

Attachment: PGP.sig
Description: Signierter Teil der Nachricht

Reply via email to