Bug 333329 - Kate crash on IPython console check
Summary: Kate crash on IPython console check
Status: RESOLVED NOT A BUG
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: 3.13.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
: 359787 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-04-11 17:30 UTC by grounux
Modified: 2016-09-05 16:36 UTC (History)
9 users (show)

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


Attachments
New crash information added by DrKonqi (23.38 KB, text/plain)
2014-04-19 20:52 UTC, Mauricio
Details
Full backtrace of my crash (23.82 KB, text/plain)
2014-04-25 20:29 UTC, Marcelo Jimenez
Details
New crash information added by DrKonqi (24.25 KB, text/plain)
2014-06-27 23:16 UTC, David
Details
New crash information added by DrKonqi (15.75 KB, text/plain)
2014-06-29 18:40 UTC, Arun Tigeraniya
Details
Crash report (16.02 KB, text/plain)
2014-10-16 09:21 UTC, Alexandr Zamaraev (aka Tonal)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description grounux 2014-04-11 17:30:50 UTC
Application: kate (3.13.0)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-23-generic x86_64
Distribution: Ubuntu 14.04 LTS

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

Trying to enable Kate python plugins.

Kate crash when I click on the checkbox "IPython console", before clicking on apply. Other checkboxes are fine.

- Custom settings of the application:

Python plugins plugin is loaded, but no python plugin is loaded yet.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7fdde3d68700 (LWP 2778)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fddec7b9ffb in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fddec7ba039 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fddfc9b1182 in start_thread (arg=0x7fdde3d68700) at pthread_create.c:312
#4  0x00007fddff3a130d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fddffa587c0 (LWP 2777)):
[KCrash Handler]
#6  0x00007fddff2dcf79 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007fddff2e0388 in __GI_abort () at abort.c:89
#8  0x00007fddff2d5e36 in __assert_fail_base (fmt=0x7fddff427718 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7fddea74d398 "(((td)->td_flags & 0x0007) == 0x0000) || (((td)->td_flags & 0x0007) == 0x0002)", file=file@entry=0x7fddea74ccf8 "/build/buildd/sip4-4.15.5/siplib/siplib.c", line=line@entry=8407, function=function@entry=0x7fddea74c4a0 <__PRETTY_FUNCTION__.14147> "sip_api_can_convert_to_type") at assert.c:92
#9  0x00007fddff2d5ee2 in __GI___assert_fail (assertion=assertion@entry=0x7fddea74d398 "(((td)->td_flags & 0x0007) == 0x0000) || (((td)->td_flags & 0x0007) == 0x0002)", file=file@entry=0x7fddea74ccf8 "/build/buildd/sip4-4.15.5/siplib/siplib.c", line=line@entry=8407, function=function@entry=0x7fddea74c4a0 <__PRETTY_FUNCTION__.14147> "sip_api_can_convert_to_type") at assert.c:101
#10 0x00007fddea73e1e3 in sip_api_can_convert_to_type (pyObj=<optimized out>, td=<optimized out>, flags=<optimized out>) at /build/buildd/sip4-4.15.5/siplib/siplib.c:8407
#11 0x00007fddea743922 in sip_api_force_convert_to_type (pyObj=0x7fddea363950, td=0x7fdde7b87870 <enumTypes+7056>, transferObj=0x0, flags=1, statep=0x7fff575fb94c, iserrp=0x7fff575fb948) at /build/buildd/sip4-4.15.5/siplib/siplib.c:8513
#12 0x00007fdde7905ecc in Chimera::fromPyObject(_object*, QVariant*, bool) const () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#13 0x00007fdde78fa0d7 in handle_argument(_object*, QObject*, _object*, _object*) () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#14 0x00007fdde78fa525 in qpycore_qobject_finalisation(_object*, QObject*, _object*, _object**) () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#15 0x00007fddea73d9cb in sipSimpleWrapper_init (self=0x7fdd5b47b478, args=0x7fdd5b537368, kwds=0x7fdd5b487050) at /build/buildd/sip4-4.15.5/siplib/siplib.c:9665
#16 0x00007fddeacc44df in type_call.26491 (type=<optimized out>, args=0x7fdd5b537368, kwds=0x7fdd5b487050) at ../Objects/typeobject.c:745
#17 0x00007fddeacc1e23 in PyObject_Call (func=func@entry=0x1154770, arg=arg@entry=0x7fdd5b537368, kw=kw@entry=0x7fdd5b487050) at ../Objects/abstract.c:2529
#18 0x00007fddeacf5816 in do_call (nk=<optimized out>, na=2, pp_stack=0x7fff575fbd50, func=0x1154770) at ../Python/ceval.c:4238
#19 call_function (oparg=<optimized out>, pp_stack=0x7fff575fbd50) at ../Python/ceval.c:4043
#20 PyEval_EvalFrameEx (f=f@entry=0x24e74d0, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#21 0x00007fddeacfa17d in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=locals@entry=0x0, args=args@entry=0x7fdde3e40ae8, argcount=1, kws=kws@entry=0x7fdd5b4c4478, kwcount=kwcount@entry=3, defs=defs@entry=0x7fddea3cd8e8, defcount=defcount@entry=1, closure=0x0) at ../Python/ceval.c:3252
#22 0x00007fddeacfa3e5 in function_call.15737 (func=0x7fddea3d1b18, arg=0x7fdde3e40ad0, kw=0x7fdd5b4f55c8) at ../Objects/funcobject.c:526
#23 0x00007fddeacc1e23 in PyObject_Call (func=func@entry=0x7fddea3d1b18, arg=arg@entry=0x7fdde3e40ad0, kw=kw@entry=0x7fdd5b4f55c8) at ../Objects/abstract.c:2529
#24 0x00007fddeacf43b1 in ext_do_call (nk=<optimized out>, na=<optimized out>, flags=<optimized out>, pp_stack=0x7fff575fc030, func=0x7fddea3d1b18) at ../Python/ceval.c:4333
#25 PyEval_EvalFrameEx (f=f@entry=0x7fdd5b4eb960, throwflag=throwflag@entry=0) at ../Python/ceval.c:2705
#26 0x00007fddeacfa17d in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=locals@entry=0x0, args=args@entry=0x7fdde3e403a8, argcount=1, kws=kws@entry=0x7fdde3e3f958, kwcount=kwcount@entry=3, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=0x0) at ../Python/ceval.c:3252
#27 0x00007fddeacfa3e5 in function_call.15737 (func=0x7fddea3695f0, arg=0x7fdde3e40390, kw=0x7fdd5b4f54b0) at ../Objects/funcobject.c:526
#28 0x00007fddeacc1e23 in PyObject_Call (func=func@entry=0x7fddea3695f0, arg=arg@entry=0x7fdde3e40390, kw=kw@entry=0x7fdd5b4f54b0) at ../Objects/abstract.c:2529
#29 0x00007fddeacf43b1 in ext_do_call (nk=<optimized out>, na=<optimized out>, flags=<optimized out>, pp_stack=0x7fff575fc310, func=0x7fddea3695f0) at ../Python/ceval.c:4333
#30 PyEval_EvalFrameEx (f=f@entry=0x7fdd5b4ec248, throwflag=throwflag@entry=0) at ../Python/ceval.c:2705
#31 0x00007fddeacfa17d in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=locals@entry=0x0, args=args@entry=0x7fdde3e40368, argcount=1, kws=kws@entry=0x7fdde3e3fa90, kwcount=kwcount@entry=3, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=0x0) at ../Python/ceval.c:3252
#32 0x00007fddeacfa3e5 in function_call.15737 (func=0x7fddea348c80, arg=0x7fdde3e40350, kw=0x7fdd5b4f5398) at ../Objects/funcobject.c:526
#33 0x00007fddeacc1e23 in PyObject_Call (func=func@entry=0x7fddea348c80, arg=arg@entry=0x7fdde3e40350, kw=kw@entry=0x7fdd5b4f5398) at ../Objects/abstract.c:2529
#34 0x00007fddeacf43b1 in ext_do_call (nk=<optimized out>, na=<optimized out>, flags=<optimized out>, pp_stack=0x7fff575fc5f0, func=0x7fddea348c80) at ../Python/ceval.c:4333
#35 PyEval_EvalFrameEx (f=f@entry=0x7fdd5b4eb790, throwflag=throwflag@entry=0) at ../Python/ceval.c:2705
#36 0x00007fddeacfa17d in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=locals@entry=0x0, args=args@entry=0x7fdde3e20228, argcount=1, kws=kws@entry=0x7fdde4e42f70, kwcount=kwcount@entry=3, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=0x0) at ../Python/ceval.c:3252
#37 0x00007fddeacfa3e5 in function_call.15737 (func=0x7fddea355aa0, arg=0x7fdde3e20210, kw=0x7fdd5b4f5050) at ../Objects/funcobject.c:526
#38 0x00007fddeacc1e23 in PyObject_Call (func=func@entry=0x7fddea355aa0, arg=arg@entry=0x7fdde3e20210, kw=kw@entry=0x7fdd5b4f5050) at ../Objects/abstract.c:2529
#39 0x00007fddeacf43b1 in ext_do_call (nk=<optimized out>, na=<optimized out>, flags=<optimized out>, pp_stack=0x7fff575fc8d0, func=0x7fddea355aa0) at ../Python/ceval.c:4333
#40 PyEval_EvalFrameEx (f=f@entry=0x7fddea3857b0, throwflag=throwflag@entry=0) at ../Python/ceval.c:2705
#41 0x00007fddeacfa17d in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=locals@entry=0x0, args=args@entry=0x7fdde3e54528, argcount=1, kws=kws@entry=0x7fdde3e48068, kwcount=kwcount@entry=2, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=0x0) at ../Python/ceval.c:3252
#42 0x00007fddeacfa3e5 in function_call.15737 (func=0x7fdd5b4f8b18, arg=0x7fdde3e54510, kw=0x7fdd5b4d7d70) at ../Objects/funcobject.c:526
#43 0x00007fddeacc1e23 in PyObject_Call (func=func@entry=0x7fdd5b4f8b18, arg=arg@entry=0x7fdde3e54510, kw=kw@entry=0x7fdd5b4d7d70) at ../Objects/abstract.c:2529
#44 0x00007fddeac1530d in instancemethod_call.8988 (func=0x7fdd5b4f8b18, arg=0x7fdde3e54510, kw=0x7fdd5b4d7d70) at ../Objects/classobject.c:2602
#45 0x00007fddeacc1e23 in PyObject_Call (func=func@entry=0x7fdd5bf59140, arg=arg@entry=0x7fddff974050, kw=kw@entry=0x7fdd5b4d7d70) at ../Objects/abstract.c:2529
#46 0x00007fddeacc648f in slot_tp_init.26761 (self=0x7fdd5b503c30, args=0x7fddff974050, kwds=0x7fdd5b4d7d70) at ../Objects/typeobject.c:5692
#47 0x00007fddeacc44df in type_call.26491 (type=<optimized out>, args=0x7fddff974050, kwds=0x7fdd5b4d7d70) at ../Objects/typeobject.c:745
#48 0x00007fddeacc1e23 in PyObject_Call (func=func@entry=0x22dde60, arg=arg@entry=0x7fddff974050, kw=kw@entry=0x7fdd5b4d7d70) at ../Objects/abstract.c:2529
#49 0x00007fddeacf5816 in do_call (nk=<optimized out>, na=0, pp_stack=0x7fff575fced0, func=0x22dde60) at ../Python/ceval.c:4238
#50 call_function (oparg=<optimized out>, pp_stack=0x7fff575fced0) at ../Python/ceval.c:4043
#51 PyEval_EvalFrameEx (f=f@entry=0x20a5840, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#52 0x00007fddeacfa17d in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=locals@entry=0x0, args=<optimized out>, argcount=argcount@entry=0, kws=0x20d30d8, kwcount=2, defs=0x7fddea354ce8, defcount=1, closure=closure@entry=0x0) at ../Python/ceval.c:3252
#53 0x00007fddeacf7dd8 in fast_function (nk=<optimized out>, na=0, n=4, pp_stack=0x7fff575fd0f0, func=0x7fdd5b4dc230) at ../Python/ceval.c:4116
#54 call_function (oparg=<optimized out>, pp_stack=0x7fff575fd0f0) at ../Python/ceval.c:4041
#55 PyEval_EvalFrameEx (f=f@entry=0x20d2f20, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#56 0x00007fddeacfa17d in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=locals@entry=0x0, args=args@entry=0x7fdd5b537140, argcount=2, kws=kws@entry=0x0, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=0x0) at ../Python/ceval.c:3252
#57 0x00007fddeacfa310 in function_call.15737 (func=0x7fdd5b4dc758, arg=0x7fdd5b537128, kw=0x0) at ../Objects/funcobject.c:526
#58 0x00007fddeacc1e23 in PyObject_Call (func=func@entry=0x7fdd5b4dc758, arg=arg@entry=0x7fdd5b537128, kw=kw@entry=0x0) at ../Objects/abstract.c:2529
#59 0x00007fddeac1530d in instancemethod_call.8988 (func=0x7fdd5b4dc758, arg=0x7fdd5b537128, kw=0x0) at ../Objects/classobject.c:2602
#60 0x00007fddeacc1e23 in PyObject_Call (func=func@entry=0x7fdd5bfb4f00, arg=arg@entry=0x7fdde3e54290, kw=kw@entry=0x0) at ../Objects/abstract.c:2529
#61 0x00007fddeacc648f in slot_tp_init.26761 (self=0x7fdd5b503b00, args=0x7fdde3e54290, kwds=0x0) at ../Objects/typeobject.c:5692
#62 0x00007fddeacc44df in type_call.26491 (type=<optimized out>, args=0x7fdde3e54290, kwds=0x0) at ../Objects/typeobject.c:745
#63 0x00007fddeacc1e23 in PyObject_Call (func=func@entry=0x22dfb50, arg=arg@entry=0x7fdde3e54290, kw=kw@entry=0x0) at ../Objects/abstract.c:2529
#64 0x00007fddeacf5816 in do_call (nk=<optimized out>, na=1, pp_stack=0x7fff575fd6f0, func=0x22dfb50) at ../Python/ceval.c:4238
#65 call_function (oparg=<optimized out>, pp_stack=0x7fff575fd6f0) at ../Python/ceval.c:4043
#66 PyEval_EvalFrameEx (f=f@entry=0x7fdde8823560, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#67 0x00007fddeacfa17d in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=locals@entry=0x0, args=args@entry=0x7fddff974068, argcount=0, kws=kws@entry=0x7fddff974068, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=0x0) at ../Python/ceval.c:3252
#68 0x00007fddeacfa3e5 in function_call.15737 (func=0x7fdd5ebe38c0, arg=0x7fddff974050, kw=0x7fdd5b4d7910) at ../Objects/funcobject.c:526
#69 0x00007fddeacc1e23 in PyObject_Call (func=func@entry=0x7fdd5ebe38c0, arg=arg@entry=0x7fddff974050, kw=kw@entry=0x7fdd5b4d7910) at ../Objects/abstract.c:2529
#70 0x00007fddeacf43b1 in ext_do_call (nk=<optimized out>, na=<optimized out>, flags=<optimized out>, pp_stack=0x7fff575fd9d0, func=0x7fdd5ebe38c0) at ../Python/ceval.c:4333
#71 PyEval_EvalFrameEx (f=f@entry=0x7fddea376bc0, throwflag=throwflag@entry=0) at ../Python/ceval.c:2705
#72 0x00007fddeacfa17d in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=locals@entry=0x0, args=args@entry=0x7fddff974068, argcount=0, kws=kws@entry=0x7fdde4e52a60, kwcount=kwcount@entry=2, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=0x0) at ../Python/ceval.c:3252
#73 0x00007fddeacfa3e5 in function_call.15737 (func=0x7fdde4e55c80, arg=0x7fddff974050, kw=0x7fdd5b4d74b0) at ../Objects/funcobject.c:526
#74 0x00007fddeacc1e23 in PyObject_Call (func=0x7fdde4e55c80, arg=arg@entry=0x7fddff974050, kw=kw@entry=0x7fdd5b4d74b0) at ../Objects/abstract.c:2529
#75 0x00007fddead6bd81 in partial_call.52490 (pto=0x7fdde4e524c8, args=<optimized out>, kw=0x7fdde7683050) at ../Modules/_functoolsmodule.c:205
#76 0x00007fddeacc1e23 in PyObject_Call (func=func@entry=0x7fdde4e524c8, arg=arg@entry=0x7fddff974050, kw=kw@entry=0x7fdde7683050) at ../Objects/abstract.c:2529
#77 0x00007fddeacf5816 in do_call (nk=<optimized out>, na=0, pp_stack=0x7fff575fdd20, func=0x7fdde4e524c8) at ../Python/ceval.c:4238
#78 call_function (oparg=<optimized out>, pp_stack=0x7fff575fdd20) at ../Python/ceval.c:4043
#79 PyEval_EvalFrameEx (f=f@entry=0x7fddea3a2590, throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
#80 0x00007fddeacfa17d in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=locals@entry=0x0, args=args@entry=0x7fddea97a768, argcount=1, kws=kws@entry=0x0, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, closure=0x0) at ../Python/ceval.c:3252
#81 0x00007fddeacfa310 in function_call.15737 (func=0x7fdde3e44a28, arg=0x7fddea97a750, kw=0x0) at ../Objects/funcobject.c:526
#82 0x00007fddeacc1e23 in PyObject_Call (func=func@entry=0x7fdde3e44a28, arg=arg@entry=0x7fddea97a750, kw=<optimized out>) at ../Objects/abstract.c:2529
#83 0x00007fddeac80837 in PyEval_CallObjectWithKeywords (func=0x7fdde3e44a28, arg=0x7fddea97a750, kw=<optimized out>) at ../Python/ceval.c:3889
#84 0x00007fddeb1114b9 in Pate::Python::functionCall (this=this@entry=0x7fff575fe020, functionName=functionName@entry=0x7fddeb11459d "_pluginLoaded", moduleName=0x7fddeb1151e4 "pate", arguments=arguments@entry=0x7fddea97a750) at ../../../../../addons/kate/pate/src/utilities.cpp:105
#85 0x00007fddeb10b458 in Pate::Engine::loadModule (this=<optimized out>, idx=<optimized out>) at ../../../../../addons/kate/pate/src/engine.cpp:773
#86 0x00007fddeb10bae5 in Pate::Engine::setData (this=0xd32d38, index=..., value=..., role=-1) at ../../../../../addons/kate/pate/src/engine.cpp:385
#87 0x00007fddfed31a94 in QSortFilterProxyModel::setData (this=this@entry=0x1f0d460, index=..., value=..., role=role@entry=10) at itemviews/qsortfilterproxymodel.cpp:1747
#88 0x00007fddfed52799 in QStyledItemDelegate::editorEvent (this=0x255e820, event=<optimized out>, model=0x1f0d460, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:758
#89 0x00007fddfecb4032 in QAbstractItemViewPrivate::sendDelegateEvent (this=this@entry=0x2019710, index=..., event=event@entry=0x7fff575fec30) at itemviews/qabstractitemview.cpp:4184
#90 0x00007fddfecba3ab in QAbstractItemView::edit (this=this@entry=0x204e440, index=..., trigger=trigger@entry=QAbstractItemView::NoEditTriggers, event=event@entry=0x7fff575fec30) at itemviews/qabstractitemview.cpp:2560
#91 0x00007fddfecb4325 in QAbstractItemView::mouseReleaseEvent (this=0x204e440, event=0x7fff575fec30) at itemviews/qabstractitemview.cpp:1802
#92 0x00007fddfe80c50a in QWidget::event (this=this@entry=0x204e440, event=event@entry=0x7fff575fec30) at kernel/qwidget.cpp:8376
#93 0x00007fddfebadfce in QFrame::event (this=0x204e440, e=0x7fff575fec30) at widgets/qframe.cpp:557
#94 0x00007fddfecbd5b3 in QAbstractItemView::viewportEvent (this=this@entry=0x204e440, event=event@entry=0x7fff575fec30) at itemviews/qabstractitemview.cpp:1644
#95 0x00007fddfecfc190 in QTreeView::viewportEvent (this=0x204e440, event=0x7fff575fec30) at itemviews/qtreeview.cpp:1252
#96 0x00007fddfd284646 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x986300, receiver=receiver@entry=0x204e9a0, event=event@entry=0x7fff575fec30) at kernel/qcoreapplication.cpp:1063
#97 0x00007fddfe7bce0c in QApplicationPrivate::notify_helper (this=this@entry=0x986300, receiver=receiver@entry=0x204e9a0, e=e@entry=0x7fff575fec30) at kernel/qapplication.cpp:4563
#98 0x00007fddfe7c35dd in QApplication::notify (this=this@entry=0x7fff576005f0, receiver=receiver@entry=0x204e9a0, e=e@entry=0x7fff575fec30) at kernel/qapplication.cpp:4110
#99 0x00007fddfda88baa in KApplication::notify (this=0x7fff576005f0, receiver=0x204e9a0, event=0x7fff575fec30) at ../../kdeui/kernel/kapplication.cpp:311
#100 0x00007fddfd2844dd in QCoreApplication::notifyInternal (this=0x7fff576005f0, receiver=receiver@entry=0x204e9a0, event=event@entry=0x7fff575fec30) at kernel/qcoreapplication.cpp:953
#101 0x00007fddfe7c2d93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#102 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x204e9a0, event=event@entry=0x7fff575fec30, alienWidget=alienWidget@entry=0x204e9a0, nativeWidget=nativeWidget@entry=0x1b74790, buttonDown=buttonDown@entry=0x7fddff2a2318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#103 0x00007fddfe8379cb in QETWidget::translateMouseEvent (this=this@entry=0x1b74790, event=event@entry=0x7fff575fefb0) at kernel/qapplication_x11.cpp:4634
#104 0x00007fddfe837269 in QApplication::x11ProcessEvent (this=0x7fff576005f0, event=event@entry=0x7fff575fefb0) at kernel/qapplication_x11.cpp:3627
#105 0x00007fddfe85eb02 in x11EventSourceDispatch (s=0x978b20, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#106 0x00007fddfc4d1e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#107 0x00007fddfc4d2048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#108 0x00007fddfc4d20ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#109 0x00007fddfd2b17a1 in QEventDispatcherGlib::processEvents (this=0x973040, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#110 0x00007fddfe85ebb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#111 0x00007fddfd2830af in QEventLoop::processEvents (this=this@entry=0x7fff575ff390, flags=...) at kernel/qeventloop.cpp:149
#112 0x00007fddfd2833a5 in QEventLoop::exec (this=this@entry=0x7fff575ff390, flags=...) at kernel/qeventloop.cpp:204
#113 0x00007fddfec63fec in QDialog::exec (this=this@entry=0x1b74790) at dialogs/qdialog.cpp:562
#114 0x00007fddfdee73e7 in KateMainWindow::showPluginConfigPage (this=0x1119d20, configpageinterface=0x0, id=0) at ../../../kate/app/katemainwindow.cpp:754
#115 0x00007fddfdeed849 in slotConfigure (this=<optimized out>) at ../../../kate/app/katemainwindow.cpp:742
#116 KateMainWindow::qt_static_metacall (_o=0x1119d20, _id=2777, _a=0x6, _c=<optimized out>) at ./katemainwindow.moc:175
#117 0x00007fddfd29887a in QMetaObject::activate (sender=sender@entry=0x140d980, m=m@entry=0x7fddff266de0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff575ff560) at kernel/qobject.cpp:3539
#118 0x00007fddfe7b6a62 in QAction::triggered (this=this@entry=0x140d980, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#119 0x00007fddfe7b8433 in QAction::activate (this=this@entry=0x140d980, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#120 0x00007fddfebe6489 in QMenuPrivate::activateCausedStack (this=this@entry=0xb06fb0, causedStack=..., action=action@entry=0x140d980, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038
#121 0x00007fddfebea9b9 in QMenuPrivate::activateAction (this=0xb06fb0, action=0x140d980, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1130
#122 0x00007fddfebee385 in QMenu::mouseReleaseEvent (this=this@entry=0xb06a70, e=e@entry=0x7fff575ffc90) at widgets/qmenu.cpp:2372
#123 0x00007fddfdb3f4f5 in KMenu::mouseReleaseEvent (this=0xb06a70, e=0x7fff575ffc90) at ../../kdeui/widgets/kmenu.cpp:464
#124 0x00007fddfe80c50a in QWidget::event (this=this@entry=0xb06a70, event=event@entry=0x7fff575ffc90) at kernel/qwidget.cpp:8376
#125 0x00007fddfebee7bb in QMenu::event (this=0xb06a70, e=0x7fff575ffc90) at widgets/qmenu.cpp:2481
#126 0x00007fddfe7bce2c in QApplicationPrivate::notify_helper (this=this@entry=0x986300, receiver=receiver@entry=0xb06a70, e=e@entry=0x7fff575ffc90) at kernel/qapplication.cpp:4567
#127 0x00007fddfe7c35dd in QApplication::notify (this=this@entry=0x7fff576005f0, receiver=receiver@entry=0xb06a70, e=e@entry=0x7fff575ffc90) at kernel/qapplication.cpp:4110
#128 0x00007fddfda88baa in KApplication::notify (this=0x7fff576005f0, receiver=0xb06a70, event=0x7fff575ffc90) at ../../kdeui/kernel/kapplication.cpp:311
#129 0x00007fddfd2844dd in QCoreApplication::notifyInternal (this=0x7fff576005f0, receiver=receiver@entry=0xb06a70, event=event@entry=0x7fff575ffc90) at kernel/qcoreapplication.cpp:953
#130 0x00007fddfe7c2d93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#131 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0xb06a70, event=event@entry=0x7fff575ffc90, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0xb06a70, buttonDown=buttonDown@entry=0x7fddff2a2318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#132 0x00007fddfe837cfc in QETWidget::translateMouseEvent (this=this@entry=0xb06a70, event=event@entry=0x7fff575fffe0) at kernel/qapplication_x11.cpp:4568
#133 0x00007fddfe837269 in QApplication::x11ProcessEvent (this=0x7fff576005f0, event=event@entry=0x7fff575fffe0) at kernel/qapplication_x11.cpp:3627
#134 0x00007fddfe85eb02 in x11EventSourceDispatch (s=0x978b20, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#135 0x00007fddfc4d1e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#136 0x00007fddfc4d2048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#137 0x00007fddfc4d20ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#138 0x00007fddfd2b17a1 in QEventDispatcherGlib::processEvents (this=0x973040, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#139 0x00007fddfe85ebb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#140 0x00007fddfd2830af in QEventLoop::processEvents (this=this@entry=0x7fff576003b0, flags=...) at kernel/qeventloop.cpp:149
#141 0x00007fddfd2833a5 in QEventLoop::exec (this=this@entry=0x7fff576003b0, flags=...) at kernel/qeventloop.cpp:204
#142 0x00007fddfd288b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#143 0x00007fddfe7bb37c in QApplication::exec () at kernel/qapplication.cpp:3828
#144 0x00007fddff672d15 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../../kate/app/katemain.cpp:381
#145 0x00007fddff2c7ec5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=1, argv=0x7fff57600778, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff57600768) at libc-start.c:287
#146 0x00000000004006fe in _start ()

Possible duplicates by query: bug 315521, bug 311955, bug 303176, bug 301141, bug 289949.

Reported using DrKonqi
Comment 1 Mauricio 2014-04-19 20:52:29 UTC
Created attachment 86178 [details]
New crash information added by DrKonqi

kate (3.13.0) on KDE Platform 4.13.0 using Qt 4.8.6

- What I was doing when the application crashed: I enabled the python plugins under Kate plugins. Then I checked the IPython plugin and then kate crashed.

- Custom settings of the application: Python plugins + IPython plugin.

-- Backtrace (Reduced):
#6  0x00007f36038b2f79 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f36038b6388 in __GI_abort () at abort.c:89
#8  0x00007f36038abe36 in __assert_fail_base (fmt=0x7f36039fd718 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7f35eedf4398 "(((td)->td_flags & 0x0007) == 0x0000) || (((td)->td_flags & 0x0007) == 0x0002)", file=file@entry=0x7f35eedf3cf8 "/build/buildd/sip4-4.15.5/siplib/siplib.c", line=line@entry=8407, function=function@entry=0x7f35eedf34a0 <__PRETTY_FUNCTION__.14147> "sip_api_can_convert_to_type") at assert.c:92
#9  0x00007f36038abee2 in __GI___assert_fail (assertion=assertion@entry=0x7f35eedf4398 "(((td)->td_flags & 0x0007) == 0x0000) || (((td)->td_flags & 0x0007) == 0x0002)", file=file@entry=0x7f35eedf3cf8 "/build/buildd/sip4-4.15.5/siplib/siplib.c", line=line@entry=8407, function=function@entry=0x7f35eedf34a0 <__PRETTY_FUNCTION__.14147> "sip_api_can_convert_to_type") at assert.c:101
#10 0x00007f35eede51e3 in sip_api_can_convert_to_type (pyObj=<optimized out>, td=<optimized out>, flags=<optimized out>) at /build/buildd/sip4-4.15.5/siplib/siplib.c:8407
Comment 2 Marcelo Jimenez 2014-04-25 20:25:22 UTC
I had a very similar crash here, kate compiled from the sources. The assertion is inside /usr/lib64/python2.7/site-packages/sip.so. I was using python-sip-4.14.6-1.4.1.x86_64

Thread 1 (Thread 0x7fa426ad3780 (LWP 4743)):
[KCrash Handler]
#5  0x00007fa42200f3d5 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#6  0x00007fa422010858 in __GI_abort () at abort.c:90
#7  0x00007fa4220082e2 in __assert_fail_base (fmt=0x7fa4221461b8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7fa37740ae70 "(((td)->td_flags & 0x0007) == 0x0000) || (((td)->td_flags & 0x0007) == 0x0002)", file=file@entry=0x7fa37740bae5 "siplib.c", line=line@entry=8229, function=function@entry=0x7fa37740a9d0 <__PRETTY_FUNCTION__.13946> "sip_api_can_convert_to_type") at assert.c:92
#8  0x00007fa422008392 in __GI___assert_fail (assertion=assertion@entry=0x7fa37740ae70 "(((td)->td_flags & 0x0007) == 0x0000) || (((td)->td_flags & 0x0007) == 0x0002)", file=file@entry=0x7fa37740bae5 "siplib.c", line=line@entry=8229, function=function@entry=0x7fa37740a9d0 <__PRETTY_FUNCTION__.13946> "sip_api_can_convert_to_type") at assert.c:101
#9  0x00007fa3773fce83 in sip_api_can_convert_to_type (pyObj=<optimized out>, td=<optimized out>, flags=<optimized out>) at siplib.c:8229
#10 0x00007fa377400ab7 in sip_api_force_convert_to_type (pyObj=0x58feb90, td=0x7fa373454e10, transferObj=0x0, flags=1, statep=0x7fff2c4b1dc8, iserrp=0x7fff2c4b1dcc) at siplib.c:8336
#11 0x00007fa3731c0b76 in Chimera::fromPyObject(_object*, QVariant*, bool) const () from /usr/lib64/python2.7/site-packages/PyQt4/QtCore.so
#12 0x00007fa3731afd7f in qpycore_pyqtconfigure(_object*, QObject*, _object*) () from /usr/lib64/python2.7/site-packages/PyQt4/QtCore.so
Comment 3 Marcelo Jimenez 2014-04-25 20:29:49 UTC
Created attachment 86269 [details]
Full backtrace of my crash
Comment 4 Jonathan Verner 2014-05-02 10:28:04 UTC
Today I have upgraded to kde 4.13 and kate started crashing on me (probably due to having enabled the Python plugins). When I edit my config file and set katepateplugin=false kate
stops crashing. However, when I enable the python plugins from the settings menu (clicking the checkbox is enough), kate immediately crashes. When run from the command line, it gives the following output:

kate(11490)/Kate (Plugins): "Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/IPython/__init__.py", line 45, in <module>
    from .core.application import Application
  File "/usr/lib/python2.7/dist-packages/IPython/core/application.py", line 37, in <module>
    from IPython.config.application import Application, catch_config_error
  File "/usr/lib/python2.7/dist-packages/IPython/config/application.py", line 67, in <module>
    """.strip().format(app=os.path.basename(sys.argv[0]))
AttributeError: 'module' object has no attribute 'argv'
Could not import IPython" 
kate(11490)/Kate (Plugins): Could not get item string jedi __version__ 
KCrash: Application 'kate' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit

For some reason its importing IPython and failing (however, Its weird, since the sys module SHOULD have the argv attribute)
Comment 5 David 2014-06-27 23:16:52 UTC
Created attachment 87441 [details]
New crash information added by DrKonqi

kate (3.13.1) on KDE Platform 4.13.1 using Qt 4.8.6

- What I was doing when the application crashed:

I enabled the ipython plugin. Kate crashes immediately, and I could reproduce the problem consistently.

-- Backtrace (Reduced):
#6  0x00007f5520becf79 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f5520bf0388 in __GI_abort () at abort.c:89
#8  0x00007f5520be5e36 in __assert_fail_base (fmt=0x7f5520d37718 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7f550ba55398 "(((td)->td_flags & 0x0007) == 0x0000) || (((td)->td_flags & 0x0007) == 0x0002)", file=file@entry=0x7f550ba54cf8 "/build/buildd/sip4-4.15.5/siplib/siplib.c", line=line@entry=8407, function=function@entry=0x7f550ba544a0 <__PRETTY_FUNCTION__.14147> "sip_api_can_convert_to_type") at assert.c:92
#9  0x00007f5520be5ee2 in __GI___assert_fail (assertion=assertion@entry=0x7f550ba55398 "(((td)->td_flags & 0x0007) == 0x0000) || (((td)->td_flags & 0x0007) == 0x0002)", file=file@entry=0x7f550ba54cf8 "/build/buildd/sip4-4.15.5/siplib/siplib.c", line=line@entry=8407, function=function@entry=0x7f550ba544a0 <__PRETTY_FUNCTION__.14147> "sip_api_can_convert_to_type") at assert.c:101
#10 0x00007f550ba461e3 in sip_api_can_convert_to_type (pyObj=<optimized out>, td=<optimized out>, flags=<optimized out>) at /build/buildd/sip4-4.15.5/siplib/siplib.c:8407
Comment 6 Arun Tigeraniya 2014-06-29 18:40:35 UTC
Created attachment 87478 [details]
New crash information added by DrKonqi

kate (3.13.1) on KDE Platform 4.13.1 using Qt 4.8.6

- What I was doing when the application crashed:
enabling ipython plugin in Kate
- Unusual behavior I noticed:
application crashed
- Custom settings of the application:
no 3rd party tool installed

-- Backtrace (Reduced):
#5  0x00007f0357354f79 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#6  0x00007f0357358388 in __GI_abort () at abort.c:89
#7  0x00007f035734de36 in __assert_fail_base (fmt=0x7f035749f718 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7f02b0631398 "(((td)->td_flags & 0x0007) == 0x0000) || (((td)->td_flags & 0x0007) == 0x0002)", file=file@entry=0x7f02b0630cf8 "/build/buildd/sip4-4.15.5/siplib/siplib.c", line=line@entry=8407, function=function@entry=0x7f02b06304a0 "sip_api_can_convert_to_type") at assert.c:92
#8  0x00007f035734dee2 in __GI___assert_fail (assertion=0x7f02b0631398 "(((td)->td_flags & 0x0007) == 0x0000) || (((td)->td_flags & 0x0007) == 0x0002)", file=0x7f02b0630cf8 "/build/buildd/sip4-4.15.5/siplib/siplib.c", line=8407, function=0x7f02b06304a0 "sip_api_can_convert_to_type") at assert.c:101
[...]
#10 0x00007f02b0627922 in sip_api_force_convert_to_type () from /usr/lib/python2.7/dist-packages/sip.so
Comment 7 Alexandr Zamaraev (aka Tonal) 2014-10-16 09:21:49 UTC
Created attachment 89157 [details]
Crash report

Crash kate when startup
Comment 8 Alexandr Zamaraev (aka Tonal) 2014-10-16 09:35:07 UTC
Console output
$ kate
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
/usr/lib/python2.7/dist-packages/IPython/frontend.py:30: UserWarning: The top-level `frontend` package has been deprecated. All its subpackages have been moved to the top `IPython` level.
  warn("The top-level `frontend` package has been deprecated. "
Bus::open: Can not get ibus-daemon's address. 
IBusInputContext::createInputContext: no connection to ibus-daemon 
kate: /build/buildd/sip4-4.15.5/siplib/siplib.c:8407: sip_api_can_convert_to_type: Проверочное утверждение «(((td)->td_flags & 0x0007) == 0x0000) || (((td)->td_flags & 0x0007) == 0x0002)» не выполнено.
KCrash: Application 'kate' crashing...

The crash can be reproduced every time.
Comment 9 Alexandr Zamaraev (aka Tonal) 2014-10-16 10:38:31 UTC
I purge all PySide package in my system, and kate with ipython console work.

Also, if set environment variable
QT_API=pyqt
before load ipython it use PyQt4 and do not try use PySide modules.
Comment 10 Alexandr Zamaraev (aka Tonal) 2014-10-16 10:39:25 UTC
see https://github.com/nexpy/nexpy/issues/11
Comment 11 Christoph Cullmann 2015-10-04 11:19:57 UTC
In any case, this is no fault of Kate's code but a setup issue.
Comment 12 Dominik Haumann 2016-04-05 18:58:11 UTC
*** Bug 359787 has been marked as a duplicate of this bug. ***