Bug 315993

Summary: Kate crashed on scrolling over the search and replace mode drop-down list
Product: [Applications] kate Reporter: Alexey Basinov <alexey-baskinov>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexey Basinov 2013-03-02 03:07:27 UTC
Application: kate (3.8.5)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-38-generic x86_64
Distribution: Ubuntu 12.04.2 LTS

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

I started scrolling over the drop-down list for the mode selection in the search and replace bar trying to switch to the “Regular expression” mode.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f578e118780 (LWP 27484))]

Thread 3 (Thread 0x7f57784bd700 (LWP 27485)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f577b8b0222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f577b8b0259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f578b03de9a in start_thread (arg=0x7f57784bd700) at pthread_create.c:308
#4  0x00007f578da5bcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f5776a34700 (LWP 27486)):
#0  0x00007fff501ff8de in ?? ()
#1  0x00007f5786c9715d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007f578b85bbb4 in do_gettime (frac=0x7f5776a33b98, sec=0x7f5776a33b90) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f578b933b8d in QTimerInfoList::updateCurrentTime (this=0x7f5770002860) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f578b933ec3 in QTimerInfoList::timerWait (this=0x7f5770002860, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007f578b93297c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f5776a33c6c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f578b932a25 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f578ab70846 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f578ab70f5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f578ab71164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f578b933426 in QEventDispatcherGlib::processEvents (this=0x7f57700008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007f578b902c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f578b902ed7 in QEventLoop::exec (this=0x7f5776a33dd0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f578b801fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007f578b8e29ff in QInotifyFileSystemWatcherEngine::run (this=0x27f8290) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f578b804fcb in QThreadPrivate::start (arg=0x27f8290) at thread/qthread_unix.cpp:298
#17 0x00007f578b03de9a in start_thread (arg=0x7f5776a34700) at pthread_create.c:308
#18 0x00007f578da5bcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f578e118780 (LWP 27484)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f577be91f19 in Kate::TextBuffer::rangesForLine (this=<optimized out>, line=4811, view=0x21b94d0, rangesWithAttributeOnly=true) at ../../part/buffer/katetextbuffer.cpp:820
#8  0x00007f577bf2d740 in KateRenderer::decorationsForLine (this=0x21b9220, textLine=..., line=4811, selectionsOnly=false, completionHighlight=0x0, completionSelected=false) at ../../part/render/katerenderer.cpp:333
#9  0x00007f577bf2ea9a in KateRenderer::layoutLine (this=0x21b9220, lineLayout=..., maxwidth=1512, cacheLayout=<optimized out>) at ../../part/render/katerenderer.cpp:895
#10 0x00007f577bf3347d in KateLayoutCache::line (this=0x21c4530, realLine=4811, virtualLine=-1) at ../../part/render/katelayoutcache.cpp:318
#11 0x00007f577bf33948 in KateLayoutCache::textLayout (this=<optimized out>, realLine=<optimized out>, _viewLine=0) at ../../part/render/katelayoutcache.cpp:351
#12 0x00007f577bf84d7e in KateViewInternal::viewLineOffset (this=0x21c3b80, virtualCursor=..., offset=<optimized out>, keepX=false) at ../../part/view/kateviewinternal.cpp:1317
#13 0x00007f577bf8540b in KateViewInternal::maxStartPos (this=0x21c3b80, changed=<optimized out>) at ../../part/view/kateviewinternal.cpp:419
#14 0x00007f577bf855b0 in doUpdateView (viewLinesScrolled=0, changed=<optimized out>, this=0x21c3b80) at ../../part/view/kateviewinternal.cpp:553
#15 KateViewInternal::doUpdateView (this=0x21c3b80, changed=<optimized out>, viewLinesScrolled=0) at ../../part/view/kateviewinternal.cpp:530
#16 0x00007f577bf85cac in KateViewInternal::updateView (this=0x21c3b80, changed=true, viewLinesScrolled=<optimized out>) at ../../part/view/kateviewinternal.cpp:524
#17 0x00007f577bf70ef6 in KateView::updateView (this=0x21b94d0, changed=<optimized out>) at ../../part/view/kateview.cpp:1706
#18 0x00007f577bf76a67 in KateView::updateConfig (this=0x21b94d0) at ../../part/view/kateview.cpp:1558
#19 0x00007f577bfeaafa in updateConfig (this=<optimized out>) at ../../part/utils/kateconfig.cpp:1252
#20 KateViewConfig::updateConfig (this=<optimized out>) at ../../part/utils/kateconfig.cpp:1241
#21 0x00007f577bf3ce01 in KateSearchBar::onPowerModeChanged (this=0x292de20) at ../../part/search/katesearchbar.cpp:1164
#22 0x00007f578b918281 in QMetaObject::activate (sender=0x2939e30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff501da880) at kernel/qobject.cpp:3547
#23 0x00007f578d24d461 in QComboBox::currentIndexChanged (this=<optimized out>, _t1=2) at .moc/release-shared/moc_qcombobox.cpp:316
#24 0x00007f578d24d4c7 in QComboBoxPrivate::_q_emitCurrentIndexChanged (this=<optimized out>, index=...) at widgets/qcombobox.cpp:1278
#25 0x00007f578d24d76a in QComboBoxPrivate::setCurrentIndex (this=0x29432d0, mi=...) at widgets/qcombobox.cpp:2046
#26 0x00007f578d24d877 in QComboBox::setCurrentIndex (this=<optimized out>, index=2) at widgets/qcombobox.cpp:2022
#27 0x00007f578d24da8e in QComboBox::wheelEvent (this=0x2939e30, e=0x7fff501db1e0) at widgets/qcombobox.cpp:3090
#28 0x00007f578ceb6984 in QWidget::event (this=0x2939e30, event=0x7fff501db1e0) at kernel/qwidget.cpp:8370
#29 0x00007f578ce65894 in notify_helper (e=0x7fff501db1e0, receiver=0x2939e30, this=0x6737e0) at kernel/qapplication.cpp:4559
#30 QApplicationPrivate::notify_helper (this=0x6737e0, receiver=0x2939e30, e=0x7fff501db1e0) at kernel/qapplication.cpp:4531
#31 0x00007f578ce6af70 in QApplication::notify (this=<optimized out>, receiver=0x2939e30, e=0x7fff501db1e0) at kernel/qapplication.cpp:4157
#32 0x00007f578c10f3f6 in KApplication::notify (this=0x7fff501dc040, receiver=0x2939e30, event=0x7fff501db1e0) at ../../kdeui/kernel/kapplication.cpp:311
#33 0x00007f578b903e9c in QCoreApplication::notifyInternal (this=0x7fff501dc040, receiver=0x2939e30, event=0x7fff501db1e0) at kernel/qcoreapplication.cpp:876
#34 0x00007f578ced2932 in sendSpontaneousEvent (event=0x7fff501db1e0, receiver=0x2939e30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#35 QETWidget::translateWheelEvent (this=<optimized out>, global_x=<optimized out>, global_y=<optimized out>, delta=120, buttons=..., modifiers=..., orient=Qt::Vertical) at kernel/qapplication_x11.cpp:4655
#36 0x00007f578cee5e6d in QETWidget::translateMouseEvent (this=0x292de20, event=0x7fff501dbbe0) at kernel/qapplication_x11.cpp:4432
#37 0x00007f578cee4bae in QApplication::x11ProcessEvent (this=0x7fff501dc040, event=0x7fff501dbbe0) at kernel/qapplication_x11.cpp:3732
#38 0x00007f578cf0e0d2 in x11EventSourceDispatch (s=0x676b70, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#39 0x00007f578ab70d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f578ab710a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f578ab71164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f578b9333bf in QEventDispatcherGlib::processEvents (this=0x63bb30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#43 0x00007f578cf0dd5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007f578b902c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#45 0x00007f578b902ed7 in QEventLoop::exec (this=0x7fff501dbf80, flags=...) at kernel/qeventloop.cpp:204
#46 0x00007f578b907f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#47 0x00007f578dd2d0d5 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../../kate/app/katemain.cpp:377
#48 0x00007f578d98976d in __libc_start_main (main=0x400630 <main(int, char**)>, argc=3, ubp_av=0x7fff501dd578, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff501dd568) at libc-start.c:226
#49 0x0000000000400661 in _start ()

Possible duplicates by query: bug 315745, bug 315160, bug 313427, bug 304351, bug 304018.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-03-04 08:29:54 UTC

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