Bug 421826

Summary: Kompare crashes on launch
Product: [Applications] kompare Reporter: Till Schäfer <till2.schaefer>
Component: generalAssignee: Kompare developers <kompare-devel>
Status: RESOLVED WORKSFORME    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 4.1.3   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Till Schäfer 2020-05-20 15:28:23 UTC
Application: kompare (4.1.3)
 (Compiled from sources)
Qt Version: 5.14.2
Frameworks Version: 5.70.0
Operating System: Linux 5.6.13-gentoo x86_64
Windowing system: X11
Distribution: "Gentoo Base System release 2.6"

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

Whenever launching Kompare, it crashes directly afterwards.

-- Backtrace:
Application: Kompare (kompare), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7ff8166c00 (LWP 18363))]

Thread 2 (Thread 0x7f7ff60e0700 (LWP 18365)):
#0  0x00007fff8b5d4906 in clock_gettime ()
#1  0x00007f7ffbd97bd7 in clock_gettime () from /lib64/libc.so.6
#2  0x00007f7ffc390911 in qt_clock_gettime (ts=0x7f7ff60dfb40, clock=1) at /var/tmp/portage/dev-qt/qtcore-5.14.2/work/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qelapsedtimer_unix.cpp:175
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at /var/tmp/portage/dev-qt/qtcore-5.14.2/work/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qelapsedtimer_unix.cpp:166
#4  qt_gettime () at /var/tmp/portage/dev-qt/qtcore-5.14.2/work/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qelapsedtimer_unix.cpp:175
#5  0x00007f7ffc38e279 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f7fe8004d50) at /var/tmp/portage/dev-qt/qtcore-5.14.2/work/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qtimerinfo_unix.cpp:91
#6  0x00007f7ffc38ee8a in QTimerInfoList::timerWait (this=0x7f7fe8004d50, tm=...) at /var/tmp/portage/dev-qt/qtcore-5.14.2/work/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qtimerinfo_unix.cpp:388
#7  0x00007f7ffc390dbc in timerSourcePrepareHelper (src=<optimized out>, timeout=timeout@entry=0x7f7ff60dfc24) at /var/tmp/portage/dev-qt/qtcore-5.14.2/work/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qeventdispatcher_glib.cpp:138
#8  0x00007f7ffc390e5e in timerSourcePrepare (source=<optimized out>, timeout=timeout@entry=0x7f7ff60dfc24) at /var/tmp/portage/dev-qt/qtcore-5.14.2/work/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qeventdispatcher_glib.cpp:166
#9  0x00007f7ffa4acdf7 in g_main_context_prepare (context=context@entry=0x7f7fe8000c20, priority=priority@entry=0x7f7ff60dfcb0) at ../glib-2.62.6/glib/gmain.c:3526
#10 0x00007f7ffa4ad78b in g_main_context_iterate (context=context@entry=0x7f7fe8000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.62.6/glib/gmain.c:3934
#11 0x00007f7ffa4ad97f in g_main_context_iteration (context=0x7f7fe8000c20, may_block=may_block@entry=1) at ../glib-2.62.6/glib/gmain.c:4015
#12 0x00007f7ffc3910fb in QEventDispatcherGlib::processEvents (this=0x7f7fe8000b60, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.14.2/work/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qeventdispatcher_glib.cpp:425
#13 0x00007f7ffc33aaab in QEventLoop::exec (this=this@entry=0x7f7ff60dfdf0, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.14.2/work/qtbase-everywhere-src-5.14.2/include/QtCore/../../src/corelib/global/qflags.h:136
#14 0x00007f7ffc18cbfe in QThread::exec (this=this@entry=0x7f7ffadbada0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /var/tmp/portage/dev-qt/qtcore-5.14.2/work/qtbase-everywhere-src-5.14.2/include/QtCore/../../src/corelib/global/qflags.h:118
#15 0x00007f7ffad37487 in QDBusConnectionManager::run (this=0x7f7ffadbada0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /var/tmp/portage/dev-qt/qtdbus-5.14.2/work/qtbase-everywhere-src-5.14.2/src/dbus/qdbusconnection.cpp:179
#16 0x00007f7ffc18dc2b in QThreadPrivate::start (arg=0x7f7ffadbada0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /var/tmp/portage/dev-qt/qtcore-5.14.2/work/qtbase-everywhere-src-5.14.2/src/corelib/thread/qthread_unix.cpp:342
#17 0x00007f7ffacedf27 in start_thread () from /lib64/libpthread.so.0
#18 0x00007f7ffbd8abef in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f7ff8166c00 (LWP 18363)):
[KCrash Handler]
#6  0x000055d2c5e80dee in KompareShell::saveProperties (this=0x55d2c65810b0, config=...)
#7  0x00007f7ffd8235e8 in KMainWindow::savePropertiesInternal (this=0x55d2c65810b0, config=config@entry=0x55d2c66ca670, number=1) at /usr/include/qt5/QtCore/qarraydata.h:236
#8  0x00007f7ffd823719 in KMWSessionManager::saveState (this=<optimized out>, sm=...) at /var/tmp/portage/kde-frameworks/kxmlgui-5.70.0/work/kxmlgui-5.70.0/src/kmainwindow.cpp:150
#9  0x00007f7ffc36eaf9 in QtPrivate::QSlotObjectBase::call (a=0x7fff8b5cb920, r=0x7f7ffd8a3810 <(anonymous namespace)::Q_QGS_ksm::innerFunction()::holder>, this=0x55d2c65f4f90) at /var/tmp/portage/dev-qt/qtcore-5.14.2/work/qtbase-everywhere-src-5.14.2/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate<false> (sender=0x7fff8b5ccaa0, signal_index=18, argv=0x7fff8b5cb920) at /var/tmp/portage/dev-qt/qtcore-5.14.2/work/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qobject.cpp:3870
#11 0x00007f7ffc36942f in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f7ffcbcaee0 <QGuiApplication::staticMetaObject>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7fff8b5cb920) at /var/tmp/portage/dev-qt/qtcore-5.14.2/work/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qobject.cpp:3930
#12 0x00007f7ffc71f2b5 in QGuiApplication::saveStateRequest (this=<optimized out>, _t1=...) at .moc/moc_qguiapplication.cpp:451
#13 0x00007f7ffc720bcb in QGuiApplicationPrivate::saveState (this=0x55d2c651f2c0) at /var/tmp/portage/dev-qt/qtgui-5.14.2/work/qtbase-everywhere-src-5.14.2/src/gui/kernel/qguiapplication.cpp:3831
#14 0x00007f7ffc75af03 in QPlatformSessionManager::appSaveState (this=this@entry=0x55d2c6596110) at /var/tmp/portage/dev-qt/qtgui-5.14.2/work/qtbase-everywhere-src-5.14.2/include/QtGui/../../src/gui/kernel/qguiapplication.h:203
#15 0x00007f7ff7b89f7d in sm_performSaveYourself (sm=0x55d2c6596110) at /var/tmp/portage/dev-qt/qtgui-5.14.2/work/qtbase-everywhere-src-5.14.2/src/plugins/platforms/xcb/qxcbsessionmanager.cpp:247
#16 0x00007f7ff7b8a0b3 in sm_saveYourselfCallback (smcConn=<optimized out>, clientData=<optimized out>, saveType=<optimized out>, shutdown=<optimized out>, interactStyle=<optimized out>) at /var/tmp/portage/dev-qt/qtgui-5.14.2/work/qtbase-everywhere-src-5.14.2/src/plugins/platforms/xcb/qxcbsessionmanager.cpp:182
#17 0x00007f7ff7a695cc in _SmcProcessMessage (iceConn=0x55d2c6593b60, clientData=0x55d2c65800c0, opcode=<optimized out>, length=<optimized out>, swap=0, replyWait=<optimized out>, replyReadyRet=0x7fff8b5cbf20) at /var/tmp/portage/x11-libs/libSM-1.2.3/work/libSM-1.2.3/src/sm_process.c:354
#18 0x00007f7ff7a57685 in IceProcessMessages (iceConn=0x55d2c6593b60, replyWait=0x0, replyReadyRet=0x0) at /var/tmp/portage/x11-libs/libICE-1.0.10/work/libICE-1.0.10/src/process.c:386
#19 0x00007f7ffc36eb2c in doActivate<false> (sender=0x55d2c6593c40, signal_index=3, argv=0x7fff8b5cc050) at /var/tmp/portage/dev-qt/qtcore-5.14.2/work/qtbase-everywhere-src-5.14.2/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#20 0x00007f7ffc36942f in QMetaObject::activate (sender=sender@entry=0x55d2c6593c40, m=m@entry=0x7f7ffc606be0 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff8b5cc050) at /var/tmp/portage/dev-qt/qtcore-5.14.2/work/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qobject.cpp:3930
#21 0x00007f7ffc371cdf in QSocketNotifier::activated (this=this@entry=0x55d2c6593c40, _t1=<optimized out>, _t2=...) at .moc/moc_qsocketnotifier.cpp:141
#22 0x00007f7ffc372021 in QSocketNotifier::event (this=0x55d2c6593c40, e=0x7fff8b5cc310) at /var/tmp/portage/dev-qt/qtcore-5.14.2/work/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qsocketnotifier.cpp:266
#23 0x00007f7ffcd4847f in QApplicationPrivate::notify_helper (this=this@entry=0x55d2c651f2c0, receiver=receiver@entry=0x55d2c6593c40, e=e@entry=0x7fff8b5cc310) at /var/tmp/portage/dev-qt/qtwidgets-5.14.2/work/qtbase-everywhere-src-5.14.2/src/widgets/kernel/qapplication.cpp:3685
#24 0x00007f7ffcd51590 in QApplication::notify (this=0x7fff8b5ccaa0, receiver=0x55d2c6593c40, e=0x7fff8b5cc310) at /var/tmp/portage/dev-qt/qtwidgets-5.14.2/work/qtbase-everywhere-src-5.14.2/src/widgets/kernel/qapplication.cpp:3431
#25 0x00007f7ffc33bbf9 in QCoreApplication::notifyInternal2 (receiver=0x55d2c6593c40, event=0x7fff8b5cc310) at /var/tmp/portage/dev-qt/qtcore-5.14.2/work/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qcoreapplication.cpp:1075
#26 0x00007f7ffc3919ee in socketNotifierSourceDispatch (source=0x55d2c657a910) at /var/tmp/portage/dev-qt/qtcore-5.14.2/work/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qeventdispatcher_glib.cpp:107
#27 0x00007f7ffa4ad66c in g_main_dispatch (context=0x7f7ff0005000) at ../glib-2.62.6/glib/gmain.c:3216
#28 g_main_context_dispatch (context=context@entry=0x7f7ff0005000) at ../glib-2.62.6/glib/gmain.c:3881
#29 0x00007f7ffa4ad8e8 in g_main_context_iterate (context=context@entry=0x7f7ff0005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.62.6/glib/gmain.c:3954
#30 0x00007f7ffa4ad97f in g_main_context_iteration (context=0x7f7ff0005000, may_block=may_block@entry=1) at ../glib-2.62.6/glib/gmain.c:4015
#31 0x00007f7ffc3910e0 in QEventDispatcherGlib::processEvents (this=0x55d2c6590f50, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.14.2/work/qtbase-everywhere-src-5.14.2/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#32 0x00007f7ffc33aaab in QEventLoop::exec (this=this@entry=0x7fff8b5cc520, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.14.2/work/qtbase-everywhere-src-5.14.2/include/QtCore/../../src/corelib/global/qflags.h:136
#33 0x00007f7ffcf4bb4d in QDialog::exec (this=0x55d2c66df6b0) at /var/tmp/portage/dev-qt/qtwidgets-5.14.2/work/qtbase-everywhere-src-5.14.2/include/QtCore/../../src/corelib/global/qflags.h:118
#34 0x00007f7ffd4b8581 in KMessageBox::createKMessageBox (dialog=0x55d2c66df6b0, buttons=<optimized out>, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=..., notifyType=QMessageBox::Critical) at /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/atomic_base.h:413
#35 0x00007f7ffd4b8aed in KMessageBox::createKMessageBox (dialog=dialog@entry=0x55d2c66df6b0, buttons=buttons@entry=0x55d2c66e2270, icon=icon@entry=QMessageBox::Critical, text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=...) at /var/tmp/portage/kde-frameworks/kwidgetsaddons-5.70.0/work/kwidgetsaddons-5.70.0/src/kmessagebox.cpp:190
#36 0x00007f7ffd4bb695 in KMessageBox::errorListInternal (dialog=0x55d2c66df6b0, text=..., strlist=..., caption=..., options=...) at /usr/include/qt5/QtCore/qarraydata.h:257
#37 0x00007f7ffd4bb7d9 in KMessageBox::errorList (parent=parent@entry=0x55d2c65810b0, text=..., strlist=..., caption=..., options=...) at /usr/include/qt5/QtCore/qflags.h:119
#38 0x00007f7ffd4bb811 in KMessageBox::error (parent=parent@entry=0x55d2c65810b0, text=..., caption=..., options=..., options@entry=...) at /usr/include/qt5/QtCore/qlist.h:160
#39 0x000055d2c5e8c31f in KompareShell::KompareShell (this=<optimized out>, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/include/qt5/QtCore/qarraydata.h:257
#40 0x000055d2c5e81647 in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-apps/kompare-20.04.1/work/kompare-20.04.1/main.cpp:97
[Inferior 1 (process 18363) detached]

Reported using DrKonqi
Comment 1 Justin Zobel 2022-10-10 11:16:33 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-10-25 05:00:38 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-11-09 05:12:01 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!