Jürgen Spitzmüller wrote:
Abdelrazak Younes wrote:
backtrace?
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47702543013056 (LWP 24788)]
lyx::InsetCommandMailer::string2params ([EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED]) at /usr/include/c++/4.1.2/bits/basic_string.h:591
591 { return _M_rep()->_M_length; }
(gdb) bt
#0 lyx::InsetCommandMailer::string2params ([EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED])
at /usr/include/c++/4.1.2/bits/basic_string.h:591
#1 0x0000000000c5f8c3 in lyx::frontend::ControlCommand::initialiseParams (
this=<value optimized out>, [EMAIL PROTECTED]) at ControlCommand.C:35
#2 0x0000000000c92810 in lyx::frontend::ControlToc::initialiseParams (
this=0x7fff124878d0, [EMAIL PROTECTED]) at ControlToc.C:54
I wonder why data is suddenly wrong whereas it is fine there:
#3 0x0000000000c0d42e in lyx::frontend::Dialog::show (this=0x1f7a1b0,
[EMAIL PROTECTED]) at Dialog.C:80
I suspect a gcc bug here... please copy data to a temporary data2 here
and pass it to ControlCommand::initialiseParams(). If there is no crash
gcc is at fault here. Maybe we've reached the maximum number of const
reference allowable?
Abdel.
#4 0x0000000000a36e13 in lyx::Dialogs::show (this=0x1477020,
[EMAIL PROTECTED], [EMAIL PROTECTED], inset=0x0) at Dialogs.C:118
#5 0x00000000006f3085 in lyx::LyXFunc::dispatch (this=0x141d8d0,
[EMAIL PROTECTED]) at lyxfunc.C:1102
#6 0x00000000006bf364 in lyx::dispatch ([EMAIL PROTECTED]) at lyx_main.C:1450
#7 0x0000000000a3ebb6 in lyx::LyXView::dispatch (this=0x15e2098,
[EMAIL PROTECTED]) at LyXView.C:441
#8 0x0000000000bf830f in lyx::frontend::Action::action (
this=<value optimized out>) at Action.C:98
#9 0x0000000000bf834a in lyx::frontend::Action::qt_metacall (this=0x1f5b670,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=<value optimized out>)
at Action_moc.cpp:64
#10 0x00002b629a99b45b in QMetaObject::activate (sender=0x1f5b670,
from_signal_index=5, to_signal_index=6, argv=0x1f8e7d8)
---Type <return> to continue, or q <return> to quit---
at kernel/qobject.cpp:2940
#11 0x00002b629899d897 in QAction::triggered (this=0x7fff124878d0, _t1=false)
at .moc/release-shared/moc_qaction.cpp:208
#12 0x00002b629899e33d in QAction::activate (this=0x1f5b670,
event=<value optimized out>) at kernel/qaction.cpp:1070
#13 0x00002b6298c629d0 in QMenuPrivate::activateAction (this=0x15378b0,
action=0x1f5b670, action_e=QAction::Trigger) at widgets/qmenu.cpp:751
#14 0x00002b62989e8178 in QWidget::event (this=0x1537fa0,
event=0x7fff1248a700)
at kernel/qwidget.cpp:5698
#15 0x00002b6298c6024b in QMenu::event (this=0x1537fa0, e=0x7fff1248a700)
at widgets/qmenu.cpp:1896
#16 0x00002b62989a353c in QApplicationPrivate::notify_helper (this=0x1421b20,
receiver=0x1537fa0, e=0x7fff1248a700) at kernel/qapplication.cpp:3434
#17 0x00002b62989a5ad1 in QApplication::notify (this=0x1423290,
receiver=0x1537fa0, e=0x7fff1248a700) at kernel/qapplication.cpp:3133
#18 0x00002b62989f8151 in QETWidget::translateMouseEvent (this=0x1537fa0,
event=<value optimized out>)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:186
#19 0x00002b62989f672a in QApplication::x11ProcessEvent (this=0x136,
event=0x7fff1248abd0) at kernel/qapplication_x11.cpp:2850
#20 0x00002b6298a17e65 in x11EventSourceDispatch (s=0x1429af0, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:122
#21 0x00002b629ac5df94 in g_main_context_dispatch ()
---Type <return> to continue, or q <return> to quit---
from /opt/gnome/lib64/libglib-2.0.so.0
#22 0x00002b629ac60dc5 in g_main_context_prepare ()
from /opt/gnome/lib64/libglib-2.0.so.0
#23 0x00002b629ac612ee in g_main_context_iteration ()
from /opt/gnome/lib64/libglib-2.0.so.0
#24 0x00002b629a9abc30 in QEventDispatcherGlib::processEvents (this=0x1427910,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:363
#25 0x00002b6298a17c7f in QGuiEventDispatcherGlib::processEvents (
this=0x7fff124878d0, flags=<value optimized out>)
at kernel/qguieventdispatcher_glib.cpp:178
#26 0x00002b629a98a6b8 in QEventLoop::processEvents (
this=<value optimized out>, flags=<value optimized out>)
at kernel/qeventloop.cpp:126
#27 0x00002b629a98a7c9 in QEventLoop::exec (this=0x7fff1248af50,
[EMAIL PROTECTED]) at kernel/qeventloop.cpp:172
#28 0x00002b629a98c9c0 in QCoreApplication::exec ()
at kernel/qcoreapplication.cpp:727
#29 0x0000000000ae1c09 in lyx::frontend::GuiApplication::exec (
this=<value optimized out>) at GuiApplication.C:152
#30 0x00000000006cda78 in lyx::LyX::exec (this=0x7fff1248c160,
argc=<value optimized out>, argv=<value optimized out>) at lyx_main.C:462
#31 0x0000000000429fef in main (argc=1, argv=0x7fff1248c278) at main.C:48
Jürgen