Bug 345610 - Cantor crashed when using python pylab
Summary: Cantor crashed when using python pylab
Status: RESOLVED FIXED
Alias: None
Product: cantor
Classification: Applications
Component: python2-backend (show other bugs)
Version: 0.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Filipe Saraiva
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-03-28 11:11 UTC by raul
Modified: 2016-04-08 18:08 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description raul 2015-03-28 11:11:42 UTC
Application: cantor (0.5)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.16.7-7-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
I recently changed the backend for matplotlib to Qt5Agg and this crashed cantor.

When changed back to Qt4Agg everything worked fine.

-- Backtrace:
Application: Cantor (cantor), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd83b7667c0 (LWP 30265))]

Thread 2 (Thread 0x7fd823603700 (LWP 30268)):
#0  0x00007fd838548c3d in poll () at /lib64/libc.so.6
#1  0x00007fd83426ebe4 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fd83426ecec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fd83998c0de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#4  0x00007fd83995de6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#5  0x00007fd83995e165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#6  0x00007fd83985b0bf in QThread::exec() () at /usr/lib64/libQtCore.so.4
#7  0x00007fd83993f783 in  () at /usr/lib64/libQtCore.so.4
#8  0x00007fd83985d79f in  () at /usr/lib64/libQtCore.so.4
#9  0x00007fd8363520a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007fd83855106d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fd83b7667c0 (LWP 30265)):
[KCrash Handler]
#5  0x00007fd839966029 in QMetaObject::normalizedType(char const*) () at /usr/lib64/libQtCore.so.4
#6  0x00007fd8110d29cc in  () at /usr/lib64/python2.7/site-packages/PyQt5/QtCore.so
#7  0x00007fd8110d293f in  () at /usr/lib64/python2.7/site-packages/PyQt5/QtCore.so
#8  0x00007fd8110d2654 in  () at /usr/lib64/python2.7/site-packages/PyQt5/QtCore.so
#9  0x00007fd811051a6f in initQtCore () at /usr/lib64/python2.7/site-packages/PyQt5/QtCore.so
#10 0x00007fd828a6cc0e in _PyImport_LoadDynamicModule () at /usr/lib64/libpython2.7.so.1.0
#11 0x00007fd8289fc06c in  () at /usr/lib64/libpython2.7.so.1.0
#12 0x00007fd8289fc2a4 in  () at /usr/lib64/libpython2.7.so.1.0
#13 0x00007fd828a3e756 in PyImport_ImportModuleLevel () at /usr/lib64/libpython2.7.so.1.0
#14 0x00007fd828a2f76b in  () at /usr/lib64/libpython2.7.so.1.0
#15 0x00007fd828a166f6 in PyObject_Call () at /usr/lib64/libpython2.7.so.1.0
#16 0x00007fd828a2fc80 in PyEval_CallObjectWithKeywords () at /usr/lib64/libpython2.7.so.1.0
#17 0x00007fd828a318ed in PyEval_EvalFrameEx () at /usr/lib64/libpython2.7.so.1.0
#18 0x00007fd828a3733e in PyEval_EvalCodeEx () at /usr/lib64/libpython2.7.so.1.0
#19 0x00007fd828a64142 in PyEval_EvalCode () at /usr/lib64/libpython2.7.so.1.0
#20 0x00007fd828a6bfb0 in PyImport_ExecCodeModuleEx () at /usr/lib64/libpython2.7.so.1.0
#21 0x00007fd828a6c1ca in  () at /usr/lib64/libpython2.7.so.1.0
#22 0x00007fd828a3e04f in  () at /usr/lib64/libpython2.7.so.1.0
#23 0x00007fd828a3e662 in PyImport_ImportModuleLevel () at /usr/lib64/libpython2.7.so.1.0
#24 0x00007fd828a2f76b in  () at /usr/lib64/libpython2.7.so.1.0
#25 0x00007fd828a166f6 in PyObject_Call () at /usr/lib64/libpython2.7.so.1.0
#26 0x00007fd828a2fc80 in PyEval_CallObjectWithKeywords () at /usr/lib64/libpython2.7.so.1.0
#27 0x00007fd828a318ed in PyEval_EvalFrameEx () at /usr/lib64/libpython2.7.so.1.0
#28 0x00007fd828a3733e in PyEval_EvalCodeEx () at /usr/lib64/libpython2.7.so.1.0
#29 0x00007fd828a64142 in PyEval_EvalCode () at /usr/lib64/libpython2.7.so.1.0
#30 0x00007fd828a6bfb0 in PyImport_ExecCodeModuleEx () at /usr/lib64/libpython2.7.so.1.0
#31 0x00007fd828a6c1ca in  () at /usr/lib64/libpython2.7.so.1.0
#32 0x00007fd828a3e04f in  () at /usr/lib64/libpython2.7.so.1.0
#33 0x00007fd828a3e6a5 in PyImport_ImportModuleLevel () at /usr/lib64/libpython2.7.so.1.0
#34 0x00007fd828a2f76b in  () at /usr/lib64/libpython2.7.so.1.0
#35 0x00007fd828a166f6 in PyObject_Call () at /usr/lib64/libpython2.7.so.1.0
#36 0x00007fd828a2fc80 in PyEval_CallObjectWithKeywords () at /usr/lib64/libpython2.7.so.1.0
#37 0x00007fd828a318ed in PyEval_EvalFrameEx () at /usr/lib64/libpython2.7.so.1.0
#38 0x00007fd828a3733e in PyEval_EvalCodeEx () at /usr/lib64/libpython2.7.so.1.0
#39 0x00007fd828a64142 in PyEval_EvalCode () at /usr/lib64/libpython2.7.so.1.0
#40 0x00007fd828a6bfb0 in PyImport_ExecCodeModuleEx () at /usr/lib64/libpython2.7.so.1.0
#41 0x00007fd828a6c1ca in  () at /usr/lib64/libpython2.7.so.1.0
#42 0x00007fd828a3e04f in  () at /usr/lib64/libpython2.7.so.1.0
#43 0x00007fd828a3e6a5 in PyImport_ImportModuleLevel () at /usr/lib64/libpython2.7.so.1.0
#44 0x00007fd828a2f76b in  () at /usr/lib64/libpython2.7.so.1.0
#45 0x00007fd828a166f6 in PyObject_Call () at /usr/lib64/libpython2.7.so.1.0
#46 0x00007fd828a2fc80 in PyEval_CallObjectWithKeywords () at /usr/lib64/libpython2.7.so.1.0
#47 0x00007fd828a318ed in PyEval_EvalFrameEx () at /usr/lib64/libpython2.7.so.1.0
#48 0x00007fd828a3733e in PyEval_EvalCodeEx () at /usr/lib64/libpython2.7.so.1.0
#49 0x00007fd828a64142 in PyEval_EvalCode () at /usr/lib64/libpython2.7.so.1.0
#50 0x00007fd828a6bfb0 in PyImport_ExecCodeModuleEx () at /usr/lib64/libpython2.7.so.1.0
#51 0x00007fd828a6c1ca in  () at /usr/lib64/libpython2.7.so.1.0
#52 0x00007fd828a3e04f in  () at /usr/lib64/libpython2.7.so.1.0
#53 0x00007fd828a3e8d4 in PyImport_ImportModuleLevel () at /usr/lib64/libpython2.7.so.1.0
#54 0x00007fd828a2f76b in  () at /usr/lib64/libpython2.7.so.1.0
#55 0x00007fd828a166f6 in PyObject_Call () at /usr/lib64/libpython2.7.so.1.0
#56 0x00007fd828a2fc80 in PyEval_CallObjectWithKeywords () at /usr/lib64/libpython2.7.so.1.0
#57 0x00007fd828a318ed in PyEval_EvalFrameEx () at /usr/lib64/libpython2.7.so.1.0
#58 0x00007fd828a3733e in PyEval_EvalCodeEx () at /usr/lib64/libpython2.7.so.1.0
#59 0x00007fd828a64142 in PyEval_EvalCode () at /usr/lib64/libpython2.7.so.1.0
#60 0x00007fd828a6bfb0 in PyImport_ExecCodeModuleEx () at /usr/lib64/libpython2.7.so.1.0
#61 0x00007fd828a6c1ca in  () at /usr/lib64/libpython2.7.so.1.0
#62 0x00007fd828a3e04f in  () at /usr/lib64/libpython2.7.so.1.0
#63 0x00007fd828a3e662 in PyImport_ImportModuleLevel () at /usr/lib64/libpython2.7.so.1.0
#64 0x00007fd828a2f76b in  () at /usr/lib64/libpython2.7.so.1.0
#65 0x00007fd828a313e5 in PyEval_EvalFrameEx () at /usr/lib64/libpython2.7.so.1.0
#66 0x00007fd828a3733e in PyEval_EvalCodeEx () at /usr/lib64/libpython2.7.so.1.0
#67 0x00007fd828a30dc4 in PyEval_EvalFrameEx () at /usr/lib64/libpython2.7.so.1.0
#68 0x00007fd828a3733e in PyEval_EvalCodeEx () at /usr/lib64/libpython2.7.so.1.0
#69 0x00007fd828a64142 in PyEval_EvalCode () at /usr/lib64/libpython2.7.so.1.0
#70 0x00007fd828a6bfb0 in PyImport_ExecCodeModuleEx () at /usr/lib64/libpython2.7.so.1.0
#71 0x00007fd828a6c1ca in  () at /usr/lib64/libpython2.7.so.1.0
#72 0x00007fd828a3e04f in  () at /usr/lib64/libpython2.7.so.1.0
#73 0x00007fd828a3e624 in PyImport_ImportModuleLevel () at /usr/lib64/libpython2.7.so.1.0
#74 0x00007fd828a2f76b in  () at /usr/lib64/libpython2.7.so.1.0
#75 0x00007fd828a166f6 in PyObject_Call () at /usr/lib64/libpython2.7.so.1.0
#76 0x00007fd828a2fc80 in PyEval_CallObjectWithKeywords () at /usr/lib64/libpython2.7.so.1.0
#77 0x00007fd828a318ed in PyEval_EvalFrameEx () at /usr/lib64/libpython2.7.so.1.0
#78 0x00007fd828a3733e in PyEval_EvalCodeEx () at /usr/lib64/libpython2.7.so.1.0
#79 0x00007fd828a64142 in PyEval_EvalCode () at /usr/lib64/libpython2.7.so.1.0
#80 0x00007fd828a6bfb0 in PyImport_ExecCodeModuleEx () at /usr/lib64/libpython2.7.so.1.0
#81 0x00007fd828a6c1ca in  () at /usr/lib64/libpython2.7.so.1.0
#82 0x00007fd828a3e04f in  () at /usr/lib64/libpython2.7.so.1.0
#83 0x00007fd828a3e624 in PyImport_ImportModuleLevel () at /usr/lib64/libpython2.7.so.1.0
#84 0x00007fd828a2f76b in  () at /usr/lib64/libpython2.7.so.1.0
#85 0x00007fd828a166f6 in PyObject_Call () at /usr/lib64/libpython2.7.so.1.0
#86 0x00007fd828a2fc80 in PyEval_CallObjectWithKeywords () at /usr/lib64/libpython2.7.so.1.0
#87 0x00007fd828a318ed in PyEval_EvalFrameEx () at /usr/lib64/libpython2.7.so.1.0
#88 0x00007fd828a3733e in PyEval_EvalCodeEx () at /usr/lib64/libpython2.7.so.1.0
#89 0x00007fd828a64142 in PyEval_EvalCode () at /usr/lib64/libpython2.7.so.1.0
#90 0x00007fd828a6bfb0 in PyImport_ExecCodeModuleEx () at /usr/lib64/libpython2.7.so.1.0
#91 0x00007fd828a6c1ca in  () at /usr/lib64/libpython2.7.so.1.0
#92 0x00007fd828a3e04f in  () at /usr/lib64/libpython2.7.so.1.0
#93 0x00007fd828a3e593 in PyImport_ImportModuleLevel () at /usr/lib64/libpython2.7.so.1.0
#94 0x00007fd828a2f76b in  () at /usr/lib64/libpython2.7.so.1.0
#95 0x00007fd828a166f6 in PyObject_Call () at /usr/lib64/libpython2.7.so.1.0
#96 0x00007fd828a2fc80 in PyEval_CallObjectWithKeywords () at /usr/lib64/libpython2.7.so.1.0
#97 0x00007fd828a318ed in PyEval_EvalFrameEx () at /usr/lib64/libpython2.7.so.1.0
#98 0x00007fd828a3733e in PyEval_EvalCodeEx () at /usr/lib64/libpython2.7.so.1.0
#99 0x00007fd828a64142 in PyEval_EvalCode () at /usr/lib64/libpython2.7.so.1.0
#100 0x00007fd828a708ad in  () at /usr/lib64/libpython2.7.so.1.0
#101 0x00007fd828a70a25 in PyRun_StringFlags () at /usr/lib64/libpython2.7.so.1.0
#102 0x00007fd8289fef4b in PyRun_SimpleStringFlags () at /usr/lib64/libpython2.7.so.1.0
#103 0x00007fd828d242e9 in  () at /usr/lib64/kde4/cantor_python2backend.so
#104 0x00007fd828d24ab1 in  () at /usr/lib64/kde4/cantor_python2backend.so
#105 0x00007fd828d26ee8 in  () at /usr/lib64/kde4/cantor_python2backend.so
#106 0x00007fd828d2847d in  () at /usr/lib64/kde4/cantor_python2backend.so
#107 0x00007fd828d24208 in  () at /usr/lib64/kde4/cantor_python2backend.so
#108 0x00007fd822bd5880 in  () at /usr/lib64/kde4/libcantorpart.so
#109 0x00007fd822bc48f6 in  () at /usr/lib64/kde4/libcantorpart.so
#110 0x00007fd822bc6cb5 in  () at /usr/lib64/kde4/libcantorpart.so
#111 0x00007fd8399731fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#112 0x00007fd838cf2622 in QAction::triggered(bool) () at /usr/lib64/libQtGui.so.4
#113 0x00007fd838cf3fd3 in QAction::activate(QAction::ActionEvent) () at /usr/lib64/libQtGui.so.4
#114 0x00007fd838cf412c in QAction::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#115 0x00007fd83b0aa21f in KAction::event(QEvent*) () at /usr/lib64/libkdeui.so.5
#116 0x00007fd838cf876c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#117 0x00007fd838cfecad in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#118 0x00007fd83b17fcea in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#119 0x00007fd83995f2ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#120 0x00007fd838d299d6 in  () at /usr/lib64/libQtGui.so.4
#121 0x00007fd838d29b0c in  () at /usr/lib64/libQtGui.so.4
#122 0x00007fd838cfffe3 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#123 0x00007fd83b17fcea in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#124 0x00007fd83995f2ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#125 0x00007fd838d92ab7 in  () at /usr/lib64/libQtGui.so.4
#126 0x00007fd838d92e59 in  () at /usr/lib64/libQtGui.so.4
#127 0x00007fd838d6ea5f in QApplication::x11ProcessEvent(_XEvent*) () at /usr/lib64/libQtGui.so.4
#128 0x00007fd838d955c2 in  () at /usr/lib64/libQtGui.so.4
#129 0x00007fd83426ea04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#130 0x00007fd83426ec48 in  () at /usr/lib64/libglib-2.0.so.0
#131 0x00007fd83426ecec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#132 0x00007fd83998c0be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#133 0x00007fd838d95676 in  () at /usr/lib64/libQtGui.so.4
#134 0x00007fd83995de6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#135 0x00007fd83995e165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#136 0x00007fd8399635b9 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4
#137 0x000000000040ad17 in  ()
#138 0x00007fd83848db05 in __libc_start_main () at /lib64/libc.so.6
#139 0x000000000040aed8 in _start ()

Reported using DrKonqi
Comment 1 Filipe Saraiva 2016-04-08 18:08:21 UTC
This bug was solved some releases ago.

Test with the follow commands:

x = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
from matplotlib import pylab
pylab.clf()

pylab.plot(x)

pylab.show()