I decided to try again the table of contents (which was always
disabled), and now it crashes LyX with file Intro.lyx.

Backtrace follows. If I look at frame 2, lfun_name_ is not initialized
correctly:

(gdb) frame 2
#2  0x08b0ee5f in lyx::frontend::ControlCommand::initialiseParams (
    this=0x93489f0, [EMAIL PROTECTED])
    at ../../../../lyx-devel/src/frontends/controllers/ControlCommand.C:35
35              InsetCommandMailer::string2params(lfun_name_, data, params_);
(gdb) p lfun_name_
$4 = {static npos = 4294967295,
  _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = 
{<No data fields>}, <No data fields>}, _M_p = 0x0}}


JMarc

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1221152096 (LWP 25504)]
operator!=<char, std::char_traits<char>, std::allocator<char> > (
    [EMAIL PROTECTED], [EMAIL PROTECTED]) at basic_string.h:265
265           { return &((reinterpret_cast<_Rep*> (_M_data()))[-1]); }
(gdb) bt
#0  operator!=<char, std::char_traits<char>, std::allocator<char> > (
    [EMAIL PROTECTED], [EMAIL PROTECTED]) at basic_string.h:265
#1  0x0875aab7 in lyx::InsetCommandMailer::string2params ([EMAIL PROTECTED],
    [EMAIL PROTECTED], [EMAIL PROTECTED])
    at ../../../lyx-devel/src/insets/insetcommand.C:201
#2  0x08b0ee5f in lyx::frontend::ControlCommand::initialiseParams (
    this=0x93489f0, [EMAIL PROTECTED])
    at ../../../../lyx-devel/src/frontends/controllers/ControlCommand.C:35
#3  0x08b56934 in lyx::frontend::ControlToc::initialiseParams (this=0x9343218,
    [EMAIL PROTECTED])
    at ../../../../lyx-devel/src/frontends/controllers/ControlToc.C:54
#4  0x08a79e25 in lyx::frontend::Dialog::show (this=0x93450a0,
    [EMAIL PROTECTED])
    at ../../../../lyx-devel/src/frontends/controllers/Dialog.C:80
#5  0x088759b0 in lyx::Dialogs::show (this=0x9093ff8, [EMAIL PROTECTED],
    [EMAIL PROTECTED], inset=0x93489f0)
    at ../../../lyx-devel/src/frontends/Dialogs.C:118
#6  0x0841a10a in lyx::LyXFunc::dispatch (this=0x8fbb460, [EMAIL PROTECTED])
    at LyXView.h:139
#7  0x083ebeb9 in lyx::dispatch ([EMAIL PROTECTED])
    at ../../lyx-devel/src/lyx_main.C:1451
#8  0x08889fd4 in lyx::LyXView::dispatch (this=0x90939ac, [EMAIL PROTECTED])
    at ../../../lyx-devel/src/frontends/LyXView.C:441
#

Reply via email to