| Summary: | crash every time I try to change Config -> Format source -> Artistic style | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Diabolo <olvmari> |
| Component: | Astyle | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | crash | CC: | igorkuo |
| Priority: | NOR | ||
| Version First Reported In: | 5.11.230400 | ||
| Target Milestone: | --- | ||
| Platform: | Manjaro | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Diabolo
2023-05-18 10:47:18 UTC
Cannot reproduce neither in Configure KDevelop nor in Configure Project dialog. Please attach a backtrace. Le vendredi 19 mai 2023 08:14:46 CEST, vous avez écrit :
> https://bugs.kde.org/show_bug.cgi?id=469938
>
> Igor Kushnir <igorkuo@gmail.com> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |igorkuo@gmail.com
>
> --- Comment #1 from Igor Kushnir <igorkuo@gmail.com> ---
> Cannot reproduce neither in Configure KDevelop nor in Configure Project
> dialog. Please attach a backtrace.
Hi Igor
Thank you for your quick answer
regards
Olivier
Application: KDevelop (kdevelop), signal: Bus error
[KCrash Handler]
#4 0x00007f132e0cc02c in () at /usr/lib/qt/plugins/kdevplatform/511/kdevastyle.so
#5 0x00007f132e0cc51d in () at /usr/lib/qt/plugins/kdevplatform/511/kdevastyle.so
#6 0x00007f132e0cbae1 in () at /usr/lib/qt/plugins/kdevplatform/511/kdevastyle.so
#7 0x00007f138d6eafcc in KDevelop::SourceFormatterSelectionEdit::updatePreview() () at /usr/lib/libKDevPlatformShell.so.511
#8 0x00007f138d6eb352 in KDevelop::SourceFormatterSelectionEdit::selectStyle(int) () at /usr/lib/libKDevPlatformShell.so.511
#9 0x00007f138bcbeb41 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffcada408f0, r=<optimized out>, this=0x55e073f8ca70, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate<false>(QObject*, int, void**) (sender=0x55e074100fc0, signal_index=23, argv=0x7ffcada408f0) at kernel/qobject.cpp:3923
#11 0x00007f138cc27636 in QListWidget::currentRowChanged(int) (this=this@entry=0x55e074100fc0, _t1=<optimized out>) at .moc/moc_qlistwidget.cpp:417
#12 0x00007f138cc2e06d in QListWidgetPrivate::_q_emitCurrentItemChanged(QModelIndex const&, QModelIndex const&) (previous=<optimized out>, current=<optimized out>, this=<optimized out>) at itemviews/qlistwidget.cpp:1236
#13 QListWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qlistwidget.cpp:197
#14 0x00007f138bcbecf0 in doActivate<false>(QObject*, int, void**) (sender=0x55e074ac7eb0, signal_index=4, argv=0x7ffcada40ad0) at kernel/qobject.cpp:3935
#15 0x00007f138bc5245f in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) (this=this@entry=0x55e074ac7eb0, _t1=<optimized out>, _t2=...) at .moc/moc_qitemselectionmodel.cpp:482
#16 0x00007f138bc54823 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) (this=0x55e074ac7eb0, index=<optimized out>, command=...) at itemmodels/qitemselectionmodel.cpp:1416
#17 0x00007f138cc2917a in QListWidget::setCurrentRow(int) (this=0x55e074100fc0, row=0) at itemviews/qlistwidget.cpp:1622
#18 0x00007f138d6ea91f in KDevelop::SourceFormatterSelectionEdit::selectFormatter(int) () at /usr/lib/libKDevPlatformShell.so.511
#19 0x00007f138bcbeb41 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffcada40d70, r=<optimized out>, this=0x55e073f47e00, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#20 doActivate<false>(QObject*, int, void**) (sender=0x55e074ad0660, signal_index=12, argv=0x7ffcada40d70) at kernel/qobject.cpp:3923
#21 0x00007f138ca78c96 in QComboBox::currentIndexChanged(int) (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qcombobox.cpp:538
#22 0x00007f138ca711c7 in QComboBoxPrivate::_q_emitCurrentIndexChanged(QModelIndex const&) (this=0x55e074acef00, index=...) at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:62
#23 0x00007f138ca7c9cd in QComboBoxPrivate::setCurrentIndex(QModelIndex const&) (this=this@entry=0x55e074acef00, mi=...) at widgets/qcombobox.cpp:2331
#24 0x00007f138ca81341 in QComboBoxPrivate::_q_itemSelected(QModelIndex const&) (item=..., this=0x55e074acef00) at widgets/qcombobox.cpp:1432
#25 QComboBox::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qcombobox.cpp:300
#26 0x00007f138bcbecf0 in doActivate<false>(QObject*, int, void**) (sender=0x55e074d1d120, signal_index=7, argv=0x7ffcada41050) at kernel/qobject.cpp:3935
#27 0x00007f138ca78f77 in QComboBoxPrivateContainer::itemSelected(QModelIndex const&) (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qcombobox_p.cpp:348
#28 0x00007f138ca748b4 in QComboBoxPrivateContainer::eventFilter(QObject*, QEvent*) (this=0x55e074d1d120, o=0x55e074d1d050, e=0x7ffcada415b0) at widgets/qcombobox.cpp:824
#29 0x00007f138bc8dc92 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (receiver=receiver@entry=0x55e074d1d050, event=event@entry=0x7ffcada415b0) at kernel/qcoreapplication.cpp:1190
#30 0x00007f138c978b4c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x55e06f7bfdd0, receiver=receiver@entry=0x55e074d1d050, e=e@entry=0x7ffcada415b0) at kernel/qapplication.cpp:3634
#31 0x00007f138c97e379 in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=<optimized out>, e=0x7ffcada415b0) at kernel/qapplication.cpp:3084
#32 0x00007f138bc8e028 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55e074d1d050, event=0x7ffcada415b0) at kernel/qcoreapplication.cpp:1064
#33 0x00007f138bc8e0b3 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#34 0x00007f138c97c377 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) (receiver=0x55e074d1d050, event=0x7ffcada415b0, alienWidget=<optimized out>, nativeWidget=0x55e074d1d120, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2622
#35 0x00007f138c9cd9d0 in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=this@entry=0x55e076f30ab0, event=event@entry=0x7ffcada41910) at kernel/qwidgetwindow.cpp:580
#36 0x00007f138c9cf31e in QWidgetWindow::event(QEvent*) (this=0x55e076f30ab0, event=0x7ffcada41910) at kernel/qwidgetwindow.cpp:300
#37 0x00007f138c978b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55e076f30ab0, e=0x7ffcada41910) at kernel/qapplication.cpp:3640
#38 0x00007f138bc8e028 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55e076f30ab0, event=0x7ffcada41910) at kernel/qcoreapplication.cpp:1064
#39 0x00007f138bc8e0b3 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#40 0x00007f138c14002c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x7f1360002a50) at kernel/qguiapplication.cpp:2285
#41 0x00007f138c1298c5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at kernel/qwindowsysteminterface.cpp:1169
#42 0x00007f137f7598d5 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /usr/lib/libQt5WaylandClient.so.5
#43 0x00007f138790f53b in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#44 0x00007f138796c219 in () at /usr/lib/libglib-2.0.so.0
#45 0x00007f138790e1a2 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#46 0x00007f138bcd8d3c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55e06f809760, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#47 0x00007f138bc8668c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffcada41cb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#48 0x00007f138cb73b1b in QDialog::exec() (this=0x7ffcada41e50) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#49 0x00007f138d687788 in KDevelop::UiController::showSettingsDialog() () at /usr/lib/libKDevPlatformShell.so.511
#50 0x00007f138bcbecf0 in doActivate<false>(QObject*, int, void**) (sender=0x55e06fb8eba0, signal_index=4, argv=0x7ffcada42030) at kernel/qobject.cpp:3935
#51 0x00007f138c96bec7 in QAction::triggered(bool) (this=this@entry=0x55e06fb8eba0, _t1=<optimized out>) at .moc/moc_qaction.cpp:376
#52 0x00007f138c9718c7 in QAction::activate(QAction::ActionEvent) (this=0x55e06fb8eba0, event=<optimized out>) at kernel/qaction.cpp:1161
#53 0x00007f138caf425b in QMenuPrivate::activateCausedStack(QVector<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) (this=this@entry=0x55e0723991c0, causedStack=..., action=action@entry=0x55e06fb8eba0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1384
#54 0x00007f138caf437d in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) (this=0x55e0723991c0, action=0x55e06fb8eba0, action_e=QAction::Trigger, self=<optimized out>) at widgets/qmenu.cpp:1461
#55 0x00007f138c9af837 in QWidget::event(QEvent*) (this=0x55e07237e4a0, event=0x7ffcada42630) at kernel/qwidget.cpp:8671
#56 0x00007f138c978b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x55e06f7bfdd0, receiver=receiver@entry=0x55e07237e4a0, e=e@entry=0x7ffcada42630) at kernel/qapplication.cpp:3640
#57 0x00007f138c97e379 in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=<optimized out>, e=0x7ffcada42630) at kernel/qapplication.cpp:3084
#58 0x00007f138bc8e028 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55e07237e4a0, event=0x7ffcada42630) at kernel/qcoreapplication.cpp:1064
#59 0x00007f138bc8e0b3 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#60 0x00007f138c97c377 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) (receiver=0x55e07237e4a0, event=0x7ffcada42630, alienWidget=<optimized out>, nativeWidget=0x55e07237e4a0, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2622
#61 0x00007f138c9cd9d0 in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=this@entry=0x55e07402e270, event=event@entry=0x7ffcada42990) at kernel/qwidgetwindow.cpp:580
#62 0x00007f138c9cf31e in QWidgetWindow::event(QEvent*) (this=0x55e07402e270, event=0x7ffcada42990) at kernel/qwidgetwindow.cpp:300
#63 0x00007f138c978b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55e07402e270, e=0x7ffcada42990) at kernel/qapplication.cpp:3640
#64 0x00007f138bc8e028 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55e07402e270, event=0x7ffcada42990) at kernel/qcoreapplication.cpp:1064
#65 0x00007f138bc8e0b3 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#66 0x00007f138c14002c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x7f13600015d0) at kernel/qguiapplication.cpp:2285
#67 0x00007f138c1298c5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at kernel/qwindowsysteminterface.cpp:1169
#68 0x00007f137f7598d5 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /usr/lib/libQt5WaylandClient.so.5
#69 0x00007f138790f53b in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#70 0x00007f138796c219 in () at /usr/lib/libglib-2.0.so.0
#71 0x00007f138790e1a2 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#72 0x00007f138bcd8d3c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55e06f809760, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#73 0x00007f138bc8668c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffcada42d30, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#74 0x00007f138bc912f9 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#75 0x000055e06e057ba9 in ()
#76 0x00007f138b43c790 in () at /usr/lib/libc.so.6
#77 0x00007f138b43c84a in __libc_start_main () at /usr/lib/libc.so.6
#78 0x000055e06e058715 in ()
[Inferior 1 (process 5153) detached]
> #4 0x00007f132e0cc02c in () at /usr/lib/qt/plugins/kdevplatform/511/kdevastyle.so The backtrace is not informative enough without debug symbols. Either wait till the current Arch kdevelop package version 23.04.1 gets into Manjaro and make use of debuginfod (https://wiki.archlinux.org/title/Debugging/Getting_traces#Debuginfod); or build https://aur.archlinux.org/packages/kdevelop-git after editing the PKGBUILD to add the line options=(!strip) and set -DCMAKE_BUILD_TYPE=RelWithDebInfo \ Le vendredi 19 mai 2023 20:26:24 CEST, vous avez écrit :
> https://bugs.kde.org/show_bug.cgi?id=469938
>
> Igor Kushnir <igorkuo@gmail.com> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> Status|REPORTED |NEEDSINFO
> Resolution|--- |WORKSFORME
>
> --- Comment #3 from Igor Kushnir <igorkuo@gmail.com> ---
>
> > #4 0x00007f132e0cc02c in () at
> > /usr/lib/qt/plugins/kdevplatform/511/kdevastyle.so
> The backtrace is not informative enough without debug symbols. Either wait
> till the current Arch kdevelop package version 23.04.1 gets into Manjaro
> and make use of debuginfod
> (https://wiki.archlinux.org/title/Debugging/Getting_traces#Debuginfod); or
> build https://aur.archlinux.org/packages/kdevelop-git after editing the
> PKGBUILD to add the line
> options=(!strip)
> and set
> -DCMAKE_BUILD_TYPE=RelWithDebInfo \
Okay I'll do that. I will give you a feedback on the result.
For my part I will investigate the 'astyle' configuration files.
I found that : with gdb kdevelop
[Detaching after fork from child process 3574]
/bin/sh: ligne 1: indent : commande introuvable
kdevelop.plugins.customscript: "indent -orig" command returned empty text for style "GNU_indent_orig"
kdevplatform.shell: Settings in config page AndroidPreferences(0x55555c40fb30, name = "AndroidPreferences") changed, while UiPreferences(0x55555a367f80, name="UiConfig") is currently selected. This case is not implemented yet.
kdevplatform.shell: Settings in config page Heaptrack::GlobalConfigPage(0x55555c66c170, name = "Heaptrack__GlobalConfigPage") changed, while UiPreferences(0x55555a367f80, name="UiConfig") is currently selected. This case is not implemented yet.
kdevplatform.shell: Settings in config page cppcheck::GlobalConfigPage(0x55555c624ac0, name = "cppcheck__GlobalConfigPage") changed, while UiPreferences(0x55555a367f80, name="UiConfig") is currently selected. This case is not implemented yet.
kdevplatform.shell: Settings in config page ClangTidyPreferences(0x55555c6a29a0, name = "ClangTidyPreferences") changed, while UiPreferences(0x55555a367f80, name="UiConfig") is currently selected. This case is not implemented yet.
[Detaching after fork from child process 3580]
/bin/sh: ligne 1: indent : commande introuvable
kdevelop.plugins.customscript: "indent" command returned empty text for style "GNU_indent_GNU"
Thread 1 "kdevelop" received signal SIGSEGV, Segmentation fault.
0x00007fff8ef1502c in ?? () from /usr/lib/qt/plugins/kdevplatform/511/kdevastyle.so
(gdb) set use-coredump-filter off
(gdb) set dump-excluded-mappings off
(gdb) generate-core-file ~/core.core
warning: Memory read failed for corefile section, 4096 bytes at 0xffffffffff600000.
Saved corefile /home/olivier/core.core
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! 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! |