Typesetting files with bibliographies crashes LyX (Qt2) on Mac. Here's the backtrace. (Why path_posix_windows.cpp on Mac?)

Bennett

-------------

path_posix_windows.cpp:235: failed assertion `src.size() == std::strlen( src.c_str() )'

Program received signal SIGABRT, Aborted.
0x90047e4c in kill ()
(gdb) bt
#0  0x90047e4c in kill ()
#1  0x9012dff4 in abort ()
#2  0x001b45d4 in __eprintf () at insetbibitem.C:160
#3 0x001383b0 in boost::filesystem::path::m_path_append (this=0xbfffc580, [EMAIL PROTECTED], checker=0x137be4 <boost::filesystem::no_check(std::string const&)>) at /usr/include/ gcc/darwin/3.3/c++/bits/basic_string.h:901 #4 0x00137f60 in boost::filesystem::path::path (this=0xbfffc580, [EMAIL PROTECTED]) at path_posix_windows.cpp:203 #5 0x00155d04 in lyx::support::isFileReadable ([EMAIL PROTECTED]) at filetools.C:147 #6 0x00150110 in (anonymous namespace)::normalize_name ([EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]) at insetbibtex.C:116 #7 0x00150950 in InsetBibtex::latex (this=0x11597bd0, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]) at /usr/ include/gcc/darwin/3.3/c++/bits/stl_alloc.h:652 #8 0x000f424c in Paragraph::Pimpl::simpleTeXSpecialChars (this=0x11597ab0, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], c=1 '\001') at paragraph_pimpl.C:582 #9 0x000eeb5c in Paragraph::simpleTeXOnePar (this=0xe10f510, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]) at ../boost/ boost/shared_ptr.hpp:246 #10 0x000e6fe8 in (anonymous namespace)::TeXOnePar ([EMAIL PROTECTED], [EMAIL PROTECTED], pit={<_List_iterator_base> = {_M_node = 0xe10f508}, <No data fields>}, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]) at /usr/include/gcc/ darwin/3.3/c++/bits/stl_iterator_base_funcs.h:112 #11 0x000e7a88 in latexParagraphs ([EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]) at output_latex.C:528 #12 0x00043b88 in Buffer::makeLaTeXFile (this=0x11550f80, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], output_preamble=3221214288, output_body=9778832) at /usr/include/gcc/ darwin/3.3/c++/bits/stl_alloc.h:656 #13 0x00043144 in Buffer::makeLaTeXFile (this=0x11550f80, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], output_preamble=true, output_body=true) at buffer.C:818 #14 0x000766fc in Exporter::Export (buffer=0x11550f80, [EMAIL PROTECTED], put_in_tempdir=true, [EMAIL PROTECTED]) at exporter.C:215 #15 0x00077504 in Exporter::preview (buffer=0x11550f80, [EMAIL PROTECTED]) at exporter.C:273 #16 0x000ac228 in LyXFunc::dispatch (this=0xd94e280, [EMAIL PROTECTED]) at lyxfunc.C:842 #17 0x000a83c4 in LyXFunc::processKeySym (this=0xd94e280, keysym={px = 0x11538f90, pn = {pi_ = 0x115d8690}}, state=ctrl) at lyxfunc.C:331 #18 0x00009060 in BufferView::Pimpl::workAreaKeyPress (this=0xd94ea30, key=Cannot access memory at address 0x0
) at frontends/LyXView.h:83
#19 0x0000343c in BufferView::workAreaKeyPress (this=0x0, key=Cannot access memory at address 0x0
) at ../boost/boost/detail/sp_counted_base_gcc_ppc.hpp:167
#20 0x00420f90 in QContentPane::keyeventTimeout (this=0xd94efa0) at ../../../boost/boost/detail/sp_counted_base_gcc_ppc.hpp:167 #21 0x00522e70 in QContentPane::qt_invoke (this=0xd94efa0, _id=47, _o=0xbfffe740) at QContentPane_moc.C:91 #22 0x002782e4 in QObject::activate_signal () at ControlCommandBuffer.C:137 #23 0x002781cc in QObject::activate_signal () at ControlCommandBuffer.C:137
#24 0x003b50ec in QTimer::event () at GraphicsCacheItem.C:448
#25 0x0025db04 in QApplication::internalNotify () at /usr/include/gcc/ darwin/3.3/c++/bits/stl_alloc.h:656 #26 0x0025d6fc in QApplication::notify () at /usr/include/gcc/darwin/ 3.3/c++/bits/stl_alloc.h:656
#27 0x00424714 in QEventLoop::macHandleTimer () at QLPainter.C:250
#28 0x0028920c in QApplication::globalEventProcessor () at lcolorcache.C:47
#29 0x931d7794 in DispatchEventToHandlers ()
#30 0x931d6eec in SendEventToEventTargetInternal ()
#31 0x931d6d68 in SendEventToEventTargetWithOptions ()
#32 0x931de0c8 in ToolboxEventDispatcherHandler ()
#33 0x931d79e4 in DispatchEventToHandlers ()
#34 0x931d6eec in SendEventToEventTargetInternal ()
#35 0x931ddc8c in SendEventToEventTarget ()
#36 0x002889b0 in qt_mac_send_event () at lcolorcache.C:47
#37 0x00425624 in QEventLoop::processEvents () at QLPainter.C:250
#38 0x00404260 in QEventLoop::enterLoop () at GraphicsCacheItem.C:448
#39 0x0040414c in QEventLoop::exec () at GraphicsCacheItem.C:448
#40 0x0017b794 in lyx_gui::start ([EMAIL PROTECTED], [EMAIL PROTECTED]) at lyx_gui.C:277 #41 0x00097454 in LyX::priv_exec (this=0xd906e80, [EMAIL PROTECTED], argv=0xbffff83c) at lyx_main.C:287 #42 0x00095d94 in LyX::exec ([EMAIL PROTECTED], argv=0xbffff83c) at ../ boost/boost/scoped_ptr.hpp:93
#43 0x000024c0 in main (argc=1, argv=0xbffff83c) at main.C:47

Reply via email to