Bug 203180 - Crash when adding words to fuzzy translation
Summary: Crash when adding words to fuzzy translation
Status: RESOLVED DUPLICATE of bug 218246
Alias: None
Product: lokalize
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Nick Shaforostoff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-09 15:19 UTC by stefan.asserhall
Modified: 2009-12-11 13:28 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stefan.asserhall 2009-08-09 15:19:40 UTC
Application that crashed: lokalize
Version of the application: 1.0
KDE Version: 4.3.62 (KDE 4.3.62 (KDE 4.4 >= 20090728))
Qt Version: 4.5.1
Operating System: Linux 2.6.27.29-170.2.78.fc10.i686 i686
Distribution: "Fedora release 10 (Cambridge)"

What I was doing when the application crashed:
When adding text on the first line of t the fuzzy translation 849 in trunk/kde-l10n/sv/messages/kxsconfig.po, Lokalize crashes. The crash is caused by an assert in Qt 4.5.1.

 -- Backtrace:
Application: Lokalize (lokalize), signal: Aborted
[Current thread is 1 (Thread 0xb80b9770 (LWP 8123))]

Thread 3 (Thread 0xb634bb90 (LWP 8158)):
#0  0x003de416 in __kernel_vsyscall ()
#1  0x041ec456 in nanosleep () from /lib/libc.so.6
#2  0x041ec26e in sleep () from /lib/libc.so.6
#3  0x07418c0a in unixSleep (pVfs=0x7478f40, microseconds=1000000) at ../../../3rdparty/sqlite/sqlite3.c:21588
#4  0x074115d7 in sqlite3OsSleep (pVfs=0x7478f40, nMicro=1000000) at ../../../3rdparty/sqlite/sqlite3.c:10672
#5  0x0746d9ea in sqliteDefaultBusyCallback (ptr=0x982fc98, count=4) at ../../../3rdparty/sqlite/sqlite3.c:77425
#6  0x0746da38 in sqlite3InvokeBusyHandler (p=0x982fdd0) at ../../../3rdparty/sqlite/sqlite3.c:77440
#7  0x07421568 in sqlite3BtreeInvokeBusyHandler (pArg=0x982ff50, n=4) at ../../../3rdparty/sqlite/sqlite3.c:31092
#8  0x0746da38 in sqlite3InvokeBusyHandler (p=0x982ff94) at ../../../3rdparty/sqlite/sqlite3.c:77440
#9  0x0741c66f in pager_wait_on_lock (pPager=0x9864488, locktype=1) at ../../../3rdparty/sqlite/sqlite3.c:26371
#10 0x0741d165 in pagerSharedLock (pPager=0x9864488) at ../../../3rdparty/sqlite/sqlite3.c:27124
#11 0x0741d6e9 in pagerAcquire (pPager=0x9864488, pgno=1, ppPage=0xb634a38c, noContent=0) at ../../../3rdparty/sqlite/sqlite3.c:27441
#12 0x0741d9ca in sqlite3PagerAcquire (pPager=0x9864488, pgno=1, ppPage=0xb634a38c, noContent=0) at ../../../3rdparty/sqlite/sqlite3.c:27534
#13 0x074213a5 in sqlite3BtreeGetPage (pBt=0x982ff50, pgno=1, ppPage=0xb634a3cc, noContent=0) at ../../../3rdparty/sqlite/sqlite3.c:30993
#14 0x07422126 in lockBtree (pBt=0x982ff50) at ../../../3rdparty/sqlite/sqlite3.c:31618
#15 0x07422752 in sqlite3BtreeBeginTrans (p=0x94444d0, wrflag=0) at ../../../3rdparty/sqlite/sqlite3.c:31880
#16 0x07436020 in sqlite3VdbeExec (p=0xbfd3d80) at ../../../3rdparty/sqlite/sqlite3.c:44398
#17 0x0743185e in sqlite3Step (p=0xbfd3d80) at ../../../3rdparty/sqlite/sqlite3.c:41226
#18 0x07431a65 in sqlite3_step (pStmt=0xbfd3d80) at ../../../3rdparty/sqlite/sqlite3.c:41288
#19 0x0740d3da in QSQLiteResultPrivate::fetchNext (this=0xbe78108, values=@0xbe1ce38, idx=0, initialFetch=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:194
#20 0x0740e09f in QSQLiteResult::exec (this=0xbfd4778) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:402
#21 0x0740ac02 in QSQLiteResult::reset (this=0xbfd4778, query=@0xb634af34) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:305
#22 0x007b0fc8 in QSqlQuery::exec (this=0xb634af24, query=@0xb634af34) at kernel/qsqlquery.cpp:375
#23 0x080e3a95 in TM::SelectJob::doSelect (this=0xa67f568, db=@0xb634b184, words=@0xb634b170, isShort=false) at /home/stefan/kde/svn/trunk/KDE/kdesdk/lokalize/src/tm/jobs.cpp:962
#24 0x080e5e36 in TM::SelectJob::run (this=0xa67f568) at /home/stefan/kde/svn/trunk/KDE/kdesdk/lokalize/src/tm/jobs.cpp:1246
#25 0x00d9cd24 in ThreadWeaver::JobRunHelper::runTheJob () from /opt/kde4/lib/libthreadweaver.so.4
#26 0x00d9d0c9 in ThreadWeaver::Job::execute () from /opt/kde4/lib/libthreadweaver.so.4
#27 0x00d9bc9a in ThreadWeaver::ThreadRunHelper::run () from /opt/kde4/lib/libthreadweaver.so.4
#28 0x00d9c30b in ThreadWeaver::Thread::run () from /opt/kde4/lib/libthreadweaver.so.4
#29 0x06047f65 in QThreadPrivate::start (arg=0x9422840) at thread/qthread_unix.cpp:189
#30 0x003c751f in start_thread () from /lib/libpthread.so.0
#31 0x0423104e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb4f49b90 (LWP 8188)):
#0  0x003de416 in __kernel_vsyscall ()
#1  0x003cb105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x06048888 in QWaitConditionPrivate::wait (this=0x8e24788, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  0x06048387 in QWaitCondition::wait (this=0x8e246d8, mutex=0x8dfba98, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x00d9ae58 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned () from /opt/kde4/lib/libthreadweaver.so.4
#5  0x00d9dbfc in ThreadWeaver::WorkingHardState::waitForAvailableJob () from /opt/kde4/lib/libthreadweaver.so.4
#6  0x00d99a3b in ThreadWeaver::WeaverImpl::waitForAvailableJob () from /opt/kde4/lib/libthreadweaver.so.4
#7  0x00d9dcfa in ThreadWeaver::WorkingHardState::applyForWork () from /opt/kde4/lib/libthreadweaver.so.4
#8  0x00d9b3e3 in ThreadWeaver::WeaverImpl::applyForWork () from /opt/kde4/lib/libthreadweaver.so.4
#9  0x00d9bcce in ThreadWeaver::ThreadRunHelper::run () from /opt/kde4/lib/libthreadweaver.so.4
#10 0x00d9c30b in ThreadWeaver::Thread::run () from /opt/kde4/lib/libthreadweaver.so.4
#11 0x06047f65 in QThreadPrivate::start (arg=0x942a200) at thread/qthread_unix.cpp:189
#12 0x003c751f in start_thread () from /lib/libpthread.so.0
#13 0x0423104e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb80b9770 (LWP 8123)):
[KCrash Handler]
#6  0x003de416 in __kernel_vsyscall ()
#7  0x04178460 in raise () from /lib/libc.so.6
#8  0x04179e28 in abort () from /lib/libc.so.6
#9  0x0603dce3 in qt_message_output (msgType=QtFatalMsg, 
    buf=0x9c44d88 "ASSERT failure in QVector<T>::at: \"index out of range\", file ../../include/QtCore/../../src/corelib/tools/qvector.h, line 329") at global/qglobal.cpp:2017
#10 0x0603dd5a in qFatal (msg=0x6192d78 "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qglobal.cpp:2216
#11 0x0603ddb1 in qt_assert_x (where=0x23d098a "QVector<T>::at", what=0x23d0977 "index out of range", file=0x23d0940 "../../include/QtCore/../../src/corelib/tools/qvector.h", line=329)
    at global/qglobal.cpp:1794
#12 0x01d04d4b in QVector<int>::at (this=0xbdf42a8, i=1) at ../../include/QtCore/../../src/corelib/tools/qvector.h:329
#13 0x01f4ca54 in QTextEngine::formatIndex (this=0x9c28078, si=0xbfaeb6c) at text/qtextengine.cpp:2121
#14 0x01f4cbb2 in QTextEngine::format (this=0x9c28078, si=0xbfaeb6c) at text/qtextengine.cpp:2143
#15 0x01f4d51d in QTextEngine::fontEngine (this=0x9c28078, si=@0xbfaeb6c, ascent=0xbfaeb7c, descent=0xbfaeb78) at text/qtextengine.cpp:1726
#16 0x01f4e6fc in QTextEngine::shapeTextWithHarfbuzz (this=0x9c28078, item=1) at text/qtextengine.cpp:1112
#17 0x01f4f309 in QTextEngine::shapeText (this=0x9c28078, item=1) at text/qtextengine.cpp:874
#18 0x01f4f89b in QTextEngine::shape (this=0x9c28078, item=1) at text/qtextengine.cpp:1344
#19 0x01f52124 in QTextEngine::shapeLine (this=0x9c28078, line=@0xbfb0f38) at text/qtextengine.cpp:844
#20 0x01f5b44c in QTextLine::cursorToX (this=0xbfc15ba8, cursorPos=0xbfc15b94, edge=QTextLine::Leading) at text/qtextlayout.cpp:2158
#21 0x01f4a743 in QTextLine::cursorToX (this=0xbfc15ba8, cursorPos=73, edge=QTextLine::Leading) at ../../include/QtGui/../../src/gui/text/qtextlayout.h:214
#22 0x01fab5b6 in QTextCursorPrivate::setX (this=0xbfa9cd0) at text/qtextcursor.cpp:139
#23 0x01fac7ec in QTextCursorPrivate::movePosition (this=0xbfa9cd0, op=QTextCursor::End, mode=QTextCursor::KeepAnchor) at text/qtextcursor.cpp:638
#24 0x01fae464 in QTextCursor::movePosition (this=0xbfc15e0c, op=QTextCursor::End, mode=QTextCursor::KeepAnchor, n=1) at text/qtextcursor.cpp:1195
#25 0x01fae901 in QTextCursor::select (this=0xbfc15e0c, selection=QTextCursor::Document) at text/qtextcursor.cpp:1427
#26 0x0808e7e8 in XliffTextEdit::toPlainText (this=0x96dbf78) at /home/stefan/kde/svn/trunk/KDE/kdesdk/lokalize/src/xlifftextedit.cpp:804
#27 0x08092487 in XliffTextEdit::contentsChanged (this=0x96dbf78, offset=0, charsRemoved=238, charsAdded=238) at /home/stefan/kde/svn/trunk/KDE/kdesdk/lokalize/src/xlifftextedit.cpp:364
#28 0x08092f12 in XliffTextEdit::qt_metacall (this=0x96dbf78, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0xbfc15ff4)
    at /home/stefan/kde/svn/trunk/KDE/kdesdk-build/lokalize/src/xlifftextedit.moc:170
#29 0x06153d91 in QMetaObject::activate (sender=0x9804e10, from_signal_index=4, to_signal_index=4, argv=0xbfc15ff4) at kernel/qobject.cpp:3117
#30 0x06155183 in QMetaObject::activate (sender=0x9804e10, m=0x24b91dc, local_signal_index=0, argv=0xbfc15ff4) at kernel/qobject.cpp:3194
#31 0x023c0ec6 in QTextDocument::contentsChange (this=0x9804e10, _t1=0, _t2=238, _t3=238) at .moc/debug-shared/moc_qtextdocument.cpp:181
#32 0x01f7e1f9 in QTextDocumentPrivate::endEditBlock (this=0x96deec8) at text/qtextdocument_p.cpp:1102
#33 0x01faca8d in QTextCursor::endEditBlock (this=0xbfc16094) at text/qtextcursor.cpp:2353
#34 0x01fc0110 in QSyntaxHighlighter::rehighlight (this=0x96dd418) at text/qsyntaxhighlighter.cpp:372
#35 0x0064966e in Sonnet::Highlighter::slotRehighlight () from /opt/kde4/lib/libkdeui.so.5
#36 0x00649ddd in Sonnet::Highlighter::qt_metacall () from /opt/kde4/lib/libkdeui.so.5
#37 0x080962b4 in SyntaxHighlighter::qt_metacall (this=0x96dd418, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbfc161a8)
    at /home/stefan/kde/svn/trunk/KDE/kdesdk-build/lokalize/src/syntaxhighlighter.moc:63
#38 0x06153d91 in QMetaObject::activate (sender=0x984b0c8, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3117
#39 0x06155183 in QMetaObject::activate (sender=0x984b0c8, m=0x61f8a64, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3194
#40 0x06191ec5 in QTimer::timeout (this=0x984b0c8) at .moc/debug-shared/moc_qtimer.cpp:128
#41 0x0615c916 in QTimer::timerEvent (this=0x984b0c8, e=0xbfc16764) at kernel/qtimer.cpp:261
#42 0x06151b78 in QObject::event (this=0x984b0c8, e=0xbfc16764) at kernel/qobject.cpp:1082
#43 0x01cd8661 in QApplicationPrivate::notify_helper (this=0x8d0fc60, receiver=0x984b0c8, e=0xbfc16764) at kernel/qapplication.cpp:4057
#44 0x01cd8a15 in QApplication::notify (this=0xbfc16a0c, receiver=0x984b0c8, e=0xbfc16764) at kernel/qapplication.cpp:3604
#45 0x005e2e6d in KApplication::notify () from /opt/kde4/lib/libkdeui.so.5
#46 0x0613d849 in QCoreApplication::notifyInternal (this=0xbfc16a0c, receiver=0x984b0c8, event=0xbfc16764) at kernel/qcoreapplication.cpp:606
#47 0x01cd5049 in QCoreApplication::sendEvent (receiver=0x984b0c8, event=0xbfc16764) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#48 0x0616fa97 in QTimerInfoList::activateTimers (this=0x8d12b64) at kernel/qeventdispatcher_unix.cpp:572
#49 0x0616d3d1 in timerSourceDispatch (source=0x8d12b30) at kernel/qeventdispatcher_glib.cpp:164
#50 0x04691258 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#51 0x04694903 in ?? () from /lib/libglib-2.0.so.0
#52 0x04694ac1 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#53 0x0616c6d2 in QEventDispatcherGlib::processEvents (this=0x8d0fc40, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:324
#54 0x01d864b4 in QGuiEventDispatcherGlib::processEvents (this=0x8d0fc40, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
#55 0x0613a804 in QEventLoop::processEvents (this=0xbfc169a0, flags={i = 36}) at kernel/qeventloop.cpp:149
#56 0x0613aa68 in QEventLoop::exec (this=0xbfc169a0, flags={i = 0}) at kernel/qeventloop.cpp:196
#57 0x0613e03b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#58 0x01cd837a in QApplication::exec () at kernel/qapplication.cpp:3526
#59 0x08070797 in main (argc=) at /home/stefan/kde/svn/trunk/KDE/kdesdk/lokalize/src/main.cpp:116

Reported using DrKonqi
Comment 1 esigra 2009-11-21 16:36:05 UTC
I also get this:
ASSERT failure in QVector<T>::at: "index out of range", file ../../include/QtCore/../../src/corelib/tools/qvector.h, line 329

when editing a msgstr. Tried both Gentoo packages kde-base/lokalize-4.3.3 and kde-base/lokalize-4.3.1

https://bugs.gentoo.org/show_bug.cgi?id=293939
Comment 2 Dario Andres 2009-12-11 13:28:34 UTC
Bug 218246 got an updated backtrace. Thanks

*** This bug has been marked as a duplicate of bug 218246 ***