| Summary: | Kate crash on IPython console check | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | grounux |
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | crash | CC: | christoph, david.a.ordenes.d, g.gumicsizma, jonathan.verner, marcelo.jimenez, mauricio.caceres.bravo, riskable, simplyarun4u, tonal.promsoft |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | 3.13.0 | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
New crash information added by DrKonqi
Full backtrace of my crash New crash information added by DrKonqi New crash information added by DrKonqi Crash report |
||
|
Description
grounux
2014-04-11 17:30:50 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
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 Created attachment 86269 [details]
Full backtrace of my crash
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)
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
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
Created attachment 89157 [details]
Crash report
Crash kate when startup
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.
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. In any case, this is no fault of Kate's code but a setup issue. *** Bug 359787 has been marked as a duplicate of this bug. *** |