[bt-devel] isUnicode crash

Greg Hellings greg.hellings at gmail.com
Sat Jan 22 10:20:36 MST 2011


This crash appears to have been corrected, as neither you nor I have
been able to reproduce it since this morning's commits that Jaak
pushed.

--Greg

On Sat, Jan 22, 2011 at 10:54 AM, Martin Gruner <mg.pub at gmx.net> wrote:
> Hi Greg, can you give me steps to reproduce this? Does it happen with
> any module?
>
> Regards, mg
>
> Am 20.01.11 06:51, schrieb Greg Hellings:
>> Just tried installing a module from CrossWire's repository.  The
>> module installs successfully but then crashes the app.  Here's the GDB
>> output from "r --debug" of git HEAD.
>>
>>
>> (BibleTime 2.9.0+faeafba) Debug: CReadWindow::slotMoveToAnchor
>> (BibleTime 2.9.0+faeafba) Debug: CReadWindow::lookup end, key is : "I
>> Peter 1:3"
>> (BibleTime 2.9.0+faeafba) Debug: CBTConfig::setupAccelSettings begin
>> (BibleTime 2.9.0+faeafba) Debug: "Commentary shortcuts"
>> (BibleTime 2.9.0+faeafba) Debug: CBTConfig::setupAccelSettings end
>> (BibleTime 2.9.0+faeafba) Debug: CDisplayWindow::reload
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x00000000004ca0f9 in isUnicode (this=0xe43c50) at
>> /home/greg/Projects/bibletime/src/backend/drivers/cswordmoduleinfo.h:360
>> 360               return m_module->isUnicode();
>> (gdb) bt
>> #0  0x00000000004ca0f9 in isUnicode (this=0xe43c50) at
>> /home/greg/Projects/bibletime/src/backend/drivers/cswordmoduleinfo.h:360
>> #1  CSwordTreeKey::key (this=0xe43c50) at
>> /home/greg/Projects/bibletime/src/backend/keys/cswordtreekey.cpp:34
>> #2  0x00000000005c5d68 in CReadWindow::lookupSwordKey (this=0xe0d010,
>> newKey=0xe43c50) at
>> /home/greg/Projects/bibletime/src/frontend/displaywindow/creadwindow.cpp:81
>> #3  0x00000000005ba906 in CDisplayWindow::reload (this=0xe0d010) at
>> /home/greg/Projects/bibletime/src/frontend/displaywindow/cdisplaywindow.cpp:234
>> #4  0x00000000005be019 in CLexiconReadWindow::reload
>> (this=0x656c75646f6d2f64, reason=14957648)
>>     at /home/greg/Projects/bibletime/src/frontend/displaywindow/clexiconreadwindow.cpp:317
>> #5  0x00000000005d09f0 in CDisplayWindow::qt_metacall (this=0xe0d010,
>> _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
>> _a=0x7fffffffb210)
>>     at /home/greg/Projects/bibletime/build/src/frontend/displaywindow/moc_cdisplaywindow.cxx:141
>> #6  0x00000000005d1010 in CReadWindow::qt_metacall
>> (this=0x656c75646f6d2f64, _c=14957648, _id=1, _a=0x1)
>>     at /home/greg/Projects/bibletime/build/src/frontend/displaywindow/moc_creadwindow.cxx:72
>> #7  0x00000000005d0ce0 in CLexiconReadWindow::qt_metacall
>> (this=0x656c75646f6d2f64, _c=14957648, _id=1, _a=0x1)
>>     at /home/greg/Projects/bibletime/build/src/frontend/displaywindow/moc_clexiconreadwindow.cxx:81
>> #8  0x00000000005d02d0 in CBookReadWindow::qt_metacall
>> (this=0x656c75646f6d2f64, _c=14957648, _id=1, _a=0x1)
>>     at /home/greg/Projects/bibletime/build/src/frontend/displaywindow/moc_cbookreadwindow.cxx:71
>> #9  0x00007ffff493db27 in QMetaObject::activate(QObject*, QMetaObject
>> const*, int, void**) () from /usr/lib/libQtCore.so.4
>> #10 0x00000000005ca75c in CSwordBackend::sigSwordSetupChanged
>> (this=0x656c75646f6d2f64, _t1=CSwordBackend::AddedModules)
>>     at /home/greg/Projects/bibletime/build/src/backend/managers/moc_cswordbackend.cxx:87
>> #11 0x00000000004f05a0 in CSwordBackend::initModules (this=0x95d400,
>> reason=<value optimized out>)
>>     at /home/greg/Projects/bibletime/src/backend/managers/cswordbackend.cpp:173
>> #12 0x00000000005401d1 in BtInstallProgressDialog::closeEvent
>> (this=<value optimized out>, event=0x7fffffffba90)
>>     at /home/greg/Projects/bibletime/src/frontend/bookshelfmanager/installpage/btinstallprogressdialog.cpp:238
>> #13 0x00007ffff5ce2080 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
>> #14 0x00007ffff5c8bfdc in QApplicationPrivate::notify_helper(QObject*,
>> QEvent*) () from /usr/lib/libQtGui.so.4
>> #15 0x00007ffff5c91aed in QApplication::notify(QObject*, QEvent*) ()
>> from /usr/lib/libQtGui.so.4
>> #16 0x00007ffff4925cdc in QCoreApplication::notifyInternal(QObject*,
>> QEvent*) () from /usr/lib/libQtCore.so.4
>> #17 0x00007ffff5ce5b7d in
>> QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from
>> /usr/lib/libQtGui.so.4
>> #18 0x000000000054154f in
>> BtInstallProgressDialog::oneItemStoppedOrCompleted (this=0x15b2850,
>> module=<value optimized out>, source=<value optimized out>,
>>     statusMessage=<value optimized out>) at
>> /home/greg/Projects/bibletime/src/frontend/bookshelfmanager/installpage/btinstallprogressdialog.cpp:181
>> #19 0x00000000005420c4 in
>> BtInstallProgressDialog::slotOneItemCompleted (this=0x15b2850,
>> module=DWARF-2 expression error: DW_OP_reg operations must be used
>> either alone or in conjuction with DW_OP_piece or DW_OP_bit_piece.
>> )
>>     at /home/greg/Projects/bibletime/src/frontend/bookshelfmanager/installpage/btinstallprogressdialog.cpp:137
>> #20 0x00000000005cbdad in BtInstallProgressDialog::qt_metacall
>> (this=0x15b2850, _c=<value optimized out>, _id=<value optimized out>,
>> _a=<value optimized out>)
>>     at /home/greg/Projects/bibletime/build/src/frontend/bookshelfmanager/installpage/moc_btinstallprogressdialog.cxx:83
>> #21 0x00007ffff4937bde in QObject::event(QEvent*) () from
>> /usr/lib/libQtCore.so.4
>> #22 0x00007ffff5ce16df in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
>> #23 0x00007ffff5c8bfdc in QApplicationPrivate::notify_helper(QObject*,
>> QEvent*) () from /usr/lib/libQtGui.so.4
>> #24 0x00007ffff5c91aed in QApplication::notify(QObject*, QEvent*) ()
>> from /usr/lib/libQtGui.so.4
>> #25 0x00007ffff4925cdc in QCoreApplication::notifyInternal(QObject*,
>> QEvent*) () from /usr/lib/libQtCore.so.4
>> #26 0x00007ffff4928c22 in
>> QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
>> () from /usr/lib/libQtCore.so.4
>> #27 0x00007ffff4952653 in ?? () from /usr/lib/libQtCore.so.4
>> #28 0x00007ffff173a342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
>> #29 0x00007ffff173e2a8 in ?? () from /lib/libglib-2.0.so.0
>> #30 0x00007ffff173e45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
>> #31 0x00007ffff4952193 in
>> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
>> () from /usr/lib/libQtCore.so.4
>> #32 0x00007ffff5d3ea4e in ?? () from /usr/lib/libQtGui.so.4
>> #33 0x00007ffff4924a02 in
>> QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
>> from /usr/lib/libQtCore.so.4
>> #34 0x00007ffff4924dec in
>> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
>> /usr/lib/libQtCore.so.4
>> #35 0x00007ffff61807de in QDialog::exec() () from /usr/lib/libQtGui.so.4
>> #36 0x00000000005359fa in BtInstallPage::slotInstall (this=<value
>> optimized out>)
>>     at /home/greg/Projects/bibletime/src/frontend/bookshelfmanager/installpage/btinstallpage.cpp:336
>> #37 0x00000000005cb5f4 in BtInstallPage::qt_metacall (this=0xf765f0,
>> _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffffffcda0)
>>     at /home/greg/Projects/bibletime/build/src/frontend/bookshelfmanager/installpage/moc_btinstallpage.cxx:91
>> #38 0x00007ffff493db27 in QMetaObject::activate(QObject*, QMetaObject
>> const*, int, void**) () from /usr/lib/libQtCore.so.4
>> #39 0x00007ffff6369402 in QAbstractButton::clicked(bool) () from
>> /usr/lib/libQtGui.so.4
>> #40 0x00007ffff6063eeb in ?? () from /usr/lib/libQtGui.so.4
>> #41 0x00007ffff60655bb in ?? () from /usr/lib/libQtGui.so.4
>> ---Type <return> to continue, or q <return> to quit---
>> #42 0x00007ffff606582c in
>> QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from
>> /usr/lib/libQtGui.so.4
>> #43 0x00007ffff5ce204e in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
>> #44 0x00007ffff5c8bfdc in QApplicationPrivate::notify_helper(QObject*,
>> QEvent*) () from /usr/lib/libQtGui.so.4
>> #45 0x00007ffff5c9230e in QApplication::notify(QObject*, QEvent*) ()
>> from /usr/lib/libQtGui.so.4
>> #46 0x00007ffff4925cdc in QCoreApplication::notifyInternal(QObject*,
>> QEvent*) () from /usr/lib/libQtCore.so.4
>> #47 0x00007ffff5c90dbe in
>> QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*,
>> QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
>>    from /usr/lib/libQtGui.so.4
>> #48 0x00007ffff5d14345 in ?? () from /usr/lib/libQtGui.so.4
>> #49 0x00007ffff5d12c5c in QApplication::x11ProcessEvent(_XEvent*) ()
>> from /usr/lib/libQtGui.so.4
>> #50 0x00007ffff5d3f0e2 in ?? () from /usr/lib/libQtGui.so.4
>> #51 0x00007ffff173a342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
>> #52 0x00007ffff173e2a8 in ?? () from /lib/libglib-2.0.so.0
>> #53 0x00007ffff173e45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
>> #54 0x00007ffff4952193 in
>> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
>> () from /usr/lib/libQtCore.so.4
>> #55 0x00007ffff5d3ea4e in ?? () from /usr/lib/libQtGui.so.4
>> #56 0x00007ffff4924a02 in
>> QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
>> from /usr/lib/libQtCore.so.4
>> #57 0x00007ffff4924dec in
>> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
>> /usr/lib/libQtCore.so.4
>> #58 0x00007ffff4928ebb in QCoreApplication::exec() () from
>> /usr/lib/libQtCore.so.4
>> #59 0x00000000004940ea in main (argc=2, argv=<value optimized out>) at
>> /home/greg/Projects/bibletime/src/main.cpp:285
>>
>> --Greg
>>
>> _______________________________________________
>> bt-devel mailing list
>> bt-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/bt-devel
>>
>
> _______________________________________________
> bt-devel mailing list
> bt-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/bt-devel
>



More information about the bt-devel mailing list