Bug 509170 - Crash on menu Project -> "Open Configuration"
Summary: Crash on menu Project -> "Open Configuration"
Status: RESOLVED DUPLICATE of bug 508372
Alias: None
Product: kdevelop
Classification: Applications
Component: UI: general (other bugs)
Version First Reported In: 6.3.250800
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-05 17:19 UTC by Thomas Fischer
Modified: 2025-09-05 17:22 UTC (History)
0 users

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 Thomas Fischer 2025-09-05 17:19:59 UTC
A KDE/C++/cmake project has been opened. Now I want to make some changes to the configuration. In the "Code" view, menu "Project", clicking on "Open Configuration" makes KDevelop crash: First, kwin reports that the window is not responding, then it disappears completely. There is never any "Open Configuration" dialog visible.
Starting KDevelop in a gdb session, downloading/using ArchLinux's debuginfo, recreating the crash, provides the following output at the end:

[Detaching after vfork from child process 19471]
[Detaching after vfork from child process 19486]
[Detaching after vfork from child process 19487]
[Detaching after vfork from child process 19494]
[Detaching after vfork from child process 19503]
[Detaching after vfork from child process 19527]
[Detaching after vfork from child process 19539]
[Detaching after vfork from child process 19549]
[Detaching after vfork from child process 19550]
[New Thread 0x7fff867ba6c0 (LWP 19551)]
[New Thread 0x7fff85fb96c0 (LWP 19552)]
[New Thread 0x7fff857b86c0 (LWP 19553)]
[New Thread 0x7fff84fb76c0 (LWP 19554)]
[New Thread 0x7fff6bfff6c0 (LWP 19555)]
[New Thread 0x7fff6b7fe6c0 (LWP 19556)]
[New Thread 0x7fff6affd6c0 (LWP 19557)]
[New Thread 0x7fff6a7fc6c0 (LWP 19558)]
[Detaching after vfork from child process 19559]
[New Thread 0x7fff69ffb6c0 (LWP 19560)]
Downloading 4.12 M separate debug info for /usr/lib/qt6/plugins/kf6/kwindowsystem/KF6WindowSystemKWaylandPlugin.so
*** stack smashing detected ***: terminated

Thread 1 "kdevelop" received signal SIGABRT, Aborted.
Downloading 4.48 K source file /usr/src/debug/glibc/glibc/nptl/pthread_kill.c
__pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
44            return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
(gdb) bt
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007ffff5a98a13 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#2  0x00007ffff5a3e410 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x00007ffff5a2557a in __GI_abort () at abort.c:77
#4  0x00007ffff5a26613 in __libc_message_impl (fmt=fmt@entry=0x7ffff5bb41d8 "*** %s ***: terminated\n") at ../sysdeps/posix/libc_fatal.c:138
#5  0x00007ffff5b26319 in __GI___fortify_fail (msg=msg@entry=0x7ffff5bb41f0 "stack smashing detected") at fortify_fail.c:24
#6  0x00007ffff5b276d4 in __stack_chk_fail () at stack_chk_fail.c:24
#7  0x00007fffb3b104b3 in ?? () from /usr/lib/qt6/plugins/kdevplatform/63/kdevastyle.so
#8  0x00007fffb3b105cc in ?? () from /usr/lib/qt6/plugins/kdevplatform/63/kdevastyle.so
#9  0x00007ffff7d1f9a8 in KDevelop::SourceFormatterController::stylesForFormatter(KDevelop::ISourceFormatter const&) const () from /usr/lib/libKDevPlatformShell.so.63
#10 0x00007ffff7d52b03 in KDevelop::SourceFormatterSelectionEdit::addSourceFormatterNoUi(KDevelop::ISourceFormatter*) () from /usr/lib/libKDevPlatformShell.so.63
#11 0x00007ffff7d55b90 in KDevelop::SourceFormatterSelectionEdit::SourceFormatterSelectionEdit(QWidget*) () from /usr/lib/libKDevPlatformShell.so.63
#12 0x00007fffa0b23dfe in SourceFormatter::Ui_ProjectConfigPage::setupUi (this=0x55555a945430, SourceFormatter__ProjectConfigPage=0x55555a945480)
    at /usr/src/debug/kdevelop/build/plugins/sourceformatter/ui_projectconfigpage.h:71
#13 SourceFormatter::ProjectConfigPage::ProjectConfigPage (this=<optimized out>, plugin=<optimized out>, project=<optimized out>, parent=<optimized out>, this=<optimized out>, plugin=<optimized out>,
    project=<optimized out>, parent=<optimized out>) at /usr/src/debug/kdevelop/kdevelop-25.08.0/plugins/sourceformatter/config/projectconfigpage.cpp:32
#14 0x00007fffa0b244f3 in SourceFormatterPlugin::perProjectConfigPage (this=<optimized out>, number=<optimized out>, options=..., parent=0x555558ef0660)
    at /usr/src/debug/kdevelop/kdevelop-25.08.0/plugins/sourceformatter/sourceformatterplugin.cpp:40
#15 0x00007ffff7cb3e2f in ?? () from /usr/lib/libKDevPlatformShell.so.63
#16 0x00007ffff7cc43b5 in ?? () from /usr/lib/libKDevPlatformShell.so.63
#17 0x00007ffff63d37ef in ?? () from /usr/lib/libQt6Core.so.6
#18 0x00007ffff70073c0 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQt6Gui.so.6
#19 0x00007ffff770617d in ?? () from /usr/lib/libQt6Widgets.so.6
#20 0x00007ffff770a54b in ?? () from /usr/lib/libQt6Widgets.so.6
#21 0x00007ffff755b5c7 in QWidget::event(QEvent*) () from /usr/lib/libQt6Widgets.so.6
#22 0x00007ffff7501c70 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt6Widgets.so.6
#23 0x00007ffff7505c39 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt6Widgets.so.6
#24 0x00007ffff6368118 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt6Core.so.6
#25 0x00007ffff74f7358 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib/libQt6Widgets.so.6
#26 0x00007ffff7577169 in ?? () from /usr/lib/libQt6Widgets.so.6
#27 0x00007ffff75780d8 in ?? () from /usr/lib/libQt6Widgets.so.6
#28 0x00007ffff7501c70 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt6Widgets.so.6
#29 0x00007ffff6368118 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt6Core.so.6
#30 0x00007ffff6ba1217 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt6Gui.so.6
#31 0x00007ffff6c248f4 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt6Gui.so.6
#32 0x00007ffff6c13b27 in QWindowSystemInterface::flushWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt6Gui.so.6
#33 0x00007ffff63c0e34 in QObject::event(QEvent*) () from /usr/lib/libQt6Core.so.6
#34 0x00007ffff7501c70 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt6Widgets.so.6
#35 0x00007ffff6368118 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt6Core.so.6
#36 0x00007ffff63684fb in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt6Core.so.6
#37 0x00007ffff663fcf8 in ?? () from /usr/lib/libQt6Core.so.6
#38 0x00007ffff2108880 in g_main_dispatch (context=0x7fffc8000f70) at ../glib/glib/gmain.c:3398
#39 0x00007ffff2109cd7 in g_main_context_dispatch_unlocked (context=0x7fffc8000f70) at ../glib/glib/gmain.c:4249
#40 g_main_context_iterate_unlocked (context=context@entry=0x7fffc8000f70, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4314
#41 0x00007ffff2109ee5 in g_main_context_iteration (context=0x7fffc8000f70, may_block=1) at ../glib/glib/gmain.c:4379
#42 0x00007ffff663c5e2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt6Core.so.6
#43 0x00007ffff63744b6 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt6Core.so.6
#44 0x00007ffff636c7c1 in QCoreApplication::exec() () from /usr/lib/libQt6Core.so.6
#45 0x0000555555561812 in ?? ()
#46 0x00007ffff5a27675 in __libc_start_call_main (main=main@entry=0x55555555a180, argc=argc@entry=1, argv=argv@entry=0x7fffffffd998) at ../sysdeps/nptl/libc_start_call_main.h:58
#47 0x00007ffff5a27729 in __libc_start_main_impl (main=0x55555555a180, argc=1, argv=0x7fffffffd998, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffd988)
    at ../csu/libc-start.c:360
#48 0x00005555555621d5 in ?? ()
(gdb) quit
Comment 1 Antonio Rojas 2025-09-05 17:22:18 UTC

*** This bug has been marked as a duplicate of bug 508372 ***