https://bugs.kde.org/show_bug.cgi?id=409497
Bug ID: 409497 Summary: kig crash when constructing a point using python Product: kig Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: david.narv...@computer.org Reporter: a...@laxu.de Target Milestone: --- SUMMARY STEPS TO REPRODUCE 1. Create segment 2. Create a python script: def calc( arg1 ): # Calculate whatever you want to show here, and return it. # For example, to implement a mid point, you would put # this code here: # return Point( ( arg1.coordinate() + arg2.coordinate() ) / 2 ) # Please refer to the manual for more information. return Point(Coordinate(arg1.length(),0)) Stacktrace: Application: Kig (kig), signal: Aborted Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7f56a0efe800 (LWP 21084))] Thread 3 (Thread 0x7f5697fff700 (LWP 21086)): #0 __GI___libc_read (nbytes=16, buf=0x7f5697ffeb50, fd=7) at ../sysdeps/unix/sysv/linux/read.c:26 #1 __GI___libc_read (fd=7, buf=0x7f5697ffeb50, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24 #2 0x00007f56a361b410 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f56a35d46cf in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f56a35d4ba0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007f56a35d4d1c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #6 0x00007f56a4fff063 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f56a4faa5bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007f56a4df52c6 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #9 0x00007f56a3fc3565 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #10 0x00007f56a4df6612 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #11 0x00007f56a4934182 in start_thread (arg=<optimized out>) at pthread_create.c:486 #12 0x00007f56a4a6fb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7f569fbfb700 (LWP 21085)): #0 0x00007f56a4a63729 in __GI___poll (fds=0x7f569fbfaca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f56a3493917 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #2 0x00007f56a349553a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #3 0x00007f56a07e66a8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #4 0x00007f56a4df6612 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f56a4934182 in start_thread (arg=<optimized out>) at pthread_create.c:486 #6 0x00007f56a4a6fb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7f56a0efe800 (LWP 21084)): [KCrash Handler] #6 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #7 0x00007f56a4977535 in __GI_abort () at abort.c:79 #8 0x00007f56a497740f in __assert_fail_base (fmt=0x7f569c0c6487 "%s%s%s:%u: %s%sZusicherung \302\273%s\302\253 nicht erf\303\274llt.\n%n", assertion=0x7f5696d64ec2 "Py_REFCNT(m_ptr) > 0", file=0x7f5696d64e98 "/usr/include/boost/python/object_core.hpp", line=422, function=<optimized out>) at assert.c:92 #9 0x00007f56a4987012 in __GI___assert_fail (assertion=0x7f5696d64ec2 "Py_REFCNT(m_ptr) > 0", file=0x7f5696d64e98 "/usr/include/boost/python/object_core.hpp", line=422, function=0x7f5696d64fa0 "boost::python::api::object_base::~object_base()") at assert.c:101 #10 0x00007f5696d1a9e9 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kigpart.so #11 0x00007f5696d44489 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kigpart.so #12 0x00007f5696c38f83 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kigpart.so #13 0x00007f5696d46758 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kigpart.so #14 0x00007f5696d19261 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kigpart.so #15 0x00007f56a4fd5426 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #16 0x00007f56a5a5c032 in QAbstractButton::clicked(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #17 0x00007f56a5a5c24a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #18 0x00007f56a5a5d60f in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #19 0x00007f56a5a5d7e5 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #20 0x00007f56a59b2b58 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #21 0x00007f56a5973551 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #22 0x00007f56a597ab77 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #23 0x00007f56a4fab8e9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #24 0x00007f56a5979ebf in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #25 0x00007f56a59cd57b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #26 0x00007f56a59d053f in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #27 0x00007f56a5973551 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #28 0x00007f56a597a930 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #29 0x00007f56a4fab8e9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #30 0x00007f56a5383c6c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #31 0x00007f56a5385075 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #32 0x00007f56a535f05b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #33 0x00007f56a07e767a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #34 0x00007f56a35d49ee in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #35 0x00007f56a35d4c88 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #36 0x00007f56a35d4d1c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #37 0x00007f56a4fff047 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #38 0x00007f56a4faa5bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #39 0x00007f5696d0d36e in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kigpart.so #40 0x00007f5696c7a911 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kigpart.so #41 0x00007f56a4fd5426 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #42 0x00007f56a596cfe2 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #43 0x00007f56a596f5f0 in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #44 0x00007f56a5a5d5ad in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #45 0x00007f56a5a5d7e5 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #46 0x00007f56a5b476ca in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #47 0x00007f56a59b2b58 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #48 0x00007f56a5b47773 in QToolButton::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #49 0x00007f56a5973551 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #50 0x00007f56a597ab77 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #51 0x00007f56a4fab8e9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #52 0x00007f56a5979ebf in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #53 0x00007f56a59cd57b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #54 0x00007f56a59d053f in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #55 0x00007f56a5973551 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #56 0x00007f56a597a930 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #57 0x00007f56a4fab8e9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #58 0x00007f56a5383c6c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #59 0x00007f56a5385075 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #60 0x00007f56a535f05b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #61 0x00007f56a07e767a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #62 0x00007f56a35d49ee in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #63 0x00007f56a35d4c88 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #64 0x00007f56a35d4d1c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #65 0x00007f56a4fff047 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #66 0x00007f56a4faa5bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #67 0x00007f56a4fb25e2 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #68 0x000055792194b736 in ?? () #69 0x00007f56a4978b6b in __libc_start_main (main=0x55792194af80, argc=3, argv=0x7fff193beee8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff193beed8) at ../csu/libc-start.c:308 #70 0x000055792194baaa in _start () [Inferior 1 (process 21084) detached] -- You are receiving this mail because: You are watching all bug changes.