Bug 441763 - RKWard (GUI for R) always crashes after the installation check / installation of R packages (rmarkdown and dependencies, compilation with gcc g++), issue with Qt
Summary: RKWard (GUI for R) always crashes after the installation check / installation...
Status: RESOLVED FIXED
Alias: None
Product: rkward
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: RKWard Team
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-08-30 13:22 UTC by philipp.grimmer
Modified: 2022-04-09 22:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description philipp.grimmer 2021-08-30 13:22:55 UTC
Application: rkward (0.7.2)

Qt Version: 5.15.2
Frameworks Version: 5.85.0
Operating System: Linux 5.13.12-2-default x86_64
Windowing System: X11
Drkonqi Version: 5.22.4
Distribution: openSUSE Tumbleweed

-- Information about the crash:
- What I was doing when the application crashed:
- Started RKWard on openSUSE Tumbleweed with KDE Plasma
- Checked installation, started download and installation of R package "rmarkdown" and dependencies
- after successful download and installation of R packages, the application crashes when hitting button "Done" (happened repeatedly several times now), however the app RKWard can be started again and seems to run fine

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: RKWard (rkward), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7fe20fa725c0 (LWP 15697))]
[KCrash Handler]
#6  QWeakPointer<QObject>::internalData (this=0x69002000730088) at ../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:696
#7  QPointer<QStyle>::data (this=0x69002000730088) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:77
#8  QPointer<QStyle>::operator QStyle* (this=0x69002000730088) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:83
#9  QWidget::style (this=this@entry=0x55a9b458b5c0) at kernel/qwidget.cpp:2575
#10 0x00007fe21a97ce30 in QWidget::isActiveWindow (this=0x55a9b458b5c0) at kernel/qwidget.cpp:6663
#11 0x00007fe21a954fb2 in QApplication::alert (widget=0x55a9b458b5c0, duration=0) at kernel/qapplication.cpp:3860
#12 0x00007fe20d179622 in NotifyByTaskbar::notify (this=0x55a9b332f180, notification=0x55a9b336baf0, config=<optimized out>) at /usr/src/debug/knotifications-5.85.0-1.1.x86_64/src/notifybytaskbar.cpp:32
#13 0x00007fe20d16d5b0 in KNotificationManager::notify (this=0x7fe20d198fc0 <(anonymous namespace)::Q_QGS_s_self::innerFunction()::holder>, n=<optimized out>) at /usr/src/debug/knotifications-5.85.0-1.1.x86_64/src/knotificationmanager.cpp:363
#14 0x00007fe219c98f7e in QObject::event (this=0x55a9b336baf0, e=0x55a9b4589730) at kernel/qobject.cpp:1314
#15 0x00007fe21a952a7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55a9b336baf0, e=0x55a9b4589730) at kernel/qapplication.cpp:3632
#16 0x00007fe219c6c98a in QCoreApplication::notifyInternal2 (receiver=0x55a9b336baf0, event=0x55a9b4589730) at kernel/qcoreapplication.cpp:1064
#17 0x00007fe219c6f9d7 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55a9b0bf47b0) at kernel/qcoreapplication.cpp:1821
#18 0x00007fe219cc47e3 in postEventSourceDispatch (s=s@entry=0x55a9b0d4c170) at kernel/qeventdispatcher_glib.cpp:277
#19 0x00007fe21502a80f in g_main_dispatch (context=0x7fe208005000) at ../glib/gmain.c:3337
#20 g_main_context_dispatch (context=0x7fe208005000) at ../glib/gmain.c:4055
#21 0x00007fe21502ab98 in g_main_context_iterate (context=context@entry=0x7fe208005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#22 0x00007fe21502ac4f in g_main_context_iteration (context=0x7fe208005000, may_block=1) at ../glib/gmain.c:4196
#23 0x00007fe219cc3e64 in QEventDispatcherGlib::processEvents (this=0x55a9b0d4d380, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#24 0x00007fe219c6b38b in QEventLoop::exec (this=this@entry=0x7ffdb9d5e550, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#25 0x00007fe21ab5c2fa in QDialog::exec (this=0x55a9b458b5c0) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#26 0x00007fe21af65f17 in KMessageBox::createKMessageBox (dialog=0x55a9b458b5c0, buttons=0x55a9b45956d0, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=..., notifyType=QMessageBox::Warning) at /usr/src/debug/kwidgetsaddons-5.85.0-1.1.x86_64/src/kmessagebox.cpp:383
#27 0x00007fe21af665cd in KMessageBox::createKMessageBox (dialog=dialog@entry=0x55a9b458b5c0, buttons=buttons@entry=0x55a9b45956d0, icon=icon@entry=QMessageBox::Warning, text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=...) at /usr/src/debug/kwidgetsaddons-5.85.0-1.1.x86_64/src/kmessagebox.cpp:182
#28 0x00007fe21af69384 in KMessageBox::sorryInternal (dialog=dialog@entry=0x55a9b458b5c0, text=..., caption=..., buttonOk_=..., options=..., options@entry=...) at /usr/src/debug/kwidgetsaddons-5.85.0-1.1.x86_64/src/kmessagebox.cpp:873
#29 0x00007fe21af69572 in KMessageBox::sorry (parent=parent@entry=0x55a9b43c45b0, text=..., caption=..., options=options@entry=...) at /usr/src/debug/kwidgetsaddons-5.85.0-1.1.x86_64/src/kmessagebox.cpp:878
#30 0x000055a9b01662db in LoadUnloadWidget::doLoadUnload (this=0x55a9b43c45b0) at /usr/src/debug/rkward-0.7.2-2.2.x86_64/rkward/dialogs/rkloadlibsdialog.cpp:616
#31 0x000055a9b0170627 in LoadUnloadWidget::ok (this=0x55a9b43c45b0) at /usr/src/debug/rkward-0.7.2-2.2.x86_64/rkward/dialogs/rkloadlibsdialog.cpp:577
#32 LoadUnloadWidget::qt_static_metacall (_o=0x55a9b43c45b0, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/src/debug/rkward-0.7.2-2.2.x86_64/build/rkward/dialogs/dialogs_autogen/EWIEGA46WW/moc_rkloadlibsdialog.cpp:347
#33 0x00007fe219ca3008 in doActivate<false> (sender=0x55a9b4394650, signal_index=8, argv=0x7ffdb9d5ead0) at kernel/qobject.cpp:3898
#34 0x00007fe219c9c49f in QMetaObject::activate (sender=sender@entry=0x55a9b4394650, m=m@entry=0x7fe21ae80720, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#35 0x00007fe21ab5aab3 in QDialog::accepted (this=this@entry=0x55a9b4394650) at .moc/moc_qdialog.cpp:236
#36 0x00007fe21ab5af98 in QDialogPrivate::finalize (this=<optimized out>, resultCode=1, dialogCode=<optimized out>) at dialogs/qdialog.cpp:176
#37 0x000055a9b0161491 in RKLoadLibsDialog::~RKLoadLibsDialog (this=<optimized out>, this=<optimized out>) at /usr/src/debug/rkward-0.7.2-2.2.x86_64/rkward/dialogs/rkloadlibsdialog.cpp:86
#38 0x000055a9b0161519 in RKLoadLibsDialog::~RKLoadLibsDialog (this=<optimized out>, this=<optimized out>) at /usr/src/debug/rkward-0.7.2-2.2.x86_64/rkward/dialogs/rkloadlibsdialog.cpp:88
#39 0x00007fe219c9669e in QObjectPrivate::deleteChildren (this=this@entry=0x55a9b4321450) at kernel/qobject.cpp:2104
#40 0x00007fe21a98feb6 in QWidget::~QWidget (this=0x7fe20800d9d0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#41 0x000055a9b017707d in RKSetupWizard::~RKSetupWizard (this=<optimized out>, this=<optimized out>) at /usr/src/debug/rkward-0.7.2-2.2.x86_64/rkward/dialogs/rksetupwizard.cpp:231
#42 RKSetupWizard::fullInteractiveCheck (settings_items=..., reason=RKSetupWizard::ManualCheck) at /usr/src/debug/rkward-0.7.2-2.2.x86_64/rkward/dialogs/rksetupwizard.cpp:324
#43 RKSetupWizard::fullInteractiveCheck (reason=reason@entry=RKSetupWizard::ManualCheck, settings_items=...) at /usr/src/debug/rkward-0.7.2-2.2.x86_64/rkward/dialogs/rksetupwizard.cpp:300
#44 0x000055a9b017712f in RKSetupWizard::manualCheck () at /usr/src/debug/rkward-0.7.2-2.2.x86_64/rkward/dialogs/rksetupwizard.cpp:297
#45 0x00007fe219ca2fd3 in QtPrivate::QSlotObjectBase::call (a=0x7ffdb9d5ed20, r=0x55a9b11ae630, this=0x55a9b11f9de0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#46 doActivate<false> (sender=0x55a9b11ae630, signal_index=4, argv=0x7ffdb9d5ed20) at kernel/qobject.cpp:3886
#47 0x00007fe219c9c49f in QMetaObject::activate (sender=sender@entry=0x55a9b11ae630, m=m@entry=0x7fe21ae6b0a0, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffdb9d5ed20) at kernel/qobject.cpp:3946
#48 0x00007fe21a94c182 in QAction::triggered (this=this@entry=0x55a9b11ae630, _t1=<optimized out>) at .moc/moc_qaction.cpp:376
#49 0x00007fe21a94edb4 in QAction::activate (this=0x55a9b11ae630, event=<optimized out>) at kernel/qaction.cpp:1161
#50 0x00007fe21aad44d2 in QMenuPrivate::activateCausedStack (this=this@entry=0x55a9b2dd7bc0, causedStack=..., action=action@entry=0x55a9b11ae630, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1384
#51 0x00007fe21aadc281 in QMenuPrivate::activateAction (this=0x55a9b2dd7bc0, action=0x55a9b11ae630, action_e=QAction::Trigger, self=<optimized out>) at widgets/qmenu.cpp:1461
#52 0x00007fe21a99476e in QWidget::event (this=0x55a9b2dd7750, event=0x7ffdb9d5f330) at kernel/qwidget.cpp:9020
#53 0x00007fe21a952a7f in QApplicationPrivate::notify_helper (this=this@entry=0x55a9b0bfa010, receiver=receiver@entry=0x55a9b2dd7750, e=e@entry=0x7ffdb9d5f330) at kernel/qapplication.cpp:3632
#54 0x00007fe21a95a584 in QApplication::notify (this=0x7ffdb9d5f050, receiver=0x55a9b2dd7750, e=0x7ffdb9d5f330) at kernel/qapplication.cpp:3076
#55 0x00007fe219c6c98a in QCoreApplication::notifyInternal2 (receiver=0x55a9b2dd7750, event=0x7ffdb9d5f330) at kernel/qcoreapplication.cpp:1064
#56 0x00007fe21a959093 in QApplicationPrivate::sendMouseEvent (receiver=0x55a9b2dd7750, event=event@entry=0x7ffdb9d5f330, alienWidget=0x0, nativeWidget=0x55a9b2dd7750, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2614
#57 0x00007fe21a9ae343 in QWidgetWindow::handleMouseEvent (this=0x55a9b42e9720, event=0x7ffdb9d5f600) at kernel/qwidgetwindow.cpp:580
#58 0x00007fe21a9b0c55 in QWidgetWindow::event (this=0x55a9b42e9720, event=0x7ffdb9d5f600) at kernel/qwidgetwindow.cpp:300
#59 0x00007fe21a952a7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55a9b42e9720, e=0x7ffdb9d5f600) at kernel/qapplication.cpp:3632
#60 0x00007fe219c6c98a in QCoreApplication::notifyInternal2 (receiver=0x55a9b42e9720, event=0x7ffdb9d5f600) at kernel/qcoreapplication.cpp:1064
#61 0x00007fe21a0c35d7 in QGuiApplicationPrivate::processMouseEvent (e=0x55a9b39a9530) at kernel/qguiapplication.cpp:2282
#62 0x00007fe21a09979c in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#63 0x00007fe20db4ed0a in xcbSourceDispatch (source=source@entry=0x55a9b0d4c270) at qxcbeventdispatcher.cpp:105
#64 0x00007fe21502a80f in g_main_dispatch (context=0x7fe208005000) at ../glib/gmain.c:3337
#65 g_main_context_dispatch (context=0x7fe208005000) at ../glib/gmain.c:4055
#66 0x00007fe21502ab98 in g_main_context_iterate (context=context@entry=0x7fe208005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#67 0x00007fe21502ac4f in g_main_context_iteration (context=0x7fe208005000, may_block=1) at ../glib/gmain.c:4196
#68 0x00007fe219cc3e64 in QEventDispatcherGlib::processEvents (this=0x55a9b0d4d380, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#69 0x00007fe219c6b38b in QEventLoop::exec (this=this@entry=0x7ffdb9d5f930, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#70 0x00007fe219c73670 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#71 0x00007fe21a0b719c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#72 0x00007fe21a9529f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#73 0x000055a9b00ed8c7 in main (argc=<optimized out>, argv=0x7ffdb9d5fa50) at /usr/src/debug/rkward-0.7.2-2.2.x86_64/rkward/main.cpp:401
[Inferior 1 (process 15697) detached]

Possible duplicates by query: bug 285723, bug 251445.

Reported using DrKonqi
Comment 1 Thomas Friedrichsmeier 2022-04-09 22:02:05 UTC
Git commit 766ddfc7adf35ec4b64bba86b454793737a4d29e by Thomas Friedrichsmeier.
Committed on 09/04/2022 at 21:59.
Pushed by tfry into branch 'master'.

Fix crash when installing packages for within check installation dialog.
Related: bug 433040

M  +1    -0    ChangeLog
M  +32   -46   rkward/dialogs/rkloadlibsdialog.cpp
M  +3    -6    rkward/dialogs/rkloadlibsdialog.h

https://invent.kde.org/education/rkward/commit/766ddfc7adf35ec4b64bba86b454793737a4d29e