After Richard fix I get an assertion.

Assertion triggered in lyx::RGBColor lyx::rgbFromHexName(const std::string&) 
by failing check "x11hexname.size() == 7 && x11hexname[0] == '#'" infile 
Color.cpp:80

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb7fd3940 (LWP 9744)]
0x00110416 in __kernel_vsyscall ()
(gdb) bt
#0  0x00110416 in __kernel_vsyscall ()
#1  0x00626420 in raise () from /lib/libc.so.6
#2  0x00627de8 in abort () from /lib/libc.so.6
#3  0x080eb282 in lyx::LyX::exit (this=0xbfdf6350, exit_code=1) at LyX.cpp:196
#4  0x080897b3 in boost::assertion_failed (expr=0x884355c "x11hexname.size() 
== 7 && x11hexname[0] == '#'",
    function=0x8844320 "lyx::RGBColor lyx::rgbFromHexName(const 
std::string&)", file=0x8842f43 "Color.cpp", line=80) at boost.cpp:48
#5  0x080b3911 in lyx::rgbFromHexName ([EMAIL PROTECTED]) at Color.cpp:80
#6  0x080d1151 in lyx::LaTeXFeatures::getPackages (this=0xbfdf2970) at 
LaTeXFeatures.cpp:636
#7  0x080998e8 in lyx::BufferParams::writeLaTeX (this=0xa76d060, 
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED])
    at BufferParams.cpp:1216
#8  0x0823df66 in lyx::Buffer::writeLaTeXSource (this=0xa76d030, 
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED],
    output_preamble=true, output_body=false) at Buffer.cpp:1114
#9  0x0877d233 in lyx::graphics::PreviewLoader::Impl::dumpPreamble 
(this=0xabb5a08, [EMAIL PROTECTED]) at graphics/PreviewLoader.cpp:689
#10 0x087883e6 in lyx::graphics::PreviewLoader::Impl::startLoading 
(this=0xabb5a08) at graphics/PreviewLoader.cpp:578
#11 0x087895d9 in lyx::graphics::PreviewLoader::startLoading (this=0xab8f2c0) 
at graphics/PreviewLoader.cpp:300
#12 0x08792fbf in lyx::graphics::Previews::generateBufferPreviews 
(this=0x8aa8398, [EMAIL PROTECTED]) at graphics/Previews.cpp:97
#13 0x0826bc01 in BufferView (this=0xabb5378, [EMAIL PROTECTED]) at 
BufferView.cpp:270
#14 0x08575881 in GuiWorkArea (this=0xabb43e0, [EMAIL PROTECTED], 
[EMAIL PROTECTED]) at GuiWorkArea.cpp:194
#15 0x0857601e in lyx::frontend::TabWorkArea::addWorkArea (this=0xaba34f8, 
[EMAIL PROTECTED], [EMAIL PROTECTED]) at GuiWorkArea.cpp:1130
#16 0x08553d84 in lyx::frontend::GuiView::addWorkArea (this=0xa5fbb70, 
[EMAIL PROTECTED]) at GuiView.cpp:716
#17 0x085548ae in lyx::frontend::GuiView::setBuffer (this=0xa5fbb70, 
newBuffer=0xa76d030) at GuiView.cpp:849
#18 0x08554f23 in lyx::frontend::GuiView::loadDocument (this=0xa5fbb70, 
[EMAIL PROTECTED], tolastfiles=false) at GuiView.cpp:1092
#19 0x0853c3f3 in 
std::__cxx1998::for_each<__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<lyx::support::FileName
 
const*, std::__norm::vector<lyx::support::FileName, 
std::allocator<lyx::support::FileName> > >, 
std::__debug::vector<lyx::support::FileName, 
std::allocator<lyx::support::FileName> > >, boost::_bi::bind_t<lyx::Buffer*, 
boost::_mfi::mf2<lyx::Buffer*, lyx::frontend::GuiView, lyx::support::FileName 
const&, bool>, boost::_bi::list3<boost::_bi::value<lyx::frontend::GuiView*>, 
boost::arg<1> (*)(), boost::_bi::value<bool> > > > (__first=
        {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xbfdf4744, 
_M_version = 139707379, _M_prior = 0x200202, _M_next = 0x73}, _M_current= 
{_M_current = 0x7b}}, __last=
        {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xbfdf4730, 
_M_version = 265, _M_prior = 0x0, _M_next = 0xa5fbb70}, _M_current = 
{_M_current = 0xbfdf4800}}, __f=
            {f_ = {f_ = &virtual table offset 264}, l_ = 
{<boost::_bi::storage3<boost::_bi::value<lyx::frontend::GuiView*>, 
boost::arg<1> (*)(), boost::_bi::value<bool> >> = 
{<boost::_bi::storage2<boost::_bi::value<lyx::frontend::GuiView*>, 
boost::arg<1> (*)()>> = 
{<boost::_bi::storage1<boost::_bi::value<lyx::frontend::GuiView*> >> = {a1_ = 
{t_ = 0xa5fbb70}}, <No data fields>}, a3_ = {t_ = false}}, <No data 
fields>}})
    at ../../../boost/boost/bind/mem_fn_template.hpp:274
#20 0x0853868d in lyx::frontend::GuiApplication::restoreGuiSession 
(this=0xa59d9c8) at GuiApplication.cpp:390
#21 0x080ea595 in lyx::LyX::execBatchCommands (this=0xbfdf6350) at LyX.cpp:625
#22 0x08531459 in lyx::frontend::GuiApplication::execBatchCommands 
(this=0xa59d9c8) at GuiApplication.cpp:375
#23 0x085327bd in lyx::frontend::GuiApplication::qt_metacall (this=0xa59d9c8, 
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfdf4adc)
    at GuiApplication_moc.cpp:70
#24 0x0032a30a in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#25 0x0032abf2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#26 0x0032fd17 in ?? () from /usr/lib/libQtCore.so.4
#27 0x0032fd5c in ?? () from /usr/lib/libQtCore.so.4
#28 0x00326925 in QObject::event () from /usr/lib/libQtCore.so.4
#29 0x07421040 in QApplicationPrivate::notify_helper () 
from /usr/lib/libQtGui.so.4
#30 0x07426fa9 in QApplication::notify () from /usr/lib/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
#31 0x08531a36 in lyx::frontend::GuiApplication::notify (this=0xa59d9c8, 
receiver=0xa696d00, event=0xbfdf53e8) at GuiApplication.cpp:465
#32 0x003188fb in QCoreApplication::notifyInternal () 
from /usr/lib/libQtCore.so.4
#33 0x0033c1bd in ?? () from /usr/lib/libQtCore.so.4
#34 0x00339920 in ?? () from /usr/lib/libQtCore.so.4
#35 0x00a68098 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x00a6b743 in ?? () from /lib/libglib-2.0.so.0
#37 0x00a6b901 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x00339e88 in QEventDispatcherGlib::processEvents () 
from /usr/lib/libQtCore.so.4
#39 0x0749aa05 in ?? () from /usr/lib/libQtGui.so.4
#40 0x00317e21 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#41 0x00317f2c in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#42 0x0031a2ea in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#43 0x07420647 in QApplication::exec () from /usr/lib/libQtGui.so.4
#44 0x085314a2 in lyx::frontend::GuiApplication::exec (this=0xa59d9c8) at 
GuiApplication.cpp:363
#45 0x080f510b in lyx::LyX::exec (this=0xbfdf6350, [EMAIL PROTECTED], 
argv=0xbfdf6404) at LyX.cpp:447
#46 0x0806e64d in main (argc=1, argv=Cannot access memory at address 0x2614
) at main.cpp:46
-- 
José Abílio

Reply via email to