Bug 420228 - kjots crashes upon start
Summary: kjots crashes upon start
Status: RESOLVED FIXED
Alias: None
Product: kjots
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Stephen Kelly
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-04-18 05:58 UTC by Christian Weiske
Modified: 2020-04-19 11:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Weiske 2020-04-18 05:58:29 UTC
Application: kjots (5.0.2)

Qt Version: 5.14.1
Frameworks Version: 5.69.0
Operating System: Linux 5.3.0-46-generic x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.18

-- Information about the crash:
- What I was doing when the application crashed:

I installed KDE neon neon-user-20200416-1115.iso inside VirtualBox and started KJots. It immediately crashed on startup.

The crash can be reproduced every time.

-- Backtrace:
Application: KJots (kjots), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f65cf3df040 (LWP 11193))]

Thread 4 (Thread 0x7f65abfff700 (LWP 11196)):
#0  0x00007f65c227e629 in g_mutex_lock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f65c223858e in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f65c22386dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f65ca3ef0db in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f65ca38e63a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f65ca19f317 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f65ca1a07ec in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f65c4f336db in start_thread (arg=0x7f65abfff700) at pthread_create.c:463
#8  0x00007f65c987d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f65b1943700 (LWP 11195)):
#0  0x00007f65c22374b7 in g_main_context_acquire () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f65c2238485 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f65c22386dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f65ca3ef0db in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f65ca38e63a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f65ca19f317 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f65caacb555 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f65ca1a07ec in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f65c4f336db in start_thread (arg=0x7f65b1943700) at pthread_create.c:463
#9  0x00007f65c987d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f65b990b700 (LWP 11194)):
#0  0x00007f65c9870bf9 in __GI___poll (fds=0x7f65b990aca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f65c1a92747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f65c1a9436a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f65bc4e0cc0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f65ca1a07ec in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f65c4f336db in start_thread (arg=0x7f65b990b700) at pthread_create.c:463
#6  0x00007f65c987d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f65cf3df040 (LWP 11193)):
[KCrash Handler]
#6  QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator-> (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:118
#7  qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > > (ptr=...) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1133
#8  QAction::d_func (this=<optimized out>) at ../../include/QtWidgets/../../src/widgets/kernel/qaction.h:63
#9  QAction::setShortcut (this=this@entry=0x0, shortcut=...) at kernel/qaction.cpp:383
#10 0x0000564f7fd504f7 in KJotsWidget::KJotsWidget (this=<optimized out>, parent=<optimized out>, xmlGuiClient=<optimized out>, f=...) at ./src/kjotswidget.cpp:366
#11 0x0000564f7fd4130f in KJotsMain::KJotsMain (this=0x7f65ac013e80, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ./src/KJotsMain.cpp:51
#12 0x0000564f7fd40b67 in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:76

Possible duplicates by query: bug 418844, bug 418595, bug 413349, bug 411378, bug 411089.

Reported using DrKonqi
Comment 1 Igor Poboiko 2020-04-19 11:13:54 UTC
This is fixed, see revision https://phabricator.kde.org/D28775 and commit https://phabricator.kde.org/R573:ca6f4b963e83ed91cc7314e1b60fe6607b61b53e.