Bug 307686 - Crash as autocomplete ran
Summary: Crash as autocomplete ran
Status: RESOLVED DUPLICATE of bug 294950
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-01 19:59 UTC by Steven
Modified: 2012-10-02 00:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven 2012-10-01 19:59:59 UTC
Application: kate (3.7.4)
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:
Kate crashed as I typed the third letter that would begin the search for autocomplete. I think I saw the  suggestion box flash just before it crashed, but I can't be sure. It may be irrelevent, but I did have upwards of 60 files open in the session and luckily I had saved everything only a minute before the crash.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f40b61e6780 (LWP 2374))]

Thread 3 (Thread 0x7f40a1dc5700 (LWP 2419)):
#0  0x00007f40b5b26473 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f40b2c7ff68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f40b2c80792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f40aa3e2516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f40b2ca52b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f40b3151efc in start_thread (arg=0x7f40a1dc5700) at pthread_create.c:304
#6  0x00007f40b5b3259d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4091b01700 (LWP 2549)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4093084fe2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f4093085019 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f40b3151efc in start_thread (arg=0x7f4091b01700) at pthread_create.c:304
#4  0x00007f40b5b3259d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f40b61e6780 (LWP 2374)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f4093575374 in toRange (this=0x67b8a90) at /usr/include/ktexteditor/movingrange.h:333
#8  KateTemplateHandler::jumpToFinalCursorPosition (this=0x6923b90) at ../../part/utils/katetemplatehandler.cpp:216
#9  0x00007f409357c778 in KateTemplateHandler::KateTemplateHandler (this=0x6923b90, view=<optimized out>, position=<optimized out>, templateString=..., initialValues=..., undoManager=0x67b5f60, templateScript=0x0) at ../../part/utils/katetemplatehandler.cpp:146
#10 0x00007f409346e327 in insertTemplateTextImplementation (view=0x679e4b0, templateScript=<optimized out>, initialValues=..., templateString=..., c=..., this=0x67b5830) at ../../part/document/katedocument.cpp:4693
#11 KateDocument::insertTemplateTextImplementation (this=0x67b5830, c=..., templateString=..., initialValues=..., templateScript=<optimized out>, view=0x679e4b0) at ../../part/document/katedocument.cpp:4681
#12 0x00007f40b031d6bd in KTextEditor::TemplateInterface2::insertTemplateText (this=0x679e510, insertPosition=..., templateString=..., initialValues=<optimized out>, templateScript=0x0) at ../../../interfaces/ktexteditor/templateinterface2.cpp:59
#13 0x00007f40921a4c8f in KTextEditor::CodesnippetsCore::SnippetCompletionModel::executeCompletionItem2 (this=<optimized out>, document=<optimized out>, word=..., index=<optimized out>) at ../../../../../kate/plugins/snippets_tng/lib/completionmodel.cpp:403
#14 0x00007f409342c01b in KateCompletionWidget::execute (this=0x682a8b0) at ../../part/completion/katecompletionwidget.cpp:821
#15 0x00007f409350ccf5 in keyPressEvent (e=0x7fffe1cc1250, this=0x679ecc0) at ../../part/view/kateviewinternal.cpp:2245
#16 KateViewInternal::keyPressEvent (this=0x679ecc0, e=0x7fffe1cc1250) at ../../part/view/kateviewinternal.cpp:2200
#17 0x00007f40935046b0 in KateViewInternal::eventFilter (this=0x679ecc0, obj=0x679ecc0, e=0x7fffe1cc1250) at ../../part/view/kateviewinternal.cpp:2152
#18 0x00007f40b3a10c88 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x679ecc0, event=0x7fffe1cc1250) at kernel/qcoreapplication.cpp:902
#19 0x00007f40b4f6b43f in notify_helper (e=0x7fffe1cc1250, receiver=0x679ecc0, this=0x23382a0) at kernel/qapplication.cpp:4482
#20 QApplicationPrivate::notify_helper (this=0x23382a0, receiver=0x679ecc0, e=0x7fffe1cc1250) at kernel/qapplication.cpp:4458
#21 0x00007f40b4f709d5 in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7fffe1cc1250) at kernel/qapplication.cpp:3945
#22 0x00007f40b41ef466 in KApplication::notify (this=0x7fffe1cc2120, receiver=0x679ecc0, event=0x7fffe1cc1250) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00007f40b3a10afc in QCoreApplication::notifyInternal (this=0x7fffe1cc2120, receiver=0x679ecc0, event=0x7fffe1cc1250) at kernel/qcoreapplication.cpp:787
#24 0x00007f40b500f029 in QKeyMapper::sendKeyEvent (keyWidget=0x679ecc0, grab=<optimized out>, type=QEvent::KeyPress, code=16777220, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=36, nativeVirtualKey=65293, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1866
#25 0x00007f40b500f49b in QKeyMapperPrivate::translateKeyEvent (this=0x2375cd0, keyWidget=0x679ecc0, event=0x7fffe1cc1c90, grab=false) at kernel/qkeymapper_x11.cpp:1836
#26 0x00007f40b4fea3d7 in QApplication::x11ProcessEvent (this=0x7fffe1cc2120, event=0x7fffe1cc1c90) at kernel/qapplication_x11.cpp:3586
#27 0x00007f40b50134a2 in x11EventSourceDispatch (s=0x233f4f0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0x00007f40b2c7fa5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f40b2c80258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f40b2c80429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f40b3a3bed6 in QEventDispatcherGlib::processEvents (this=0x230bfa0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#32 0x00007f40b501310e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007f40b3a0fcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007f40b3a0fef7 in QEventLoop::exec (this=0x7fffe1cc2060, flags=...) at kernel/qeventloop.cpp:201
#35 0x00007f40b3a14789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#36 0x00007f40b5df60d5 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../../kate/app/katemain.cpp:377
#37 0x00007f40b5a7030d in __libc_start_main (main=0x400630 <main(int, char**)>, argc=2, ubp_av=0x7fffe1cc3658, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffe1cc3648) at libc-start.c:226
#38 0x0000000000400661 in _start ()

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

Possible duplicates by query: bug 294950, bug 241935.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-10-02 00:24:28 UTC

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