Py_FatalError sources/shiboken2/libshiboken/signature.cpp:1212 Hello, world testFunction1 called #1 QDate("2020-02-03") QDate("2020-02-03") Traceback (most recent call last): File ".../lib/python3.7/site-packages/shiboken2/files.dir/shibokensupport/signature/loader.py", line 101, iargument return errorhandler.seterror_argument(args, func_name) File "../lib/python3.7/site-packages/shiboken2/files.dir/shibokensupport/signature/errorhandler.py", line rror_argument func = eval(func_name, namespace) File "", line 1, in NameError: name 'AppLib' is not defined Fatal Python error: seterror_argument did not receive a result Current thread 0x00007fa7dbfbe780 (most recent call first): File "", line 5 in Aborted (core dumped) Thread 1 (Thread 0x7fc24e2f3780 (LWP 21862)): #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 set = {__val = {0, 18446462603027742720, 8589934594, 8589934594, 8589934594, 8589934594, 0, 0, 9223652410172440319, 9223652410172440319, 9295429628761997311, 9295429628761997311, 140472391460616, 140472589663456, 140472593802944, 140472589663532}} pid = tid = ret = #1 0x00007fc250cf2535 in __GI_abort () at abort.c:79 save_stage = 1 act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0 , 140472391460400, 0, 140472391460616, 140472590609256, 4294967295}}, sa_flags = 2, sa_restorer = 0xffffffff} sigs = {__val = {32, 0 }} #2 0x00007fc252cccd78 in ?? () from /lib/x86_64-linux-gnu/libpython3.7m.so.1.0 No symbol table info available. #3 0x00007fc252dd2e73 in Py_FatalError () from /lib/x86_64-linux-gnu/libpython3.7m.so.1.0 No symbol table info available. #4 0x00007fc252bbec99 in SetError_Argument (args=0x7fc22c4c1e88, func_name=0x55d72379cb40 "AppLib.MainWindow.setSharedPointerList") at sources/shiboken2/libshiboken/signature.cpp:1212 res = {m_pyObj = 0x0} err = 0x55d725e8d7a0 msg = 0x55d725e8d768 #5 0x00007fc252b942be in Shiboken::setErrorAboutWrongArguments (args=0x7fc22c4c1e88, funcName=0x55d72379cb40 "AppLib.MainWindow.setSharedPointerList") at sources/shiboken2/libshiboken/basewrapper.cpp:710 No locals. #6 0x000055d72379739b in Sbk_MainWindowFunc_setSharedPointerList (self=0x7fc229bdebc8, pyArg=0x7fc22c4c1e88) at AppLib/mainwindow_wrapper.cpp:1608 cppSelf = 0x7ffce88531a0 overloadId = -1 pythonToCpp = 0x0 #7 0x00007fc252ed2cb8 in _PyMethodDef_RawFastCallKeywords () from /lib/x86_64-linux-gnu/libpython3.7m.so.1.0 No symbol table info available. #8 0x00007fc252ed3a05 in _PyCFunction_FastCallKeywords () from /lib/x86_64-linux-gnu/libpython3.7m.so.1.0 No symbol table info available. #9 0x00007fc252cd4cb0 in _PyEval_EvalFrameDefault () from /lib/x86_64-linux-gnu/libpython3.7m.so.1.0 No symbol table info available. #10 0x00007fc252dfc1e6 in _PyEval_EvalCodeWithName () from /lib/x86_64-linux-gnu/libpython3.7m.so.1.0 No symbol table info available. #11 0x00007fc252dfc46e in PyEval_EvalCodeEx () from /lib/x86_64-linux-gnu/libpython3.7m.so.1.0 No symbol table info available. #12 0x00007fc252dfd23b in PyEval_EvalCode () from /lib/x86_64-linux-gnu/libpython3.7m.so.1.0 No symbol table info available. #13 0x00007fc252dcafeb in PyRun_StringFlags () from /lib/x86_64-linux-gnu/libpython3.7m.so.1.0 No symbol table info available. #14 0x00007fc252dcbfdb in PyRun_SimpleStringFlags () from /lib/x86_64-linux-gnu/libpython3.7m.so.1.0 No symbol table info available. #15 0x000055d723789846 in PythonUtils::runScript (script=...) at ../scriptableapplication/pythonutils.cpp:167 content = {static null = {}, d = 0x55d72625ed90} ss = {_vptr.QTextStream = 0x7fc251822730 , d_ptr = {d = 0x7fc248007ca0}} result = true line = {d = 0x55d725c4fe80} #16 0x000055d723786458 in MainWindow::runScript (this=0x7ffce88531a0, script=...) at ../scriptableapplication/mainwindow.cpp:134 No locals. #17 0x000055d72378623e in MainWindow::slotRunScript (this=0x7ffce88531a0) at ../scriptableapplication/mainwindow.cpp:122 script = {> = {> = {}, {p = {static shared_null = {ref = {atomic = {_q_value = {> = {static _S_alignment = 4, _M_i = -1}, }}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x7fc2480077f0}, d = 0x7fc2480077f0}}, } #18 0x000055d72378906a in QtPrivate::FunctorCall, QtPrivate::List<>, void, void (MainWindow::*)()>::call(void (MainWindow::*)(), MainWindow*, void**) (f=(void (MainWindow::*)(class MainWindow * const)) 0x55d723786178 , o=0x7ffce88531a0, arg=0x7ffce8851cc0) at ../../../qt-515d/qtbase/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:152 No locals. #19 0x000055d723788f7e in QtPrivate::FunctionPointer::call, void>(void (MainWindow::*)(), MainWindow*, void**) (f=(void (MainWindow::*)(class MainWindow * const)) 0x55d723786178 , o=0x7ffce88531a0, arg=0x7ffce8851cc0) at ../../../qt-515d/qtbase/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:185 No locals. #20 0x000055d723788d3a in QtPrivate::QSlotObject, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x55d7257e2e90, r=0x7ffce88531a0, a=0x7ffce8851cc0, ret=0x0) at ../../../qt-515d/qtbase/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:414 No locals. #21 0x00007fc251430e09 in QtPrivate::QSlotObjectBase::call (this=0x55d7257e2e90, r=0x7ffce88531a0, a=0x7ffce8851cc0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394 No locals. #22 0x00007fc251472dfe in doActivate (sender=0x55d725707cd0, signal_index=4, argv=0x7ffce8851cc0) at kernel/qobject.cpp:3858 obj = std::unique_ptr = {get() = 0x55d7257e2e90} receiver = 0x7ffce88531a0 td = 0x55d72564c2e0 receiverInSameThread = true senderData = {previous = 0x0, receiver = 0x7ffce88531a0, sender = 0x55d725707cd0, signal = 4} c = 0x55d7257f7ea0 connections = {d = 0x55d7257c4dd0} list = 0x55d725761e40 inSenderThread = true highestConnectionId = 4 signalVector = 0x55d725761de0 currentThreadId = 0x7fc24e2f3780 __PRETTY_FUNCTION__ = "void doActivate(QObject*, int, void**) [with bool callbacks_enabled = false]" sp = 0x55d72577f2f0 signal_spy_set = 0x0 empty_argv = {0x0} senderDeleted = false #23 0x00007fc25146c755 in QMetaObject::activate (sender=0x55d725707cd0, m=0x7fc252b38760 , local_signal_index=1, argv=0x7ffce8851cc0) at kernel/qobject.cpp:3918 signal_index = 4 #24 0x00007fc2523bd9fb in QAction::triggered (this=0x55d725707cd0, _t1=false) at .moc/moc_qaction.cpp:376 _a = {0x0, 0x7ffce8851cb4} #25 0x00007fc2523bc92e in QAction::activate (this=0x55d725707cd0, event=QAction::Trigger) at kernel/qaction.cpp:1161 guard = {wp = {d = 0x7fc248006cf0, value = 0x55d725707cd0}} d = 0x55d72577f2f0 #26 0x00007fc2523be547 in QAction::trigger (this=0x55d725707cd0) at ../../include/QtWidgets/../../src/widgets/kernel/qaction.h:187 No locals. #27 0x00007fc252663035 in QToolButton::nextCheckState (this=0x55d7257e2f40) at widgets/qtoolbutton.cpp:995 d = 0x55d72579d6b0 #28 0x00007fc25251b402 in QAbstractButtonPrivate::click (this=0x55d72579d6b0) at widgets/qabstractbutton.cpp:398 q = 0x55d7257e2f40 changeState = true guard = {wp = {d = 0x55d72579d920, value = 0x55d7257e2f40}} #29 0x00007fc25251cb3f in QAbstractButton::mouseReleaseEvent (this=0x55d7257e2f40, e=0x7ffce8852650) at widgets/qabstractbutton.cpp:1032 d = 0x55d72579d6b0 #30 0x00007fc252661bfb in QToolButton::mouseReleaseEvent (this=0x55d7257e2f40, e=0x7ffce8852650) at widgets/qtoolbutton.cpp:622 d = 0x55d72579d6b0 #31 0x00007fc25241c11d in QWidget::event (this=0x55d7257e2f40, event=0x7ffce8852650) at kernel/qwidget.cpp:8657 d = 0x55d72579d6b0 #32 0x00007fc25251c950 in QAbstractButton::event (this=0x55d7257e2f40, e=0x7ffce8852650) at widgets/qabstractbutton.cpp:989 No locals. #33 0x00007fc2526630c2 in QToolButton::event (this=0x55d7257e2f40, event=0x7ffce8852650) at widgets/qtoolbutton.cpp:1011 No locals. #34 0x00007fc2523ceebf in QApplicationPrivate::notify_helper (this=0x55d72564c170, receiver=0x55d7257e2f40, e=0x7ffce8852650) at kernel/qapplication.cpp:3670 consumed = false filtered = false #35 0x00007fc2523cc8f4 in QApplication::notify (this=0x7ffce8853180, receiver=0x55d7257e2f40, e=0x7ffce8852650) at kernel/qapplication.cpp:3114 me = { = { = {_vptr.QEvent = 0x7fc25220c078 , static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fc251674460 , data = 0x7fc251675ee0 , static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 3, posted = 0, spont = 1, m_accept = 1, reserved = 7440}, modState = {i = 0}, ts = 25295369}, l = {xp = 8, yp = 16}, w = {xp = 101, yp = 40}, s = {xp = 435, yp = 557}, b = Qt::LeftButton, mouseState = {i = 0}, caps = 0, velocity = {v = {0, 0}}} w = 0x55d7257e2f40 mouse = 0x7ffce8852650 eventAccepted = true relpos = {xp = 8, yp = 16} pw = {wp = {d = 0x55d72579d920, value = 0x55d7257e2f40}} d = 0x55d72564c170 __PRETTY_FUNCTION__ = "virtual bool QApplication::notify(QObject*, QEvent*)" res = false #36 0x00007fc25141eaa7 in QCoreApplication::notifyInternal2 (receiver=0x55d7257e2f40, event=0x7ffce8852650) at kernel/qcoreapplication.cpp:1061 selfRequired = true result = false cbdata = {0x55d7257e2f40, 0x7ffce8852650, 0x7ffce88523d6} d = 0x55d72579d6b0 threadData = 0x55d72564c2e0 scopeLevelCounter = {threadData = 0x55d72564c2e0} #37 0x00007fc25141f530 in QCoreApplication::sendSpontaneousEvent (receiver=0x55d7257e2f40, event=0x7ffce8852650) at kernel/qcoreapplication.cpp:1468 No locals. #38 0x00007fc2523cb243 in QApplicationPrivate::sendMouseEvent (receiver=0x55d7257e2f40, event=0x7ffce8852650, alienWidget=0x55d7257e2f40, nativeWidget=0x7ffce88531a0, buttonDown=0x7fc252b679f0 , lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2600 receiverGuard = {wp = {d = 0x55d72579d920, value = 0x55d7257e2f40}} nativeGuard = {wp = {d = 0x55d7258237b0, value = 0x7ffce88531a0}} alienGuard = {wp = {d = 0x55d72579d920, value = 0x55d7257e2f40}} activePopupWidget = {wp = {d = 0x0, value = 0x0}} graphicsWidget = false widgetUnderMouse = true wasLeaveAfterRelease = true result = true #39 0x00007fc25244dc2a in QWidgetWindow::handleMouseEvent (this=0x55d725e8ecf0, event=0x7ffce8852ca0) at kernel/qwidgetwindow.cpp:673 translated = { = { = {_vptr.QEvent = 0x7fc25220c078 , static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fc251674460 , data = 0x7fc251675ee0 , static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 3, posted = 0, spont = 1, m_accept = 1, reserved = 7440}, modState = {i = 0}, ts = 25295369}, l = {xp = 8, yp = 16}, w = {xp = 101, yp = 40}, s = {xp = 435, yp = 557}, b = Qt::LeftButton, mouseState = {i = 0}, caps = 0, velocity = {v = {0, 0}}} contextMenuTrigger = QEvent::MouseButtonPress widget = 0x55d7257e2f40 mapped = {xp = 8, yp = 16} initialPress = false receiver = 0x55d7257e2f40 #40 0x00007fc25244c4c2 in QWidgetWindow::event (this=0x55d725e8ecf0, event=0x7ffce8852ca0) at kernel/qwidgetwindow.cpp:295 No locals. #41 0x00007fc2523ceebf in QApplicationPrivate::notify_helper (this=0x55d72564c170, receiver=0x55d725e8ecf0, e=0x7ffce8852ca0) at kernel/qapplication.cpp:3670 consumed = false filtered = false #42 0x00007fc2523cc1ee in QApplication::notify (this=0x7ffce8853180, receiver=0x55d725e8ecf0, e=0x7ffce8852ca0) at kernel/qapplication.cpp:3010 d = 0x55d72564c170 __PRETTY_FUNCTION__ = "virtual bool QApplication::notify(QObject*, QEvent*)" res = false #43 0x00007fc25141eaa7 in QCoreApplication::notifyInternal2 (receiver=0x55d725e8ecf0, event=0x7ffce8852ca0) at kernel/qcoreapplication.cpp:1061 selfRequired = true result = false cbdata = {0x55d725e8ecf0, 0x7ffce8852ca0, 0x7ffce8852b26} d = 0x55d725e8ed50 threadData = 0x55d72564c2e0 scopeLevelCounter = {threadData = 0x55d72564c2e0} #44 0x00007fc25141f530 in QCoreApplication::sendSpontaneousEvent (receiver=0x55d725e8ecf0, event=0x7ffce8852ca0) at kernel/qcoreapplication.cpp:1468 No locals. #45 0x00007fc251989611 in QGuiApplicationPrivate::processMouseEvent (e=0x55d7262553b0) at kernel/qguiapplication.cpp:2205 type = QEvent::MouseButtonRelease button = Qt::LeftButton window = 0x55d725e8ecf0 positionChanged = false mouseMove = false mousePress = false localPoint = {xp = 101, yp = 40} globalPoint = {xp = 435, yp = 557} doubleClick = false ev = { = { = {_vptr.QEvent = 0x7fc25220c078 , static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fc251674460 , data = 0x7fc251675ee0 , static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 3, posted = 0, spont = 1, m_accept = 1, reserved = 7440}, modState = {i = 0}, ts = 25295369}, l = {xp = 101, yp = 40}, w = {xp = 101, yp = 40}, s = {xp = 435, yp = 557}, b = Qt::LeftButton, mouseState = {i = 0}, caps = 0, velocity = {v = {0, 0}}} #46 0x00007fc251988848 in QGuiApplicationPrivate::processWindowSystemEvent (e=0x55d7262553b0) at kernel/qguiapplication.cpp:1937 __PRETTY_FUNCTION__ = "static void QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)" #47 0x00007fc251966a06 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1165 event = 0x55d7262553b0 nevents = 1 #48 0x00007fc24dbed708 in xcbSourceDispatch (source=0x55d725700f50) at qxcbeventdispatcher.cpp:105 xcbEventSource = 0x55d725700f50 flags = {i = 36} #49 0x00007fc2504339ee in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. #50 0x00007fc250433c88 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. #51 0x00007fc250433d1c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. #52 0x00007fc2514b5e29 in QEventDispatcherGlib::processEvents (this=0x55d7256f53e0, flags=...) at kernel/qeventdispatcher_glib.cpp:423 d = 0x55d7256fe660 canWait = true savedFlags = {i = 0} result = false #53 0x00007fc24dbed93c in QXcbGlibEventDispatcher::processEvents (this=0x55d7256f53e0, flags=...) at qxcbeventdispatcher.cpp:143 No locals. #54 0x00007fc25141b107 in QEventLoop::processEvents (this=0x7ffce8853100, flags=...) at kernel/qeventloop.cpp:139 d = 0x55d7260e3ed0 threadData = 0x55d72564c2e0 #55 0x00007fc25141b469 in QEventLoop::exec (this=0x7ffce8853100, flags=...) at kernel/qeventloop.cpp:232 d = 0x55d7260e3ed0 threadData = 0x55d72564c2e0 locker = {val = 94382533690328} __PRETTY_FUNCTION__ = "int QEventLoop::exec(QEventLoop::ProcessEventsFlags)" ref = {d = 0x55d7260e3ed0, locker = @0x7ffce8853080, exceptionCaught = true} app = 0x7ffce8853180 #56 0x00007fc25141f338 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1369 threadData = 0x55d72564c2e0 __PRETTY_FUNCTION__ = "static int QCoreApplication::exec()" eventLoop = { = {_vptr.QObject = 0x7fc251821520 , static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fc25168a120 , data = 0x7fc25168a240 , static_metacall = 0x7fc25146f0ca , relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x55d7260e3ed0}, static staticQtMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fc25167b720 , data = 0x7fc2516872a0 , static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7fc251818ca0 }, stringdata = 0x7fc251672760 , data = 0x7fc2516727c0 , static_metacall = 0x7fc25141b88a , relatedMetaObjects = 0x0, extradata = 0x0}}} returnCode = 0 #57 0x00007fc251988534 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1862 No locals. #58 0x00007fc2523cba7f in QApplication::exec () at kernel/qapplication.cpp:2810 No locals. #59 0x000055d7237851a7 in main (argc=1, argv=0x7ffce88532d8) at ../scriptableapplication/main.cpp:63 a = { = { = { = {_vptr.QObject = 0x7fc252b38980 , static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fc25168a120 , data = 0x7fc25168a240 , static_metacall = 0x7fc25146f0ca , relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x55d72564c170}, static staticQtMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fc25167b720 , data = 0x7fc2516872a0 , static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7fc251818ca0 }, stringdata = 0x7fc2516736e0 , data = 0x7fc251673900 , static_metacall = 0x7fc251423096 , relatedMetaObjects = 0x0, extradata = 0x0}}, static self = 0x7ffce8853180}, static staticMetaObject = {d = {superdata = {direct = 0x7fc2518215c0 }, stringdata = 0x7fc251f33480 , data = 0x7fc251f33a60 , static_metacall = 0x7fc2519902f2 , relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7fc25220b760 }, stringdata = 0x7fc2528b9d40 , data = 0x7fc2528ba060 , static_metacall = 0x7fc2523d0fbc , relatedMetaObjects = 0x0, extradata = 0x0}}} mainWindow = { = { = { = {_vptr.QObject = 0x55d7237a52a0 , static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fc25168a120 , data = 0x7fc25168a240 , static_metacall = 0x7fc25146f0ca , relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x55d725705440}, static staticQtMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7fc25167b720 , data = 0x7fc2516872a0 , static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, = {_vptr.QPaintDevice = 0x55d7237a5458 , painters = 0, reserved = 0x0}, static staticMetaObject = {d = {superdata = {direct = 0x7fc251818ca0 }, stringdata = 0x7fc2528c6640 , data = 0x7fc2528c73e0 , static_metacall = 0x7fc252425c3c , relatedMetaObjects = 0x0, extradata = 0x0}}, data = 0x55d725705558}, static staticMetaObject = {d = {superdata = {direct = 0x7fc252b39b20 }, stringdata = 0x7fc252917620 , data = 0x7fc252917ac0 , static_metacall = 0x7fc2525a1be4 , relatedMetaObjects = 0x7fc252b43700 , extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7fc252b43720 }, stringdata = 0x55d72379d7a0 , data = 0x55d72379d840 , static_metacall = 0x55d723797b0c , relatedMetaObjects = 0x0, extradata = 0x0}}, m_scriptEdit = 0x55d7256f5360} availableGeometry = {x1 = 0, y1 = 0, x2 = 1919, y2 = 1163}