https://bugs.kde.org/show_bug.cgi?id=409533

            Bug ID: 409533
           Summary: Cantor crashes every time I execute a Python3
                    instruction
           Product: cantor
           Version: 19.04
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: python3-backend
          Assignee: cantor-b...@kde.org
          Reporter: jsar...@gmail.com
  Target Milestone: ---

SUMMARY

After commit 2329f29edc8d83b4823995a184ed454b580f0809 ([Python] Don't use Qt in
pythonserver executable for avoding problems with PyQt5), Cantor crashes every
time I run python code.

ADDITIONAL INFORMATION

I don't think the backtrace will be very informative but I couldn't make it any
better:

Application: Cantor (cantor), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb0a6444780 (LWP 30265))]

Thread 4 (Thread 0x7fb09132d700 (LWP 30268)):
#0  0x00007fb0abc989f3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55e1e73be828) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55e1e73be7d8,
cond=0x55e1e73be800) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55e1e73be800, mutex=0x55e1e73be7d8) at
pthread_cond_wait.c:655
#3  0x00007fb091dcf3da in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fb091dcf107 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fb0abc926db in start_thread (arg=0x7fb09132d700) at
pthread_create.c:463
#6  0x00007fb0af89688f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fb099f37700 (LWP 30267)):
#0  0x00007fb0af8850b4 in __GI___libc_read (fd=7, buf=0x7fb099f36be0,
nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007fb0aa438c81 in g_wakeup_acknowledge () from
/home/jsardid/Documents/al3/cantor/cantor-python-lib/libglib-2.0.so.0
#2  0x00007fb0aa3f2788 in g_main_context_check () from
/home/jsardid/Documents/al3/cantor/cantor-python-lib/libglib-2.0.so.0
#3  0x00007fb0aa3f2c56 in g_main_context_iterate.isra () from
/home/jsardid/Documents/al3/cantor/cantor-python-lib/libglib-2.0.so.0
#4  0x00007fb0aa3f2dce in g_main_context_iteration () from
/home/jsardid/Documents/al3/cantor/cantor-python-lib/libglib-2.0.so.0
#5  0x00007fb0afe43dcb in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fb0afde503a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fb0afc0c4ca in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fb0acc6e015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007fb0afc0dc72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fb0abc926db in start_thread (arg=0x7fb099f37700) at
pthread_create.c:463
#11 0x00007fb0af89688f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fb0a2be7700 (LWP 30266)):
#0  0x00007fb0af889bf9 in __GI___poll (fds=0x7fb0a2be6d28, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb0a8e70fc0 in _xcb_conn_wait () from
/home/jsardid/Documents/al3/cantor/cantor-python-lib/libxcb.so.1
#2  0x00007fb0a8e72a4b in xcb_wait_for_event () from
/home/jsardid/Documents/al3/cantor/cantor-python-lib/libxcb.so.1
#3  0x00007fb0a5b1f578 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fb0afc0dc72 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fb0abc926db in start_thread (arg=0x7fb0a2be7700) at
pthread_create.c:463
#6  0x00007fb0af89688f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fb0a6444780 (LWP 30265)):
[KCrash Handler]
#6  0x00007fb0afd63a80 in QProcess::kill() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fb0871bf98b in PythonSession::logout() () from
/usr/x86_64-linux-gnu/qt5/libcantor_pythonbackend.so
#8  0x00007fb0871bdb64 in
PythonSession::reportServerProcessError(QProcess::ProcessError) () from
/usr/x86_64-linux-gnu/qt5/libcantor_pythonbackend.so
#9  0x00007fb0afe1698f in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fb0afd61c21 in QProcess::errorOccurred(QProcess::ProcessError) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fb0afd6894e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fb0afd68ac9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007fb0afe16875 in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fb0afe23178 in QSocketNotifier::activated(int,
QSocketNotifier::QPrivateSignal) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007fb0afe23532 in QSocketNotifier::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007fb0b0be265c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007fb0b0be9b90 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007fb0afde6d18 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007fb0afe44a18 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007fb0aa3f2af8 in g_main_context_dispatch () from
/home/jsardid/Documents/al3/cantor/cantor-python-lib/libglib-2.0.so.0
#21 0x00007fb0aa3f2d41 in g_main_context_iterate.isra () from
/home/jsardid/Documents/al3/cantor/cantor-python-lib/libglib-2.0.so.0
#22 0x00007fb0aa3f2dce in g_main_context_iteration () from
/home/jsardid/Documents/al3/cantor/cantor-python-lib/libglib-2.0.so.0
#23 0x00007fb0afe43daf in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007fb0afde503a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007fb0afdee170 in QCoreApplication::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x000055e1e55bf6e2 in main ()

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to