Dear Sirs,
I can reproduce any time:
1. start lyx1.5.0svn
2. create 1 section
3. Insert TOC
4. click on TOC inset
I have attached a small backtrace and some info about the compile.
Is it enough? What to do more?
Alex
uname -m = x86_64
uname -r = 2.6.13-15.12-default
uname -s = Linux
uname -v = #1 Thu Aug 24 11:23:58 UTC 2006
$ ./configure --prefix=/home/alex/lyx/bin/lyx150svn-qt
--with-frontend=qt4 --with-version-suffix=-150svn-qt
gcc (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux)
qt-x11-opensource-src-4.2.1
[EMAIL PROTECTED]:~/lyx/bin/lyx150svn-qt/bin> gdb ./lyx-150svn-qt
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-suse-linux"...Using host libthread_db
library "/lib64/tls/libthread_db.so.1".
(gdb) run
Starting program: /home/alex/lyx/bin/lyx150svn-qt/bin/lyx-150svn-qt
[Thread debugging using libthread_db enabled]
[New Thread 46912540981664 (LWP 30634)]
/usr/include/c++/4.0.2/debug/safe_iterator.h:127:error: attempt to copy-
construct an iterator from a singular iterator.
Objects involved in the operation:
iterator "this" @ 0x0x7fffff810d68 {
type =
N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPKN3lyx10TocBackend4ItemEN10__gnu_norm6vectorIS5_SaIS5_EEEEEN15__gnu_debug_def6vectorIS5_SA_EEEE
(constant iterator);
state = singular;
}
iterator "other" @ 0x0x7fffff810d90 {
type =
N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPKN3lyx10TocBackend4ItemEN10__gnu_norm6vectorIS5_SaIS5_EEEEEN15__gnu_debug_def6vectorIS5_SA_EEEE
(constant iterator);
state = singular;
}
Program received signal SIGABRT, Aborted.
[Switching to Thread 46912540981664 (LWP 30634)]
0x00002aaaad37543a in raise () from /lib64/tls/libc.so.6
(gdb) bt
#0 0x00002aaaad37543a in raise () from /lib64/tls/libc.so.6
#1 0x00002aaaad376870 in abort () from /lib64/tls/libc.so.6
#2 0x00002aaaacb007e5 in __gnu_debug::_Error_formatter::_M_error () from
/usr/lib64/libstdc++.so.6
#3 0x00000000008e4b6c in _Safe_iterator (this=0x7fffff810d68, [EMAIL
PROTECTED]) at safe_iterator.h:124
#4 0x0000000000cab7dc in __gnu_norm::map<QModelIndex,
__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<lyx::TocBackend::Item
const*, __gnu_norm::vector<lyx::TocBackend::Item,
std::allocator<lyx::TocBackend::Item> > >,
__gnu_debug_def::vector<lyx::TocBackend::Item,
std::allocator<lyx::TocBackend::Item> > >, std::less<QModelIndex>,
std::allocator<std::pair<QModelIndex const,
__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<lyx::TocBackend::Item
const*, __gnu_norm::vector<lyx::TocBackend::Item,
std::allocator<lyx::TocBackend::Item> > >,
__gnu_debug_def::vector<lyx::TocBackend::Item,
std::allocator<lyx::TocBackend::Item> > > > > >::operator[] (
this=<value optimized out>, [EMAIL PROTECTED]) at stl_pair.h:85
#5 0x0000000000caa48d in lyx::frontend::TocModel::populate (this=0x15050b0,
toc=<value optimized out>)
at TocModel.C:99
#6 0x0000000000caa938 in TocModel (this=0x15050b0, [EMAIL PROTECTED]) at
TocModel.C:34
#7 0x0000000000b96989 in lyx::frontend::QToc::update (this=0x159c1c0) at
QToc.C:145
#8 0x0000000000b96b60 in QToc (this=0x159c1c0, parent=<value optimized out>)
at QToc.C:38
#9 0x0000000000b20e64 in lyx::Dialogs::build (this=<value optimized out>,
[EMAIL PROTECTED])
at Dialogs.C:301
#10 0x0000000000af9e26 in lyx::Dialogs::find_or_build (this=0x14cfc40, [EMAIL
PROTECTED]) at Dialogs.C:89
#11 0x0000000000afa2df in lyx::Dialogs::show (this=0x14cfc40, [EMAIL
PROTECTED], [EMAIL PROTECTED],
inset=0x1537f20) at Dialogs.C:115
#12 0x0000000000b01a3c in lyx::LyXView::showInsetDialog (this=<value optimized
out>,
name=<value optimized out>, data=<value optimized out>, inset=<value
optimized out>) at LyXView.C:266
#13 0x0000000000b0c9a4 in
boost::detail::function::void_function_obj_invoker3<boost::_bi::bind_t<void,
boost::_mfi::mf3<void, lyx::LyXView, std::string const&, std::string const&,
lyx::InsetBase*>, boost::_bi::list4<boost::_bi::value<lyx::LyXView*>,
boost::arg<1> (*)(), boost::arg<2> (*)(), boost::arg<3> (*)()> >, void,
std::string, std::string, lyx::InsetBase*>::invoke (function_obj_ptr=<value
optimized out>, a0=<value optimized out>,
a1=<value optimized out>, a2=<value optimized out>) at
mem_fn_template.hpp:384
#14 0x00000000008daaf2 in boost::function3<void, std::string, std::string,
lyx::InsetBase*, std::allocator<void> >::operator() (this=0x14e6db8, [EMAIL
PROTECTED], a1=<value optimized out>, a2=0x1537f20)
at function_template.hpp:692
#15 0x00000000008db337 in boost::signal3<void, std::string, std::string,
lyx::InsetBase*, boost::last_value<void>, int, std::less<int>,
boost::function<void ()(std::string, std::string, lyx::InsetBase*),
std::allocator<void> > >::operator() (this=<value optimized out>, a1=<value
optimized out>, a2=<value optimized out>, a3=0x1537f20)
at signal_template.hpp:119
#16 0x00000000009f9d19 in lyx::MailInset::showDialog (this=0x7fffff8160f0,
bv=0x14e25c0) at mailinset.C:30
---Type <return> to continue, or q <return> to quit---
#17 0x0000000000a36b2a in lyx::InsetCommand::doDispatch (this=0x1537f20,
cur=<value optimized out>,
cmd=<value optimized out>) at insetcommand.C:122
#18 0x00000000009fe0c4 in lyx::InsetBase::dispatch (this=0x1537f20, [EMAIL
PROTECTED], [EMAIL PROTECTED])
at insetbase.C:132
#19 0x0000000000433792 in lyx::BufferView::workAreaDispatch (this=0x14e25c0,
cmd0=<value optimized out>)
at BufferView.C:1033
#20 0x0000000000b1975e in lyx::frontend::WorkArea::dispatch (this=0x14dae08,
[EMAIL PROTECTED])
at WorkArea.C:203
#21 0x0000000000bd17f5 in lyx::frontend::GuiWorkArea::mouseReleaseEvent
(this=0x14dade0, e=0x7fffff8169d0)
at GuiWorkArea.C:351
#22 0x00002aaaaad6ed81 in QWidget::event (this=0x14dade0, event=0x7fffff8169d0)
at qwidget.cpp:5576
#23 0x00002aaaaafcdfe9 in QFrame::event (this=<value optimized out>, e=<value
optimized out>) at qframe.cpp:633
#24 0x00002aaaab03651a in QAbstractScrollArea::viewportEvent (this=<value
optimized out>,
e=<value optimized out>) at qabstractscrollarea.cpp:841
#25 0x00002aaaab038aa8 in QAbstractScrollAreaFilter::eventFilter (this=<value
optimized out>,
o=<value optimized out>, e=<value optimized out>) at
qabstractscrollarea_p.h:78
#26 0x00002aaaaad2bf0e in QApplicationPrivate::notify_helper (this=<value
optimized out>, receiver=0x14dbcf0,
e=0x7fffff8169d0) at qapplication.cpp:3427
#27 0x00002aaaaad2f4a9 in QApplication::notify (this=<value optimized out>,
receiver=0x14dbcf0,
e=0x7fffff8169d0) at qapplication.cpp:3134
#28 0x00002aaaaad832c8 in QETWidget::translateMouseEvent (this=0x14dbcf0,
event=<value optimized out>)
at qcoreapplication.h:186
#29 0x00002aaaaad82829 in QApplication::x11ProcessEvent (this=0x3d,
event=0x7fffff816e60)
at qapplication_x11.cpp:2845
#30 0x00002aaaaada5632 in x11EventSourceDispatch (s=0x134d5a0, callback=0,
user_data=0x0)
at qguieventdispatcher_glib.cpp:122
#31 0x00002aaaab80754d in g_main_context_dispatch () from
/opt/gnome/lib64/libglib-2.0.so.0
#32 0x00002aaaab80a6ff in g_main_context_check () from
/opt/gnome/lib64/libglib-2.0.so.0
#33 0x00002aaaab80ab94 in g_main_context_iteration () from
/opt/gnome/lib64/libglib-2.0.so.0
#34 0x00002aaaab65b70b in QEventDispatcherGlib::processEvents (this=0x1330390,
flags=<value optimized out>)
at qeventdispatcher_glib.cpp:363
#35 0x00002aaaaada53ef in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>,
flags=<value optimized out>) at qguieventdispatcher_glib.cpp:178
#36 0x00002aaaab639618 in QEventLoop::processEvents (this=<value optimized
out>, flags=<value optimized out>)
at qeventloop.cpp:125
#37 0x00002aaaab63975c in QEventLoop::exec (this=0x7fffff8171c0, [EMAIL
PROTECTED]) at qeventloop.cpp:171
---Type <return> to continue, or q <return> to quit---
#38 0x00002aaaab63bbe4 in QCoreApplication::exec () at qcoreapplication.cpp:720
#39 0x0000000000ba748d in lyx::frontend::GuiApplication::exec (this=<value
optimized out>)
at GuiApplication.C:185
#40 0x0000000000af5c68 in lyx::frontend::Application::start (this=<value
optimized out>) at Application.C:78
#41 0x000000000071f239 in lyx::LyX::priv_exec (this=0x12a52f0, argc=<value
optimized out>,
argv=<value optimized out>) at lyx_main.C:349
#42 0x000000000071f4ae in lyx::LyX::exec ([EMAIL PROTECTED],
argv=0x7fffff817428) at lyx_main.C:170
#43 0x0000000000425ecd in main (argc=1, argv=0x7fffff817428) at main.C:46
(gdb)