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

            Bug ID: 368562
           Summary: Cantor crashes on exit.
           Product: cantor
           Version: unspecified
          Platform: Neon Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: fil...@kde.org
          Reporter: jodr...@live.com
                CC: alexanderrie...@gmail.com

Open cantor
When the "backend chooser" window opens close it, hit the "X" button on the
window, do not select a backend.
Now terminate cantor.

cantor version 16.11.70
Frameworks 5.26.0
Qt 5.7.0

Reproducible: Always

Steps to Reproduce:
1.Open cantor
2.Close it in any possible way (hit "x", alt+F4, crtl+q)
3



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 0x7f205b9248c0 (LWP 2995))]

Thread 2 (Thread 0x7f204294e700 (LWP 2997)):
#0  0x00007f20582259cd in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f20538e4740 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f20538a0e84 in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f20538a1340 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f20538a14ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f2058d7923b in QEventDispatcherGlib::processEvents
(this=0x7f203c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f2058d23cea in QEventLoop::exec (this=this@entry=0x7f204294dcd0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#7  0x00007f2058b48fb4 in QThread::exec (this=this@entry=0x7f205ba18d60
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread.cpp:507
#8  0x00007f205b9a47a5 in QDBusConnectionManager::run (this=0x7f205ba18d60
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:196
#9  0x00007f2058b4db98 in QThreadPrivate::start (arg=0x7f205ba18d60 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:344
#10 0x00007f20551066fa in start_thread (arg=0x7f204294e700) at
pthread_create.c:333
#11 0x00007f2058235b5d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f205b9248c0 (LWP 2995)):
[KCrash Handler]
#6  0x00007f2056e6f954 in std::__atomic_base<int>::load
(__m=std::memory_order_relaxed, this=0x7f204129df00) at
/usr/include/c++/5/bits/atomic_base.h:396
#7  QAtomicOps<int>::load<int> (_q_value=...) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:103
#8  QBasicAtomicInteger<int>::load (this=0x7f204129df00) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:99
#9  QtPrivate::RefCount::deref (this=0x7f204129df00) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:66
#10 QString::~QString (this=0x1889e60, __in_chrg=<optimized out>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1075
#11 QHashNode<QString, bool>::~QHashNode (this=<optimized out>,
__in_chrg=<optimized out>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:147
#12 QHash<QString, bool>::deleteNode2 (node=0x1889e50) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:533
#13 0x00007f2058bac319 in QHashData::free_helper (this=0x174b670,
node_delete=0x7f2056e6f950 <QHash<QString,
bool>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:594
#14 0x00007f2056e6bf9c in QHash<QString, bool>::freeData (this=0x1644ee0,
x=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:573
#15 QHash<QString, bool>::~QHash (this=0x1644ee0, __in_chrg=<optimized out>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:252
#16 KIconLoaderPrivate::~KIconLoaderPrivate (this=0x1644e70,
__in_chrg=<optimized out>) at /workspace/build/src/kiconloader.cpp:216
#17 KIconLoader::~KIconLoader (this=0x7f2057083cd0 <(anonymous
namespace)::Q_QGS_globalIconLoader::innerFunction()::holder>,
__in_chrg=<optimized out>) at /workspace/build/src/kiconloader.cpp:648
#18 0x00007f2056e6c009 in (anonymous
namespace)::Q_QGS_globalIconLoader::Holder::~Holder (this=<optimized out>,
__in_chrg=<optimized out>) at /workspace/build/src/kiconloader.cpp:1774
#19 0x00007f2058168fe8 in __run_exit_handlers (status=0, listp=0x7f20584f25f8
<__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#20 0x00007f2058169035 in __GI_exit (status=<optimized out>) at exit.c:104
#21 0x00007f205814f837 in __libc_start_main (main=0x40b5f0 <main(int, char**)>,
argc=5, argv=0x7ffd89fe2e18, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffd89fe2e08) at ../csu/libc-start.c:325
#22 0x000000000040d389 in _start ()

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

Reply via email to