On Wed, 22 Sep 2004, Jean-Marc Lasgouttes wrote:

> Jeremy> Using cvs from Sept. 16: This happened when I scrolled up:
>
> Jeremy> CoordCache: removing 0 arrays CoordCache: removing 1 insets
> Jeremy> Assertion triggered in char Paragraph::getChar(int) const by
> Jeremy> failing check "pos < int(text_.size())" in file
> Jeremy> paragraph.h:278 Aborted
>
> Jeremy> This happened several times when clicking "File -> Close" (I
> Jeremy> had other documents open by lyx too):
>
> Jeremy> CoordCache: removing 1 insets Assertion triggered in LyXText*
> Jeremy> DocIterator::innerText() const by failing check "!empty()" in
> Jeremy> file dociterator.C:246 Aborted
>
> It would be useful if you could run lyx under gdb and reproduce this
> problem. Then a backtrace would give us much more info.

Easy to reproduce. I have two documents open and I click File -> Close.

CoordCache: removing 0 arrays
CoordCache: removing 0 insets
Assertion triggered in LyXText* DocIterator::innerText() const by failing
check "!empty()" in file dociterator.C:246

Program received signal SIGABRT, Aborted.
[Switching to Thread 16384 (LWP 881)]
0x40d372a1 in __kill () from /usr/lib/libc.so.6
(gdb) bt
#0  0x40d372a1 in __kill () from /usr/lib/libc.so.6
#1  0x40b96167 in pthread_kill (thread=881, signo=6) at signals.c:65
#2  0x40b9643b in __pthread_raise (sig=6) at signals.c:187
#3  0x40d36f15 in *__GI_raise (sig=0)
    at ../linuxthreads/sysdeps/unix/sysv/linux/raise.c:32
#4  0x40d38364 in *__GI_abort () at ../sysdeps/generic/abort.c:88
#5  0x083dc260 in
boost::detail::function::functor_manager<boost::_bi::bind_t<void,
boost::_mfi::mf0<void, lyx::support::FileMonitor::Impl>,
boost::_bi::list1<boost::_bi::value<lyx::support::FileMonitor::Impl*> > >,
std::allocator<boost::function_base> >::manage ()
#6  0x080e18aa in
std::__uninitialized_copy_aux<__gnu_cxx::__normal_iterator<std::string
const*, std::vector<std::string, std::allocator<std::string> > >,
std::string*> ()
#7  0x0810eef1 in std::_Deque_iterator<int, int const&, int
const*>::_M_set_node ()
#8  0x0808f0b6 in std::__simple_alloc<int,
std::__default_alloc_template<true, 0> >::deallocate ()
#9  0x08271d76 in LyXView::autoSave ()
#10 0x082723fa in LyXView::autoSave ()
#11 0x08093af8 in operator new ()
#12 0x08092e42 in operator new ()
#13 0x0809dbfc in std::operator!=<char, std::char_traits<char>,
std::allocator<char> > ()
#14 0x0809d31d in std::operator!=<char, std::char_traits<char>,
std::allocator<char> > ()
#15 0x0809c8ca in std::operator!=<char, std::char_traits<char>,
std::allocator<char> > ()
#16 0x0809b76d in std::operator!=<char, std::char_traits<char>,
std::allocator<char> > ()
#17 0x0809d42e in std::operator!=<char, std::char_traits<char>,
std::allocator<char> > ()
#18 0x0809cabe in std::operator!=<char, std::char_traits<char>,
std::allocator<char> > ()
#19 0x0809ba38 in std::operator!=<char, std::char_traits<char>,
std::allocator<char> > ()
#20 0x0809a6c1 in std::operator!=<char, std::char_traits<char>,
std::allocator<char> > ()
#21 0x0809954a in std::operator!=<char, std::char_traits<char>,
std::allocator<char> > ()
#22 0x08098bf3 in std::operator!=<char, std::char_traits<char>,
std::allocator<char> > ()
#23 0x08097ab8 in std::max<int> ()
#24 0x080e22d9 in
std::__uninitialized_copy_aux<__gnu_cxx::__normal_iterator<std::string
const*, std::vector<std::string, std::allocator<std::string> > >,
std::string*> ()
#25 0x080eedcc in std::char_traits<char>::length ()
#26 0x080eef9f in std::char_traits<char>::length ()
#27 0x081482d3 in std::_Bit_const_iterator::operator* ()
#28 0x08141224 in std::_Bit_const_iterator::operator* ()
#29 0x082efcd4 in lyx::frontend::QtView::update_view_state ()
#30 0x0838ba23 in QPainter::drawPixmap ()
#31 0x08393a65 in lyx::frontend::QLPopupMenu::staticMetaObject ()
#32 0x40307ea5 in QObject::activate_signal (this=0x8670010,
clist=0x85fd1c0,
    o=0xbffff340) at kernel/qobject.cpp:2357
#33 0x40308217 in QObject::activate_signal (this=0x8670010, signal=2,
param=3)
    at kernel/qobject.cpp:2450
#34 0x4067275d in QPopupMenu::activated (this=0x8670010, t0=3)
    at .moc/release-shared-mt/moc_qpopupmenu.cpp:151
#35 0x404170a6 in QPopupMenu::actSig (this=0x8670010, id=3,
inwhatsthis=false)
    at widgets/qpopupmenu.cpp:723
#36 0x4041b7c7 in QPopupMenu::mouseReleaseEvent (this=0x8670010,
e=0xbffff710)
    at widgets/qpopupmenu.cpp:1688
#37 0x4033f781 in QWidget::event (this=0x8670010, e=0xbffff710)
    at kernel/qwidget.cpp:4673
#38 0x402a594b in QApplication::internalNotify (this=0x84bfc20,
    receiver=0x8670010, e=0xbffff710) at kernel/qapplication.cpp:2635
#39 0x402a510f in QApplication::notify (this=0x84bfc20,
receiver=0x8670010,
    e=0xbffff710) at kernel/qapplication.cpp:2421
#40 0x4023bd41 in QApplication::sendSpontaneousEvent (receiver=0x8670010,
    event=0xbffff710) at qapplication.h:494
#41 0x40234c22 in QETWidget::translateMouseEvent (this=0x8670010,
    event=0xbffffaa0) at kernel/qapplication_x11.cpp:4230
#42 0x40232b01 in QApplication::x11ProcessEvent (this=0x84bfc20,
    event=0xbffffaa0) at kernel/qapplication_x11.cpp:3439
#43 0x4024cfe0 in QEventLoop::processEvents (this=0x8603820, flags=4)
    at kernel/qeventloop_x11.cpp:192
#44 0x402b98fa in QEventLoop::enterLoop (this=0x8603820)
    at kernel/qeventloop.cpp:198
#45 0x402b9816 in QEventLoop::exec (this=0x8603820)
    at kernel/qeventloop.cpp:145
#46 0x402a5ac1 in QApplication::exec (this=0x84bfc20)
    at kernel/qapplication.cpp:2758
#47 0x082c1825 in QWidget::palette ()
#48 0x08131d8e in LyX::updateInset ()
#49 0x081313be in std::iterator<std::random_access_iterator_tag, char,
int, char*, char&>::iterator ()
#50 0x0808cf15 in ?? ()
#51 0xbffffd40 in ?? ()
#52 0xbffffd94 in ?? ()
#53 0xbffffd38 in ?? ()
#54 0x0808cf06 in ?? ()
#55 0x00000000 in ?? ()
#56 0x40e1ead8 in __DTOR_END__ () from /usr/lib/libc.so.6
#57 0xbffffd68 in ?? ()
#58 0x40d26511 in __libc_start_main (main=0x1, argc=-1073742444,
    ubp_av=0xbffffbd0, init=0x40d264df <__libc_start_main+171>, fini=0,
    rtld_fini=0xbffffbf0, stack_end=0x40b9bbc0)
    at ../sysdeps/generic/libc-start.c:152
Previous frame identical to this frame (corrupt stack?)
(gdb)


 Jeremy C. Reed

                         technical support & remote administration
                         http://www.pugetsoundtechnology.com/



Reply via email to