Summary: | Assertion `!frame_id_eq (*this_id, outer_frame_id)' failed triggered when backtracing a green thread | ||
---|---|---|---|
Product: | gdb | Reporter: | Botond Dénes <dns.botond> |
Component: | c++ | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | simark, tromey |
Priority: | P2 | ||
Version: | 9.1 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: | ||
Attachments: | Source |
Description
Botond Dénes
2020-08-14 06:50:58 UTC
Created attachment 12770 [details]
Source
The coredump and the executable are too large to attach unfortunately, so for now I'm attaching the source file only. Built on Fedora 32.
This looks really similar to something I'm working on right now. GDB currently does not support having a frame inlined into the outer frame. There was a first version of a patch sent here: https://sourceware.org/pipermail/gdb-patches/2020-March/166786.html (the discussion continues in the following months, the web archive does not automatically link them together) I have a patch series almost ready to send that might address your problem. (In reply to Botond Dénes from comment #1) > Created attachment 12770 [details] > Source > > The coredump and the executable are too large to attach unfortunately, so > for now I'm attaching the source file only. Built on Fedora 32. Can you give the full compilation line you use? As well as the compiler version? Fedora32 $ gcc --version gcc (GCC) 10.2.1 20200723 (Red Hat 10.2.1-1) $ gdb --version GNU gdb (GDB) Fedora 9.1-5.fc32 https://github.com/scylladb/seastar $ git log -1 --oneline 1a4b3eb3 (HEAD -> master) sstring: mark str() and methods using it as noexcept On Fedora 32 you can compile seastar by doing: $ ./install-dependencies.sh $ ./configure.py $ ninja -c build/release To build the application: $ g++ exp.cpp $(pkg-config --libs --cflags --static /path/to/seastar/build/release/seastar.pc) -O0 -g -std=c++20 -Wfatal-errors -o exp -std=c++20 is not needed, seastar supports c++17 as well. See also the green thread discussion https://sourceware.org/pipermail/gdb/2022-March/049959.html |