Bug 256743 - Lokalize crash any time the backspace it's used
Summary: Lokalize crash any time the backspace it's used
Status: RESOLVED DUPLICATE of bug 249373
Alias: None
Product: lokalize
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Nick Shaforostoff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-12 21:50 UTC by Manuel Tortosa
Modified: 2010-11-14 23:31 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 Manuel Tortosa 2010-11-12 21:50:16 UTC
Application: lokalize (1.1)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.1
Operating System: Linux 2.6.36-CHAKRA x86_64

-- Information about the crash:
- What I was doing when the application crashed:

Translating a po, just hitting backspace it crash instantly.

The crash can be reproduced every time.

-- Backtrace:
Application: Lokalize (lokalize), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f16c5a86760 (LWP 8170))]

Thread 2 (Thread 0x7f16b1b57710 (LWP 8171)):
#0  0x00007f16bfc2040c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f16c22e969b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x21219c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x21219c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f16c426a894 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x21215d0, th=0x25c2ae0)
    at /home/manutortosa/buildroot/desktop-testing/kdelibs/src/kdelibs-4.5.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f16c426cf03 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2121aa0, th=0x25c2ae0)
    at /home/manutortosa/buildroot/desktop-testing/kdelibs/src/kdelibs-4.5.3/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f16c426bcef in ThreadWeaver::ThreadRunHelper::run (this=0x7f16b1b56e30, parent=0x21215d0, th=0x25c2ae0)
    at /home/manutortosa/buildroot/desktop-testing/kdelibs/src/kdelibs-4.5.3/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f16c426bd78 in ThreadWeaver::Thread::run (this=0x25c2ae0) at /home/manutortosa/buildroot/desktop-testing/kdelibs/src/kdelibs-4.5.3/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f16c22e8e67 in QThreadPrivate::start (arg=0x25c2ae0) at thread/qthread_unix.cpp:285
#8  0x00007f16bfc1bcb0 in start_thread () from /lib/libpthread.so.0
#9  0x00007f16c1a589fd in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f16c5a86760 (LWP 8170)):
[KCrash Handler]
#6  QVector<QScriptLine>::size (this=0x0) at ../../include/QtCore/../../src/corelib/tools/qvector.h:124
#7  QTextLayout::lineCount (this=0x0) at text/qtextlayout.cpp:798
#8  0x00007f16c2bb7edc in QTextCursorPrivate::blockLayout (this=0x2468db0, block=...) at text/qtextcursor.cpp:854
#9  0x00007f16c2bba47b in QTextCursorPrivate::movePosition (this=0x2468db0, op=QTextCursor::Start, mode=QTextCursor::MoveAnchor) at text/qtextcursor.cpp:378
#10 0x00007f16c2bbd9b1 in QTextCursor::movePosition (this=0x7fff20783a30, op=QTextCursor::Start, mode=QTextCursor::MoveAnchor, n=1) at text/qtextcursor.cpp:1225
#11 0x00007f16c2bbdddc in QTextCursor::select (this=0x7fff20783a30, selection=QTextCursor::Document) at text/qtextcursor.cpp:1548
#12 0x00000000004545be in TranslationUnitTextEdit::toPlainText (this=<value optimized out>) at /home/manutortosa/buildroot/desktop-testing/kdesdk/src/kdesdk-4.5.3/lokalize/src/xlifftextedit.cpp:895
#13 0x0000000000458cfb in TranslationUnitTextEdit::contentsChanged (this=0x24dc040, offset=45, charsRemoved=1, charsAdded=0)
    at /home/manutortosa/buildroot/desktop-testing/kdesdk/src/kdesdk-4.5.3/lokalize/src/xlifftextedit.cpp:431
#14 0x000000000045b16f in TranslationUnitTextEdit::qt_metacall (this=0x24dc040, _c=QMetaObject::InvokeMetaMethod, _id=42, _a=0x7fff20783ce0)
    at /home/manutortosa/buildroot/desktop-testing/kdesdk/src/kdesdk-4.5.3/lokalize/src/xlifftextedit.moc:201
#15 0x00007f16c23f7b0f in QMetaObject::activate (sender=0x24e7790, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff20783ce0) at kernel/qobject.cpp:3272
#16 0x00007f16c2fc311a in QTextDocument::contentsChange (this=<value optimized out>, _t1=45, _t2=1, _t3=0) at .moc/debug-shared/moc_qtextdocument.cpp:188
#17 0x00007f16c2b8e954 in QTextDocumentPrivate::finishEdit (this=0x24e77b0) at text/qtextdocument_p.cpp:1213
#18 0x00007f16c2b91644 in QTextDocumentPrivate::move (this=0x24e77b0, pos=<value optimized out>, to=<value optimized out>, length=<value optimized out>, op=QTextUndoCommand::MoveCursor)
    at text/qtextdocument_p.cpp:666
#19 0x00007f16c2b91aa6 in QTextDocumentPrivate::remove (this=0x24e77b0, pos=45, length=1, op=QTextUndoCommand::MoveCursor) at text/qtextdocument_p.cpp:674
#20 0x00007f16c2bb7c45 in QTextCursorPrivate::remove (this=0x24734c0) at text/qtextcursor.cpp:175
#21 0x00007f16c2bbe273 in QTextCursor::deletePreviousChar (this=0x7fff20784030) at text/qtextcursor.cpp:1511
#22 0x00007f16c2b52b1d in QTextControlPrivate::keyPressEvent (this=0x24e7620, e=0x7fff20785130) at text/qtextcontrol.cpp:1201
#23 0x00007f16c2b53cfb in QTextControl::processEvent (this=<value optimized out>, e=0x7fff20785130, matrix=..., contextWidget=<value optimized out>) at text/qtextcontrol.cpp:924
#24 0x00007f16c2b49c5a in QTextControl::processEvent (this=0x24e7600, e=0x7fff20785130, coordinateOffset=..., contextWidget=0x24d09b0) at text/qtextcontrol.cpp:884
#25 0x00007f16c2d7c4a8 in QTextEditPrivate::sendControlEvent (this=<value optimized out>, e=0x7fff20785130) at widgets/qtextedit_p.h:99
#26 QTextEdit::keyPressEvent (this=<value optimized out>, e=0x7fff20785130) at widgets/qtextedit.cpp:1296
#27 0x00007f16c47986a7 in KTextEdit::keyPressEvent (this=0x24dc040, event=0x7fff20785130) at /home/manutortosa/buildroot/desktop-testing/kdelibs/src/kdelibs-4.5.3/kdeui/widgets/ktextedit.cpp:1078
#28 0x0000000000454cde in TranslationUnitTextEdit::keyPressEvent (this=0x24dc040, keyEvent=0x7fff20785130)
    at /home/manutortosa/buildroot/desktop-testing/kdesdk/src/kdesdk-4.5.3/lokalize/src/xlifftextedit.cpp:878
#29 0x00007f16c2934ffb in QWidget::event (this=0x24dc040, event=0x7fff20785130) at kernel/qwidget.cpp:8235
#30 0x00007f16c2d09b26 in QFrame::event (this=0x24dc040, e=0x7fff20785130) at widgets/qframe.cpp:557
#31 0x00007f16c2d94e7b in QAbstractScrollArea::event (this=0x24dc040, e=0x7fff20785130) at widgets/qabstractscrollarea.cpp:996
#32 0x00007f16c2d7fc60 in QTextEdit::event (this=0x24dc040, e=0x7fff20785130) at widgets/qtextedit.cpp:1070
#33 0x000000000045604b in TranslationUnitTextEdit::event (this=0x24dc040, event=0x7fff20785130)
    at /home/manutortosa/buildroot/desktop-testing/kdesdk/src/kdesdk-4.5.3/lokalize/src/xlifftextedit.cpp:1110
#34 0x00007f16c28dc094 in QApplicationPrivate::notify_helper (this=0x1ffec80, receiver=0x24dc040, e=0x7fff20785130) at kernel/qapplication.cpp:4445
#35 0x00007f16c28e1fea in QApplication::notify (this=<value optimized out>, receiver=0x24dc040, e=0x7fff20785130) at kernel/qapplication.cpp:3904
#36 0x00007f16c46a8586 in KApplication::notify (this=0x7fff20786090, receiver=0x24dc040, event=0x7fff20785130)
    at /home/manutortosa/buildroot/desktop-testing/kdelibs/src/kdelibs-4.5.3/kdeui/kernel/kapplication.cpp:310
#37 0x00007f16c23e03dc in QCoreApplication::notifyInternal (this=0x7fff20786090, receiver=0x24dc040, event=0x7fff20785130) at kernel/qcoreapplication.cpp:732
#38 0x00007f16c29883ba in QKeyMapper::sendKeyEvent (keyWidget=0x24dc040, grab=<value optimized out>, type=QEvent::KeyPress, code=16777219, modifiers=<value optimized out>, text=..., 
    autorepeat=false, count=1, nativeScanCode=22, nativeVirtualKey=65288, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1867
#39 0x00007f16c298880f in QKeyMapperPrivate::translateKeyEvent (this=<value optimized out>, keyWidget=0x24dc040, event=<value optimized out>, grab=false) at kernel/qkeymapper_x11.cpp:1837
#40 0x00007f16c2963af4 in QApplication::x11ProcessEvent (this=0x7fff20786090, event=0x7fff20785ce0) at kernel/qapplication_x11.cpp:3457
#41 0x00007f16c298ca92 in x11EventSourceDispatch (s=0x2002a40, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#42 0x00007f16be4a7bf3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#43 0x00007f16be4a83d0 in ?? () from /usr/lib/libglib-2.0.so.0
#44 0x00007f16be4a866d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#45 0x00007f16c240e63f in QEventDispatcherGlib::processEvents (this=0x1fc0c00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#46 0x00007f16c298c72e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007f16c23dee72 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007f16c23df0bc in QEventLoop::exec (this=0x7fff20785fe0, flags=...) at kernel/qeventloop.cpp:201
#49 0x00007f16c23e465b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#50 0x00000000004386f1 in main (argc=6, argv=0x7fff207867c8) at /home/manutortosa/buildroot/desktop-testing/kdesdk/src/kdesdk-4.5.3/lokalize/src/main.cpp:118

This bug may be a duplicate of or related to bug 249373.

Possible duplicates by query: bug 249373.

Reported using DrKonqi
Comment 1 Alexander Potashev 2010-11-12 23:01:07 UTC
Duplicate of bug#249373
Comment 2 Manuel Tortosa 2010-11-12 23:15:20 UTC
Switching to Chakra's Qt 4.7.0 - kde-qt 8fa76375a2f030ecf8aa23c917f51f04333a1b2c
this issue get fixed.
Comment 3 Christoph Feck 2010-11-13 05:09:34 UTC

*** This bug has been marked as a duplicate of bug 249373 ***
Comment 4 Nick Shaforostoff 2010-11-14 23:29:41 UTC
thank you for reporting. i think this has smth to do with new qt version. i'll try to figure out this...
Comment 5 Nick Shaforostoff 2010-11-14 23:31:12 UTC
ups sorry, didn't see the preceeding comments