Starting program: /home/crmaurei/dev/envQt5.12.1Py3.7.2-debug/bin/python matplotlib-pyside.py [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7fffeb13e700 (LWP 17197)] [New Thread 0x7fffe8f5d700 (LWP 17201)] [New Thread 0x7fffe3fff700 (LWP 17202)] Thread 1 "python" received signal SIGSEGV, Segmentation fault. _PyMem_IsFreed (ptr=ptr@entry=0x19, size=size@entry=8) at ../Python-3.7.2/./Objects/obmalloc.c:2102 2102 if (bytes[i] != DEADBYTE) { #0 _PyMem_IsFreed (ptr=ptr@entry=0x19, size=size@entry=8) at ../Python-3.7.2/./Objects/obmalloc.c:2102 #1 0x00007ffff7d0538f in _PyObject_IsFreed (op=op@entry=0x1) at ../Python-3.7.2/./Objects/object.c:428 #2 0x00007ffff7d06738 in _PyObject_Dump (op=0x1) at ../Python-3.7.2/./Objects/object.c:449 #3 0x00007ffff7d06919 in _Py_ForgetReference (op=op@entry=0x7fffec340e50) at ../Python-3.7.2/./Objects/object.c:1947 #4 0x00007ffff7d0606d in _Py_Dealloc (op=0x7fffec340e50) at ../Python-3.7.2/./Objects/object.c:1970 #5 0x00007ffff7cd8ae3 in frame_dealloc (f=f@entry=0x5555564d3c28) at ../Python-3.7.2/./Objects/frameobject.c:466 #6 0x00007ffff7d06072 in _Py_Dealloc (op=op@entry=0x5555564d3c28) at ../Python-3.7.2/./Objects/object.c:1971 #7 0x00007ffff7cbacb9 in function_code_fastcall (co=co@entry=0x7ffff2ab4ac0, args=, args@entry=0x7fffffffbf30, nargs=nargs@entry=2, globals=globals@entry=0x7ffff42df580) at ../Python-3.7.2/./Objects/call.c:291 #8 0x00007ffff7cbb3f8 in _PyFunction_FastCallDict (func=func@entry=0x7fffec360560, args=args@entry=0x7fffffffbf30, nargs=nargs@entry=2, kwargs=kwargs@entry=0x0) at ../Python-3.7.2/./Objects/call.c:322 #9 0x00007ffff7cbcd67 in _PyObject_FastCallDict (callable=callable@entry=0x7fffec360560, args=args@entry=0x7fffffffbf30, nargs=nargs@entry=2, kwargs=kwargs@entry=0x0) at ../Python-3.7.2/./Objects/call.c:98 #10 0x00007ffff7cbcfc8 in _PyObject_Call_Prepend (callable=0x7fffec360560, obj=obj@entry=0x7fffec3751a8, args=0x7fffec3a52c8, kwargs=0x0) at ../Python-3.7.2/./Objects/call.c:904 #11 0x00007ffff7cbec92 in method_call (method=, args=, kwargs=) at ../Python-3.7.2/./Objects/classobject.c:309 #12 0x00007ffff7cbdf7c in PyObject_Call (callable=0x7fffec35bad8, args=0x7fffec3a52c8, kwargs=0x0) at ../Python-3.7.2/./Objects/call.c:245 #13 0x00007fffed502ac3 in QWidgetWrapper::paintEvent (this=0x555556474ef0, event=0x7fffffffc410) at PySide2/QtWidgets/PySide2/QtWidgets/qwidget_wrapper.cpp:1288 #14 0x00007fffec7c2b1d in QWidget::event (this=0x555556474ef0, event=0x7fffffffc410) at /home/crmaurei/dev/qt5.12/qtbase/src/widgets/kernel/qwidget.cpp:9072 #15 0x00007fffed4ff0a6 in QWidgetWrapper::event (this=0x555556474ef0, event=0x7fffffffc410) at PySide2/QtWidgets/PySide2/QtWidgets/qwidget_wrapper.cpp:598 #16 0x00007fffec77947d in QApplicationPrivate::notify_helper (this=this@entry=0x555555b9af40, receiver=receiver@entry=0x555556474ef0, e=e@entry=0x7fffffffc410) at /home/crmaurei/dev/qt5.12/qtbase/src/widgets/kernel/qapplication.cpp:3753 #17 0x00007fffec782f45 in QApplication::notify (this=0x555556420290, receiver=0x555556474ef0, e=0x7fffffffc410) at /home/crmaurei/dev/qt5.12/qtbase/src/widgets/kernel/qapplication.cpp:3704 #18 0x00007fffecec3f82 in QApplicationWrapper::notify (this=0x555556420290, arg__1=0x555556474ef0, arg__2=0x7fffffffc410) at PySide2/QtWidgets/PySide2/QtWidgets/qapplication_wrapper.cpp:340 #19 0x00007ffff14ae9b7 in QCoreApplication::notifyInternal2 (receiver=0x555556474ef0, event=0x7fffffffc410) at /home/crmaurei/dev/qt5.12/qtbase/src/corelib/kernel/qcoreapplication.cpp:1060 #20 0x00007ffff14aec30 in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x555556474ef0, event=event@entry=0x7fffffffc410) at /home/crmaurei/dev/qt5.12/qtbase/src/corelib/kernel/qcoreapplication.cpp:1462 #21 0x00007fffec7baf73 in QWidgetPrivate::sendPaintEvent (this=this@entry=0x555555ea8860, toBePainted=...) at /home/crmaurei/dev/qt5.12/qtbase/src/widgets/kernel/qwidget.cpp:5675 #22 0x00007fffec7bbab7 in QWidgetPrivate::drawWidget (this=this@entry=0x555555ea8860, pdev=, rgn=..., offset=..., flags=flags@entry=36, sharedPainter=sharedPainter@entry=0x0, backingStore=) at /home/crmaurei/dev/qt5.12/qtbase/src/widgets/kernel/qwidget.cpp:5615 #23 0x00007fffec78aca1 in QWidgetBackingStore::doSync (this=this@entry=0x555556605750) at /home/crmaurei/dev/qt5.12/qtbase/src/widgets/kernel/qwidgetbackingstore.cpp:1417 #24 0x00007fffec78b00c in QWidgetBackingStore::sync (this=0x555556605750) at /home/crmaurei/dev/qt5.12/qtbase/src/widgets/kernel/qwidgetbackingstore.cpp:1204 #25 0x00007fffec7a9c7a in QWidgetPrivate::syncBackingStore (this=this@entry=0x55555646ac10) at /home/crmaurei/dev/qt5.12/qtbase/src/widgets/kernel/qwidget.cpp:1955 #26 0x00007fffec7c2ffb in QWidget::event (this=this@entry=0x55555642a5d0, event=event@entry=0x5555566a34f0) at /home/crmaurei/dev/qt5.12/qtbase/src/widgets/kernel/qwidget.cpp:9236 #27 0x00007fffec8ebbd2 in QMainWindow::event (this=0x55555642a5d0, event=0x5555566a34f0) at /home/crmaurei/dev/qt5.12/qtbase/src/widgets/widgets/qmainwindow.cpp:1339 #28 0x00007fffed21d50a in QMainWindowWrapper::event (this=0x55555642a5d0, event=0x5555566a34f0) at PySide2/QtWidgets/PySide2/QtWidgets/qmainwindow_wrapper.cpp:558 #29 0x00007fffec77947d in QApplicationPrivate::notify_helper (this=this@entry=0x555555b9af40, receiver=receiver@entry=0x55555642a5d0, e=e@entry=0x5555566a34f0) at /home/crmaurei/dev/qt5.12/qtbase/src/widgets/kernel/qapplication.cpp:3753 #30 0x00007fffec782f45 in QApplication::notify (this=0x555556420290, receiver=0x55555642a5d0, e=0x5555566a34f0) at /home/crmaurei/dev/qt5.12/qtbase/src/widgets/kernel/qapplication.cpp:3704 #31 0x00007fffecec3f82 in QApplicationWrapper::notify (this=0x555556420290, arg__1=0x55555642a5d0, arg__2=0x5555566a34f0) at PySide2/QtWidgets/PySide2/QtWidgets/qapplication_wrapper.cpp:340 #32 0x00007ffff14ae9b7 in QCoreApplication::notifyInternal2 (receiver=0x55555642a5d0, event=0x5555566a34f0) at /home/crmaurei/dev/qt5.12/qtbase/src/corelib/kernel/qcoreapplication.cpp:1060 #33 0x00007ffff14aec12 in QCoreApplication::sendEvent (receiver=receiver@entry=0x55555642a5d0, event=event@entry=0x5555566a34f0) at /home/crmaurei/dev/qt5.12/qtbase/src/corelib/kernel/qcoreapplication.cpp:1450 #34 0x00007ffff14b46e3 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x555555b7a3f0) at /home/crmaurei/dev/qt5.12/qtbase/src/corelib/kernel/qcoreapplication.cpp:1799 #35 0x00007ffff14b4d68 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at /home/crmaurei/dev/qt5.12/qtbase/src/corelib/kernel/qcoreapplication.cpp:1653 #36 0x00007ffff1512774 in postEventSourceDispatch (s=0x5555563d20d0) at /home/crmaurei/dev/qt5.12/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:276 #37 0x00007ffff3a74a2f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #38 0x00007ffff3a765e9 in ?? () from /usr/lib/libglib-2.0.so.0 #39 0x00007ffff3a7662e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #40 0x00007ffff151207e in QEventDispatcherGlib::processEvents (this=0x555556429f00, flags=...) at /home/crmaurei/dev/qt5.12/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:422 #41 0x00007fffec219234 in QXcbGlibEventDispatcher::processEvents (this=, flags=...) at /home/crmaurei/dev/qt5.12/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:143 #42 0x00007ffff14ac8c9 in QEventLoop::processEvents (this=this@entry=0x7fffffffcf80, flags=..., flags@entry=...) at /usr/include/c++/8.2.1/bits/atomic_base.h:707 #43 0x00007ffff14acd21 in QEventLoop::exec (this=this@entry=0x7fffffffcf80, flags=flags@entry=...) at ../../include/QtCore/../../../../qt5.12/qtbase/src/corelib/global/qflags.h:122 #44 0x00007ffff14b6e14 in QCoreApplication::exec () at ../../include/QtCore/../../../../qt5.12/qtbase/src/corelib/global/qflags.h:120 #45 0x00007fffedd4da5a in QGuiApplication::exec () at /home/crmaurei/dev/qt5.12/qtbase/src/gui/kernel/qguiapplication.cpp:1779 #46 0x00007fffec7793eb in QApplication::exec () at /home/crmaurei/dev/qt5.12/qtbase/src/widgets/kernel/qapplication.cpp:2910 #47 0x00007fffecec5cba in Sbk_QApplicationFunc_exec_ (self=0x0) at PySide2/QtWidgets/PySide2/QtWidgets/qapplication_wrapper.cpp:940 #48 0x00007ffff7cbbc63 in _PyMethodDef_RawFastCallKeywords (method=0x7fffed7b7d40 , self=0x0, args=args@entry=0x5555555d2520, nargs=nargs@entry=0, kwnames=0x0) at ../Python-3.7.2/./Objects/call.c:629 #49 0x00007ffff7cbbed1 in _PyCFunction_FastCallKeywords (func=func@entry=0x7fffec3fcb98, args=args@entry=0x5555555d2520, nargs=nargs@entry=0, kwnames=kwnames@entry=0x0) at ../Python-3.7.2/./Objects/call.c:730 #50 0x00007ffff7dba3d9 in call_function (kwnames=0x0, oparg=0, pp_stack=) at ../Python-3.7.2/./Python/ceval.c:4568 #51 _PyEval_EvalFrameDefault (f=0x5555555d2398, throwflag=) at ../Python-3.7.2/./Python/ceval.c:3093 #52 0x00007ffff7dae675 in PyEval_EvalFrameEx (f=f@entry=0x5555555d2398, throwflag=throwflag@entry=0) at ../Python-3.7.2/./Python/ceval.c:547 #53 0x00007ffff7daf180 in _PyEval_EvalCodeWithName (_co=0x7ffff71af880, globals=, locals=, args=, argcount=argcount@entry=0, kwnames=0x0, kwargs=0x0, kwcount=0, kwstep=2, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name=0x0, qualname=0x0) at ../Python-3.7.2/./Python/ceval.c:3930 #54 0x00007ffff7daf311 in PyEval_EvalCodeEx (_co=_co@entry=0x7ffff71af880, globals=globals@entry=0x7ffff71d12b0, locals=locals@entry=0x7ffff71d12b0, args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at ../Python-3.7.2/./Python/ceval.c:3959 #55 0x00007ffff7daf33f in PyEval_EvalCode (co=co@entry=0x7ffff71af880, globals=globals@entry=0x7ffff71d12b0, locals=locals@entry=0x7ffff71d12b0) at ../Python-3.7.2/./Python/ceval.c:524 #56 0x00007ffff7df181f in run_mod (mod=mod@entry=0x555555641f20, filename=filename@entry=0x7ffff7023c70, globals=globals@entry=0x7ffff71d12b0, locals=locals@entry=0x7ffff71d12b0, flags=flags@entry=0x7fffffffd464, arena=arena@entry=0x7ffff71ebee0) at ../Python-3.7.2/./Python/pythonrun.c:1035 #57 0x00007ffff7df4a0f in PyRun_FileExFlags (fp=fp@entry=0x5555555f3b50, filename_str=filename_str@entry=0x7ffff71b1550 "matplotlib-pyside.py", start=start@entry=257, globals=globals@entry=0x7ffff71d12b0, locals=locals@entry=0x7ffff71d12b0, closeit=closeit@entry=1, flags=0x7fffffffd464) at ../Python-3.7.2/./Python/pythonrun.c:988 #58 0x00007ffff7df4dd6 in PyRun_SimpleFileExFlags (fp=fp@entry=0x5555555f3b50, filename=, filename@entry=0x7ffff71b1550 "matplotlib-pyside.py", closeit=closeit@entry=1, flags=flags@entry=0x7fffffffd464) at ../Python-3.7.2/./Python/pythonrun.c:429 #59 0x00007ffff7df4fcf in PyRun_AnyFileExFlags (fp=fp@entry=0x5555555f3b50, filename=0x7ffff71b1550 "matplotlib-pyside.py", closeit=closeit@entry=1, flags=flags@entry=0x7fffffffd464) at ../Python-3.7.2/./Python/pythonrun.c:84 #60 0x00007ffff7e12527 in pymain_run_file (fp=0x5555555f3b50, filename=0x5555555607a0 L"matplotlib-pyside.py", p_cf=p_cf@entry=0x7fffffffd464) at ../Python-3.7.2/./Modules/main.c:427 #61 0x00007ffff7e125f8 in pymain_run_filename (pymain=pymain@entry=0x7fffffffd490, cf=cf@entry=0x7fffffffd464) at ../Python-3.7.2/./Modules/main.c:1627 #62 0x00007ffff7e12738 in pymain_run_python (pymain=pymain@entry=0x7fffffffd490) at ../Python-3.7.2/./Modules/main.c:2876 #63 0x00007ffff7e16319 in pymain_main (pymain=pymain@entry=0x7fffffffd490) at ../Python-3.7.2/./Modules/main.c:3037 #64 0x00007ffff7e1642f in _Py_UnixMain (argc=, argv=) at ../Python-3.7.2/./Modules/main.c:3072 #65 0x0000555555555142 in main (argc=, argv=) at ../Python-3.7.2/./Programs/python.c:15