Bug 309768 - Multiple undo crash
Summary: Multiple undo crash
Status: RESOLVED DUPLICATE of bug 247081
Alias: None
Product: kate
Classification: Applications
Component: part (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-08 20:03 UTC by Pascal Sotin
Modified: 2012-11-26 14:13 UTC (History)
0 users

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 Pascal Sotin 2012-11-08 20:03:00 UTC
Application: kile (2.1.0)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-26-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
Undo... Undo... Undo...
I was developping some latex code for beamer. I was using a latex package called "listings" which cause some code to be colored as verbatim. Nothing else special. I undid a long serie of actions and Kile eventually crashed.

-- Backtrace:
Application: Kile (kile), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f1f1b20a780 (LWP 2465))]

Thread 4 (Thread 0x7f1efffff700 (LWP 2468)):
#0  0x00007f1f17191e23 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f1f12636f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1f12637792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1f0bd9d516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f1f1265c2b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f1f13104efc in start_thread (arg=0x7f1efffff700) at pthread_create.c:304
#6  0x00007f1f1719df4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1efa0fb700 (LWP 2483)):
#0  0x00007f1f12635fa9 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f1f12636dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1f12637429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1f18a69f3e in QEventDispatcherGlib::processEvents (this=0x14ebe70, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f1f18a3dcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1f18a3def7 in QEventLoop::exec (this=0x7f1efa0fadd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f1f1895527f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f1f18a20cbf in QInotifyFileSystemWatcherEngine::run (this=0x14e48b0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f1f18957d05 in QThreadPrivate::start (arg=0x14e48b0) at thread/qthread_unix.cpp:331
#9  0x00007f1f13104efc in start_thread (arg=0x7f1efa0fb700) at pthread_create.c:304
#10 0x00007f1f1719df4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1ef8ce5700 (LWP 2540)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1f154b1fe2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f1f154b2019 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f1f13104efc in start_thread (arg=0x7f1ef8ce5700) at pthread_create.c:304
#4  0x00007f1f1719df4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1f1b20a780 (LWP 2465)):
[KCrash Handler]
#6  KateLineLayout::viewLineCount (this=0x0) at ../../part/render/katelinelayout.cpp:173
#7  0x00007f1efa8bafea in KateTextLayout::isValid (this=0x25ea840) at ../../part/render/katetextlayout.cpp:90
#8  0x00007f1efa8bb089 in KateTextLayout::line (this=0x25ea840) at ../../part/render/katetextlayout.cpp:95
#9  0x00007f1efa902e47 in KateViewInternal::endPos (this=0x25aae10) at ../../part/view/kateviewinternal.cpp:291
#10 0x00007f1efa9090bc in KateViewInternal::makeVisible (this=0x25aae10, c=..., endCol=52, force=false, center=<optimized out>, calledExternally=true) at ../../part/view/kateviewinternal.cpp:612
#11 0x00007f1efa90a4cf in KateViewInternal::updateCursor (this=0x25aae10, newCursor=<optimized out>, force=<optimized out>, center=true, calledExternally=true) at ../../part/view/kateviewinternal.cpp:1832
#12 0x00007f1efa8f30cc in KateView::setCursorPositionInternal (this=0x25aa530, position=..., tabwidth=1, calledExternally=true) at ../../part/view/kateview.cpp:1125
#13 0x00007f1efa896690 in KateUndoGroup::undo (this=0x1df7c50, view=0x25aa530) at ../../part/undo/kateundo.cpp:219
#14 0x00007f1efa897e7f in KateUndoManager::undo (this=0x25a6b50) at ../../part/undo/kateundomanager.cpp:240
#15 0x00007f1efa88a0c1 in KateDocument::qt_metacall (this=0x25a7090, _c=QMetaObject::InvokeMetaMethod, _id=36, _a=0x7fff9257bcf0) at ./katedocument.moc:331
#16 0x00007f1f18a51eba in QMetaObject::activate (sender=0x25beee0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff9257bcf0) at kernel/qobject.cpp:3278
#17 0x00007f1f17b6ebb2 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#18 0x00007f1f17b6ed9f in QAction::activate (this=0x25beee0, event=<optimized out>) at kernel/qaction.cpp:1257
#19 0x00007f1f17b6ef0f in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1183
#20 0x00007f1f1938d9ea in KAction::event (this=<optimized out>, event=0x7fff9257c180) at ../../kdeui/actions/kaction.cpp:131
#21 0x00007f1f17b75474 in notify_helper (e=0x7fff9257c180, receiver=0x25beee0, this=0x10d15b0) at kernel/qapplication.cpp:4486
#22 QApplicationPrivate::notify_helper (this=0x10d15b0, receiver=0x25beee0, e=0x7fff9257c180) at kernel/qapplication.cpp:4458
#23 0x00007f1f17b7a2e1 in QApplication::notify (this=0x7fff9257d440, receiver=0x25beee0, e=0x7fff9257c180) at kernel/qapplication.cpp:4365
#24 0x00007f1f19474466 in KApplication::notify (this=0x7fff9257d440, receiver=0x25beee0, event=0x7fff9257c180) at ../../kdeui/kernel/kapplication.cpp:311
#25 0x00007f1f18a3eafc in QCoreApplication::notifyInternal (this=0x7fff9257d440, receiver=0x25beee0, event=0x7fff9257c180) at kernel/qcoreapplication.cpp:787
#26 0x00007f1f17ba74e9 in sendEvent (event=0x7fff9257c180, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QShortcutMap::dispatchEvent (this=<optimized out>, e=0x7fff9257c590) at kernel/qshortcutmap.cpp:879
#28 0x00007f1f17ba89ba in QShortcutMap::tryShortcutEvent (this=0x10d16d8, o=<optimized out>, e=0x7fff9257c590) at kernel/qshortcutmap.cpp:364
#29 0x00007f1f17b7bb62 in QApplication::notify (this=0x7fff9257d440, receiver=0x25aae10, e=0x7fff9257c590) at kernel/qapplication.cpp:3928
#30 0x00007f1f19474466 in KApplication::notify (this=0x7fff9257d440, receiver=0x25aae10, event=0x7fff9257c590) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x00007f1f18a3eafc in QCoreApplication::notifyInternal (this=0x7fff9257d440, receiver=0x25aae10, event=0x7fff9257c590) at kernel/qcoreapplication.cpp:787
#32 0x00007f1f17c19029 in QKeyMapper::sendKeyEvent (keyWidget=0x25aae10, grab=<optimized out>, type=QEvent::KeyPress, code=90, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=25, nativeVirtualKey=122, nativeModifiers=20) at kernel/qkeymapper_x11.cpp:1866
#33 0x00007f1f17c1949b in QKeyMapperPrivate::translateKeyEvent (this=0x110fd20, keyWidget=0x25aae10, event=0x7fff9257cfd0, grab=false) at kernel/qkeymapper_x11.cpp:1836
#34 0x00007f1f17bf43d7 in QApplication::x11ProcessEvent (this=0x7fff9257d440, event=0x7fff9257cfd0) at kernel/qapplication_x11.cpp:3586
#35 0x00007f1f17c1d4a2 in x11EventSourceDispatch (s=0x10d5250, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#36 0x00007f1f12636a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f1f12637258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f1f12637429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f1f18a69ed6 in QEventDispatcherGlib::processEvents (this=0x10a2fa0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#40 0x00007f1f17c1d10e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f1f18a3dcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007f1f18a3def7 in QEventLoop::exec (this=0x7fff9257d3a0, flags=...) at kernel/qeventloop.cpp:201
#43 0x00007f1f18a42789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#44 0x0000000000436c74 in ?? ()
#45 0x00007f1f170da30d in __libc_start_main (main=0x435ac0, argc=1, ubp_av=0x7fff9257e268, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff9257e258) at libc-start.c:226
#46 0x0000000000439005 in _start ()

Reported using DrKonqi
Comment 1 Michel Ludwig 2012-11-23 22:02:43 UTC
Forwarding to KatePart.
Comment 2 Dominik Haumann 2012-11-25 11:54:08 UTC
1. do you use static word wrap?
2. can you reproduce? :-)

This might be fixed, so I'd suggest to update to KDE 4.9, if possible.

*** This bug has been marked as a duplicate of bug 247081 ***
Comment 3 Pascal Sotin 2012-11-26 14:13:37 UTC
1) I do not use any word wrap (if you mean line wrap in fact).
2) I did not try to reproduce the bug (because it seemed hard to do).
Thanks for taking care of that software.

Pascal.



________________________________
 De : Dominik Haumann <dhaumann@kde.org>
À : pascal_sotin@yahoo.fr 
Envoyé le : Dimanche 25 novembre 2012 12h54
Objet : [Bug 309768] Multiple undo crash
 
https://bugs.kde.org/show_bug.cgi?id=309768

Dominik Haumann <dhaumann@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Dominik Haumann <dhaumann@kde.org> ---
1. do you use static word wrap?
2. can you reproduce? :-)

This might be fixed, so I'd suggest to update to KDE 4.9, if possible.

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