Package: bibletime
Version: 2.8.1-2
Severity: important

I had KJV downloaded with an older version of the package and now bibletime
crashes on start. I've renamed ~/.bibletime and ~/.sword and successfully
launched the program but after downloading KJV via the bookshelf manager the
program crashed rigth after double clicking on KJV in the book list. It also
doesn't launch anymore. Apparently at least some other texts can be used
without problems.

I've got two different backtraces. This is when the program crashes on start:

#0  0x00007ffff5879b3c in std::vector<int, std::allocator<int> >::size() const
() from /usr/lib/libsword.so.8
#1  0x00007ffff5877f30 in sword::VerseMgr::Book::getVerseMax(int) const () from
/usr/lib/libsword.so.8
#2  0x00007ffff585d0c7 in sword::VerseKey::getVerseMax() const () from
/usr/lib/libsword.so.8
#3  0x00007ffff585d915 in sword::VerseKey::Normalize(char) () from
/usr/lib/libsword.so.8
#4  0x00007ffff585980d in sword::VerseKey::parse(bool) () from
/usr/lib/libsword.so.8
#5  0x00007ffff5853844 in sword::SWKey::copyFrom(sword::SWKey const&) () from
/usr/lib/libsword.so.8
#6  0x00007ffff5859116 in sword::VerseKey::copyFrom(sword::SWKey const&) ()
from /usr/lib/libsword.so.8
#7  0x00007ffff5858d8a in sword::VerseKey::positionFrom(sword::SWKey const&) ()
from /usr/lib/libsword.so.8
#8  0x00000000004d9cbd in CSwordVerseKey::setKey(char const*) ()
#9  0x00000000004bcead in CSwordBibleModuleInfo::initBounds() ()
#10 0x00000000004bcf4a in
CSwordBibleModuleInfo::CSwordBibleModuleInfo(sword::SWModule*, CSwordBackend*,
CSwordModuleInfo::ModuleType) ()
#11 0x00000000004f9c1d in
CSwordBackend::initModules(CSwordBackend::SetupChangedReason) ()
#12 0x000000000049e4cc in BibleTime::initBackends() ()
#13 0x00000000004928cc in BibleTime::BibleTime(QWidget*,
QFlags<Qt::WindowType>) ()
#14 0x000000000048efa1 in main ()


(I have libsword-dbg installed but it's doesn't help apparently)

This is when the program started under gdb but crashed after opening KJV:

#0  0x00000000004dcb89 in
Rendering::CDisplayRendering::entryLink(Rendering::CTextRendering::KeyTreeItem
const&, CSwordModuleInfo const*) ()
#1  0x00000000004df1df in
Rendering::CHTMLExportRendering::renderEntry(Rendering::CTextRendering::KeyTreeItem
const&, CSwordKey*) ()
#2  0x00000000004e1f43 in
Rendering::CTextRendering::renderKeyTree(QList<Rendering::CTextRendering::KeyTreeItem*>&)
()
#3  0x00000000004e36ec in Rendering::CTextRendering::renderKeyRange(QString
const&, QString const&, QList<CSwordModuleInfo const*> const&, QString const&,
Rendering::CTextRendering::KeyTreeItem::Settings const&) ()
#4  0x00000000004dc398 in
Rendering::CChapterDisplay::text(QList<CSwordModuleInfo const*> const&, QString
const&, DisplayOptions const&, FilterOptions const&) ()
#5  0x00000000005b759c in CReadWindow::lookupSwordKey(CSwordKey*) ()
#6  0x00000000005a7419 in CBibleReadWindow::lookupSwordKey(CSwordKey*) ()
#7  0x00000000005c28e9 in CBibleReadWindow::qt_metacall(QMetaObject::Call, int,
void**) ()
#8  0x00007ffff5f8dcca in QMetaObject::activate (sender=0xc3f950, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fffffffc190) at
kernel/qobject.cpp:3278
#9  0x00000000005c45dd in CKeyChooser::keyChanged(CSwordKey*) ()
#10 0x0000000000590214 in CBibleKeyChooser::setKey(CSwordKey*) ()
#11 0x00000000005ad014 in CDisplayWindow::lookupModKey(QString const&, QString
const&) ()
#12 0x00000000005ac1b1 in CDisplayWindow::lookupKey(QString const&) ()
#13 0x0000000000493581 in
BibleTime::createReadDisplayWindow(QList<CSwordModuleInfo*>, QString const&) ()
#14 0x0000000000493815 in BibleTime::createReadDisplayWindow(CSwordModuleInfo*,
QString const&) ()
#15 0x00000000005ba1fd in BibleTime::qt_metacall(QMetaObject::Call, int,
void**) ()
#16 0x00007ffff5f8dcca in QMetaObject::activate (sender=0xb3e090, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fffffffc500) at
kernel/qobject.cpp:3278
#17 0x00000000005beeed in
BtBookshelfDockWidget::moduleOpenTriggered(CSwordModuleInfo*) ()
#18 0x000000000050e473 in
BtBookshelfDockWidget::slotModuleActivated(CSwordModuleInfo*) ()
#19 0x00000000005bf1df in BtBookshelfDockWidget::qt_metacall(QMetaObject::Call,
int, void**) ()
#20 0x00007ffff5f8dcca in QMetaObject::activate (sender=0xb70aa0, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fffffffc680) at
kernel/qobject.cpp:3278
#21 0x00000000005bf5e0 in BtBookshelfView::moduleActivated(CSwordModuleInfo*)
()
#22 0x00000000005bf63c in BtBookshelfView::qt_metacall(QMetaObject::Call, int,
void**) ()
#23 0x00007ffff5f8dcca in QMetaObject::activate (sender=0xb70aa0, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fffffffc780) at
kernel/qobject.cpp:3278
#24 0x00007ffff780be25 in QAbstractItemView::activated (this=<optimized out>,
_t1=<optimized out>) at .moc/release-shared/moc_qabstractitemview.cpp:345
#25 0x00007ffff7853963 in QTreeView::mouseDoubleClickEvent (this=0xb70aa0,
event=0x7fffffffd5b0) at itemviews/qtreeview.cpp:1870
#26 0x00007ffff73580b0 in QWidget::event (this=0xb70aa0, event=0x7fffffffd5b0)
at kernel/qwidget.cpp:8263
#27 0x00007ffff76f9156 in QFrame::event (this=0xb70aa0, e=0x7fffffffd5b0) at
widgets/qframe.cpp:557
#28 0x00007ffff78091bb in QAbstractItemView::viewportEvent (this=0xb70aa0,
event=0x7fffffffd5b0) at itemviews/qabstractitemview.cpp:1628
#29 0x00007ffff784dee5 in QTreeView::viewportEvent (this=0xb70aa0,
event=0x7fffffffd5b0) at itemviews/qtreeview.cpp:1256
#30 0x00007ffff5f7b2f8 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>,
receiver=0xb710d0, event=0x7fffffffd5b0) at kernel/qcoreapplication.cpp:846
#31 0x00007ffff73079bf in notify_helper (e=0x7fffffffd5b0, receiver=0xb710d0,
this=0x898980) at kernel/qapplication.cpp:4463
#32 QApplicationPrivate::notify_helper (this=0x898980, receiver=0xb710d0,
e=0x7fffffffd5b0) at kernel/qapplication.cpp:4439
#33 0x00007ffff730d17b in QApplication::notify (this=<optimized out>,
receiver=0xb710d0, e=0x7fffffffd5b0) at kernel/qapplication.cpp:4028
#34 0x00007ffff5f7b16c in QCoreApplication::notifyInternal
(this=0x7fffffffe0f0, receiver=0xb710d0, event=0x7fffffffd5b0) at
kernel/qcoreapplication.cpp:731
#35 0x00007ffff73089c2 in sendEvent (event=<optimized out>, receiver=<optimized
out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QApplicationPrivate::sendMouseEvent (receiver=0xb710d0,
event=0x7fffffffd5b0, alienWidget=0xb710d0, nativeWidget=0x954350,
buttonDown=0xb710d0, lastMouseReceiver=..., spontaneous=true) at
kernel/qapplication.cpp:3127
#37 0x00007ffff7384e68 in QETWidget::translateMouseEvent (this=0x954350,
event=<optimized out>) at kernel/qapplication_x11.cpp:4465
#38 0x00007ffff7383c6a in QApplication::x11ProcessEvent (this=0x7fffffffe0f0,
event=0x7fffffffdcd0) at kernel/qapplication_x11.cpp:3591
#39 0x00007ffff73abdb2 in x11EventSourceDispatch (s=0x8a1040, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#40 0x00007ffff3fae0cf in g_main_dispatch (context=0x89f9e0) at
/tmp/buildd/glib2.0-2.30.2/./glib/gmain.c:2442
#41 g_main_context_dispatch (context=0x89f9e0) at
/tmp/buildd/glib2.0-2.30.2/./glib/gmain.c:2998
#42 0x00007ffff3fae8c8 in g_main_context_iterate (context=0x89f9e0,
block=<optimized out>, dispatch=1, self=<optimized out>) at
/tmp/buildd/glib2.0-2.30.2/./glib/gmain.c:3076
#43 0x00007ffff3faea99 in g_main_context_iteration (context=0x89f9e0,
may_block=1) at /tmp/buildd/glib2.0-2.30.2/./glib/gmain.c:3139
#44 0x00007ffff5fa5c9f in QEventDispatcherGlib::processEvents (this=0x88aff0,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#45 0x00007ffff73aba4e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=<optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#46 0x00007ffff5f7a372 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#47 0x00007ffff5f7a56f in QEventLoop::exec (this=0x7fffffffe090, flags=...) at
kernel/qeventloop.cpp:201
#48 0x00007ffff5f7e717 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1008
#49 0x000000000048f0ea in main ()

valgrind shows lots of off-by-one errors in various sword::VerseKey methods
during opening KJV and two invalid reads on launch.



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-wrar+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bibletime depends on:
ii  bibletime-data      2.8.1-2           
ii  libc6               2.13-21           
ii  libclucene0ldbl     0.9.21b-2+b1      
ii  libcurl3-gnutls     7.23.1-1          
ii  libgcc1             1:4.6.2-5         
ii  libqt4-dbus         4:4.7.3-8         
ii  libqt4-network      4:4.7.3-8         
ii  libqt4-svg          4:4.7.3-8         
ii  libqt4-xml          4:4.7.3-8         
ii  libqt4-xmlpatterns  4:4.7.3-8         
ii  libqtcore4          4:4.7.3-8         
ii  libqtgui4           4:4.7.3-8         
ii  libqtwebkit4        2.1.0~2011week13-2
ii  libstdc++6          4.6.2-5           
ii  libsword8           1.6.2+dfsg-1      
ii  zlib1g              1:1.2.5.dfsg-1    

bibletime recommends no packages.

bibletime suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to