"Running analyze_CCpp - Generating backtrace" takes a very long time, in comparison to GDB

Using drkonqi-coredump-gui, I can get a backtrace significantly faster with gnome-abrt - note in the undermentioned screenshot that gnome-abrt commenced its trace approximately 4 minutes before gdb did.

Core was generated by `/usr/bin/plasmashell --no-respawn'.
Program terminated with signal SIGABRT, Aborted.
#0  __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;
[Current thread is 1 (Thread 0x7f9fb2daa400 (LWP 1961))]
(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  0x00007f9fba8a86d3 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:78
#2  0x00007f9fba84fc4e in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#3  0x00007f9fbc00e557 in KCrash::defaultCrashHandler (sig=6) at /usr/src/debug/kf6-kcrash-6.6.0-1.fc40.x86_64/src/kcrash.cpp:644
#4  0x00007f9fba84fd00 in <signal handler called> () at /lib64/libc.so.6
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007f9fba8a86d3 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:78
#7  0x00007f9fba84fc4e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f9fba837902 in __GI_abort () at abort.c:79
#9  0x00007f9fba838767 in __libc_message_impl (fmt=fmt@entry=0x7f9fba9c2330 "%s\n") at ../sysdeps/posix/libc_fatal.c:132
#10 0x00007f9fba8b27e5 in malloc_printerr (str=str@entry=0x7f9fba9c59b8 "malloc(): unaligned tcache chunk detected") at malloc.c:5772
#11 0x00007f9fba8b70e4 in tcache_get_n (tc_idx=<optimized out>, ep=<optimized out>) at malloc.c:3183
#12 tcache_get (tc_idx=<optimized out>) at malloc.c:3199
#13 __GI___libc_malloc (bytes=39) at malloc.c:3320
#14 0x00007f9fb92d1799 in allocateData (allocSize=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/tools/qarraydata.cpp:139
#15 allocateHelper (objectSize=1, alignment=16, capacity=21, option=QArrayData::KeepSize) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/tools/qarraydata.cpp:181
#16 allocateHelper (objectSize=1, alignment=16, capacity=140721471360656, option=QArrayData::KeepSize) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/tools/qarraydata.cpp:157
#17 QArrayData::allocate1 (dptr=dptr@entry=0x7ffc45500e90, capacity=capacity@entry=21, option=option@entry=QArrayData::KeepSize) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/tools/qarraydata.cpp:211
#18 0x00007f9fb9263ad4 in QTypedArrayData<char>::allocate (capacity=<optimized out>, option=QArrayData::KeepSize) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/tools/qarraydata.h:128
#19 QArrayDataPointer<char>::QArrayDataPointer (this=<optimized out>, alloc=<optimized out>, n=<optimized out>, option=QArrayData::KeepSize) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/tools/qarraydatapointer.h:58
#20 QByteArray::QByteArray (this=this@entry=0x7ffc45500f40, size=21) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/text/qbytearray.cpp:1834
#21 0x00007f9fb92ad386 in QUtf8::convertFromUnicode (in=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/text/qstringconverter.cpp:479
#22 0x00007f9fb9290238 in qt_convert_to_utf8 (str=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/text/qstring.cpp:5666
#23 QString::toUtf8_helper (str=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/text/qstring.cpp:5658
#24 0x00007f9fbc00df59 in QString::toUtf8() && (this=0x7ffc45500f60) at /usr/include/qt6/QtCore/qstring.h:621
#25 KCrash::defaultCrashHandler (sig=6) at /usr/src/debug/kf6-kcrash-6.6.0-1.fc40.x86_64/src/kcrash.cpp:516
#26 0x00007f9fba84fd00 in <signal handler called> () at /lib64/libc.so.6
#27 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#28 0x00007f9fba8a86d3 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:78
#29 0x00007f9fba84fc4e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#30 0x00007f9fba837902 in __GI_abort () at abort.c:79
#31 0x00007f9fba838767 in __libc_message_impl (fmt=fmt@entry=0x7f9fba9c2330 "%s\n") at ../sysdeps/posix/libc_fatal.c:132
#32 0x00007f9fba8b27e5 in malloc_printerr (str=str@entry=0x7f9fba9c59b8 "malloc(): unaligned tcache chunk detected") at malloc.c:5772
#33 0x00007f9fba8b70e4 in tcache_get_n (tc_idx=<optimized out>, ep=<optimized out>) at malloc.c:3183
#34 tcache_get (tc_idx=<optimized out>) at malloc.c:3199
#35 __GI___libc_malloc (bytes=32) at malloc.c:3320
#36 0x00007f9fb92d1829 in allocateData (allocSize=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/tools/qarraydata.cpp:139
#37 allocateHelper (objectSize=2, alignment=16, capacity=7, option=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/tools/qarraydata.cpp:181
#38 allocateHelper (objectSize=2, alignment=16, capacity=<optimized out>, option=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/tools/qarraydata.cpp:157
#39 QArrayData::allocate2 (dptr=dptr@entry=0x7ffc45502010, capacity=<optimized out>, option=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/tools/qarraydata.cpp:220
#40 0x00007f9fb929822d in QTypedArrayData<char16_t>::allocate (capacity=<optimized out>, option=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/tools/qarraydata.h:128
#41 QArrayDataPointer<char16_t>::QArrayDataPointer (this=0x7ffc45502010, alloc=<optimized out>, n=<optimized out>, option=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/tools/qarraydatapointer.h:58
#42 QString::reallocData (this=0x7ffc45502110, alloc=<optimized out>, option=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/text/qstring.cpp:2778
#43 0x00007f9fb92983f6 in QString::resize (this=this@entry=0x7ffc45502110, size=size@entry=5) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/text/qstring.cpp:2673
#44 0x00007f9fb916bff5 in (anonymous namespace)::QResourceRoot::name (this=<optimized out>, node=1) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/io/qresource.cpp:771
#45 (anonymous namespace)::QResourceRoot::findNode (this=this@entry=0x5564c490ff00, _path=..., locale=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/io/qresource.cpp:843
#46 0x00007f9fb916c720 in QResourcePrivate::load (this=this@entry=0x5564c87bc1a0, file=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/io/qresource.cpp:326
#47 0x00007f9fb916d1e6 in QResourcePrivate::ensureInitialized (this=this@entry=0x5564c87bc1a0) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/io/qresource.cpp:374
#48 0x00007f9fb916d2f8 in QResource::isValid (this=this@entry=0x5564cbfbcdc8) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/io/qresource.cpp:586
#49 0x00007f9fb916de37 in QResourceFileEngine::fileFlags (this=<optimized out>, type=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/io/qresource.cpp:1476
#50 0x00007f9fb914947c in QFileInfoPrivate::getFileFlags (this=0x5564cafc68e0, request=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/io/qfileinfo.cpp:152
#51 QFileInfo::exists (this=this@entry=0x7ffc45502368) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/io/qfileinfo.cpp:727
#52 0x00007f9fb914b62d in QFileInfo::exists (path=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/io/qfileinfo.cpp:752
#53 0x00007f9fb97464e5 in KIconThemeDir::iconPath (this=<optimized out>, name=<optimized out>) at /usr/src/debug/kf6-kiconthemes-6.6.0-1.fc40.x86_64/src/kicontheme.cpp:804
#54 KIconThemePrivate::iconPath (dirs=<optimized out>, name=..., size=48, scale=scale@entry=1, match=match@entry=KIconLoader::MatchBest, this=<optimized out>) at /usr/src/debug/kf6-kiconthemes-6.6.0-1.fc40.x86_64/src/kicontheme.cpp:300
#55 0x00007f9fb974714c in KIconTheme::iconPath (this=this@entry=0x5564c85c5320, name=..., size=size@entry=48, match=match@entry=KIconLoader::MatchBest, scale=scale@entry=1) at /usr/src/debug/kf6-kiconthemes-6.6.0-1.fc40.x86_64/src/kicontheme.cpp:625
#56 0x00007f9fb97472be in KIconTheme::iconPathByName (this=0x5564c85c5320, iconName=..., size=48, match=KIconLoader::MatchBest, scale=1) at /usr/include/qt6/QtCore/qarraydatapointer.h:439
#57 0x00007f9fb9736ca2 in KIconLoaderPrivate::findMatchingIcon (this=this@entry=0x5564c4928cf0, name=..., size=size@entry=48, scale=scale@entry=1) at /usr/src/debug/kf6-kiconthemes-6.6.0-1.fc40.x86_64/src/kiconloader.cpp:751
#58 0x00007f9fb9737c16 in KIconLoaderPrivate::findMatchingIconWithGenericFallbacks (this=0x5564c4928cf0, name=..., size=size@entry=48, scale=scale@entry=1) at /usr/src/debug/kf6-kiconthemes-6.6.0-1.fc40.x86_64/src/kiconloader.cpp:720
#59 0x00007f9fb97381f0 in KIconLoader::iconPath (this=0x7f9fb97565b0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS_globalIconLoader> >::instance()::holder>, _name=..., group_or_size=group_or_size@entry=0, canReturnNull=canReturnNull@entry=true, scale=scale@entry=1)
    at /usr/src/debug/kf6-kiconthemes-6.6.0-1.fc40.x86_64/src/kiconloader.cpp:937
#60 0x00007f9fb973858e in KIconLoader::iconPath (this=<optimized out>, _name=..., group_or_size=group_or_size@entry=0, canReturnNull=canReturnNull@entry=true) at /usr/src/debug/kf6-kiconthemes-6.6.0-1.fc40.x86_64/src/kiconloader.cpp:889
#61 0x00007f9fb97386d3 in KIconLoaderPrivate::preferredIconPath (this=0x5564c4928cf0, name=...) at /usr/src/debug/kf6-kiconthemes-6.6.0-1.fc40.x86_64/src/kiconloader.cpp:850
#62 0x00007f9fb973f9ad in KIconLoader::hasIcon (this=<optimized out>, name=<optimized out>) at /usr/src/debug/kf6-kiconthemes-6.6.0-1.fc40.x86_64/src/kiconloader.cpp:1435
#63 0x00007f9fb97360db in KIconEngine::isNull (this=<optimized out>) at /usr/src/debug/kf6-kiconthemes-6.6.0-1.fc40.x86_64/src/kiconengine.cpp:222
#64 0x00007f9fb996d663 in QIconLoader::iconEngine (this=this@entry=0x7f9fba153e00 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS_iconLoaderInstance> >::instance()::holder>, iconName=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/gui/image/qiconloader.cpp:660
#65 0x00007f9fb996d9dc in QThemeIconEngine::proxiedEngine (this=0x5564c80d1260) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/gui/image/qiconloader.cpp:732
#66 0x00007f9fb99629f9 in QProxyIconEngine::iconName (this=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/gui/image/qiconengine.cpp:366
#67 0x00007f9fb9959bf6 in QIcon::name (this=this@entry=0x7ffc45502dc8) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/gui/image/qicon.cpp:1162
#68 0x00007f9fb995f76f in QIcon::hasThemeIcon (name=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/gui/image/qicon.cpp:1402
--Type <RET> for more, q to quit, c to continue without paging--c
#69 0x00007f9f76ab21e7 in PowermanagementEngine::populateApplicationData (this=this@entry=0x5564c5c9cf70, name=..., prettyName=prettyName@entry=0x7ffc45503060, icon=icon@entry=0x7ffc45503040)
    at /usr/src/debug/plasma-workspace-6.1.5-1.fc40.x86_64/dataengines/powermanagement/powermanagementengine.cpp:741
#70 0x00007f9f76ab3388 in PowermanagementEngine::inhibitionsChanged (this=<optimized out>, added=<optimized out>, removed=<optimized out>) at /usr/src/debug/plasma-workspace-6.1.5-1.fc40.x86_64/dataengines/powermanagement/powermanagementengine.cpp:695
#71 0x00007f9f76aa74e0 in PowermanagementEngine::qt_static_metacall (_o=0x5564c5c9cf70, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x7ffc45503328)
    at /usr/src/debug/plasma-workspace-6.1.5-1.fc40.x86_64/redhat-linux-build/dataengines/powermanagement/plasma_engine_powermanagement_autogen/EWIEGA46WW/moc_powermanagementengine.cpp:239
#72 PowermanagementEngine::qt_metacall (this=0x5564c5c9cf70, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x7ffc45503328)
    at /usr/src/debug/plasma-workspace-6.1.5-1.fc40.x86_64/redhat-linux-build/dataengines/powermanagement/plasma_engine_powermanagement_autogen/EWIEGA46WW/moc_powermanagementengine.cpp:304
#73 0x00007f9fbb2c4421 in QDBusConnectionPrivate::deliverCall (this=0x7f9fa0001690, object=0x5564c5c9cf70, msg=..., metaTypes=..., slotIdx=35) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/dbus/qdbusintegrator.cpp:1007
#74 0x00007f9fb91eddcb in QObject::event (this=0x5564c5c9cf70, e=0x7f9fa00698c0) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qobject.cpp:1452
#75 0x00007f9fbb78b218 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5564c5c9cf70, e=0x7f9fa00698c0) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/kernel/qapplication.cpp:3287
#76 0x00007f9fb9196e88 in QCoreApplication::notifyInternal2 (receiver=0x5564c5c9cf70, event=0x7f9fa00698c0) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1142
#77 0x00007f9fb91970ed in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1583
#78 0x00007f9fb919ac51 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5564c48ea440) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1940
#79 0x00007f9fb919aefd in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1797
#80 0x00007f9fb94859ef in postEventSourceDispatch (s=0x5564c49183f0) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:244
#81 0x00007f9fb7e7ce8c in g_main_dispatch (context=0x7f9fa0000f00) at ../glib/gmain.c:3344
#82 g_main_context_dispatch_unlocked (context=0x7f9fa0000f00) at ../glib/gmain.c:4152
#83 0x00007f9fb7edec98 in g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f9fa0000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4217
#84 0x00007f9fb7e7e383 in g_main_context_iteration (context=0x7f9fa0000f00, may_block=1) at ../glib/gmain.c:4282
#85 0x00007f9fb94851a3 in QEventDispatcherGlib::processEvents (this=0x5564c492dbc0, flags=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#86 0x00007f9fb91a3bc3 in QEventLoop::exec (this=this@entry=0x7ffc45503990, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/global/qflags.h:34
#87 0x00007f9fb919fa7c in QCoreApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/global/qflags.h:74
#88 0x00007f9fb99d66ed in QGuiApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/gui/kernel/qguiapplication.cpp:1926
#89 0x00007f9fbb78b189 in QApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/kernel/qapplication.cpp:2555
#90 0x00005564b219bb3a in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-6.1.5-1.fc40.x86_64/shell/main.cpp:188
(gdb) 

I noticed that 1902312 – abrt retrace takes a very long time was filed some time ago, with the unsatisfying conclusion of “RESOLVED CURRENTRELEASE”.

However:

  1. It doesn’t mention comparison with alternative debuggers, and

  2. the time difference in the case of the report is inordinate. Additionally,

  3. mine actually completes, eventually:

    --- Running report_uReport ---
    ('report_uReport' completed successfully)
    
    --- Skipping collect_GConf ---
    No matching actions found for this event.
    
    --- Skipping collect_vimrc_system ---
    No matching actions found for this event.
    
    --- Skipping collect_vimrc_user ---
    No matching actions found for this event.
    
    --- Skipping collect_xsession_errors ---
    No matching actions found for this event.
    
    --- Running analyze_CCpp ---
    Generating backtrace
    Backtrace is too big (651534 bytes), reducing depth to 512
    Backtrace is too big (616385 bytes), reducing depth to 256
    Backtrace is too big (616385 bytes), reducing depth to 128
    Backtrace is too big (616385 bytes), reducing depth to 64
    Backtrace is generated and saved, 135035 bytes
    
    --- Running analyze_BodhiUpdates ---
    Looking for similar problems in bugzilla
    abrt-action-find-bodhi-update [WARNING] Duplicate Bugzilla bug '#2269942' was found
    Searching for updates
    No updates for this package found
    
    --- Running report_Bugzilla ---
    Checking for duplicates
    Bug is already reported: 2269942
    Adding new comment to bug 2269942
    Status: NEW https://bugzilla.redhat.com/show_bug.cgi?id=2269942
    
    --- Running post_report ---
    ('post_report' completed successfully)
    

To reiterate, it’s merely significantly slower than gdb.