[bt-devel] Bibletime crashes

Martin Gruner bt-devel@crosswire.org
Wed, 26 Sep 2001 23:33:45 +0200


Hi Holger,

is it KJV only?

Martin

> I have bibletime and sword installed from CVS. However, when I double
> click on KJV, then Bibletime crashes. The backtrace does not speak too
> much, I guess the stack is quite mixed up by something:
>
> 0x40e4e8c9 in ?? ()
> #0  0x40e4e8c9 in ?? ()
> #1  0x40027975 in ?? ()
> #2  0x40614cd7 in ?? ()
> #3  <signal handler called>
> #4  0xfe90a58d in ?? ()
> #5  0x40d1d85e in ?? ()
> #6  0x0 in ?? ()
>
> Note how weird this look, althought both sword, qt and bibletime have
> been compiled with -g ...  and "file bibletime" show's me not stripped
> (I also get a good backtrace when I set a breakpoint somewhere or
> singlestep a little bit into the program).
>
>
> I also started bibletime with --debug, here is the output from the
> double click on "Bibles" (first line) to "KJV" (second line to end):
>
> (BibleTime 1.1pre) Debug: CGroupManager::contentsMouseDoubleClickEvent
> ( QMouseEvent * e)
> (BibleTime 1.1pre) Debug: constructor of CModuleCHooserBar
> (BibleTime 1.1pre) Debug: CModuleChooserButton::CModuleCHooserButton
> (BibleTime 1.1pre) Debug: CModuleChooserButton::CModuleCHooserButton
> (BibleTime 1.1pre) WARNING: ASSERT: "m_charsetMap" in qrichtext.cpp
> (1251)
> (BibleTime 1.1pre) Debug: CHTMLWidget::initColors()
> (BibleTime 1.1pre) Debug: CHTMLWidget::installAnchorMenu( QPopupMenu*
> anchorMenu )
> (BibleTime 1.1pre) Debug: CSwordPresenter::focusInEvent( QFocusEvent* e
> )
> (BibleTime 1.1pre) WARNING: CSwordPresenter::polish()
> (BibleTime 1.1pre) WARNING: CBiblePresenter::initAccels()
> (BibleTime 1.1pre) WARNING: CSwordPresenter::initAccels()
> KCrash: crashing.... crashRecursionCounter = 2
> KCrash: Application Name = bibletime path = <unknown> pid = 11600
>
>
> Now, when I set a breakpoint at CSwordPresenter::initAccels() then I
> get the following backtrace:
>
> #0  CSwordPresenter::initAccels (this=0x826b538) at
> cswordpresenter.cpp:195
> #1  0x8091f98 in CBiblePresenter::initAccels (this=0x826b538) at
> cbiblepresenter.cpp:357
> #2  0x8097e91 in CSwordPresenter::polish (this=0x826b538) at
> cswordpresenter.cpp:206
> #3  0x4091642b in QWidget::show (this=0x826b538) at
> kernel/qwidget.cpp:3310
> #4  0x409802e4 in QMainWindow::show (this=0x826b538) at
> widgets/qmainwindow.cpp:2199
> #5  0x4091658b in QWidget::show (this=0x8294498) at
> kernel/qwidget.cpp:3322
> #6  0x40a8ad68 in QWorkspace::maximizeWindow (this=0x8233050,
> w=0x826b538)
>     at workspace/qworkspace.cpp:1061
> #7  0x40a8fdf9 in QWorkspaceChild::eventFilter (this=0x8294498,
> o=0x826b538, e=0xbfffedc4)
>     at workspace/qworkspace.cpp:2110
> #8  0x408d1d08 in QObject::activate_filters (this=0x826b538,
> e=0xbfffedc4) at kernel/qobject.cpp:764
> #9  0x40917484 in QWidget::event (this=0x826b538, e=0xbfffedc4) at
> kernel/qwidget.cpp:3867
> #10 0x40980b49 in QMainWindow::event (this=0x826b538, e=0xbfffedc4) at
> widgets/qmainwindow.cpp:2360
> #11 0x40893f17 in QApplication::notify (this=0xbffff908,
> receiver=0x826b538, event=0xbfffedc4)
>     at kernel/qapplication.cpp:1687
> #12 0x40580e41 in KApplication::notify () from
> /usr/src/kde/lib/libkdecore.so.3
> #13 0x4091f5bc in QApplication::sendEvent (receiver=0x826b538,
> event=0xbfffedc4)
>     at kernel/qapplication.h:397
> #14 0x4088b6e9 in QWidget::showMaximized (this=0x826b538) at
> kernel/qwidget_x11.cpp:1523
> #15 0x80c5fee in CMDIArea::tile (this=0x8233050) at cmdiarea.cpp:190
> #16 0x80c5de6 in CMDIArea::childEvent (this=0x8233050, e=0x8255538) at
> cmdiarea.cpp:102
> #17 0x40917a6f in QWidget::event (this=0x8233050, e=0x8255538) at
> kernel/qwidget.cpp:4004
> #18 0x40893f17 in QApplication::notify (this=0xbffff908,
> receiver=0x8233050, event=0x8255538)
>     at kernel/qapplication.cpp:1687
> #19 0x40580e41 in KApplication::notify () from
> /usr/src/kde/lib/libkdecore.so.3
> #20 0x4091f5bc in QApplication::sendEvent (receiver=0x8233050,
> event=0x8255538)
>     at kernel/qapplication.h:397
> #21 0x40894a5d in QApplication::sendPostedEvents (receiver=0x8233050,
> event_type=70)
>     at kernel/qapplication.cpp:2144
> #22 0x409161d1 in QWidget::show (this=0x826b538) at
> kernel/qwidget.cpp:3289
> #23 0x409802e4 in QMainWindow::show (this=0x826b538) at
> widgets/qmainwindow.cpp:2199
> #24 0x808fb3b in CBiblePresenter::CBiblePresenter (this=0x826b538,
> __in_chrg=1,
>     useModules={<QGList> = {<QCollection> = {del_item = 200, _vptr. =
> 0x8204cb8},
>         firstNode = 0x8233050, lastNode = 0x0, curNode = 0xbffff128,
> curIndex = -1073745656,
>         numNodes = 135710564, iterators = 0x816c700}, <No data fields>},
>     importantClasses=0x8204cb8, parent=0x8233050, name=0x0) at
> cbiblepresenter.cpp:49
> #25 0x80729e8 in BibleTime::createNewSwordPresenter (this=0x8205680,
>     modules={<QGList> = {<QCollection> = {del_item = 8, _vptr. =
> 0x816c764 <QString::null>},
>         firstNode = 0x8072b28, lastNode = 0x820a410, curNode =
> 0x816c764, curIndex = 1073784832,
>         numNodes = 135700640, iterators = 0x8251d60}, <No data
> fields>}, key=@0x816c764)
>     at bibletime.cpp:203
> #26 0x8072b73 in BibleTime::createNewSwordPresenter (this=0x8205680,
> module=0x820a410,
>     key=@0x816c764) at bibletime.cpp:238
> #27 0x80b0d4b in CGroupManager::createSwordPresenter (this=0x821a490,
> t0=0x820a410, t1=@0x816c764)
>     at cgroupmanager.moc.cpp:282
> #28 0x80a88da in CGroupManager::contentsMouseReleaseEvent
> (this=0x821a490, e=0xbffff240)
>     at cgroupmanager.cpp:875
> #29 0x409b8ae9 in QScrollView::viewportMouseReleaseEvent
> (this=0x821a490, e=0xbffff52c)
>     at widgets/qscrollview.cpp:1445
> #30 0x409b8292 in QScrollView::eventFilter (this=0x821a490,
> obj=0x821a828, e=0xbffff52c)
>     at widgets/qscrollview.cpp:1225
> #31 0x4097299e in QListView::eventFilter (this=0x821a490, o=0x821a828,
> e=0xbffff52c)
>     at widgets/qlistview.cpp:2828
> #32 0x408d1d08 in QObject::activate_filters (this=0x821a828,
> e=0xbffff52c) at kernel/qobject.cpp:764
> #33 0x40917484 in QWidget::event (this=0x821a828, e=0xbffff52c) at
> kernel/qwidget.cpp:3867
> #34 0x40893f17 in QApplication::notify (this=0xbffff908,
> receiver=0x821a828, event=0xbffff52c)
>     at kernel/qapplication.cpp:1687
> #35 0x40580e41 in KApplication::notify () from
> /usr/src/kde/lib/libkdecore.so.3
> #36 0x4091f5bc in QApplication::sendEvent (receiver=0x821a828,
> event=0xbffff52c)
>     at kernel/qapplication.h:397
> #37 0x4085bf80 in QETWidget::translateMouseEvent (this=0x821a828,
> event=0xbffff810)
>     at kernel/qapplication_x11.cpp:4106
> #38 0x40858e2b in QApplication::x11ProcessEvent (this=0xbffff908,
> event=0xbffff810)
>     at kernel/qapplication_x11.cpp:2960
> #39 0x40857c19 in QApplication::processNextEvent (this=0xbffff908,
> canWait=true)
>     at kernel/qapplication_x11.cpp:2579
> #40 0x40895cac in QApplication::enter_loop (this=0xbffff908) at
> kernel/qapplication.cpp:2591
> #41 0x40857af1 in QApplication::exec (this=0xbffff908) at
> kernel/qapplication_x11.cpp:2535
> #42 0x8073a02 in main (argc=1, argv=0xbffffa54) at main.cpp:212
>
>
> So, does anybody have a clue?