SUMMARY Something about CMake's sources makes KDevelop's code parser unhappy. STEPS TO REPRODUCE 1. Obtain a copy of the CMake sources (https://gitlab.kitware.com/cmake/cmake.git) 2. Import CMake as a project into KDevelop 3. Wait OBSERVED RESULT KDevelop invariably crashes before fully parsing the project. EXPECTED RESULT KDevelop doesn't crash. SOFTWARE/OS VERSIONS KDE Frameworks Version: 6.7.0 Qt Version: 6.7.2 ADDITIONAL INFORMATION Unfortunately, I don't have a better (simpler) test case, nor have I been able to get a useful-looking stack trace. However, this has been happening for quite some time, and seems to be something peculiar to CMake's sources, as I have not had issues with other projects. The only work-around is to cancel project parsing. At present, this is 100% reproducible and I've experienced it on multiple machines. I seem to recall prior versions would sometimes complete parsing successfully after many restarts, but I have not managed to do so recently. I am using kdevelop-24.08.2-1.fc40.x86_64 with all packages up to date as of ~2024-10-20. Please let me know what other version information would be useful.
missing backtrace
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 #1 0x00007ffff5aa86d3 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:78 #2 0x00007ffff5a4fc4e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #3 0x00007ffff5a37902 in __GI_abort () at abort.c:79 #4 0x00007ffff5a38767 in __libc_message_impl (fmt=fmt@entry=0x7ffff5bc2330 "%s\n") at ../sysdeps/posix/libc_fatal.c:132 #5 0x00007ffff5ab27e5 in malloc_printerr (str=str@entry=0x7ffff5bc55d0 "free(): invalid next size (fast)") at malloc.c:5772 #6 0x00007ffff5ab4c7c in _int_free (av=0x7ffe9c000030, p=p@entry=0x7ffe9c06ab10, have_lock=have_lock@entry=0) at malloc.c:4590 #7 0x00007ffff5ab754e in __GI___libc_free (mem=mem@entry=0x7ffe9c06ab20) at malloc.c:3398 #8 0x00007ffff5ae74ed in tzset_internal (always=always@entry=1) at tzset.c:401 #9 0x00007ffff5ae7653 in __tzset () at tzset.c:551 #10 0x00007ffff6124ce1 in qLocalTime (utc=<optimized out>, utc@entry=1729185754, local=local@entry=0x7fff195fe3e0) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/global/qtenvironmentvariables.cpp:381 #11 0x00007ffff62ccaef in QLocalTime::utcToLocal (utcMillis=utcMillis@entry=1729185754187) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/time/qlocaltime.cpp:541 #12 0x00007ffff62c1684 in QDateTimePrivate::expressUtcAsLocal (utcMSecs=utcMSecs@entry=1729185754187) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/time/qdatetime.cpp:2817 #13 0x00007ffff62c34dc in QDateTime::setMSecsSinceEpoch (this=this@entry=0x7fff195fe720, msecs=msecs@entry=1729185754187) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/time/qdatetime.cpp:4527 #14 0x00007ffff62c508c in QDateTime::fromMSecsSinceEpoch (msecs=<optimized out>, timeZone=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/time/qdatetime.cpp:5625 #15 0x00007ffff62c5276 in QDateTime::toTimeZone (this=this@entry=0x7fff195fe640, timeZone=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/time/qdatetime.cpp:5176 #16 0x00007ffff614a7b1 in QFileInfo::fileTime (this=this@entry=0x7fff195fe728, time=time@entry=QFileDevice::FileModificationTime, tz=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/io/qfileinfo.cpp:1690 #17 0x00007ffff614a986 in QFileInfo::fileTime (this=this@entry=0x7fff195fe728, time=time@entry=QFileDevice::FileModificationTime) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/io/qfileinfo.cpp:1643 #18 0x00007ffff3ea8657 in QFileInfo::lastModified (this=0x7fff195fe728, this=<optimized out>) at /usr/include/qt6/QtCore/qfileinfo.h:156 #19 KDevelop::ParseJob::readContents (this=this@entry=0x55555c3b0ba0) at /usr/src/debug/kdevelop-24.08.2-1.fc40.x86_64/kdevplatform/language/backgroundparser/parsejob.cpp:275 #20 0x00007fff9d731346 in CMakeParseJob::run (this=0x55555c3b0ba0) at /usr/src/debug/kdevelop-24.08.2-1.fc40.x86_64/plugins/cmake/duchain/cmakeparsejob.cpp:45 #21 0x00007ffff2970f51 in ThreadWeaver::IdDecorator::run (this=<optimized out>, self=..., thread=0x7ffe9c001430) at /usr/src/debug/kf6-threadweaver-6.7.0-1.fc40.x86_64/src/iddecorator.cpp:50 #22 0x00007ffff2970d41 in ThreadWeaver::Executor::run (this=<optimized out>, job=<optimized out>, thread=<optimized out>) at /usr/src/debug/kf6-threadweaver-6.7.0-1.fc40.x86_64/src/executor.cpp:29 #23 0x00007ffff2971cfe in ThreadWeaver::Job::execute (this=<optimized out>, self=..., th=0x7ffe9c001430) at /usr/src/debug/kf6-threadweaver-6.7.0-1.fc40.x86_64/src/job.cpp:64 #24 0x00007ffff297a92e in ThreadWeaver::Thread::run (this=0x7ffe9c001430) at /usr/src/debug/kf6-threadweaver-6.7.0-1.fc40.x86_64/src/thread.cpp:94 #25 0x00007ffff635473c in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:326 #26 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:262 #27 QThreadPrivate::start (arg=0x7ffe9c001430) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:285 #28 0x00007ffff5aa66d7 in start_thread (arg=<optimized out>) at pthread_create.c:447 #29 0x00007ffff5b2a60c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Thanks for the backtrace with debug symbols. Probably a Qt bug. I'd suspect QFileInfo::lastModified() is not reentrant, but then the crash would happen less consistently for the CMake project and would happen to other projects. Something must be wrong with the file name in kdevplatform/language/backgroundparser/parsejob.cpp:275. Could you print the value of the local variable `localFile` at crash time? (qWarning() or using GDB or KDevelop debugger). The result might allow to create a minimal reproducible example.
can you get us a `thread apply all bt` - is this maybe some thread safety problem that could be resolved by force-init'ing the code path once from the main thread?
Can you try to call `tzset()` once from the main thread somewhere, e.g. main?
> can you get us a `thread apply all bt` Um... attempts to do so are causing gdb to go out to lunch for extended periods... That said, after a few runs I ran into a different failure mode, albeit one that still appears tzset related: #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 #1 0x00007ffff5aa86d3 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:78 #2 0x00007ffff5a4fc4e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #3 0x00007ffff5a37902 in __GI_abort () at abort.c:79 #4 0x00007ffff5a38767 in __libc_message_impl (fmt=fmt@entry=0x7ffff5bc2330 "%s\n") at ../sysdeps/posix/libc_fatal.c:132 #5 0x00007ffff5ab27e5 in malloc_printerr (str=str@entry=0x7ffff5bc55d0 "free(): invalid next size (fast)") at malloc.c:5772 #6 0x00007ffff5ab4c7c in _int_free (av=0x7ffefc000030, p=p@entry=0x7ffefc4eb270, have_lock=have_lock@entry=0) at malloc.c:4590 #7 0x00007ffff5ab754e in __GI___libc_free (mem=mem@entry=0x7ffefc4eb280) at malloc.c:3398 #8 0x00007ffff5ae74ed in tzset_internal (always=always@entry=1) at tzset.c:401 #9 0x00007ffff5ae7653 in __tzset () at tzset.c:551 #10 0x00007ffff5ae62e5 in __GI_mktime (tp=0x7fffffffc680) at mktime.c:541 #11 0x00007ffff6124c60 in qMkTime (when=when@entry=0x7fffffffc680) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/global/qtenvironmentvariables.cpp:360 #12 0x00007ffff62cc1b8 in (anonymous namespace)::MkTimeResult::MkTimeResult (this=0x7fffffffc680, prior=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/time/qlocaltime.cpp:69 #13 (anonymous namespace)::resolveLocalTime (local=local@entry=1729181947, resolve=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/time/qlocaltime.cpp:369 #14 0x00007ffff62ccd12 in QLocalTime::mapLocalTime (local=local@entry=1729181947724, resolve=..., resolve@entry=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/time/qlocaltime.cpp:576 #15 0x00007ffff62c19bf in QDateTimePrivate::localStateAtMillis (millis=1729181947724, resolve=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/time/qdatetime.cpp:3000 #16 0x00007ffff62c3215 in QDateTime::toMSecsSinceEpoch (this=0x7fffffffc9f0) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/time/qdatetime.cpp:4460 #17 0x00007ffff62c335d in QDateTime::toSecsSinceEpoch (this=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/time/qdatetime.cpp:4495 #18 0x00007ffff3e8e1c9 in KDevelop::ModificationRevision::ModificationRevision (this=0x7fffffffca00, modTime=<optimized out>, revision_=0, this=<optimized out>, modTime=<optimized out>, revision_=<optimized out>) at /usr/src/debug/kdevelop-24.08.2-1.fc40.x86_64/kdevplatform/language/editor/modificationrevision.cpp:128 #19 0x00007ffff3e8eaad in (anonymous namespace)::CacheData::revisionForFile (this=<optimized out>, url=...) at /usr/src/debug/kdevelop-24.08.2-1.fc40.x86_64/kdevplatform/language/editor/modificationrevision.cpp:63 #20 operator() (__closure=<optimized out>, data=<optimized out>) at /usr/src/debug/kdevelop-24.08.2-1.fc40.x86_64/kdevplatform/language/editor/modificationrevision.cpp:107 #21 (anonymous namespace)::StaticCacheData::op<KDevelop::ModificationRevision::revisionForFile(const KDevelop::IndexedString&)::<lambda((anonymous namespace)::CacheData&)> > (this=<optimized out>, op=<optimized out>) at /usr/src/debug/kdevelop-24.08.2-1.fc40.x86_64/kdevplatform/language/editor/modificationrevision.cpp:82 #22 KDevelop::ModificationRevision::revisionForFile (url=...) at /usr/src/debug/kdevelop-24.08.2-1.fc40.x86_64/kdevplatform/language/editor/modificationrevision.cpp:107 #23 0x00007fff9d65a9f5 in ClangParseJob::ClangParseJob (this=0x55555cb1d3e0, url=..., languageSupport=<optimized out>, this=<optimized out>, url=<optimized out>, languageSupport=<optimized out>) at /usr/src/debug/kdevelop-24.08.2-1.fc40.x86_64/plugins/clang/clangparsejob.cpp:202 #24 0x00007fff9d65b6d2 in non-virtual thunk to ClangSupport::createParseJob(KDevelop::IndexedString const&) () at /usr/src/debug/kdevelop-24.08.2-1.fc40.x86_64/plugins/clang/clangsupport.h:44 #25 0x00007ffff3e95fa6 in KDevelop::BackgroundParserPrivate::createParseJob (this=0x5555576aa640, url=..., parsePlan=...) at /usr/src/debug/kdevelop-24.08.2-1.fc40.x86_64/kdevplatform/language/backgroundparser/backgroundparser.cpp:385 #26 KDevelop::BackgroundParserPrivate::parseDocumentsInternal (this=this@entry=0x5555576aa640) at /usr/src/debug/kdevelop-24.08.2-1.fc40.x86_64/kdevplatform/language/backgroundparser/backgroundparser.cpp:325 #27 0x00007ffff3e97283 in KDevelop::BackgroundParser::parseDocuments (this=<optimized out>) at /usr/src/debug/kdevelop-24.08.2-1.fc40.x86_64/kdevplatform/language/backgroundparser/backgroundparser.cpp:710 #28 0x00007ffff61eddcb in QObject::event (this=0x5555576c95a0, e=0x7ffefd81b990) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qobject.cpp:1452 #29 0x00007ffff758b218 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5555576c95a0, e=0x7ffefd81b990) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/kernel/qapplication.cpp:3287 #30 0x00007ffff6196e88 in QCoreApplication::notifyInternal2 (receiver=0x5555576c95a0, event=0x7ffefd81b990) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1142 #31 0x00007ffff61970ed 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 #32 0x00007ffff619ac51 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5555555e1ce0) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1940 #33 0x00007ffff619aefd 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 #34 0x00007ffff64859ef in postEventSourceDispatch (s=0x555555732350) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:244 #35 0x00007ffff2dece8c in g_main_dispatch (context=0x7fffc4000f00) at ../glib/gmain.c:3344 #36 g_main_context_dispatch_unlocked (context=0x7fffc4000f00) at ../glib/gmain.c:4152 #37 0x00007ffff2e4ec98 in g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7fffc4000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4217 #38 0x00007ffff2dee383 in g_main_context_iteration (context=0x7fffc4000f00, may_block=1) at ../glib/gmain.c:4282 #39 0x00007ffff64851a3 in QEventDispatcherGlib::processEvents (this=0x5555555eacf0, flags=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:394 #40 0x00007ffff61a3bc3 in QEventLoop::exec (this=this@entry=0x7fffffffd240, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/global/qflags.h:34 #41 0x00007ffff619fa7c in QCoreApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/global/qflags.h:74 #42 0x00007ffff69d66ed in QGuiApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/gui/kernel/qguiapplication.cpp:1926 #43 0x00007ffff758b189 in QApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/kernel/qapplication.cpp:2555 #44 0x0000555555562134 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdevelop-24.08.2-1.fc40.x86_64/app/main.cpp:822 I'm not going to try to dump *everything*, but here's the summary from the above run: Id Target Id Frame * 1 Thread 0x7fffd8c57700 (LWP 3921500) "kdevelop" __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 2 Thread 0x7fffcae006c0 (LWP 3921526) "QDBusConnection" 0x00007ffff5b1c87d in __GI___poll (fds=0x5555555f93e0, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 3 Thread 0x7fffca0006c0 (LWP 3921527) "WaylandEventThr" 0x00007ffff5b1c87d in __GI___poll ( fds=fds@entry=0x7fffc9ffee60, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 4 Thread 0x7fffc96006c0 (LWP 3921528) "WaylandEventThr" 0x00007ffff5b1c87d in __GI___poll ( fds=fds@entry=0x7fffc95fee60, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 5 Thread 0x7fffc8c006c0 (LWP 3921529) "kdevelop:cs0" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common64 ( private=0, futex_word=0x55555579a098, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57 6 Thread 0x7fffc16006c0 (LWP 3921530) "kdevelo:disk$0" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common64 ( private=0, futex_word=0x555555798768, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57 7 Thread 0x7fffc0c006c0 (LWP 3921531) "kdevelop:sh0" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common64 ( private=0, futex_word=0x55555579b278, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57 8 Thread 0x7fffb0c006c0 (LWP 3921532) "kdevel:sh_opt0" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common64 ( private=0, futex_word=0x55555579b428, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57 9 Thread 0x7fffabe006c0 (LWP 3921533) "kdevel:traceq0" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common64 ( private=0, futex_word=0x55555582d230, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57 10 Thread 0x7fffab4006c0 (LWP 3921534) "kdevel:traceq0" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common64 ( private=0, futex_word=0x555555880a20, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57 17 Thread 0x7fffaaa006c0 (LWP 3921541) "kdevel:traceq0" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common64 ( private=0, futex_word=0x555555959650, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57 18 Thread 0x7fffaa0006c0 (LWP 3921542) "kdevelop:gdrv0" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common64 ( private=0, futex_word=0x5555558db030, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57 19 Thread 0x7fffa96006c0 (LWP 3921543) "kdevelop:gl0" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common64 ( private=0, futex_word=0x5555559c5ee4, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57 20 Thread 0x7fffa8c006c0 (LWP 3921544) "kdevel:traceq0" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common64 ( private=0, futex_word=0x555555979050, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57 21 Thread 0x7fff9fe006c0 (LWP 3921545) "kdevelop:gdrv0" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common64 ( private=0, futex_word=0x555555a27630, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57 22 Thread 0x7fff9f4006c0 (LWP 3921546) "kdevelop:gl0" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common64 ( private=0, futex_word=0x555555a5b824, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57 29 Thread 0x7fff9ea006c0 (LWP 3921554) "Thread (pooled)" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common64 ( private=0, futex_word=0x55555775bb94, expected=0, op=137, abstime=0x7fff9e9fedc0, cancel=true) at futex-internal.c:57 30 Thread 0x7fff9e0006c0 (LWP 3921555) "Thread (pooled)" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common64 ( private=0, futex_word=0x55555775bdb4, expected=0, op=137, abstime=0x7fff9dffedc0, cancel=true) at futex-internal.c:57 31 Thread 0x7fff9d6006c0 (LWP 3921556) "Thread (pooled)" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common64 ( private=0, futex_word=0x55555775bf34, expected=0, op=137, abstime=0x7fff9d5fedc0, cancel=true) at futex-internal.c:57 32 Thread 0x7fff9cc006c0 (LWP 3921557) "Thread (pooled)" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common64 ( private=0, futex_word=0x555557757654, expected=0, op=137, abstime=0x7fff9cbfedc0, cancel=true) at futex-internal.c:57 33 Thread 0x7fff930006c0 (LWP 3921558) "threaded-ml" 0x00007ffff5b1c87d in __GI___poll ( fds=fds@entry=0x7fff4c0071a0, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 34 Thread 0x7fff7a0006c0 (LWP 3921605) "QThread" 0x00007ffff5b1c87d in __GI___poll (fds=0x7fff44001730, nfds=1, timeout=199644) at ../sysdeps/unix/sysv/linux/poll.c:29 35 Thread 0x7fff796006c0 (LWP 3921618) "Thread (pooled)" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common64 ( private=0, futex_word=0x5555579f44f4, expected=0, op=137, abstime=0x7fff795fedc0, cancel=true) at futex-internal.c:57 36 Thread 0x7fff78c006c0 (LWP 3921619) "OutputFilterThr" 0x00007ffff5b1c87d in __GI___poll (fds=0x555557a91e40, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 37 Thread 0x7fff6d8006c0 (LWP 3921761) "KDevelop::Compl" 0x00007ffff5b1c87d in __GI___poll (fds=0x555558b96180, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 40 Thread 0x7fff63e006c0 (LWP 3921863) "Thread (pooled)" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common64 ( private=0, futex_word=0x555559cf63e4, expected=0, op=137, abstime=0x7fff63dfedc0, cancel=true) at futex-internal.c:57 41 Thread 0x7fff6ce006c0 (LWP 3921864) "Thread (pooled)" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common64 ( private=0, futex_word=0x555559c3dc00, expected=0, op=137, abstime=0x7fff6cdfedc0, cancel=true) at futex-internal.c:57 42 Thread 0x7fff634006c0 (LWP 3921870) "KIO::WorkerThre" 0x00007ffff5b1cdb0 in __GI_ppoll ( fds=fds@entry=0x7fff633feb90, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42 43 Thread 0x7fff60e006c0 (LWP 3921871) "Thread (pooled)" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common64 ( private=0, futex_word=0x55555a1a4c44, expected=0, op=137, abstime=0x7fff60dfedc0, cancel=true) at futex-internal.c:57 46 Thread 0x7fff4b4006c0 (LWP 3921874) "KIO::WorkerThre" 0x00007ffff5b1cdb0 in __GI_ppoll ( fds=fds@entry=0x7fff4b3feb90, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42 48 Thread 0x7fff48e006c0 (LWP 3922124) "Thread (pooled)" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common64 ( private=0, futex_word=0x55555b00c420, expected=0, op=137, abstime=0x7fff48dfedc0, cancel=true) at futex-internal.c:57 49 Thread 0x7fff3fe006c0 (LWP 3922380) "Queue(0x5555576" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common64 ( private=128, futex_word=0x7fff3cc00990, expected=3923457, op=265, abstime=0x0, cancel=true) at futex-internal.c:57 50 Thread 0x7fff3f4006c0 (LWP 3922381) "Queue(0x5555576" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common64 ( private=0, futex_word=0x5555576c6f90, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57 --Type <RET> for more, q to quit, c to continue without paging--c 51 Thread 0x7fff3ea006c0 (LWP 3922382) "Queue(0x5555576" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common64 ( private=128, futex_word=0x7fff4be00990, expected=3923454, op=265, abstime=0x0, cancel=true) at futex-internal.c:57 52 Thread 0x7fff3e0006c0 (LWP 3922383) "Queue(0x5555576" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common64 ( private=128, futex_word=0x7fff33e00990, expected=3923482, op=265, abstime=0x0, cancel=true) at futex-internal.c:57 53 Thread 0x7fff3d6006c0 (LWP 3922384) "Queue(0x5555576" 0x00007ffff5aa2da9 in __futex_abstimed_wait_common64 ( private=0, futex_word=0x5555576c6f90, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57 715 Thread 0x7fff4be006c0 (LWP 3923454) "Queue(0x5555576" anonymous namespace)::ParameterStatus *, const (anonymous namespace)::ParameterStatus *> (or_rangeIT_EE=<optimized out>, StmtVisitorBaseISt11add_pointerN12_GLOBAL__N_114DSAAttrCheckerEvJEE22VisitOMPTeamsDirectiveEPNS_17OMPTeamsDirectiveE=...) at include/clang/AST/AttrImpl.inc:14773 717 Thread 0x7fff3cc006c0 (LWP 3923457) "Queue(0x5555576" 0x00007fff6de9a8d2 in tuple_element<0UL, std::tuple<clang::VarTemplateDecl *, clang::VarTemplatePartialSpecializationDecl *> > (InfoEv=0, *, clang::IdentifierInfo *, clang::IdentifierInfo *, clang::IdentifierInfo *>=8) at /usr/include/llvm/Support/MathExtras.h:379 732 Thread 0x7fff33e006c0 (LWP 3923482) "Queue(0x5555576" 0x00007fff6e54c420 in L__N_119LValueExprEvaluatorEbJEE15VisitMemberExprEPKNS_10MemberExprE (or_rangeIT_EE=0x7fff33df7378, terDataDirectiveEPNS_27OMPTargetEnterDataDirectiveE=0x0, 35EEaNERKS0_=<optimized out>, ast_matchers8internal18PolymorphicMatcherINS2_31matcher_hasOperatorName0MatcherEFvNS2_8TypeListIJNS0_14BinaryOperatorENS0_19CXXOperatorCallExprENS0_26CXXRewrittenBinaryOperatorENS0_11CXXFoldExprENS0_13UnaryOperatorEEEEEJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEESJ_SJ_EED2Ev=..., eESaIS1_EE6assignEmRKS1_=255, 7_S_check_init_lenEmRKS1_=62) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaDecl.cpp:12292 I'll try to follow up with traces from 715, 717 and 732, but it's literally going to take hours. > Could you print the value of the local variable `localFile` at crash time? Which stack frame? The QFileInfo (#16) seems to be `Tests/RunCMake/Graphviz/set_graph_name-check.cmake`... except I ran the test again and got `Tests/Environment/check_mod.cmake`. It isn't consistent. (Times I've just observed the file name from the parsing status, it also seems to always be on a `.cmake` file when it dies. This *does* make me suspect that the issue is related to parsing CMake, not C++. I'd be shocked if CMake itself doesn't have significantly more CMake-language files in the tree than just about anything else, which would explain why feeding KDevelop the CMake sources specifically is most likely to cause the crash.) That said, you'll note the above backtrace is different, and appears to be looking at `Source/cmXCOFF.h` (although I had to go up to #26 to get this), so... 🤷 The previous runs seemed to have the same trace as above. Anyway, if it's some sort of race, trying to get a reduced test case is probably not going to go well. > Can you try to call `tzset()` once from the main thread somewhere, e.g. main? How would I do that? Would I need a from-source build of KDevelop?
(In reply to Matthew Woehlke from comment #6) > > Could you print the value of the local variable `localFile` at crash time? > > Which stack frame? The QFileInfo (#16) seems to be > `Tests/RunCMake/Graphviz/set_graph_name-check.cmake`... except I ran the > test again and got `Tests/Environment/check_mod.cmake`. It isn't consistent. > (Times I've just observed the file name from the parsing status, it also > seems to always be on a `.cmake` file when it dies. This *does* make me > suspect that the issue is related to parsing CMake, not C++. I'd be shocked > if CMake itself doesn't have significantly more CMake-language files in the > tree than just about anything else, which would explain why feeding KDevelop > the CMake sources specifically is most likely to cause the crash.) > > That said, you'll note the above backtrace is different, and appears to be > looking at `Source/cmXCOFF.h` (although I had to go up to #26 to get this), > so... 🤷 The previous runs seemed to have the same trace as above. Anyway, > if it's some sort of race, trying to get a reduced test case is probably not > going to go well. I concede that this looks very much like a thread safety bug. Maybe a small program that repeatedly runs code like the following in *many* threads concurrently would reproduce the bug? ``` QString localFile("/path/to/a/file"); QFileInfo fileInfo(localFile); QDateTime lastModified = fileInfo.lastModified(); qCritical() << lastModified; // prevent compiler's optimizing away ``` > > Can you try to call `tzset()` once from the main thread somewhere, e.g. main? > > How would I do that? Would I need a from-source build of KDevelop? Either that or patch your system KDevelop version. Would be unnecessary if you manage to create a small example that reproduces the Qt bug. You could run `tzset()` once from the main thread of the example program then.
> Maybe a small program ... Alas, I don't think it's going to be that simple. I tried this: ``` #include <QDirIterator> #include <QFileInfo> #include <QtConcurrent> QDateTime getMTime(QString const& path) { auto const fi = QFileInfo{path}; return fi.lastModified(); } int main(int argc, char** argv) { auto files = QList<QString>{}; auto iter = QDirIterator{argv[1], QDirIterator::Subdirectories}; while (iter.hasNext()) files.append(iter.next()); auto future = QtConcurrent::mapped(files, getMTime); future.waitForFinished(); qCritical() << future.resultCount(); return 0; } ``` Even passing it the path to CMake's sources (heck, even passing it `/usr`), it completes without crashing. (If this doesn't meet the criteria "repeatedly runs code like the following in *many* threads concurrently", you'll have to elaborate. 🙂) Probably KDevelop is doing something "extra" needed to cause the issue.
Thread 715 (Thread 0x7fff4be006c0 (LWP 3923454) "Queue(0x5555576"): #0 anonymous namespace)::ParameterStatus *, const (anonymous namespace)::ParameterStatus *> (or_rangeIT_EE=<optimized out>, StmtVisitorBaseISt11add_pointerN12_GLOBAL__N_114DSAAttrCheckerEvJEE22VisitOMPTeamsDirectiveEPNS_17OMPTeamsDirectiveE=<optimized out>) at include/clang/AST/AttrImpl.inc:14773 #1 0x00007fff6ec13c26 in ang19RecursiveASTVisitorIN12_GLOBAL__N_117LastDeclUSEFinderEE28VisitCXXPseudoDestructorExprEPNS_23CXXPseudoDestructorExprE (or_rangeIT_EE=0x7fff17395e50, INS1_15BindableMatcherINS_4StmtEEENS1_7MatcherINS_17CXXMemberCallExprEEEXadL_ZNS1_25makeDynCastAllOfCompositeIS4_S7_EENS3_IT_EEN4llvm8ArrayRefIPKNS6_IT0_EEEEEEEclIJEEES5_RKS8_DpRKT_=..., ptyPH=<optimized out>, 12DenseMapBaseINS_8DenseMapIN5clang7CanQualINS2_4TypeEEEjNS_12DenseMapInfoIS5_vEENS_6detail12DenseMapPairIS5_jEEEES5_jS7_SA_E15LookupBucketForIS5_EEbRKT_RPSA_=0x7ffe94343c20, ntifierInfoESt6vectorIPNS2_9MacroInfoESaIS7_EENS_12DenseMapInfoIS4_vEENS_6detail12DenseMapPairIS4_S9_EEEES4_S9_SB_SE_E3endEv=0x0, PNS_17ObjCContainerDeclEb=0x0) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaTemplateInstantiateDecl.cpp:853 #2 0x00007fff6ebd8c02 in seudoDestructorExprEPNS_23CXXPseudoDestructorExprE (or_rangeIT_EE=0x7fff17395e50, ng::extractapi::GlobalVariableTemplateSpecializationRecord, std::default_delete<clang::extractapi::GlobalVariableTemplateSpecializationRecord> >, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int> >, llvm::SmallVector<std::pair<llvm::StringRef, std::unique_ptr<clang::extractapi::GlobalVariableTemplateSpecializationRecord, std::default_delete<clang::extractapi::GlobalVariableTemplateSpecializationRecord> > >, 0U> >=..., torIN12_GLOBAL__N_119MarkReferencedDeclsEE22VisitObjCClassStubAttrEPNS_17ObjCClassStubAttrE=0x7fff4bdfbc28, rGrowEmRm=0x7ffe97735640, INS1_15BindableMatcherINS_4StmtEEENS1_7MatcherINS_17CXXMemberCallExprEEEXadL_ZNS1_25makeDynCastAllOfCompositeIS4_S7_EENS3_IT_EEN4llvm8ArrayRefIPKNS6_IT0_EEEEEEEclIJEEES5_RKS8_DpRKT_=..., 5BindableMatcherINS_4StmtEEENS1_7MatcherINS_18ArraySubscriptExprEEEXadL_ZNS1_25makeDynCastAllOfCompositeIS4_S7_EENS3_IT_EEN4llvm8ArrayRefIPKNS6_IT0_EEEEEEEclIJEEES5_RKS8_DpRKT_=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::tor<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, llvm::MemoryBuffer *>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, llvm::MemoryBuffer *> > > >, __gnu_cxx::__normal_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, llvm::MemoryBuffer *> *, std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, llvm::MemoryBuffer *>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, llvm::MemoryBuffer *> > > > >, ESaIcEEESaIS5_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS5_S7_EESC_=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaTemplateInstantiate.cpp:3307 #3 0x00007fff6ebdb372 in apperEE28VisitCXXPseudoDestructorExprEPNS_23CXXPseudoDestructorExprE (or_rangeIT_EE=0x7fff17395e50, ng::extractapi::GlobalVariableTemplateSpecializationRecord, std::default_delete<clang::extractapi::GlobalVariableTemplateSpecializationRecord> >, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int> >, llvm::SmallVector<std::pair<llvm::StringRef, std::unique_ptr<clang::extractapi::GlobalVariableTemplateSpecializationRecord, std::default_delete<clang::extractapi::GlobalVariableTemplateSpecializationRecord> > >, 0U> >=..., cursiveASTVisitorIN12_GLOBAL__N_117FallthroughMapperEE22TraverseObjCObjectTypeEPNS_14ObjCObjectTypeE=0x7ffe94343c20, 5BindableMatcherINS_4StmtEEENS1_7MatcherINS_18ArraySubscriptExprEEEXadL_ZNS1_25makeDynCastAllOfCompositeIS4_S7_EENS3_IT_EEN4llvm8ArrayRefIPKNS6_IT0_EEEEEEEclIJEEES5_RKS8_DpRKT_=<optimized out>, ESaIcEEESaIS5_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS5_S7_EESC_=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaTemplateInstantiate.cpp:3832 #4 0x00007fff6eca5f22 in foENS_11LinkageInfoERKSt6vectorINS_10RawComment11CommentLineESaISB_EENS0_20DeclarationFragmentsESG_b (or_rangeIT_EE=0x7fff4bdfc1f0) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaType.cpp:9490 #5 callback_fnIZN12_GLOBAL__N_110DSAStackTy9getTopDSAEPN5clang9ValueDeclEbE3$_1EEblS2_b (, std::allocator<const clang::ast_matchers::internal::Matcher<clang::ObjCAutoreleasePoolStmt> *> >=140734466343408) at /usr/include/llvm/ADT/STLFunctionalExtras.h:45 #6 0x00007fff6ec95796 in clang::ast_matchers::internal::Matcher<clang::ObjCAutoreleasePoolStmt> *> > (or_rangeIT_EE=<optimized out>) at /usr/include/llvm/ADT/STLFunctionalExtras.h:68 #7 ttrEPKNS_11NoThrowAttrE (jCOrCFObjectEPKNS_12FunctionDeclEN4llvm9StringRefENS_8QualTypeEPKNS_12FunctionTypeERb=..., or<clang::tooling::FileMatchTrieNode>, const llvm::StringMapEntry<clang::tooling::FileMatchTrieNode> >=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/include/clang/Basic/Stack.h:46 #8 5VisitUnresolvedLookupExprEPKNS_20UnresolvedLookupExprE (or_rangeIT_EE=0x7fff17395e50, ractapi20GlobalFunctionRecordEEEE7_M_headERS5_=..., or<clang::tooling::FileMatchTrieNode>, const llvm::StringMapEntry<clang::tooling::FileMatchTrieNode> >=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/Sema.cpp:513 #9 alidVisitorEE30WalkUpFromUnresolvedLookupExprEPNS_20UnresolvedLookupExprE (or_rangeIT_EE=0x7fff17395e50, ractapi20GlobalFunctionRecordEEEE7_M_headERS5_=..., N4llvm14make_const_ptrEN12_GLOBAL__N_119AtomicExprEvaluatorEbJEE33VisitOMPParallelSectionsDirectiveEPKNS_28OMPParallelSectionsDirectiveE=..., ng15StmtVisitorBaseIN4llvm14make_const_ptrENS_6interp15ByteCodeExprGenINS3_11EvalEmitterEEEbJEE17VisitCXXCatchStmtEPKNS_12CXXCatchStmtE=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::g15StmtVisitorBaseIN4llvm14make_const_ptrEN12_GLOBAL__N_119VectorExprEvaluatorEbJEE22VisitArrayInitLoopExprEPKNS_17ArrayInitLoopExprE::meterVisitorEE30WalkUpFromUnresolvedLookupExprEPNS_20UnresolvedLookupExprE::isitorIN12_GLOBAL__N_116SuperInitCheckerEE20TraverseIBOutletAttrEPNS_12IBOutletAttrE, PointerLikeTypeTraitsIS3_EENS_18PointerIntPairInfoIS3_Lj1ES5_EEE16setPointerAndIntES3_b=0x7fff4bdfc300) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaType.cpp:9489 #10 0x00007fff6ec94cfa in xprENS_12ActionResultIPNS_4ExprELb1EEEJEE25VisitUnresolvedLookupExprEPNS_20UnresolvedLookupExprE (or_rangeIT_EE=0x7ffe97735920, ractapi20GlobalFunctionRecordEEEE7_M_headERS5_=..., N4llvm14make_const_ptrEN12_GLOBAL__N_119AtomicExprEvaluatorEbJEE33VisitOMPParallelSectionsDirectiveEPKNS_28OMPParallelSectionsDirectiveE=..., ng15StmtVisitorBaseIN4llvm14make_const_ptrENS_6interp15ByteCodeExprGenINS3_11EvalEmitterEEEbJEE17VisitCXXCatchStmtEPKNS_12CXXCatchStmtE=(unknown: 0x4bdfbc28), PointerLikeTypeTraitsIS3_EENS_18PointerIntPairInfoIS3_Lj1ES5_EEE16setPointerAndIntES3_b=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaType.cpp:9214 #11 0x00007fff6e42bb23 in olvedLookupExprE (or_rangeIT_EE=0x7fff17395e50, ractapi20GlobalFunctionRecordEEEE7_M_headERS5_=..., N4llvm14make_const_ptrEN12_GLOBAL__N_119AtomicExprEvaluatorEbJEE33VisitOMPParallelSectionsDirectiveEPKNS_28OMPParallelSectionsDirectiveE=..., PointerLikeTypeTraitsIS3_EENS_18PointerIntPairInfoIS3_Lj1ES5_EEE16setPointerAndIntES3_b=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/include/clang/Sema/Sema.h:2536 #12 Transfer28getPragmaAttributeMatchRulesERN4llvm15SmallVectorImplISt4pairIN5clang4attr16SubjectMatchRuleEbEEERKNS4_11LangOptionsE (or_rangeIT_EE=0x7fff17395e50, ractapi20GlobalFunctionRecordEEEE7_M_headERS5_=..., N4llvm14make_const_ptrEN12_GLOBAL__N_119AtomicExprEvaluatorEbJEE33VisitOMPParallelSectionsDirectiveEPKNS_28OMPParallelSectionsDirectiveE=..., geERKS4_=3513, ng4Sema27CheckForConstantInitializerEPNS_4ExprENS_8QualTypeE=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/include/clang/Sema/Sema.h:2546 #13 rsiveASTVisitorIN12_GLOBAL__N_114NamesCollectorEE22VisitShuffleVectorExprEPNS_17ShuffleVectorExprE (or_rangeIT_EE=0x7fff17395e50, gParser7ContextEEmIEl=..., 0TraverseCXXCatchStmtEPNS_12CXXCatchStmtEPN4llvm15SmallVectorImplINS7_14PointerIntPairIPNS_4StmtELj1EbNS7_21PointerLikeTypeTraitsISB_EENS7_18PointerIntPairInfoISB_Lj1ESD_EEEEEE=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaCXXScopeSpec.cpp:243 #14 0x00007fff6eac4585 in XThisExprEE21VisitObjCSelectorExprEPNS_16ObjCSelectorExprE (or_rangeIT_EE=0x7fff17395e50, rINS_24SubstObjCTypeArgsVisitorEE16VisitComplexTypeEPKN5clang11ComplexTypeE=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::SmallStringILj64EEEE20resize_for_overwriteEm::icTypeENS1_8QualTypeEvE10isPossibleERS3_, vm::yaml::ScalarNode *, llvm::yaml::ScalarNode *, std::vector<llvm::yaml::ScalarNode *, std::allocator<llvm::yaml::ScalarNode *> >, llvm::yaml::ScalarNode *>, std::allocator<std::tuple<llvm::yaml::ScalarNode *, llvm::yaml::ScalarNode *, std::vector<llvm::yaml::ScalarNode *, std::allocator<llvm::yaml::ScalarNode *> >, llvm::yaml::ScalarNode *> > > >=..., 4llvm9StringRefERKNS0_9ToolChainERNS2_15SmallVectorImplINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE=..., ZN4llvm8CastInfoIN5clang19FunctionNoProtoTypeENS1_8QualTypeEvE10isPossibleERS3_=..., 7CXXMemberCallExprEEEXadL_ZNS1_25makeDynCastAllOfCompositeIS4_S7_EENS3_IT_EEN4llvm8ArrayRefIPKNS6_IT0_EEEEEEEclIJEEES5_RKS8_DpRKT_=..., VCToolChainELb0EE7_M_headERS5_=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaTemplate.cpp:11253 #15 0x00007fff6ebf93c9 in swapERS4_S6_ (or_rangeIT_EE=0x7fff4bdfc8e8, rINS_24SubstObjCTypeArgsVisitorEE16VisitComplexTypeEPKN5clang11ComplexTypeE=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::SmallStringILj64EEEE20resize_for_overwriteEm::icTypeENS1_8QualTypeEvE10isPossibleERS3_, vm::yaml::ScalarNode *, llvm::yaml::ScalarNode *, std::vector<llvm::yaml::ScalarNode *, std::allocator<llvm::yaml::ScalarNode *> >, llvm::yaml::ScalarNode *>, std::allocator<std::tuple<llvm::yaml::ScalarNode *, llvm::yaml::ScalarNode *, std::vector<llvm::yaml::ScalarNode *, std::allocator<llvm::yaml::ScalarNode *> >, llvm::yaml::ScalarNode *> > > >=..., 4llvm9StringRefERKNS0_9ToolChainERNS2_15SmallVectorImplINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE=..., NS2_11MatchFinder13MatchCallbackEEEE37select_on_container_copy_constructionERKSB_=0x7ffe96fef8a8, >=..., VCToolChainELb0EE7_M_headERS5_=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/TreeTransform.h:1168 #16 ansformToPEEE25RebuildOMPNocontextClauseEPNS_4ExprENS_14SourceLocationES6_S6_ (or_rangeIT_EE=0x7fff4bdfc8e8, akeDynCastAllOfCompositeIS4_S7_EENS3_IT_EEN4llvm8ArrayRefIPKNS6_IT0_EEEEEEEclIJEEES5_RKS8_DpRKT_=<optimized out>, signEmRKS1_=..., VCToolChainELb0EE7_M_headERS5_=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/TreeTransform.h:7196 #17 0x00007fff6ebd509e in penBSDI386TargetInfoESt14default_deleteIS2_EEE7_M_swapERS6_ (or_rangeIT_EE=0x7fff4bdfc8e8, clarationNameInfoEPNS_9ValueDeclEPNS_9NamedDeclEPKNS_24TemplateArgumentListInfoESE_=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/TreeTransform.h:4956 #18 0x00007fff6ec17948 in XPseudoDestructorExprE (or_rangeIT_EE=0x7fff17395e50, N4llvm14make_const_ptrEN12_GLOBAL__N_119AtomicExprEvaluatorEbJEE33VisitOMPParallelSectionsDirectiveEPKNS_28OMPParallelSectionsDirectiveE=0x7ffe9774c540, ng4Sema27CheckForConstantInitializerEPNS_4ExprENS_8QualTypeE=..., ractapi20GlobalFunctionRecordEEEE7_M_headERS5_=..., RN5clang18AvailabilityResultERPKNS0_9NamedDeclEEE7_M_headERKS7_=..., eGenArgsERKNS_14CodeGenOptionsEN4llvm12function_refIFvRKNS4_5TwineEEEERKNS4_6TripleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKNS_11LangOptionsEENK5$_273clIjEEDaRKT_=true) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaTemplateInstantiate.cpp:2616 #19 ImplIS5_EEPSB_RKS5_RKT_SF_ (or_rangeIT_EE=0x7fff4bdfc9d0, terator<(anonymous namespace)::BuiltinCandidateTypeSet *>, (anonymous namespace)::BuiltinCandidateTypeSet *>=0x7ffe9774c560, ObjCCategoryDeclEb=false, dAssignGadgetSt14default_deleteIS0_ELb1ELb1EECI2St15__uniq_ptr_implIS0_S2_EEPS0_=0x0) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaTemplateInstantiateDecl.cpp:1151 #20 0x00007fff6ec28c26 in ngRefEb (or_rangeIT_EE=0x7fff4bdfc990) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaTemplateInstantiateDecl.cpp:4062 #21 clang::AnalyzerOptions::getCheckerIntegerOption (, std::allocator<const clang::ast_matchers::internal::Matcher<clang::ObjCAutoreleasePoolStmt> *> >=140734466345360) at /usr/include/llvm/ADT/STLFunctionalExtras.h:45 #22 clang::ast_matchers::internal::Matcher<clang::ObjCAutoreleasePoolStmt> *> > (or_rangeIT_EE=<optimized out>) at /usr/include/llvm/ADT/STLFunctionalExtras.h:68 #23 ttrEPKNS_11NoThrowAttrE (jCOrCFObjectEPKNS_12FunctionDeclEN4llvm9StringRefENS_8QualTypeEPKNS_12FunctionTypeERb=..., or<clang::tooling::FileMatchTrieNode>, const llvm::StringMapEntry<clang::tooling::FileMatchTrieNode> >=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/include/clang/Basic/Stack.h:46 #24 5VisitUnresolvedLookupExprEPKNS_20UnresolvedLookupExprE (or_rangeIT_EE=<optimized out>, ractapi20GlobalFunctionRecordEEEE7_M_headERS5_=..., or<clang::tooling::FileMatchTrieNode>, const llvm::StringMapEntry<clang::tooling::FileMatchTrieNode> >=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/Sema.cpp:513 #25 udoDestructorExprEPNS_23CXXPseudoDestructorExprE (or_rangeIT_EE=<optimized out>, terator<(anonymous namespace)::BuiltinCandidateTypeSet *>, (anonymous namespace)::BuiltinCandidateTypeSet *>=0x7ffe9774c560, Stmt *, const clang::CFGBlock *, llvm::DenseMapInfo<const clang::Stmt *, void>, llvm::detail::DenseMapPair<const clang::Stmt *, const clang::CFGBlock *> >, const clang::Stmt *, const clang::CFGBlock *, llvm::DenseMapInfo<const clang::Stmt *, void>, llvm::detail::DenseMapPair<const clang::Stmt *, const clang::CFGBlock *> >=<optimized out>, INS1_15BindableMatcherINS_4StmtEEENS1_7MatcherINS_17CXXMemberCallExprEEEXadL_ZNS1_25makeDynCastAllOfCompositeIS4_S7_EENS3_IT_EEN4llvm8ArrayRefIPKNS6_IT0_EEEEEEEclIJEEES5_RKS8_DpRKT_=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaTemplateInstantiateDecl.cpp:4061 #26 0x00007fff6ec05cba in pthEE24RebuildOMPPriorityClauseEPNS_4ExprENS_14SourceLocationES6_S6_ (or_rangeIT_EE=0x7fff4bdfcc68, terator<(anonymous namespace)::BuiltinCandidateTypeSet *>, (anonymous namespace)::BuiltinCandidateTypeSet *>=0x7ffe9774c560, ractapi20GlobalFunctionRecordEEEE7_M_headERS5_=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaTemplateInstantiate.cpp:1642 #27 ng12CXXThrowExprERNS1_8CFGBlockEEEclES4_S6_ (or_rangeIT_EE=0x7fff4bdfcc68, terDataDirectiveEPNS_27OMPTargetEnterDataDirectiveE=0x7ffe9774c670) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/TreeTransform.h:7971 #28 0x00007fff6ebeeead in ng22InitializationSequence4StepEE5eraseEPKS3_S6_ (or_rangeIT_EE=0x7fff4bdfcc68, terDataDirectiveEPNS_27OMPTargetEnterDataDirectiveE=0x7ffe9774ce30, N12_GLOBAL__N_124UnusedBackingIvarCheckerEE20TraverseIBOutletAttrEPNS_12IBOutletAttrE=false) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/TreeTransform.h:7544 #29 0x00007fff6ebdc098 in oDestructorExprE (or_rangeIT_EE=<optimized out>, terDataDirectiveEPNS_27OMPTargetEnterDataDirectiveE=0x7fff164a4cc0, INS1_15BindableMatcherINS_4StmtEEENS1_7MatcherINS_17CXXMemberCallExprEEEXadL_ZNS1_25makeDynCastAllOfCompositeIS4_S7_EENS3_IT_EEN4llvm8ArrayRefIPKNS6_IT0_EEEEEEEclIJEEES5_RKS8_DpRKT_=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaTemplateInstantiate.cpp:4098 #30 0x00007fff6ec2aa10 in S_12ast_matchers22MatchDescendantVisitorEE28VisitCXXPseudoDestructorExprEPNS_23CXXPseudoDestructorExprE (or_rangeIT_EE=0x7fff17395e50, ng::extractapi::GlobalVariableTemplateSpecializationRecord, std::default_delete<clang::extractapi::GlobalVariableTemplateSpecializationRecord> >, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int> >, llvm::SmallVector<std::pair<llvm::StringRef, std::unique_ptr<clang::extractapi::GlobalVariableTemplateSpecializationRecord, std::default_delete<clang::extractapi::GlobalVariableTemplateSpecializationRecord> > >, 0U> >=..., sESaIvELN9__gnu_cxx12_Lock_policyE2EEEE8max_sizeERKS7_=0x7ffe94341050, 1_EE17_Vector_impl_data12_M_copy_dataERKS4_=<optimized out>, SwiftBridgedTypedefAttr, void>=<optimized out>, b=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaTemplateInstantiateDecl.cpp:5185 #31 0x00007fff6ec2db77 in NS_12ActionResultIPNS_4ExprELb1EEEJEE28VisitCXXPseudoDestructorExprEPNS_23CXXPseudoDestructorExprE (or_rangeIT_EE=0x7fff17395e50, IndexAttrE=false) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaTemplateInstantiateDecl.cpp:6444 #32 0x00007fff6ec2ab6e in S_12ast_matchers22MatchDescendantVisitorEE28VisitCXXPseudoDestructorExprEPNS_23CXXPseudoDestructorExprE (or_rangeIT_EE=0x7fff17395e50, ng::extractapi::GlobalVariableTemplateSpecializationRecord, std::default_delete<clang::extractapi::GlobalVariableTemplateSpecializationRecord> >, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int> >, llvm::SmallVector<std::pair<llvm::StringRef, std::unique_ptr<clang::extractapi::GlobalVariableTemplateSpecializationRecord, std::default_delete<clang::extractapi::GlobalVariableTemplateSpecializationRecord> > >, 0U> >=..., sESaIvELN9__gnu_cxx12_Lock_policyE2EEEE8max_sizeERKS7_=<optimized out>, 1_EE17_Vector_impl_data12_M_copy_dataERKS4_=<optimized out>, SwiftBridgedTypedefAttr, void>=<optimized out>, b=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaTemplateInstantiateDecl.cpp:5209 #33 0x00007fff6ec2db77 in NS_12ActionResultIPNS_4ExprELb1EEEJEE28VisitCXXPseudoDestructorExprEPNS_23CXXPseudoDestructorExprE (or_rangeIT_EE=0x7fff17395e50, IndexAttrE=false) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaTemplateInstantiateDecl.cpp:6444 #34 0x00007fff6ec2ab6e in S_12ast_matchers22MatchDescendantVisitorEE28VisitCXXPseudoDestructorExprEPNS_23CXXPseudoDestructorExprE (or_rangeIT_EE=0x7fff17395e50, ng::extractapi::GlobalVariableTemplateSpecializationRecord, std::default_delete<clang::extractapi::GlobalVariableTemplateSpecializationRecord> >, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int> >, llvm::SmallVector<std::pair<llvm::StringRef, std::unique_ptr<clang::extractapi::GlobalVariableTemplateSpecializationRecord, std::default_delete<clang::extractapi::GlobalVariableTemplateSpecializationRecord> > >, 0U> >=..., sESaIvELN9__gnu_cxx12_Lock_policyE2EEEE8max_sizeERKS7_=<optimized out>, 1_EE17_Vector_impl_data12_M_copy_dataERKS4_=<optimized out>, SwiftBridgedTypedefAttr, void>=<optimized out>, b=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaTemplateInstantiateDecl.cpp:5209 #35 0x00007fff6ec2db77 in NS_12ActionResultIPNS_4ExprELb1EEEJEE28VisitCXXPseudoDestructorExprEPNS_23CXXPseudoDestructorExprE (or_rangeIT_EE=0x7fff17395e50, IndexAttrE=false) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaTemplateInstantiateDecl.cpp:6444 #36 0x00007fff6ec2ab6e in S_12ast_matchers22MatchDescendantVisitorEE28VisitCXXPseudoDestructorExprEPNS_23CXXPseudoDestructorExprE (or_rangeIT_EE=0x7fff17395e50, ng::extractapi::GlobalVariableTemplateSpecializationRecord, std::default_delete<clang::extractapi::GlobalVariableTemplateSpecializationRecord> >, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int> >, llvm::SmallVector<std::pair<llvm::StringRef, std::unique_ptr<clang::extractapi::GlobalVariableTemplateSpecializationRecord, std::default_delete<clang::extractapi::GlobalVariableTemplateSpecializationRecord> > >, 0U> >=..., sESaIvELN9__gnu_cxx12_Lock_policyE2EEEE8max_sizeERKS7_=<optimized out>, 1_EE17_Vector_impl_data12_M_copy_dataERKS4_=<optimized out>, SwiftBridgedTypedefAttr, void>=<optimized out>, b=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaTemplateInstantiateDecl.cpp:5209 #37 0x00007fff6ec2db77 in NS_12ActionResultIPNS_4ExprELb1EEEJEE28VisitCXXPseudoDestructorExprEPNS_23CXXPseudoDestructorExprE (or_rangeIT_EE=0x7fff17395e50, IndexAttrE=false) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaTemplateInstantiateDecl.cpp:6444 #38 0x00007fff6e4099e1 in BAL__N_127CheckDefaultArgumentVisitorEbJEE25VisitUnresolvedLookupExprEPKNS_20UnresolvedLookupExprE (or_rangeIT_EE=0x7fff17395e50, ng15StmtVisitorBaseIN4llvm14make_const_ptrENS_6interp15ByteCodeExprGenINS3_11EvalEmitterEEEbJEE17VisitCXXCatchStmtEPKNS_12CXXCatchStmtE=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/Sema.cpp:1088 #39 0x00007fff6e40a119 in dLookupExprE (or_rangeIT_EE=0x7fff17395e50) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/Sema.cpp:1124 #40 0x00007fff6efabd1d in KSt13unordered_mapImN5clang5RISCV7RVVTypeESt4hashImESt8equal_toImESaISt4pairIKmS2_EEE3endEv (or_rangeIT_EE=0x7ffe9664ec10, 5clang5TokenES4_EEPT0_PT_S8_S6_=<optimized out>, arameterVisitorEE20WalkUpFromMemberExprEPNS_10MemberExprE=@0x7fff4bdfe34c: ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::g15StmtVisitorBaseIN4llvm14make_const_ptrEN12_GLOBAL__N_119VectorExprEvaluatorEbJEE22VisitArrayInitLoopExprEPKNS_17ArrayInitLoopExprE::plateParameterVisitorEE20WalkUpFromMemberExprEPNS_10MemberExprE::lang19RecursiveASTVisitorIN12_GLOBAL__N_111TypeIndexerEE20TraverseIBOutletAttrEPNS_12IBOutletAttrE) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/Parser.cpp:727 #41 0x00007fff6efa6a7e in SpecialMemberTypeInfoRebuilderE29TransformAMDGPUWavesPerEUAttrEPKNS_20AMDGPUWavesPerEUAttrE (terDataDirectiveEPNS_27OMPTargetEnterDataDirectiveE=..., _cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >=false, d::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseAST.cpp:163 #42 0x00007fff6e2cc016 in <clang::targets::EmscriptenTargetInfo<clang::targets::WebAssembly32TargetInfo> > > &&, std::__nonesuch &&> (or_rangeIT_EE=0x7fff140144d0) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Frontend/FrontendAction.cpp:1069 #43 0x00007fff6e21cfef in 7DependencyCheckerEE25WalkUpFromObjCIvarRefExprEPNS_15ObjCIvarRefExprE (or_rangeIT_EE=0x7ffe970287d0, 16=..., itorE24VisitCXXOperatorCallExprEPNS_19CXXOperatorCallExprE=..., teParamObjectDeclE=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Frontend/ASTUnit.cpp:1245 #44 0x00007fff6e2209f7 in GLOBAL__N_123TransformExprToCapturesEE24TransformObjCIvarRefExprEPNS_15ObjCIvarRefExprE (or_rangeIT_EE=0x7ffe970287d0, 16=..., , std::default_delete<clang::extractapi::ObjCInstanceMethodRecord> >=<optimized out>, teParamObjectDeclE=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Frontend/ASTUnit.cpp:1705 #45 0x00007fff6e221a08 in erIntPairInfoIS9_Lj1ESB_EEEEEE13ComplexRemoveE24TransformObjCIvarRefExprEPNS_15ObjCIvarRefExprE (gExpressionsVisitorE24VisitCXXOperatorCallExprEPNS_19CXXOperatorCallExprE=<optimized out>, teralEEENS1_15BindableMatcherIT_EEN4llvm8ArrayRefIPKNS1_7MatcherIT0_EEEE=<optimized out>, 16=..., tructionPhaseENS_12DenseMapInfoIS3_vEENS_6detail12DenseMapPairIS3_S4_EEEES3_S4_S6_S9_E5eraseENS_16DenseMapIteratorIS3_S4_S6_S9_Lb0EEE=..., iagnoseImmediateEscalatingReasonEPNS_12FunctionDeclEE37ImmediateEscalatingExpressionsVisitorE24VisitCXXOperatorCallExprEPNS_19CXXOperatorCallExprE=..., rm_mve_vcreateq_s16=true, iltin_arm_mve_vqdmlsdhq_s16=..., ladavaq_s16=<optimized out>, ctapi::ObjCInstanceMethodRecord> >=<optimized out>, clang24EvaluatedExprVisitorBaseIN4llvm14make_const_ptrEN12_GLOBAL__N_120NonTrivialCallFinderEE15VisitChooseExprEPKNS_10ChooseExprE=..., rE=<optimized out>, , std::default_delete<clang::extractapi::ObjCInstanceMethodRecord> >=<optimized out>, nceMethodRecord> >=<optimized out>, eDeclRefExprE=<optimized out>, har_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >=<optimized out>, RestoreExprEPNS_27ObjCIndirectCopyRestoreExprE=<optimized out>, d::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >=<optimized out>, <char> > > > > >=<optimized out>, EPNS_18OMPInclusiveClauseE=<optimized out>, r, std::char_traits<char>, std::allocator<char> > *, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >=<optimized out>, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >=<optimized out>, onymous namespace)::GlobalVariableTableInfo>, std::default_delete<llvm::OnDiskIterableChainedHashTable<clang::api_notes::(anonymous namespace)::GlobalVariableTableInfo> > >=..., calatingReasonEPNS_12FunctionDeclEE37ImmediateEscalatingExpressionsVisitorE24VisitCXXOperatorCallExprEPNS_19CXXOperatorCallExprE=<optimized out>, teParamObjectDeclE=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Frontend/ASTUnit.cpp:1836 #46 0x00007fff6da62275 in delete<clang::extractapi::CXXStaticMethodRecord> > (m_n_s16=0x555558b95b70, gets::X86_32TargetInfo> > >=<optimized out>, fo> > >=<optimized out>, L, clang::targets::NaClTargetInfo<clang::targets::X86_32TargetInfo> *, std::default_delete<clang::targets::NaClTargetInfo<clang::targets::X86_32TargetInfo> > >=..., d_<is_move_assignable<const VarDecl *>, is_move_assignable<Kind> >::value, pair<const VarDecl *, Kind> &&, __nonesuch &&>=513, ets::NaClTargetInfo<clang::targets::X86_32TargetInfo> *, std::default_delete<clang::targets::NaClTargetInfo<clang::targets::X86_32TargetInfo> > >=0x7fff17416a70, etInfo> > >=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/tools/libclang/CIndex.cpp:4037 #47 ng::extractapi::CXXStaticMethodRecord, std::default_delete<clang::extractapi::CXXStaticMethodRecord> > (or_rangeIT_EE=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/tools/libclang/CIndex.cpp:4121 #48 tionRecord, std::default_delete<clang::extractapi::MacroDefinitionRecord> > (, std::allocator<const clang::ast_matchers::internal::Matcher<clang::ObjCAutoreleasePoolStmt> *> >=140734244054880) at /usr/include/llvm/ADT/STLFunctionalExtras.h:45 #49 0x00007fffb1335d44 in _B16 ( std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> >, std::allocator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > > > >, __gnu_cxx::__normal_iterator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > *, std::vector<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> >, std::allocator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > > > > >=<optimized out>) at /usr/src/debug/llvm-18.1.8-2.fc40.x86_64/include/llvm/ADT/STLFunctionalExtras.h:68 #50 fx6_gfx7 ( std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> >, std::allocator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > > > >, __gnu_cxx::__normal_iterator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > *, std::vector<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> >, std::allocator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > > > > >=<optimized out>, L14NumNormalLoops=<error reading variable: access outside bounds of object referenced via synthetic pointer>) at /usr/src/debug/llvm-18.1.8-2.fc40.x86_64/lib/Support/CrashRecoveryContext.cpp:426 #51 0x00007fffb1335f58 in N_gfx6_gfx7 (:__normal_iterator<llvm::BasicBlock **, std::vector<llvm::BasicBlock *, std::allocator<llvm::BasicBlock *> > > > > > >, __gnu_cxx::__normal_iterator<const std::pair<llvm::Interval *, __gnu_cxx::__normal_iterator<llvm::BasicBlock **, std::vector<llvm::BasicBlock *, std::allocator<llvm::BasicBlock *> > > > *, std::vector<std::pair<llvm::Interval *, __gnu_cxx::__normal_iterator<llvm::BasicBlock **, std::vector<llvm::BasicBlock *, std::allocator<llvm::BasicBlock *> > > >, std::allocator<std::pair<llvm::Interval *, __gnu_cxx::__normal_iterator<llvm::BasicBlock **, std::vector<llvm::BasicBlock *, std::allocator<llvm::BasicBlock *> > > > > > > >=0x7fff3e9fe6e8) at /usr/src/debug/llvm-18.1.8-2.fc40.x86_64/lib/Support/CrashRecoveryContext.cpp:510 #52 0x00007fffb1336096 in BUFFER_LOAD_SBYTE_LDS_IDXEN_gfx6_gfx7 ( >=@0x7ffef8e8cea8: 0x7fffb1335f40 <N_gfx6_gfx7>, AL__N_120StoreClusterMutationESt14default_deleteIS1_EEE31__nothrow_default_constructibleEv=@0x7ffef8e8cea0: 0x7fff3e9fe6e8, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> >, std::allocator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > > > >, __gnu_cxx::__normal_iterator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > *, std::vector<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> >, std::allocator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > > > > >=<optimized out>) at /usr/src/debug/llvm-18.1.8-2.fc40.x86_64/include/llvm/Support/thread.h:43 #53 EN_gfx6_gfx7 (R9_EL0=@0x7ffef8e8cea8: 0x7fffb1335f40 <N_gfx6_gfx7>, R9_EL0=@0x7ffef8e8cea0: 0x7fff3e9fe6e8, IN_VFPR16_M1=<optimized out>) at /usr/bin/../lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14/bits/invoke.h:61 #54 FER_LOAD_FORMAT_X_IDXEN_gfx6_gfx7 (R9_EL0=@0x7ffef8e8cea8: 0x7fffb1335f40 <N_gfx6_gfx7>, R9_EL0=@0x7ffef8e8cea0: 0x7fff3e9fe6e8, SMAX_OFFEN_gfx12=<optimized out>) at /usr/bin/../lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14/bits/invoke.h:96 #55 IC_INC_X2_ADDR64_RTN_gfx6_gfx7 (V2_nsa_gfx11=..., IN_VFPR16_M1=<optimized out>) at /usr/bin/../lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14/tuple:2921 #56 7 (V2_nsa_gfx11=..., IN_VFPR16_M1=<optimized out>) at /usr/bin/../lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14/tuple:2936 #57 x6_gfx7 (_cxx114listI18InstrProfValueDataSaIS1_EE11_M_transferESt14_List_iteratorIS1_ES5_S5_=0x7ffef8e8cea0) at /usr/src/debug/llvm-18.1.8-2.fc40.x86_64/include/llvm/Support/thread.h:41 #58 DDR64_RTN_gfx6_gfx7 (_cxx114listI18InstrProfValueDataSaIS1_EE11_M_transferESt14_List_iteratorIS1_ES5_S5_=0x7ffef8e8cea0) at /usr/src/debug/llvm-18.1.8-2.fc40.x86_64/include/llvm/Support/thread.h:55 #59 0x00007ffff5aa66d7 in start_thread (arg=<optimized out>) at pthread_create.c:447 #60 0x00007ffff5b2a60c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Thread 717 (Thread 0x7fff3cc006c0 (LWP 3923457) "Queue(0x5555576"): #0 0x00007fff6de9a8d2 in tuple_element<0UL, std::tuple<clang::VarTemplateDecl *, clang::VarTemplatePartialSpecializationDecl *> > (InfoEv=0, *, clang::IdentifierInfo *, clang::IdentifierInfo *, clang::IdentifierInfo *>=8) at /usr/include/llvm/Support/MathExtras.h:379 #1 td::pair<clang::SourceLocation, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<clang::SourceLocation, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > (ArgumentLocES3_PNS1_17DefaultArgStorageIS2_S6_E5ChainEEEEvE6doCastERSB_=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/AST/TypeLoc.cpp:101 #2 0x00007fff6ebd525f in ang::SourceLocation, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<clang::SourceLocation, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > (or_rangeIT_EE=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/include/clang/AST/TypeLoc.h:165 #3 JPN5clang7targets14Le64TargetInfoESt14default_deleteIS2_EEE7_M_swapERS6_ (or_rangeIT_EE=0x7fff3cbf9620, clarationNameInfoEPNS_9ValueDeclEPNS_9NamedDeclEPKNS_24TemplateArgumentListInfoESE_=0x7ffec31fe0b0) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/TreeTransform.h:4896 #4 0x00007fff6ec15cc4 in XPseudoDestructorExprE (or_rangeIT_EE=0x7, N4llvm14make_const_ptrEN12_GLOBAL__N_119AtomicExprEvaluatorEbJEE33VisitOMPParallelSectionsDirectiveEPKNS_28OMPParallelSectionsDirectiveE=0x7ffec31fe0b0, ng4Sema27CheckForConstantInitializerEPNS_4ExprENS_8QualTypeE=..., ractapi20GlobalFunctionRecordEEEE7_M_headERS5_=..., RN5clang18AvailabilityResultERPKNS0_9NamedDeclEEE7_M_headERKS7_=..., eGenArgsERKNS_14CodeGenOptionsEN4llvm12function_refIFvRKNS4_5TwineEEEERKNS4_6TripleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKNS_11LangOptionsEENK5$_273clIjEEDaRKT_=false) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaTemplateInstantiate.cpp:2617 #5 N4llvm12DenseMapBaseINS_8DenseMapIlNS_13TinyPtrVectorIPN5clang6ModuleEEENS_12DenseMapInfoIlvEENS_6detail12DenseMapPairIlS6_EEEElS6_S8_SB_E20InsertIntoBucketImplIlEEPSB_RKlRKT_SF_ (or_rangeIT_EE=0x7fff3cbf99a8, terator<(anonymous namespace)::BuiltinCandidateTypeSet *>, (anonymous namespace)::BuiltinCandidateTypeSet *>=0x7ffec31fe0d0, ng::Attr *>=true) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaTemplateInstantiateDecl.cpp:986 #6 0x00007fff6eac8052 in MethodDeclENS1_17OverridingMethodsENS_8DenseMapIS4_jNS_12DenseMapInfoIS4_vEENS_6detail12DenseMapPairIS4_jEEEENS_11SmallVectorISt4pairIS4_S5_ELj0EEEE5eraseEPSF_ (or_rangeIT_EE=0x7fff3cbf99a8, terator<(anonymous namespace)::BuiltinCandidateTypeSet *>, (anonymous namespace)::BuiltinCandidateTypeSet *>=0x8) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaTemplateInstantiateDecl.cpp:1061 #7 0x00007fff6ebd950a in seudoDestructorExprEPNS_23CXXPseudoDestructorExprE (or_rangeIT_EE=0x7ffee00ea3a0, ng::extractapi::GlobalVariableTemplateSpecializationRecord, std::default_delete<clang::extractapi::GlobalVariableTemplateSpecializationRecord> >, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int> >, llvm::SmallVector<std::pair<llvm::StringRef, std::unique_ptr<clang::extractapi::GlobalVariableTemplateSpecializationRecord, std::default_delete<clang::extractapi::GlobalVariableTemplateSpecializationRecord> > >, 0U> >=..., torIN12_GLOBAL__N_119MarkReferencedDeclsEE22VisitObjCClassStubAttrEPNS_17ObjCClassStubAttrE=<optimized out>, rGrowEmRm=0x7ffec31fb7b0, INS1_15BindableMatcherINS_4StmtEEENS1_7MatcherINS_17CXXMemberCallExprEEEXadL_ZNS1_25makeDynCastAllOfCompositeIS4_S7_EENS3_IT_EEN4llvm8ArrayRefIPKNS6_IT0_EEEEEEEclIJEEES5_RKS8_DpRKT_=..., 5BindableMatcherINS_4StmtEEENS1_7MatcherINS_18ArraySubscriptExprEEEXadL_ZNS1_25makeDynCastAllOfCompositeIS4_S7_EENS3_IT_EEN4llvm8ArrayRefIPKNS6_IT0_EEEEEEEclIJEEES5_RKS8_DpRKT_=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::tor<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, llvm::MemoryBuffer *>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, llvm::MemoryBuffer *> > > >, __gnu_cxx::__normal_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, llvm::MemoryBuffer *> *, std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, llvm::MemoryBuffer *>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, llvm::MemoryBuffer *> > > > >, ESaIcEEESaIS5_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS5_S7_EESC_=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaTemplateInstantiate.cpp:3357 #8 0x00007fff6ebdb372 in apperEE28VisitCXXPseudoDestructorExprEPNS_23CXXPseudoDestructorExprE (or_rangeIT_EE=0x7ffee00ea3a0, ng::extractapi::GlobalVariableTemplateSpecializationRecord, std::default_delete<clang::extractapi::GlobalVariableTemplateSpecializationRecord> >, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int> >, llvm::SmallVector<std::pair<llvm::StringRef, std::unique_ptr<clang::extractapi::GlobalVariableTemplateSpecializationRecord, std::default_delete<clang::extractapi::GlobalVariableTemplateSpecializationRecord> > >, 0U> >=..., cursiveASTVisitorIN12_GLOBAL__N_117FallthroughMapperEE22TraverseObjCObjectTypeEPNS_14ObjCObjectTypeE=0x7ffec14f98e0, 5BindableMatcherINS_4StmtEEENS1_7MatcherINS_18ArraySubscriptExprEEEXadL_ZNS1_25makeDynCastAllOfCompositeIS4_S7_EENS3_IT_EEN4llvm8ArrayRefIPKNS6_IT0_EEEEEEEclIJEEES5_RKS8_DpRKT_=<optimized out>, ESaIcEEESaIS5_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS5_S7_EESC_=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaTemplateInstantiate.cpp:3832 #9 0x00007fff6eca5f22 in foENS_11LinkageInfoERKSt6vectorINS_10RawComment11CommentLineESaISB_EENS0_20DeclarationFragmentsESG_b (or_rangeIT_EE=0x7fff3cbfa430) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaType.cpp:9490 #10 callback_fnIZN12_GLOBAL__N_110DSAStackTy9getTopDSAEPN5clang9ValueDeclEbE3$_1EEblS2_b (, std::allocator<const clang::ast_matchers::internal::Matcher<clang::ObjCAutoreleasePoolStmt> *> >=140734212580400) at /usr/include/llvm/ADT/STLFunctionalExtras.h:45 #11 0x00007fff6ec95796 in clang::ast_matchers::internal::Matcher<clang::ObjCAutoreleasePoolStmt> *> > (or_rangeIT_EE=<optimized out>) at /usr/include/llvm/ADT/STLFunctionalExtras.h:68 #12 ttrEPKNS_11NoThrowAttrE (jCOrCFObjectEPKNS_12FunctionDeclEN4llvm9StringRefENS_8QualTypeEPKNS_12FunctionTypeERb=..., or<clang::tooling::FileMatchTrieNode>, const llvm::StringMapEntry<clang::tooling::FileMatchTrieNode> >=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/include/clang/Basic/Stack.h:46 #13 5VisitUnresolvedLookupExprEPKNS_20UnresolvedLookupExprE (or_rangeIT_EE=0x7ffee00ea3a0, ractapi20GlobalFunctionRecordEEEE7_M_headERS5_=..., or<clang::tooling::FileMatchTrieNode>, const llvm::StringMapEntry<clang::tooling::FileMatchTrieNode> >=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/Sema.cpp:513 #14 alidVisitorEE30WalkUpFromUnresolvedLookupExprEPNS_20UnresolvedLookupExprE (or_rangeIT_EE=0x7ffee00ea3a0, ractapi20GlobalFunctionRecordEEEE7_M_headERS5_=..., N4llvm14make_const_ptrEN12_GLOBAL__N_119AtomicExprEvaluatorEbJEE33VisitOMPParallelSectionsDirectiveEPKNS_28OMPParallelSectionsDirectiveE=..., ng15StmtVisitorBaseIN4llvm14make_const_ptrENS_6interp15ByteCodeExprGenINS3_11EvalEmitterEEEbJEE17VisitCXXCatchStmtEPKNS_12CXXCatchStmtE=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::g15StmtVisitorBaseIN4llvm14make_const_ptrEN12_GLOBAL__N_119VectorExprEvaluatorEbJEE22VisitArrayInitLoopExprEPKNS_17ArrayInitLoopExprE::meterVisitorEE30WalkUpFromUnresolvedLookupExprEPNS_20UnresolvedLookupExprE::isitorIN12_GLOBAL__N_116SuperInitCheckerEE20TraverseIBOutletAttrEPNS_12IBOutletAttrE, PointerLikeTypeTraitsIS3_EENS_18PointerIntPairInfoIS3_Lj1ES5_EEE16setPointerAndIntES3_b=0x7fff3cbfa680) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaType.cpp:9489 #15 0x00007fff6ec94cfa in xprENS_12ActionResultIPNS_4ExprELb1EEEJEE25VisitUnresolvedLookupExprEPNS_20UnresolvedLookupExprE (or_rangeIT_EE=0x7ffec31fe060, ractapi20GlobalFunctionRecordEEEE7_M_headERS5_=..., N4llvm14make_const_ptrEN12_GLOBAL__N_119AtomicExprEvaluatorEbJEE33VisitOMPParallelSectionsDirectiveEPKNS_28OMPParallelSectionsDirectiveE=..., ng15StmtVisitorBaseIN4llvm14make_const_ptrENS_6interp15ByteCodeExprGenINS3_11EvalEmitterEEEbJEE17VisitCXXCatchStmtEPKNS_12CXXCatchStmtE=(ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::g15StmtVisitorBaseIN4llvm14make_const_ptrEN12_GLOBAL__N_119VectorExprEvaluatorEbJEE22VisitArrayInitLoopExprEPKNS_17ArrayInitLoopExprE::meterVisitorEE30WalkUpFromUnresolvedLookupExprEPNS_20UnresolvedLookupExprE::isitorIN12_GLOBAL__N_116SuperInitCheckerEE20TraverseIBOutletAttrEPNS_12IBOutletAttrE | unknown: 0x6), PointerLikeTypeTraitsIS3_EENS_18PointerIntPairInfoIS3_Lj1ES5_EEE16setPointerAndIntES3_b=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaType.cpp:9214 #16 0x00007fff6e55aabe in interN12_GLOBAL__N_114ARCCastCheckerENS2_9ACCResultEJEE25VisitUnresolvedLookupExprEPNS_20UnresolvedLookupExprE (or_rangeIT_EE=0x7ffee00ea3a0, ractapi20GlobalFunctionRecordEEEE7_M_headERS5_=..., N4llvm14make_const_ptrEN12_GLOBAL__N_119AtomicExprEvaluatorEbJEE33VisitOMPParallelSectionsDirectiveEPKNS_28OMPParallelSectionsDirectiveE=..., ng15StmtVisitorBaseIN4llvm14make_const_ptrENS_6interp15ByteCodeExprGenINS3_11EvalEmitterEEEbJEE17VisitCXXCatchStmtEPKNS_12CXXCatchStmtE=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::g15StmtVisitorBaseIN4llvm14make_const_ptrEN12_GLOBAL__N_119VectorExprEvaluatorEbJEE22VisitArrayInitLoopExprEPKNS_17ArrayInitLoopExprE::meterVisitorEE30WalkUpFromUnresolvedLookupExprEPNS_20UnresolvedLookupExprE::isitorIN12_GLOBAL__N_116SuperInitCheckerEE20TraverseIBOutletAttrEPNS_12IBOutletAttrE, geERKS4_=3432) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaType.cpp:9559 #17 bJEE25VisitUnresolvedLookupExprEPNS_20UnresolvedLookupExprE (or_rangeIT_EE=0x7ffee00ea3a0, ractapi20GlobalFunctionRecordEEEE7_M_headERS5_=..., N4llvm14make_const_ptrEN12_GLOBAL__N_119AtomicExprEvaluatorEbJEE33VisitOMPParallelSectionsDirectiveEPKNS_28OMPParallelSectionsDirectiveE=..., geERKS4_=3432) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/include/clang/Sema/Sema.h:2539 #18 itMemberExprEPKNS_10MemberExprE (or_rangeIT_EE=0x7ffee00ea3a0, AL__N_112EnumConstantESaIS1_EE6assignEmRKS1_=0x7ffeb53f3030, terator<(anonymous namespace)::BuiltinCandidateTypeSet *>, (anonymous namespace)::BuiltinCandidateTypeSet *>=0x7ffec157fd98, _20OMPCriticalDirectiveEPN4llvm15SmallVectorImplINS8_14PointerIntPairIPNS_4StmtELj1EbNS8_21PointerLikeTypeTraitsISC_EENS8_18PointerIntPairInfoISC_Lj1ESE_EEEEEE=<optimized out>, itor15VisitMemberExprEPKNS_10MemberExprE=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::g15StmtVisitorBaseIN4llvm14make_const_ptrEN12_GLOBAL__N_119VectorExprEvaluatorEbJEE22VisitArrayInitLoopExprEPKNS_17ArrayInitLoopExprE::isitor15VisitMemberExprEPKNS_10MemberExprE::<std::pair<const int, llvm::SmallVector<const clang::tooling::HeaderIncludes::Include *, 8U> >, false> >) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaDecl.cpp:15765 #19 0x00007fff6e55a0d9 in berExprEPKNS_10MemberExprE (or_rangeIT_EE=0x7ffee00ea3a0, AL__N_112EnumConstantESaIS1_EE6assignEmRKS1_=0x7ffeb53f3030, terator<(anonymous namespace)::BuiltinCandidateTypeSet *>, (anonymous namespace)::BuiltinCandidateTypeSet *>=<optimized out>, enseMapInfo<const clang::CXXRecordDecl *, void>, llvm::detail::DenseSetPair<const clang::CXXRecordDecl *>, false>=..., _20OMPCriticalDirectiveEPN4llvm15SmallVectorImplINS8_14PointerIntPairIPNS_4StmtELj1EbNS8_21PointerLikeTypeTraitsISC_EENS8_18PointerIntPairInfoISC_Lj1ESE_EEEEEE=0x7fff3cbfa8f8, itor15VisitMemberExprEPKNS_10MemberExprE=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::g15StmtVisitorBaseIN4llvm14make_const_ptrEN12_GLOBAL__N_119VectorExprEvaluatorEbJEE22VisitArrayInitLoopExprEPKNS_17ArrayInitLoopExprE::isitor15VisitMemberExprEPKNS_10MemberExprE::<std::pair<const int, llvm::SmallVector<const clang::tooling::HeaderIncludes::Include *, 8U> >, false> >) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaDecl.cpp:15453 #20 0x00007fff6efb0f87 in d_ptrIN5clang19ModuleFileExtensionEEE3endEv (or_rangeIT_EE=0x7ffee255c310, terator<(anonymous namespace)::BuiltinCandidateTypeSet *>, (anonymous namespace)::BuiltinCandidateTypeSet *>=..., tor_tagEEE3endEv=..., tletCollectionInfoEvE3endEv=0x7fff3cbfb460) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/Parser.cpp:1440 #21 0x00007fff6f07fb8b in l12DenseMapPairIS4_S7_EEEESaISD_EE3endEv (or_rangeIT_EE=0x7ffee255c310, Attr::ConsumedState>, std::_Optional_base<std::optional<clang::SetTypestateAttr::ConsumedState>, true, true> >=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::torIPN5clang6SrcMgr12ContentCacheESaIS3_EE3endEv::d_base<std::optional<clang::attr::SubjectMatchRule> >, tor_tagEEE3endEv=..., ZNKSt10unique_ptrIN5clang7targets16SPIR64TargetInfoESt14default_deleteIS2_EEdeEv=<optimized out>, ectorIN12_GLOBAL__N_18FunctionESaIS1_EE6assignEmRKS1_=<optimized out>, clang15TypedefNameDeclENS_8DenseMapIS5_NS0_13DenseSetEmptyENS_12DenseMapInfoIS5_vEENS0_12DenseSetPairIS5_EEEES9_E3endEv=<optimized out>, rse_iterator<std::pair<clang::Expr*, clang::OverloadedOperatorKind> const*>=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::mal_iterator<clang::format::FormatStyle *, std::vector<clang::format::FormatStyle, std::allocator<clang::format::FormatStyle> > > > >) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseTemplate.cpp:338 #22 0x00007fff6f07bc29 in 6detail12DenseMapPairIS4_S7_EEEESaISD_EE3endEv (or_rangeIT_EE=0x7ffee255c310, Attr::ConsumedState>, std::_Optional_base<std::optional<clang::SetTypestateAttr::ConsumedState>, true, true> >=<optimized out>, ectorIN12_GLOBAL__N_18FunctionESaIS1_EE6assignEmRKS1_=<optimized out>, clang15TypedefNameDeclENS_8DenseMapIS5_NS0_13DenseSetEmptyENS_12DenseMapInfoIS5_vEENS0_12DenseSetPairIS5_EEEES9_E3endEv=<optimized out>, rse_iterator<std::pair<clang::Expr*, clang::OverloadedOperatorKind> const*>=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseTemplate.cpp:171 #23 0x00007fff6f07b4f1 in _16ImutKeyValueInfoIS9_jEEEEESaISD_EE3endEv (or_rangeIT_EE=0x7ffee255c310, Attr::ConsumedState>, std::_Optional_base<std::optional<clang::SetTypestateAttr::ConsumedState>, true, true> >=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::torIPN5clang6SrcMgr12ContentCacheESaIS3_EE3endEv::d_base<std::optional<clang::attr::SubjectMatchRule> >, ectorIN12_GLOBAL__N_18FunctionESaIS1_EE6assignEmRKS1_=<optimized out>, clang15TypedefNameDeclENS_8DenseMapIS5_NS0_13DenseSetEmptyENS_12DenseMapInfoIS5_vEENS0_12DenseSetPairIS5_EEEES9_E3endEv=<optimized out>, rse_iterator<std::pair<clang::Expr*, clang::OverloadedOperatorKind> const*>=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::mal_iterator<clang::format::FormatStyle *, std::vector<clang::format::FormatStyle, std::allocator<clang::format::FormatStyle> > > > >) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseTemplate.cpp:48 #24 0x00007fff6efcb857 in lang15TypedefNameDeclES3_St9_IdentityIS3_ESt4lessIS3_ESaIS3_EE3endEv (or_rangeIT_EE=0x7ffee255c310, Attr::ConsumedState>, std::_Optional_base<std::optional<clang::SetTypestateAttr::ConsumedState>, true, true> >=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::torIPN5clang6SrcMgr12ContentCacheESaIS3_EE3endEv::d_base<std::optional<clang::attr::SubjectMatchRule> >, ectorIN12_GLOBAL__N_18FunctionESaIS1_EE6assignEmRKS1_=..., lang::Module *>=..., g6format9TokenRole16formatAfterTokenERNS0_9LineStateEPNS0_20ContinuationIndenterEb=..., eMapIPKN5clang4ExprEPNS2_12threadSafety3til10LiteralPtrELj4ENS_12DenseMapInfoIS5_vEENS_6detail12DenseMapPairIS5_S9_EEEES5_S9_SB_SE_E3endEv=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseDecl.cpp:1920 #25 0x00007fff6efad505 in essISA_ESaIS0_IKSA_jEEE3endEv (or_rangeIT_EE=0x7ffee255c310, DiagnoserIJEE8diagnoseERS0_NS_14SourceLocationENS_8QualTypeE=<optimized out>, g6format9TokenRole16formatAfterTokenERNS0_9LineStateEPNS0_20ContinuationIndenterEb=<optimized out>, EE11varlist_endEv=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/include/clang/Basic/SourceLocation.h:99 #26 0x00007fff6efeab23 in airIKmNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt10_Select1stIS8_ESt4lessImESaIS8_EE3endEv (or_rangeIT_EE=0x7ffee255c310, endEv=<optimized out>, e::specific_clause_iterator<clang::OMPCollapseClause>, clang::OMPClause *const *, std::forward_iterator_tag, const clang::OMPCollapseClause *, long, const clang::OMPCollapseClause *, const clang::OMPCollapseClause *>=<optimized out>, _ZNK4llvm25SmallVectorTemplateCommonIN12_GLOBAL__N_112ToolSelector13JobActionInfoEvE3endEv=<optimized out>, ang::RecordDecl *, clang::RecordDecl *> >=<optimized out>, 13TreeTransformIN12_GLOBAL__N_129CurrentInstantiationRebuilderEE31TransformRenderScriptKernelAttrEPKNS_22RenderScriptKernelAttrE=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseDeclCXX.cpp:263 #27 0x00007fff6efea7cd in ingIcSt11char_traitsIcESaIcEEEESt10_Select1stIS8_ESt4lessIjESaIS8_EE3endEv (or_rangeIT_EE=0x7ffee255c310, Attr::ConsumedState>, std::_Optional_base<std::optional<clang::SetTypestateAttr::ConsumedState>, true, true> >=<optimized out>, ectorIN12_GLOBAL__N_18FunctionESaIS1_EE6assignEmRKS1_=<optimized out>, _ZNK4llvm25SmallVectorTemplateCommonIN12_GLOBAL__N_112ToolSelector13JobActionInfoEvE3endEv=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseDeclCXX.cpp:240 #28 0x00007fff6efcbde0 in lang15TypedefNameDeclES3_St9_IdentityIS3_ESt4lessIS3_ESaIS3_EE3endEv (or_rangeIT_EE=0x7ffee255c310, Attr::ConsumedState>, std::_Optional_base<std::optional<clang::SetTypestateAttr::ConsumedState>, true, true> >=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::torIPN5clang6SrcMgr12ContentCacheESaIS3_EE3endEv::d_base<std::optional<clang::attr::SubjectMatchRule> >, ectorIN12_GLOBAL__N_18FunctionESaIS1_EE6assignEmRKS1_=<optimized out>, lang::Module *>=<optimized out>, g6format9TokenRole16formatAfterTokenERNS0_9LineStateEPNS0_20ContinuationIndenterEb=..., eMapIPKN5clang4ExprEPNS2_12threadSafety3til10LiteralPtrELj4ENS_12DenseMapInfoIS5_vEENS_6detail12DenseMapPairIS5_S9_EEEES5_S9_SB_SE_E3endEv=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseDecl.cpp:1928 #29 0x00007fff6efad505 in essISA_ESaIS0_IKSA_jEEE3endEv (or_rangeIT_EE=0x7ffee255c310, DiagnoserIJEE8diagnoseERS0_NS_14SourceLocationENS_8QualTypeE=<optimized out>, g6format9TokenRole16formatAfterTokenERNS0_9LineStateEPNS0_20ContinuationIndenterEb=<optimized out>, EE11varlist_endEv=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/include/clang/Basic/SourceLocation.h:99 #30 0x00007fff6efeab23 in airIKmNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt10_Select1stIS8_ESt4lessImESaIS8_EE3endEv (or_rangeIT_EE=0x7ffee255c310, endEv=<optimized out>, e::specific_clause_iterator<clang::OMPCollapseClause>, clang::OMPClause *const *, std::forward_iterator_tag, const clang::OMPCollapseClause *, long, const clang::OMPCollapseClause *, const clang::OMPCollapseClause *>=<optimized out>, _ZNK4llvm25SmallVectorTemplateCommonIN12_GLOBAL__N_112ToolSelector13JobActionInfoEvE3endEv=<optimized out>, ang::RecordDecl *, clang::RecordDecl *> >=<optimized out>, 13TreeTransformIN12_GLOBAL__N_129CurrentInstantiationRebuilderEE31TransformRenderScriptKernelAttrEPKNS_22RenderScriptKernelAttrE=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseDeclCXX.cpp:263 #31 0x00007fff6efea7cd in ingIcSt11char_traitsIcESaIcEEEESt10_Select1stIS8_ESt4lessIjESaIS8_EE3endEv (or_rangeIT_EE=0x7ffee255c310, Attr::ConsumedState>, std::_Optional_base<std::optional<clang::SetTypestateAttr::ConsumedState>, true, true> >=<optimized out>, ectorIN12_GLOBAL__N_18FunctionESaIS1_EE6assignEmRKS1_=<optimized out>, _ZNK4llvm25SmallVectorTemplateCommonIN12_GLOBAL__N_112ToolSelector13JobActionInfoEvE3endEv=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseDeclCXX.cpp:240 #32 0x00007fff6efcbde0 in lang15TypedefNameDeclES3_St9_IdentityIS3_ESt4lessIS3_ESaIS3_EE3endEv (or_rangeIT_EE=0x7ffee255c310, Attr::ConsumedState>, std::_Optional_base<std::optional<clang::SetTypestateAttr::ConsumedState>, true, true> >=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::torIPN5clang6SrcMgr12ContentCacheESaIS3_EE3endEv::d_base<std::optional<clang::attr::SubjectMatchRule> >, ectorIN12_GLOBAL__N_18FunctionESaIS1_EE6assignEmRKS1_=<optimized out>, lang::Module *>=<optimized out>, g6format9TokenRole16formatAfterTokenERNS0_9LineStateEPNS0_20ContinuationIndenterEb=..., eMapIPKN5clang4ExprEPNS2_12threadSafety3til10LiteralPtrELj4ENS_12DenseMapInfoIS5_vEENS_6detail12DenseMapPairIS5_S9_EEEES5_S9_SB_SE_E3endEv=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseDecl.cpp:1928 #33 0x00007fff6efad505 in essISA_ESaIS0_IKSA_jEEE3endEv (or_rangeIT_EE=0x7ffee255c310, DiagnoserIJEE8diagnoseERS0_NS_14SourceLocationENS_8QualTypeE=<optimized out>, g6format9TokenRole16formatAfterTokenERNS0_9LineStateEPNS0_20ContinuationIndenterEb=<optimized out>, EE11varlist_endEv=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/include/clang/Basic/SourceLocation.h:99 #34 0x00007fff6efeab23 in airIKmNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt10_Select1stIS8_ESt4lessImESaIS8_EE3endEv (or_rangeIT_EE=0x7ffee255c310, endEv=<optimized out>, e::specific_clause_iterator<clang::OMPCollapseClause>, clang::OMPClause *const *, std::forward_iterator_tag, const clang::OMPCollapseClause *, long, const clang::OMPCollapseClause *, const clang::OMPCollapseClause *>=<optimized out>, _ZNK4llvm25SmallVectorTemplateCommonIN12_GLOBAL__N_112ToolSelector13JobActionInfoEvE3endEv=<optimized out>, ang::RecordDecl *, clang::RecordDecl *> >=<optimized out>, 13TreeTransformIN12_GLOBAL__N_129CurrentInstantiationRebuilderEE31TransformRenderScriptKernelAttrEPKNS_22RenderScriptKernelAttrE=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseDeclCXX.cpp:263 #35 0x00007fff6efea7cd in ingIcSt11char_traitsIcESaIcEEEESt10_Select1stIS8_ESt4lessIjESaIS8_EE3endEv (or_rangeIT_EE=0x7ffee255c310, Attr::ConsumedState>, std::_Optional_base<std::optional<clang::SetTypestateAttr::ConsumedState>, true, true> >=<optimized out>, ectorIN12_GLOBAL__N_18FunctionESaIS1_EE6assignEmRKS1_=<optimized out>, _ZNK4llvm25SmallVectorTemplateCommonIN12_GLOBAL__N_112ToolSelector13JobActionInfoEvE3endEv=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseDeclCXX.cpp:240 #36 0x00007fff6efcbbeb in lang15TypedefNameDeclES3_St9_IdentityIS3_ESt4lessIS3_ESaIS3_EE3endEv (or_rangeIT_EE=0x7ffee255c310, Attr::ConsumedState>, std::_Optional_base<std::optional<clang::SetTypestateAttr::ConsumedState>, true, true> >=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::torIPN5clang6SrcMgr12ContentCacheESaIS3_EE3endEv::d_base<std::optional<clang::attr::SubjectMatchRule> >, ectorIN12_GLOBAL__N_18FunctionESaIS1_EE6assignEmRKS1_=..., lang::Module *>=<optimized out>, g6format9TokenRole16formatAfterTokenERNS0_9LineStateEPNS0_20ContinuationIndenterEb=..., eMapIPKN5clang4ExprEPNS2_12threadSafety3til10LiteralPtrELj4ENS_12DenseMapInfoIS5_vEENS_6detail12DenseMapPairIS5_S9_EEEES5_S9_SB_SE_E3endEv=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseDecl.cpp:1940 #37 0x00007fff6efad505 in essISA_ESaIS0_IKSA_jEEE3endEv (or_rangeIT_EE=0x7ffee255c310, DiagnoserIJEE8diagnoseERS0_NS_14SourceLocationENS_8QualTypeE=<optimized out>, g6format9TokenRole16formatAfterTokenERNS0_9LineStateEPNS0_20ContinuationIndenterEb=<optimized out>, EE11varlist_endEv=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/include/clang/Basic/SourceLocation.h:99 #38 0x00007fff6efabe7a in KSt13unordered_mapImN5clang5RISCV7RVVTypeESt4hashImESt8equal_toImESaISt4pairIKmS2_EEE3endEv (or_rangeIT_EE=0x7ffee255c310, 5clang5TokenES4_EEPT0_PT_S8_S6_=..., arameterVisitorEE20WalkUpFromMemberExprEPNS_10MemberExprE=@0x7fff3cbfe34c: ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::g15StmtVisitorBaseIN4llvm14make_const_ptrEN12_GLOBAL__N_119VectorExprEvaluatorEbJEE22VisitArrayInitLoopExprEPKNS_17ArrayInitLoopExprE::plateParameterVisitorEE20WalkUpFromMemberExprEPNS_10MemberExprE::lang19RecursiveASTVisitorIN12_GLOBAL__N_111TypeIndexerEE20TraverseIBOutletAttrEPNS_12IBOutletAttrE) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/Parser.cpp:760 #39 0x00007fff6efa6a7e in SpecialMemberTypeInfoRebuilderE29TransformAMDGPUWavesPerEUAttrEPKNS_20AMDGPUWavesPerEUAttrE (terDataDirectiveEPNS_27OMPTargetEnterDataDirectiveE=..., _cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >=false, d::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseAST.cpp:163 #40 0x00007fff6e2cc016 in <clang::targets::EmscriptenTargetInfo<clang::targets::WebAssembly32TargetInfo> > > &&, std::__nonesuch &&> (or_rangeIT_EE=0x7ffee1265340) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Frontend/FrontendAction.cpp:1069 #41 0x00007fff6e21cfef in 7DependencyCheckerEE25WalkUpFromObjCIvarRefExprEPNS_15ObjCIvarRefExprE (or_rangeIT_EE=0x7ffec0700b50, 16=..., itorE24VisitCXXOperatorCallExprEPNS_19CXXOperatorCallExprE=..., teParamObjectDeclE=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Frontend/ASTUnit.cpp:1245 #42 0x00007fff6e2209f7 in GLOBAL__N_123TransformExprToCapturesEE24TransformObjCIvarRefExprEPNS_15ObjCIvarRefExprE (or_rangeIT_EE=0x7ffec0700b50, 16=..., , std::default_delete<clang::extractapi::ObjCInstanceMethodRecord> >=<optimized out>, teParamObjectDeclE=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Frontend/ASTUnit.cpp:1705 #43 0x00007fff6e221a08 in erIntPairInfoIS9_Lj1ESB_EEEEEE13ComplexRemoveE24TransformObjCIvarRefExprEPNS_15ObjCIvarRefExprE (gExpressionsVisitorE24VisitCXXOperatorCallExprEPNS_19CXXOperatorCallExprE=<optimized out>, teralEEENS1_15BindableMatcherIT_EEN4llvm8ArrayRefIPKNS1_7MatcherIT0_EEEE=<optimized out>, 16=..., tructionPhaseENS_12DenseMapInfoIS3_vEENS_6detail12DenseMapPairIS3_S4_EEEES3_S4_S6_S9_E5eraseENS_16DenseMapIteratorIS3_S4_S6_S9_Lb0EEE=..., iagnoseImmediateEscalatingReasonEPNS_12FunctionDeclEE37ImmediateEscalatingExpressionsVisitorE24VisitCXXOperatorCallExprEPNS_19CXXOperatorCallExprE=..., rm_mve_vcreateq_s16=true, iltin_arm_mve_vqdmlsdhq_s16=..., ladavaq_s16=<optimized out>, ctapi::ObjCInstanceMethodRecord> >=<optimized out>, clang24EvaluatedExprVisitorBaseIN4llvm14make_const_ptrEN12_GLOBAL__N_120NonTrivialCallFinderEE15VisitChooseExprEPKNS_10ChooseExprE=..., rE=<optimized out>, , std::default_delete<clang::extractapi::ObjCInstanceMethodRecord> >=<optimized out>, nceMethodRecord> >=<optimized out>, eDeclRefExprE=<optimized out>, har_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >=<optimized out>, RestoreExprEPNS_27ObjCIndirectCopyRestoreExprE=<optimized out>, d::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >=<optimized out>, <char> > > > > >=<optimized out>, EPNS_18OMPInclusiveClauseE=<optimized out>, r, std::char_traits<char>, std::allocator<char> > *, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >=<optimized out>, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >=<optimized out>, onymous namespace)::GlobalVariableTableInfo>, std::default_delete<llvm::OnDiskIterableChainedHashTable<clang::api_notes::(anonymous namespace)::GlobalVariableTableInfo> > >=..., calatingReasonEPNS_12FunctionDeclEE37ImmediateEscalatingExpressionsVisitorE24VisitCXXOperatorCallExprEPNS_19CXXOperatorCallExprE=<optimized out>, teParamObjectDeclE=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Frontend/ASTUnit.cpp:1836 #44 0x00007fff6da62275 in delete<clang::extractapi::CXXStaticMethodRecord> > (m_n_s16=0x555558b95b70, gets::X86_32TargetInfo> > >=<optimized out>, fo> > >=<optimized out>, L, clang::targets::NaClTargetInfo<clang::targets::X86_32TargetInfo> *, std::default_delete<clang::targets::NaClTargetInfo<clang::targets::X86_32TargetInfo> > >=..., d_<is_move_assignable<const VarDecl *>, is_move_assignable<Kind> >::value, pair<const VarDecl *, Kind> &&, __nonesuch &&>=513, ets::NaClTargetInfo<clang::targets::X86_32TargetInfo> *, std::default_delete<clang::targets::NaClTargetInfo<clang::targets::X86_32TargetInfo> > >=0x7ffee095e300, etInfo> > >=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/tools/libclang/CIndex.cpp:4037 #45 ng::extractapi::CXXStaticMethodRecord, std::default_delete<clang::extractapi::CXXStaticMethodRecord> > (or_rangeIT_EE=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/tools/libclang/CIndex.cpp:4121 #46 tionRecord, std::default_delete<clang::extractapi::MacroDefinitionRecord> > (, std::allocator<const clang::ast_matchers::internal::Matcher<clang::ObjCAutoreleasePoolStmt> *> >=140734265026400) at /usr/include/llvm/ADT/STLFunctionalExtras.h:45 #47 0x00007fffb1335d44 in _B16 ( std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> >, std::allocator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > > > >, __gnu_cxx::__normal_iterator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > *, std::vector<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> >, std::allocator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > > > > >=<optimized out>) at /usr/src/debug/llvm-18.1.8-2.fc40.x86_64/include/llvm/ADT/STLFunctionalExtras.h:68 #48 fx6_gfx7 ( std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> >, std::allocator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > > > >, __gnu_cxx::__normal_iterator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > *, std::vector<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> >, std::allocator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > > > > >=<optimized out>, L14NumNormalLoops=<error reading variable: access outside bounds of object referenced via synthetic pointer>) at /usr/src/debug/llvm-18.1.8-2.fc40.x86_64/lib/Support/CrashRecoveryContext.cpp:426 #49 0x00007fffb1335f58 in N_gfx6_gfx7 (:__normal_iterator<llvm::BasicBlock **, std::vector<llvm::BasicBlock *, std::allocator<llvm::BasicBlock *> > > > > > >, __gnu_cxx::__normal_iterator<const std::pair<llvm::Interval *, __gnu_cxx::__normal_iterator<llvm::BasicBlock **, std::vector<llvm::BasicBlock *, std::allocator<llvm::BasicBlock *> > > > *, std::vector<std::pair<llvm::Interval *, __gnu_cxx::__normal_iterator<llvm::BasicBlock **, std::vector<llvm::BasicBlock *, std::allocator<llvm::BasicBlock *> > > >, std::allocator<std::pair<llvm::Interval *, __gnu_cxx::__normal_iterator<llvm::BasicBlock **, std::vector<llvm::BasicBlock *, std::allocator<llvm::BasicBlock *> > > > > > > >=0x7fff3fdfe6e8) at /usr/src/debug/llvm-18.1.8-2.fc40.x86_64/lib/Support/CrashRecoveryContext.cpp:510 #50 0x00007fffb1336096 in BUFFER_LOAD_SBYTE_LDS_IDXEN_gfx6_gfx7 ( >=@0x7fff04d193b8: 0x7fffb1335f40 <N_gfx6_gfx7>, AL__N_120StoreClusterMutationESt14default_deleteIS1_EEE31__nothrow_default_constructibleEv=@0x7fff04d193b0: 0x7fff3fdfe6e8, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> >, std::allocator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > > > >, __gnu_cxx::__normal_iterator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > *, std::vector<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> >, std::allocator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > > > > >=<optimized out>) at /usr/src/debug/llvm-18.1.8-2.fc40.x86_64/include/llvm/Support/thread.h:43 #51 EN_gfx6_gfx7 (R9_EL0=@0x7fff04d193b8: 0x7fffb1335f40 <N_gfx6_gfx7>, R9_EL0=@0x7fff04d193b0: 0x7fff3fdfe6e8, IN_VFPR16_M1=<optimized out>) at /usr/bin/../lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14/bits/invoke.h:61 #52 FER_LOAD_FORMAT_X_IDXEN_gfx6_gfx7 (R9_EL0=@0x7fff04d193b8: 0x7fffb1335f40 <N_gfx6_gfx7>, R9_EL0=@0x7fff04d193b0: 0x7fff3fdfe6e8, SMAX_OFFEN_gfx12=<optimized out>) at /usr/bin/../lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14/bits/invoke.h:96 #53 IC_INC_X2_ADDR64_RTN_gfx6_gfx7 (V2_nsa_gfx11=..., IN_VFPR16_M1=<optimized out>) at /usr/bin/../lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14/tuple:2921 #54 7 (V2_nsa_gfx11=..., IN_VFPR16_M1=<optimized out>) at /usr/bin/../lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14/tuple:2936 #55 x6_gfx7 (_cxx114listI18InstrProfValueDataSaIS1_EE11_M_transferESt14_List_iteratorIS1_ES5_S5_=0x7fff04d193b0) at /usr/src/debug/llvm-18.1.8-2.fc40.x86_64/include/llvm/Support/thread.h:41 #56 DDR64_RTN_gfx6_gfx7 (_cxx114listI18InstrProfValueDataSaIS1_EE11_M_transferESt14_List_iteratorIS1_ES5_S5_=0x7fff04d193b0) at /usr/src/debug/llvm-18.1.8-2.fc40.x86_64/include/llvm/Support/thread.h:55 #57 0x00007ffff5aa66d7 in start_thread (arg=<optimized out>) at pthread_create.c:447 #58 0x00007ffff5b2a60c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Thread 732 (Thread 0x7fff33e006c0 (LWP 3923482) "Queue(0x5555576"): #0 0x00007fff6e54c420 in L__N_119LValueExprEvaluatorEbJEE15VisitMemberExprEPKNS_10MemberExprE (or_rangeIT_EE=0x7fff33df7378, terDataDirectiveEPNS_27OMPTargetEnterDataDirectiveE=0x0, 35EEaNERKS0_=<optimized out>, ast_matchers8internal18PolymorphicMatcherINS2_31matcher_hasOperatorName0MatcherEFvNS2_8TypeListIJNS0_14BinaryOperatorENS0_19CXXOperatorCallExprENS0_26CXXRewrittenBinaryOperatorENS0_11CXXFoldExprENS0_13UnaryOperatorEEEEEJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEESJ_SJ_EED2Ev=..., eESaIS1_EE6assignEmRKS1_=255, 7_S_check_init_lenEmRKS1_=62) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaDecl.cpp:12292 #1 0x00007fff6e53af3e in LOBAL__N_118LocalVarRefCheckerEbJEE15VisitMemberExprEPKNS_10MemberExprE (or_rangeIT_EE=0x7ffebce09670, terDataDirectiveEPNS_27OMPTargetEnterDataDirectiveE=0x7ffed611c7f0, terator<(anonymous namespace)::BuiltinCandidateTypeSet *>, (anonymous namespace)::BuiltinCandidateTypeSet *>=..., 0TraverseCXXCatchStmtEPNS_12CXXCatchStmtEPN4llvm15SmallVectorImplINS7_14PointerIntPairIPNS_4StmtELj1EbNS7_21PointerLikeTypeTraitsISB_EENS7_18PointerIntPairInfoISB_Lj1ESD_EEEEEE=0x7ffed7f4a190, aseIN5clang6driver8MultilibELb0EE13mallocForGrowEmRm=<optimized out>, ast_matchers8internal18PolymorphicMatcherINS2_31matcher_hasOperatorName0MatcherEFvNS2_8TypeListIJNS0_14BinaryOperatorENS0_19CXXOperatorCallExprENS0_26CXXRewrittenBinaryOperatorENS0_11CXXFoldExprENS0_13UnaryOperatorEEEEEJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEESJ_SJ_EED2Ev=..., lang12DynTypedNodeESaIS1_EE6assignEmRKS1_=..., nEmRKS1_=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaDecl.cpp:10589 #2 0x00007fff6e5350f2 in prE (or_rangeIT_EE=0x7ffebce09670, terDataDirectiveEPNS_27OMPTargetEnterDataDirectiveE=0x7ffed611c7f0, terator<(anonymous namespace)::BuiltinCandidateTypeSet *>, (anonymous namespace)::BuiltinCandidateTypeSet *>=..., aIS1_EE6assignEmRKS1_=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaDecl.cpp:6549 #3 0x00007fff6e5ec58d in GLOBAL__N_121AdjustConstraintDepthEE26TransformConvertVectorExprEPNS_17ConvertVectorExprE (or_rangeIT_EE=0x7ffebce09670, terDataDirectiveEPNS_27OMPTargetEnterDataDirectiveE=0x7ffed40030d0, rse_iterator<std::pair<clang::Expr*, clang::OverloadedOperatorKind> const*>=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE:::reverse_iterator<__gnu_cxx::__normal_iterator<clang::format::FormatStyle *, std::vector<clang::format::FormatStyle, std::allocator<clang::format::FormatStyle> > > > >, terator<(anonymous namespace)::BuiltinCandidateTypeSet *>, (anonymous namespace)::BuiltinCandidateTypeSet *>=..., enseMapInfo<const clang::CXXRecordDecl *, void>, llvm::detail::DenseSetPair<const clang::CXXRecordDecl *>, false>=..., egerLiteralEPNS_14IntegerLiteralE=<optimized out>, faceINS_11DeclRefExprEE7matchesERKS3_PNS1_14ASTMatchFinderEPNS1_21BoundNodesTreeBuilderE=<optimized out>, lang::ValueDecl *, void>, llvm::detail::DenseMapPair<const clang::ValueDecl *, const clang::Expr *> >=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Sema/SemaDeclCXX.cpp:3650 #4 0x00007fff6efb7ab5 in _St20forward_iterator_tagEEE3endEv (or_rangeIT_EE=0x7ffed4b037a0, rse_iterator<std::pair<clang::Expr*, clang::OverloadedOperatorKind> const*>=5, clang15TypedefNameDeclENS_8DenseMapIS5_NS0_13DenseSetEmptyENS_12DenseMapInfoIS5_vEENS0_12DenseSetPairIS5_EEEES9_E3endEv=..., terator<(anonymous namespace)::BuiltinCandidateTypeSet *>, (anonymous namespace)::BuiltinCandidateTypeSet *>=..., tor_tagEEE3endEv=..., faceINS_11DeclRefExprEE7matchesERKS3_PNS1_14ASTMatchFinderEPNS1_21BoundNodesTreeBuilderE=..., efNameDeclENS_8DenseMapIS5_NS0_13DenseSetEmptyENS_12DenseMapInfoIS5_vEENS0_12DenseSetPairIS5_EEEES9_E3endEv=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseCXXInlineMethods.cpp:44 #5 0x00007fff6effaaa4 in KindESt4pairIKS3_PKNS1_9ToolChainEESt10_Select1stIS9_ESt4lessIS3_ESaIS9_EE3endEv (or_rangeIT_EE=0x7ffed4b037a0, rse_iterator<std::pair<clang::Expr*, clang::OverloadedOperatorKind> const*>=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE:::reverse_iterator<__gnu_cxx::__normal_iterator<clang::format::FormatStyle *, std::vector<clang::format::FormatStyle, std::allocator<clang::format::FormatStyle> > > > >, clang15TypedefNameDeclENS_8DenseMapIS5_NS0_13DenseSetEmptyENS_12DenseMapInfoIS5_vEENS0_12DenseSetPairIS5_EEEES9_E3endEv=<optimized out>, tor_tagEEE3endEv=<optimized out>, allVectorTemplateCommonIN5clang7cxindex22IBOutletCollectionInfoEvE3endEv=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseDeclCXX.cpp:3003 #6 0x00007fff6f07ea08 in l12DenseMapPairIS4_S7_EEEESaISD_EE3endEv (or_rangeIT_EE=0x7ffed4b037a0, Attr::ConsumedState>, std::_Optional_base<std::optional<clang::SetTypestateAttr::ConsumedState>, true, true> >=<optimized out>, tor_tagEEE3endEv=..., ZNKSt10unique_ptrIN5clang7targets16SPIR64TargetInfoESt14default_deleteIS2_EEdeEv=..., ectorIN12_GLOBAL__N_18FunctionESaIS1_EE6assignEmRKS1_=<optimized out>, clang15TypedefNameDeclENS_8DenseMapIS5_NS0_13DenseSetEmptyENS_12DenseMapInfoIS5_vEENS0_12DenseSetPairIS5_EEEES9_E3endEv=..., rse_iterator<std::pair<clang::Expr*, clang::OverloadedOperatorKind> const*>=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE:::reverse_iterator<__gnu_cxx::__normal_iterator<clang::format::FormatStyle *, std::vector<clang::format::FormatStyle, std::allocator<clang::format::FormatStyle> > > > >) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseTemplate.cpp:204 #7 0x00007fff6f07bc29 in 6detail12DenseMapPairIS4_S7_EEEESaISD_EE3endEv (or_rangeIT_EE=0x7ffed4b037a0, Attr::ConsumedState>, std::_Optional_base<std::optional<clang::SetTypestateAttr::ConsumedState>, true, true> >=<optimized out>, ectorIN12_GLOBAL__N_18FunctionESaIS1_EE6assignEmRKS1_=<optimized out>, clang15TypedefNameDeclENS_8DenseMapIS5_NS0_13DenseSetEmptyENS_12DenseMapInfoIS5_vEENS0_12DenseSetPairIS5_EEEES9_E3endEv=<optimized out>, rse_iterator<std::pair<clang::Expr*, clang::OverloadedOperatorKind> const*>=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseTemplate.cpp:171 #8 0x00007fff6eff8a7f in KindESt4pairIKS3_PKNS1_9ToolChainEESt10_Select1stIS9_ESt4lessIS3_ESaIS9_EE3endEv (or_rangeIT_EE=0x7ffed4b037a0, rse_iterator<std::pair<clang::Expr*, clang::OverloadedOperatorKind> const*>=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE:::reverse_iterator<__gnu_cxx::__normal_iterator<clang::format::FormatStyle *, std::vector<clang::format::FormatStyle, std::allocator<clang::format::FormatStyle> > > > >, clang15TypedefNameDeclENS_8DenseMapIS5_NS0_13DenseSetEmptyENS_12DenseMapInfoIS5_vEENS0_12DenseSetPairIS5_EEEES9_E3endEv=..., tor_tagEEE3endEv=<optimized out>, allVectorTemplateCommonIN5clang7cxindex22IBOutletCollectionInfoEvE3endEv=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseDeclCXX.cpp:2777 #9 0x00007fff6effbdc3 in et13SpecifierInfoELj16EEEESt10_Select1stIS9_ESt4lessIjESaIS9_EE3endEv (or_rangeIT_EE=0x7ffed4b037a0, rse_iterator<std::pair<clang::Expr*, clang::OverloadedOperatorKind> const*>=<optimized out>, clang15TypedefNameDeclENS_8DenseMapIS5_NS0_13DenseSetEmptyENS_12DenseMapInfoIS5_vEENS0_12DenseSetPairIS5_EEEES9_E3endEv=..., uple_like<ObjCContextInfo> >, is_move_constructible<ObjCContextInfo>, is_move_assignable<ObjCContextInfo> >=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::llocator<char> > > > > >, tInfo<clang::targets::SparcV8elTargetInfo> >=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/include/clang/Parse/Parser.h:1531 #10 0x00007fff6eff3f7c in St4lessIS3_ESaIS9_EE3endEv (or_rangeIT_EE=0x7ffed4b037a0, 15GetExternalDeclEjEEEENS_12DenseMapInfoIS5_vEENS_6detail12DenseMapPairIS5_S9_EEEES5_S9_SB_SE_E3endEv=..., DiagnoserIJEE8diagnoseERS0_NS_14SourceLocationENS_8QualTypeE=..., uple_like<ObjCContextInfo> >, is_move_constructible<ObjCContextInfo>, is_move_assignable<ObjCContextInfo> >=26, tInfo<clang::targets::SparcV8elTargetInfo> >=0x1, teCommonISt4pairIPKN5clang9NamedDeclENS_16FoldingSetNodeIDEEvE3endEv=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseDeclCXX.cpp:3655 #11 SaIcEEEN5clang12ExtraDepKindEESaIS9_EE3endEv (or_rangeIT_EE=0x7ffed4b037a0, ISt4pairINS_12VersionTupleEN5clang9api_notes7TagInfoEEvE3endEv=<optimized out>, rtialSpecializationRecord> >, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int> >, llvm::SmallVector<std::pair<llvm::StringRef, std::unique_ptr<clang::extractapi::GlobalVariableTemplatePartialSpecializationRecord, std::default_delete<clang::extractapi::GlobalVariableTemplatePartialSpecializationRecord> > >, 0U> >=..., EE11varlist_endEv=..., tor_tagEEE3endEv=..., rse_iterator<std::pair<clang::Expr*, clang::OverloadedOperatorKind> const*>=<optimized out>, TypoExprsEE22VisitMSInheritanceAttrEPNS_17MSInheritanceAttrE=<optimized out>, eSourceInfoEE3endEv=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::EdeEv::entityIS3_ESt4lessIS3_ESaIS3_EE3endEv::eEntryRefES2_ESaIS3_EE3endEv, yAttrE=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseDeclCXX.cpp:2148 #12 0x00007fff6efd21b7 in ization10ModuleFileESaIS3_EE3endEv (or_rangeIT_EE=<optimized out>, EE11varlist_endEv=<optimized out>, tor_tagEEE3endEv=<optimized out>, rse_iterator<std::pair<clang::Expr*, clang::OverloadedOperatorKind> const*>=<optimized out>, PtrELj4ENS_12DenseMapInfoIS5_vEENS_6detail12DenseMapPairIS5_S9_EEEES5_S9_SB_SE_E3endEv=<optimized out>, ntifierInfoESt6vectorIPNS2_9MacroInfoESaIS7_EENS_12DenseMapInfoIS4_vEENS_6detail12DenseMapPairIS4_S9_EEEES4_S9_SB_SE_E3endEv=<optimized out>, vm6APSIntESaIS1_EE6resizeEmRKS1_=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseDecl.cpp:4398 #13 0x00007fff6f07ec71 in r12ContentCacheESaIS3_EE3endEv (or_rangeIT_EE=<optimized out>, EE11varlist_endEv=<optimized out>, tor_tagEEE3endEv=<optimized out>, rse_iterator<std::pair<clang::Expr*, clang::OverloadedOperatorKind> const*>=<optimized out>, eSourceInfoEE3endEv=<optimized out>, ntifierInfoESt6vectorIPNS2_9MacroInfoESaIS7_EENS_12DenseMapInfoIS4_vEENS_6detail12DenseMapPairIS4_S9_EEEES4_S9_SB_SE_E3endEv=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/include/clang/Parse/Parser.h:2452 #14 l12DenseMapPairIS4_S7_EEEESaISD_EE3endEv (or_rangeIT_EE=0x7ffed4b037a0, Attr::ConsumedState>, std::_Optional_base<std::optional<clang::SetTypestateAttr::ConsumedState>, true, true> >=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::torIPN5clang6SrcMgr12ContentCacheESaIS3_EE3endEv::d_base<std::optional<clang::attr::SubjectMatchRule> >, tor_tagEEE3endEv=..., ZNKSt10unique_ptrIN5clang7targets16SPIR64TargetInfoESt14default_deleteIS2_EEdeEv=..., ectorIN12_GLOBAL__N_18FunctionESaIS1_EE6assignEmRKS1_=..., clang15TypedefNameDeclENS_8DenseMapIS5_NS0_13DenseSetEmptyENS_12DenseMapInfoIS5_vEENS0_12DenseSetPairIS5_EEEES9_E3endEv=<optimized out>, rse_iterator<std::pair<clang::Expr*, clang::OverloadedOperatorKind> const*>=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::mal_iterator<clang::format::FormatStyle *, std::vector<clang::format::FormatStyle, std::allocator<clang::format::FormatStyle> > > > >) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseTemplate.cpp:238 #15 0x00007fff6f07bc29 in 6detail12DenseMapPairIS4_S7_EEEESaISD_EE3endEv (or_rangeIT_EE=0x7ffed4b037a0, Attr::ConsumedState>, std::_Optional_base<std::optional<clang::SetTypestateAttr::ConsumedState>, true, true> >=<optimized out>, ectorIN12_GLOBAL__N_18FunctionESaIS1_EE6assignEmRKS1_=<optimized out>, clang15TypedefNameDeclENS_8DenseMapIS5_NS0_13DenseSetEmptyENS_12DenseMapInfoIS5_vEENS0_12DenseSetPairIS5_EEEES9_E3endEv=<optimized out>, rse_iterator<std::pair<clang::Expr*, clang::OverloadedOperatorKind> const*>=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseTemplate.cpp:171 #16 0x00007fff6f07b4f1 in _16ImutKeyValueInfoIS9_jEEEEESaISD_EE3endEv (or_rangeIT_EE=0x7ffed4b037a0, Attr::ConsumedState>, std::_Optional_base<std::optional<clang::SetTypestateAttr::ConsumedState>, true, true> >=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::torIPN5clang6SrcMgr12ContentCacheESaIS3_EE3endEv::d_base<std::optional<clang::attr::SubjectMatchRule> >, ectorIN12_GLOBAL__N_18FunctionESaIS1_EE6assignEmRKS1_=<optimized out>, clang15TypedefNameDeclENS_8DenseMapIS5_NS0_13DenseSetEmptyENS_12DenseMapInfoIS5_vEENS0_12DenseSetPairIS5_EEEES9_E3endEv=<optimized out>, rse_iterator<std::pair<clang::Expr*, clang::OverloadedOperatorKind> const*>=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::mal_iterator<clang::format::FormatStyle *, std::vector<clang::format::FormatStyle, std::allocator<clang::format::FormatStyle> > > > >) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseTemplate.cpp:48 #17 0x00007fff6efcb857 in lang15TypedefNameDeclES3_St9_IdentityIS3_ESt4lessIS3_ESaIS3_EE3endEv (or_rangeIT_EE=0x7ffed4b037a0, Attr::ConsumedState>, std::_Optional_base<std::optional<clang::SetTypestateAttr::ConsumedState>, true, true> >=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::torIPN5clang6SrcMgr12ContentCacheESaIS3_EE3endEv::d_base<std::optional<clang::attr::SubjectMatchRule> >, ectorIN12_GLOBAL__N_18FunctionESaIS1_EE6assignEmRKS1_=..., lang::Module *>=..., g6format9TokenRole16formatAfterTokenERNS0_9LineStateEPNS0_20ContinuationIndenterEb=..., eMapIPKN5clang4ExprEPNS2_12threadSafety3til10LiteralPtrELj4ENS_12DenseMapInfoIS5_vEENS_6detail12DenseMapPairIS5_S9_EEEES5_S9_SB_SE_E3endEv=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseDecl.cpp:1920 #18 0x00007fff6efad505 in essISA_ESaIS0_IKSA_jEEE3endEv (or_rangeIT_EE=0x7ffed4b037a0, DiagnoserIJEE8diagnoseERS0_NS_14SourceLocationENS_8QualTypeE=<optimized out>, g6format9TokenRole16formatAfterTokenERNS0_9LineStateEPNS0_20ContinuationIndenterEb=<optimized out>, EE11varlist_endEv=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/include/clang/Basic/SourceLocation.h:99 #19 0x00007fff6efeab23 in airIKmNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt10_Select1stIS8_ESt4lessImESaIS8_EE3endEv (or_rangeIT_EE=0x7ffed4b037a0, endEv=<optimized out>, e::specific_clause_iterator<clang::OMPCollapseClause>, clang::OMPClause *const *, std::forward_iterator_tag, const clang::OMPCollapseClause *, long, const clang::OMPCollapseClause *, const clang::OMPCollapseClause *>=<optimized out>, _ZNK4llvm25SmallVectorTemplateCommonIN12_GLOBAL__N_112ToolSelector13JobActionInfoEvE3endEv=<optimized out>, ang::RecordDecl *, clang::RecordDecl *> >=<optimized out>, 13TreeTransformIN12_GLOBAL__N_129CurrentInstantiationRebuilderEE31TransformRenderScriptKernelAttrEPKNS_22RenderScriptKernelAttrE=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseDeclCXX.cpp:263 #20 0x00007fff6efea7cd in ingIcSt11char_traitsIcESaIcEEEESt10_Select1stIS8_ESt4lessIjESaIS8_EE3endEv (or_rangeIT_EE=0x7ffed4b037a0, Attr::ConsumedState>, std::_Optional_base<std::optional<clang::SetTypestateAttr::ConsumedState>, true, true> >=<optimized out>, ectorIN12_GLOBAL__N_18FunctionESaIS1_EE6assignEmRKS1_=<optimized out>, _ZNK4llvm25SmallVectorTemplateCommonIN12_GLOBAL__N_112ToolSelector13JobActionInfoEvE3endEv=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseDeclCXX.cpp:240 #21 0x00007fff6efcbbeb in lang15TypedefNameDeclES3_St9_IdentityIS3_ESt4lessIS3_ESaIS3_EE3endEv (or_rangeIT_EE=0x7ffed4b037a0, Attr::ConsumedState>, std::_Optional_base<std::optional<clang::SetTypestateAttr::ConsumedState>, true, true> >=ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::torIPN5clang6SrcMgr12ContentCacheESaIS3_EE3endEv::d_base<std::optional<clang::attr::SubjectMatchRule> >, ectorIN12_GLOBAL__N_18FunctionESaIS1_EE6assignEmRKS1_=..., lang::Module *>=<optimized out>, g6format9TokenRole16formatAfterTokenERNS0_9LineStateEPNS0_20ContinuationIndenterEb=..., eMapIPKN5clang4ExprEPNS2_12threadSafety3til10LiteralPtrELj4ENS_12DenseMapInfoIS5_vEENS_6detail12DenseMapPairIS5_S9_EEEES5_S9_SB_SE_E3endEv=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseDecl.cpp:1940 #22 0x00007fff6efad505 in essISA_ESaIS0_IKSA_jEEE3endEv (or_rangeIT_EE=0x7ffed4b037a0, DiagnoserIJEE8diagnoseERS0_NS_14SourceLocationENS_8QualTypeE=<optimized out>, g6format9TokenRole16formatAfterTokenERNS0_9LineStateEPNS0_20ContinuationIndenterEb=<optimized out>, EE11varlist_endEv=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/include/clang/Basic/SourceLocation.h:99 #23 0x00007fff6efabe7a in KSt13unordered_mapImN5clang5RISCV7RVVTypeESt4hashImESt8equal_toImESaISt4pairIKmS2_EEE3endEv (or_rangeIT_EE=0x7ffed4b037a0, 5clang5TokenES4_EEPT0_PT_S8_S6_=..., arameterVisitorEE20WalkUpFromMemberExprEPNS_10MemberExprE=@0x7fff33dfe34c: ng19RecursiveASTVisitorIN12_GLOBAL__N_115FindCXXThisExprEE18VisitNamespaceDeclEPNS_13NamespaceDeclE::g15StmtVisitorBaseIN4llvm14make_const_ptrEN12_GLOBAL__N_119VectorExprEvaluatorEbJEE22VisitArrayInitLoopExprEPKNS_17ArrayInitLoopExprE::plateParameterVisitorEE20WalkUpFromMemberExprEPNS_10MemberExprE::lang19RecursiveASTVisitorIN12_GLOBAL__N_111TypeIndexerEE20TraverseIBOutletAttrEPNS_12IBOutletAttrE) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/Parser.cpp:760 #24 0x00007fff6efa6a7e in SpecialMemberTypeInfoRebuilderE29TransformAMDGPUWavesPerEUAttrEPKNS_20AMDGPUWavesPerEUAttrE (terDataDirectiveEPNS_27OMPTargetEnterDataDirectiveE=..., _cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >=false, d::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Parse/ParseAST.cpp:163 #25 0x00007fff6e2cc016 in <clang::targets::EmscriptenTargetInfo<clang::targets::WebAssembly32TargetInfo> > > &&, std::__nonesuch &&> (or_rangeIT_EE=0x7ffea8451840) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Frontend/FrontendAction.cpp:1069 #26 0x00007fff6e21cfef in 7DependencyCheckerEE25WalkUpFromObjCIvarRefExprEPNS_15ObjCIvarRefExprE (or_rangeIT_EE=0x7ffebe6d1380, 16=..., itorE24VisitCXXOperatorCallExprEPNS_19CXXOperatorCallExprE=..., teParamObjectDeclE=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Frontend/ASTUnit.cpp:1245 #27 0x00007fff6e2209f7 in GLOBAL__N_123TransformExprToCapturesEE24TransformObjCIvarRefExprEPNS_15ObjCIvarRefExprE (or_rangeIT_EE=0x7ffebe6d1380, 16=..., , std::default_delete<clang::extractapi::ObjCInstanceMethodRecord> >=<optimized out>, teParamObjectDeclE=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Frontend/ASTUnit.cpp:1705 #28 0x00007fff6e221a08 in erIntPairInfoIS9_Lj1ESB_EEEEEE13ComplexRemoveE24TransformObjCIvarRefExprEPNS_15ObjCIvarRefExprE (gExpressionsVisitorE24VisitCXXOperatorCallExprEPNS_19CXXOperatorCallExprE=<optimized out>, teralEEENS1_15BindableMatcherIT_EEN4llvm8ArrayRefIPKNS1_7MatcherIT0_EEEE=<optimized out>, 16=..., tructionPhaseENS_12DenseMapInfoIS3_vEENS_6detail12DenseMapPairIS3_S4_EEEES3_S4_S6_S9_E5eraseENS_16DenseMapIteratorIS3_S4_S6_S9_Lb0EEE=..., iagnoseImmediateEscalatingReasonEPNS_12FunctionDeclEE37ImmediateEscalatingExpressionsVisitorE24VisitCXXOperatorCallExprEPNS_19CXXOperatorCallExprE=..., rm_mve_vcreateq_s16=true, iltin_arm_mve_vqdmlsdhq_s16=..., ladavaq_s16=<optimized out>, ctapi::ObjCInstanceMethodRecord> >=<optimized out>, clang24EvaluatedExprVisitorBaseIN4llvm14make_const_ptrEN12_GLOBAL__N_120NonTrivialCallFinderEE15VisitChooseExprEPKNS_10ChooseExprE=..., rE=<optimized out>, , std::default_delete<clang::extractapi::ObjCInstanceMethodRecord> >=<optimized out>, nceMethodRecord> >=<optimized out>, eDeclRefExprE=<optimized out>, har_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >=<optimized out>, RestoreExprEPNS_27ObjCIndirectCopyRestoreExprE=<optimized out>, d::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >=<optimized out>, <char> > > > > >=<optimized out>, EPNS_18OMPInclusiveClauseE=<optimized out>, r, std::char_traits<char>, std::allocator<char> > *, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >=<optimized out>, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >=<optimized out>, onymous namespace)::GlobalVariableTableInfo>, std::default_delete<llvm::OnDiskIterableChainedHashTable<clang::api_notes::(anonymous namespace)::GlobalVariableTableInfo> > >=..., calatingReasonEPNS_12FunctionDeclEE37ImmediateEscalatingExpressionsVisitorE24VisitCXXOperatorCallExprEPNS_19CXXOperatorCallExprE=<optimized out>, teParamObjectDeclE=...) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/lib/Frontend/ASTUnit.cpp:1836 #29 0x00007fff6da62275 in delete<clang::extractapi::CXXStaticMethodRecord> > (m_n_s16=0x555558b95b70, gets::X86_32TargetInfo> > >=<optimized out>, fo> > >=<optimized out>, L, clang::targets::NaClTargetInfo<clang::targets::X86_32TargetInfo> *, std::default_delete<clang::targets::NaClTargetInfo<clang::targets::X86_32TargetInfo> > >=..., d_<is_move_assignable<const VarDecl *>, is_move_assignable<Kind> >::value, pair<const VarDecl *, Kind> &&, __nonesuch &&>=513, ets::NaClTargetInfo<clang::targets::X86_32TargetInfo> *, std::default_delete<clang::targets::NaClTargetInfo<clang::targets::X86_32TargetInfo> > >=0x7ffea8bc6c50, etInfo> > >=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/tools/libclang/CIndex.cpp:4037 #30 ng::extractapi::CXXStaticMethodRecord, std::default_delete<clang::extractapi::CXXStaticMethodRecord> > (or_rangeIT_EE=<optimized out>) at /usr/src/debug/clang-18.1.8-1.fc40.x86_64/tools/libclang/CIndex.cpp:4121 #31 tionRecord, std::default_delete<clang::extractapi::MacroDefinitionRecord> > (, std::allocator<const clang::ast_matchers::internal::Matcher<clang::ObjCAutoreleasePoolStmt> *> >=140734233569120) at /usr/include/llvm/ADT/STLFunctionalExtras.h:45 #32 0x00007fffb1335d44 in _B16 ( std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> >, std::allocator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > > > >, __gnu_cxx::__normal_iterator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > *, std::vector<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> >, std::allocator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > > > > >=<optimized out>) at /usr/src/debug/llvm-18.1.8-2.fc40.x86_64/include/llvm/ADT/STLFunctionalExtras.h:68 #33 fx6_gfx7 ( std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> >, std::allocator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > > > >, __gnu_cxx::__normal_iterator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > *, std::vector<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> >, std::allocator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > > > > >=<optimized out>, L14NumNormalLoops=<error reading variable: access outside bounds of object referenced via synthetic pointer>) at /usr/src/debug/llvm-18.1.8-2.fc40.x86_64/lib/Support/CrashRecoveryContext.cpp:426 #34 0x00007fffb1335f58 in N_gfx6_gfx7 (:__normal_iterator<llvm::BasicBlock **, std::vector<llvm::BasicBlock *, std::allocator<llvm::BasicBlock *> > > > > > >, __gnu_cxx::__normal_iterator<const std::pair<llvm::Interval *, __gnu_cxx::__normal_iterator<llvm::BasicBlock **, std::vector<llvm::BasicBlock *, std::allocator<llvm::BasicBlock *> > > > *, std::vector<std::pair<llvm::Interval *, __gnu_cxx::__normal_iterator<llvm::BasicBlock **, std::vector<llvm::BasicBlock *, std::allocator<llvm::BasicBlock *> > > >, std::allocator<std::pair<llvm::Interval *, __gnu_cxx::__normal_iterator<llvm::BasicBlock **, std::vector<llvm::BasicBlock *, std::allocator<llvm::BasicBlock *> > > > > > > >=0x7fff3dffe6e8) at /usr/src/debug/llvm-18.1.8-2.fc40.x86_64/lib/Support/CrashRecoveryContext.cpp:510 #35 0x00007fffb1336096 in BUFFER_LOAD_SBYTE_LDS_IDXEN_gfx6_gfx7 ( >=@0x7ffef16027b8: 0x7fffb1335f40 <N_gfx6_gfx7>, AL__N_120StoreClusterMutationESt14default_deleteIS1_EEE31__nothrow_default_constructibleEv=@0x7ffef16027b0: 0x7fff3dffe6e8, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> >, std::allocator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > > > >, __gnu_cxx::__normal_iterator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > *, std::vector<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> >, std::allocator<std::vector<llvm::IRSimilarity::IRSimilarityCandidate, std::allocator<llvm::IRSimilarity::IRSimilarityCandidate> > > > > >=<optimized out>) at /usr/src/debug/llvm-18.1.8-2.fc40.x86_64/include/llvm/Support/thread.h:43 #36 EN_gfx6_gfx7 (R9_EL0=@0x7ffef16027b8: 0x7fffb1335f40 <N_gfx6_gfx7>, R9_EL0=@0x7ffef16027b0: 0x7fff3dffe6e8, IN_VFPR16_M1=<optimized out>) at /usr/bin/../lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14/bits/invoke.h:61 #37 FER_LOAD_FORMAT_X_IDXEN_gfx6_gfx7 (R9_EL0=@0x7ffef16027b8: 0x7fffb1335f40 <N_gfx6_gfx7>, R9_EL0=@0x7ffef16027b0: 0x7fff3dffe6e8, SMAX_OFFEN_gfx12=<optimized out>) at /usr/bin/../lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14/bits/invoke.h:96 #38 IC_INC_X2_ADDR64_RTN_gfx6_gfx7 (V2_nsa_gfx11=..., IN_VFPR16_M1=<optimized out>) at /usr/bin/../lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14/tuple:2921 #39 7 (V2_nsa_gfx11=..., IN_VFPR16_M1=<optimized out>) at /usr/bin/../lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14/tuple:2936 #40 x6_gfx7 (_cxx114listI18InstrProfValueDataSaIS1_EE11_M_transferESt14_List_iteratorIS1_ES5_S5_=0x7ffef16027b0) at /usr/src/debug/llvm-18.1.8-2.fc40.x86_64/include/llvm/Support/thread.h:41 #41 DDR64_RTN_gfx6_gfx7 (_cxx114listI18InstrProfValueDataSaIS1_EE11_M_transferESt14_List_iteratorIS1_ES5_S5_=0x7ffef16027b0) at /usr/src/debug/llvm-18.1.8-2.fc40.x86_64/include/llvm/Support/thread.h:55 #42 0x00007ffff5aa66d7 in start_thread (arg=<optimized out>) at pthread_create.c:447 #43 0x00007ffff5b2a60c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
(In reply to Matthew Woehlke from comment #8) > > Maybe a small program ... > > Alas, I don't think it's going to be that simple. I tried this: A good sample program. I just tested it in Debug and Release and it never crashed. Added debug output and verified that getMTime() is never called in the main thread. Looked at recent Qt commits that touched related code. Found a major reimplementation https://codereview.qt-project.org/c/qt/qtbase/+/495840 (first released in Qt 6.7.0) and a fix https://codereview.qt-project.org/c/qt/qtbase/+/578874 (not released yet, only in the dev branch). The second commit looks like it could fix the crash of the first backtrace, but likely not the second backtrace. Could be a regression in Qt 6.7.0 caused by the major reimplementation. Alas KDevelop 6.0 was released after Qt 6.7.0, so few people have tested it with earlier Qt versions. Found this possibly related comment https://bugreports.qt.io/browse/QTBUG-73271?focusedId=444540&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-444540 : "Apparently tzset(3) cannot be called concurrently in a safe way." Qt locks a mutex before calling tzset() as can be seen here: https://codebrowser.dev/qt6/qtbase/src/corelib/global/qtenvironmentvariables.cpp.html#_Z10qLocalTimelP2tm . A comment in the same file says "Access to the tzname[] global in one thread is UB if any other is calling tzset() or anything that behaves as if it called tzset(). So also lock this access to prevent such collisions." Maybe KDevelop uses some non-Qt API concurrently, which cannot possibly lock the same mutex, and that causes a data race and this crash?
Found 3 similar backtraces in reported bugs for another KDE application and Plasma: Bug 438541, Bug 491709, Bug 492634. Searched for "tzset" across KDE projects via https://github.com/search?q=org%3AKDE+tzset&type=code, but did not find anything suspicious in current versions of the KDE frameworks (though found something possibly relevant in Plasma code). Maybe some KDE framework invokes tzset() indirectly or invokes some other function that uses the same data as tzset(). Or perhaps libclang does. Perhaps a thorough analysis of all-threads backtraces would yield something.
*** Bug 488378 has been marked as a duplicate of this bug. ***
Still a problem in 6.3.250802. Turns out I'd actually filed this before; it goes back at *least* to 5.14. Also, it seems I can now reproduce with Blender's sources as well. 😢 This has been 100% reproducible with CMake's sources on multiple machines, even after complete OS resintallation. Am I really the only one that can reproduce this?
(In reply to Matthew Woehlke from comment #15) > Still a problem in 6.3.250802. Turns out I'd actually filed this before; it > goes back at *least* to 5.14. > > Also, it seems I can now reproduce with Blender's sources as well. 😢 > > This has been 100% reproducible with CMake's sources on multiple machines, > even after complete OS resintallation. Am I really the only one that can > reproduce this? The only place where I can find "tzset" in my KDevelop backtrace collection is in the directory that contains the backtraces posted in this bug report. Maybe there is something unusual common to your multiple machines? A rare time zone, unusual date and time configuration, uncommon OS or hardware? Were all KDevelop configuration, state and caches cleared during the OS reinstallation? If not, consider moving all those files elsewhere and test again with the defaults.
"US Eastern" cannot possibly be a "rare" time zone. I'm using (IIRC) LC_TIME=en_SE (which, curiously, no longer seems to exist, but how this would be triggering a *race condition* is baffling); I can probably turn this off and test if I still have issues. It can't be state-related because it's popped in "new" projects. The only *major* thing that comes to mind is that I'm running Fedora. Conceivably it's something specific to that, which should be easy enough to test with a live image. I'll try to do that test as soon as I get a chance...
Confirmed: I can reproduce this on a "fresh" live image. Exact steps that in theory will allow anyone to reliably reproduce this issue: - Obtain and boot a Fedora 42 KDE spin live image. (Probably still works with 43, but I tested with 42.) - Run Konsole and become root (`su`) - `dnf install kdevelop` - `exit` (stop being root; can also use a new tab) - `git clone https://gitlab.kitware.com/cmake/cmake.git` - Run KDevelop - Import the clone of CMake as a project in KDevelop - Ignore the SSL-related configure error - Wait while KDevelop tries to parse everything Since this is using a live image, it can't be related to old caches or imported settings. It *might* be specific to Fedora, though; I could imagine they're carrying some patch that triggers the issue.
Given the suspicion that this is Fedora's fault, I have now cross-filed this at https://bugzilla.redhat.com/show_bug.cgi?id=2412793.
I have a new/different backtrace: #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 #1 0x00007ffff5a81f63 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89 #2 0x00007ffff5a27f3e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #3 0x00007ffff5a0f6d0 in __GI_abort () at abort.c:77 #4 0x00007ffff5a106f3 in __libc_message_impl (fmt=fmt@entry=0x7ffff5bc24ec "%s\n") at ../sysdeps/posix/libc_fatal.c:134 #5 0x00007ffff5a8c035 in malloc_printerr (str=str@entry=0x7ffff5bc5768 "free(): invalid next size (fast)") at malloc.c:5829 #6 0x00007ffff5a8e63a in _int_free_chunk (av=<optimized out>, p=<optimized out>, size=<optimized out>, have_lock=have_lock@entry=0) at malloc.c:4611 #7 0x00007ffff5a91352 in _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:4699 #8 __GI___libc_free (mem=<optimized out>) at malloc.c:3476 #9 0x00007ffff6151dd8 in QMetaCallEvent::~QMetaCallEvent (this=0x7ffcd9651600) at /usr/src/debug/qt6-qtbase-6.9.3-1.fc42.x86_64/src/corelib/kernel/qobject.cpp:610 #10 0x00007ffff6151e45 in QMetaCallEvent::~QMetaCallEvent (this=0x7ffcd9651600) at /usr/src/debug/qt6-qtbase-6.9.3-1.fc42.x86_64/src/corelib/kernel/qobject.cpp:615 #11 0x00007ffff60fd470 in std::default_delete<QEvent>::operator() (this=<optimized out>, __ptr=0x7ffcd9651600) at /usr/include/c++/15/bits/unique_ptr.h:87 #12 std::unique_ptr<QEvent, std::default_delete<QEvent> >::~unique_ptr (this=<synthetic pointer>) at /usr/include/c++/15/bits/unique_ptr.h:399 #13 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5555555b0dd0) at /usr/src/debug/qt6-qtbase-6.9.3-1.fc42.x86_64/src/corelib/kernel/qcoreapplication.cpp:1896 #14 0x00007ffff6410caf in postEventSourceDispatch (s=0x5555555f2930) at /usr/src/debug/qt6-qtbase-6.9.3-1.fc42.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:246 I suspect `tzset` is a red herring. It looks to me like heap corruption... which, unfortunately, means it could be happening who-knows-where. I fired up an instance under valgrind that is probably going to run for a long, long time before parsing finishes, and may or may not find anything.
(In reply to Matthew Woehlke from comment #20) > I fired up an instance under valgrind that is probably going to run for a > long, long time before parsing finishes, and may or may not find anything. The DUChain cache should be cleared before such testing. Finding where exactly on disk the cache has been corrupted during previous KDevelop runs is not helpful.
> Finding where exactly on disk the cache has been corrupted ... What does that have to do with *heap* corruption? And even if the problem *is* related to a corrupt cache (which it isn't; it's reproducible on a system running KDevelop for the first time), isn't knowing how file corruption turns into memory corruption still useful? Anyway, this is academic, because (not entirely surprisingly) the valgrind run didn't crash. Which almost certainly means the issue *is* heap corruption, because valgrind is known to change memory access patterns (and is also somewhat forgiving of heap corruption). Unfortunately, I didn't think to save the logs or turn off qDebug, which means any errors got lost in the incredible spam of other output. I can do this again (and, ahem, maybe you can remind me how to purge the cache first?) with qDebug disabled, but it takes many, many hours to run, so I can't do it during the day. (Well, unless I break out the live image again, which I might do; I have a separate computer for that so it doesn't tie down the machine I need for work. But it's more effort to set up.)
(In reply to Matthew Woehlke from comment #22) > What does that have to do with *heap* corruption? And even if the problem > *is* related to a corrupt cache (which it isn't; it's reproducible on a > system running KDevelop for the first time), isn't knowing how file > corruption turns into memory corruption still useful? There may be two different problems: 1. The cache gets corrupted - this is the root cause and should certainly be fixed. 2. A corrupted cache causes a crash - this cannot generally be fixed because the cache is binary and KDevelop assumes it is consistent. KDevelop clears the cache after each minor version update or if a sign of cache corruption is detected. It also offers the user to clear the cache after any crash because the cache *may* be corrupted. KDevelop cannot realistically sanitize any binary corruption and keep the current level of performance. > and, ahem, > maybe you can remind me how to purge the cache first? Run `kdevelop --list-sessions`. Find the session you are testing in the list. Remove the corresponding subdirectory from ~/.cache/kdevduchain/
Valgrind is not the only tool that can help debug heap corruption or a data race. See e.g. https://en.wikibooks.org/wiki/Linux_Applications_Debugging_Techniques/Heap_corruption (the ubsan and GCC's libsanitizer have been used to fix KDevelop bugs judging by commit messages). GCC also has a thread sanitizer, which might help too.
> The cache gets corrupted - this is the root cause and should certainly be fixed. Okay, while I grant that you probably know more about KDevelop's innards than I do, I remain skeptical of this claim. Again, I note that the crash occurs on the first execution within a pristine environment. If the *root* problem is cache corruption, that implies that something produces a bad result, writes it to disk, *reads it back* in the same instance, and causes heap corruption as a result, yes? > Valgrind is not the only tool ... Yes, I know, but it has the significant advantage of not needing to recompile the application being tested. (Or its dependent libraries, which IIUC may be needed for *san tools. And, especially if the problem relates to a Fedora patch, getting a build that actually has the problem may be challenging. That's not to say I won't possibly try that eventually, but not until I'm confident that valgrind can't help.)
(In reply to Matthew Woehlke from comment #25) > > The cache gets corrupted - this is the root cause and should certainly be fixed. > > Okay, while I grant that you probably know more about KDevelop's innards > than I do, I remain skeptical of this claim. Again, I note that the crash > occurs on the first execution within a pristine environment. If the *root* > problem is cache corruption, that implies that something produces a bad > result, writes it to disk, *reads it back* in the same instance, and causes > heap corruption as a result, yes? Not sure if reading the cache back ever happens, but it might. Another possibility is that the first crash corrupts the cache along the way - if it happens at the moment when the cache stored on disk is temporarily inconsistent. Whether or not the cache gets corrupted, I am not certain. But as a cache corruption is *possible*, the cache should ideally be cleaned before performing time-consuming tests. Otherwise, we may not be sure whether a true bug or an unfixable crash due to a cache corruption has been detected.
Results! Valgrind *did* find a possible memory corruption: Invalid write of size 1 at 0x48625B6: strcpy (vg_replace_strmem.c:565) by 0x4C20E3FC: UnknownInlinedFun (string_fortified.h:81) by 0x4C20E3FC: cmListFileLexerSetToken (cmListFileLexer.in.l:279) by 0x4C20E6DF: cmListFileLexer_yylex (cmListFileLexer.in.l:247) by 0x4C211ABD: UnknownInlinedFun (cmListFileLexer.in.l:507) by 0x4C211ABD: CMakeListsParser::readCMakeFile(QString const&) (cmakelistsparser.cpp:109) This happened at least several times. There are a couple invalid reads in Qt, also, but they're from QUtf8::convertToUnicode and might be just aggressive optimization, or what look like one-offs. Let me know if you want the whole log.
See https://bugs.kde.org/show_bug.cgi?id=439592#c17. Maybe the built-in fork of the files from CMake should be updated. A merge request is welcome.
...and I finally bit the bullet and created an asan build, and that was very unhappy about the same function (cmListFileLexerSetToken). I looked at that code and nothing jumped out at me; nevertheless, that's two data points indicating that as the culprit. Any thoughts? I'm at a point now that it should be not-difficult to try patches...
(In reply to Matthew Woehlke from comment #29) > Any thoughts? I'm at a point now that it > should be not-difficult to try patches... Check what has changed in nearby code upstream perhaps.
> See https://bugs.kde.org/show_bug.cgi?id=439592#c17. Thanks, that's helpful. I can now provide a much simpler test case. Copy `Tests/RunCMake/Syntax/NullTerminatedArgument.cmake` from CMake's sources to a `CMakeLists.txt` somewhere and try to load it as a project. I don't know if this will *crash* a regular build of KDevelop, but it reproduces the asan error without having to parse all of CMake.
(In reply to Matthew Woehlke from comment #31) > > See https://bugs.kde.org/show_bug.cgi?id=439592#c17. > > Thanks, that's helpful. I can now provide a much simpler test case. Copy > `Tests/RunCMake/Syntax/NullTerminatedArgument.cmake` from CMake's sources to > a `CMakeLists.txt` somewhere and try to load it as a project. I don't know > if this will *crash* a regular build of KDevelop, but it reproduces the asan > error without having to parse all of CMake. SIGABRT right after copying the contents of https://gitlab.kitware.com/cmake/cmake/-/blob/master/Tests/RunCMake/Syntax/NullTerminatedArgument.cmake into a CMakeLists.txt document open in KDevelop that belongs to an open project. Same after restarting KDevelop. The KDevelop output: free(): invalid next size (fast) The backtrace: #0 ??() at /usr/lib/libc.so.6 #1 raise() at /usr/lib/libc.so.6 #2 abort() at /usr/lib/libc.so.6 #3 ??() at /usr/lib/libc.so.6 #4 ??() at /usr/lib/libc.so.6 #5 ??() at /usr/lib/libc.so.6 #6 QMetaCallEvent::~QMetaCallEvent()() at /usr/lib/libQt6Core.so.6 #7 QMetaCallEvent::~QMetaCallEvent()() at /usr/lib/libQt6Core.so.6 #8 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)() at /usr/lib/libQt6Core.so.6 #9 ??() at /usr/lib/libQt6Core.so.6 #10 ??() at /usr/lib/libglib-2.0.so.0 #11 ??() at /usr/lib/libglib-2.0.so.0 #12 g_main_context_iteration() at /usr/lib/libglib-2.0.so.0 #13 QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)() at /usr/lib/libQt6Core.so.6 #14 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)() at /usr/lib/libQt6Core.so.6 #15 QCoreApplication::exec()() at /usr/lib/libQt6Core.so.6 #16 main() at /path/to/kdevelop/app/main.cpp:836 I am too busy with other fixes and reviews to investigate further, but I'll be happy to review a merge request with a fix.
Crud. I realize I don't actually know how to test changes. I am rebuilding KDevelop itself, but it is picking up my packaged *plugins*. How do I point my dev build at my dev plugins? (Something with QT_PLUGIN_PATH?) Anyway... https://gitlab.kitware.com/cmake/cmake/-/commit/7040406f86785096e2690000bd25d56fd4a32d81 looks interesting. I applied that locally, but... see prior comment. 🙂 Otherwise, I'm happy to test on my end, but if you like, I can post my changes...
FWIW, that stack trace looks consistent with what I hit originally. And, knowing that the underlying issue is a buffer overrun that's corrupting the heap, it isn't surprising that the actual crash pops somewhere unrelated. Nice to confirm we have a *simple*, reproducible test case now, though. Thanks!
(In reply to Matthew Woehlke from comment #33) > Crud. I realize I don't actually know how to test changes. I am rebuilding > KDevelop itself, but it is picking up my packaged *plugins*. How do I point > my dev build at my dev plugins? (Something with QT_PLUGIN_PATH?) Set a CMake variable CMAKE_INSTALL_PREFIX to the path to an empty directory (can be under /home somewhere). Build KDevelop, then run `ninja install` or `make install`. Then run `source prefix.sh` from the KDevelop build directory. Then run e.g. `.bin/kdevelop -s test-session`.
Try applying the commit that added that crashing test file: https://gitlab.kitware.com/cmake/cmake/-/commit/14d9a11be9f8f7c79397e788d09bfe35dcb55efe
> Try applying the commit that added that crashing test file: https://gitlab.kitware.com/cmake/cmake/-/commit/14d9a11be9f8f7c79397e788d09bfe35dcb55efe Uh... TBH, I have no idea what most of that code does. The other commit I mentioned was at least comprehensible. 🙂 Also... I think it worked! The trivial reproducer no longer crashes. All-of-CMake is still parsing, but made it to 57% which I believe is much farther than I've ever seen it get. I'm going to attach my version of 7040406f86785096e2690000bd25d56fd4a32d81 (as applied to 25.08.3, though I suspec this code hasn't changed much on the KDevelop side).
Created attachment 186895 [details] Possible patch (applies upstream commit 7040406f8678)
Let me know if you'd rather I submit that as an MR. I can, but not immediately; I've been testing on my work machine, which does not have the ability to submit MRs, and don't (currently) have a checkout on my personal machine.
A MR is the way to go. But I am not sure cherry-picking a single *recent* CMake commit into old versions of copied files is safe. Updating to latest CMake code would be much better as it would also fix other potential bugs and allow KDevelop to parse CMake features introduced since the last synchronization in https://commits.kde.org/kdevelop/f8dad839922dfc42ff89e8f5adea6d017c05b69b (2017). I have found two changes to KDevelop's CMake fork since that last synchronization: https://commits.kde.org/kdevelop/3fde9551d5870229d42cc1a61f152fc8d0876b71 and https://commits.kde.org/kdevelop/6004c8fb46c31bd887015e397a3de29655fd06f9 The second commit essentially (unknowingly?) reverts the first, which suggests that such small isolated fixes can cause other bugs and therefore may have to be reverted.