You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: Flatpak Saved Profile fails on master: GDB can't resolve CEF source lines from the Debug extension #2363
What the check does: the CEF binary and the libcef.so.debug in the Debug extension exist and their build IDs match (that check comes first and passes). Then gdb -batch ... 'info line cef_version_info' has to print Line N of .*libcef_dll2.cc, and it doesn't.
From the evidence artifact of master run 40176339062 (command-11.log):
add symbol table from file ".../com.obsproject.Studio.Debug/.../libcef.so.debug"
No line number information available for address 0x390ffd0 <cef_version_info>
GDB resolves the symbol but finds no line table. The build IDs match (5efc141e...), so it's the right debug file.
Since #1948, Linux uses our own CEF 8078 (obs-rust/cef release 8078). It is built by obs-rust/obs-studio-libsrecipes/cef/linux/build.sh:21:
symbol_level=0 produces no DWARF, only the symbol table. The check in ci/flatpak_runtime.py:298 (from #1771) expects Line N of ...libcef_dll2.cc, which upstream's 7871 binaries, built with line tables, gave. So the job has failed since #1948 merged, and only dispatch, schedule and the release gate run it.
Options (needs a decision)
Rebuild CEF 8078 with symbol_level=1. That adds line tables only, so crash stacks have file:line, and the check passes unchanged. Cost: one long CEF rebuild in obs-studio-libs, a new obs-rust/cef asset with a new sha256 in the manifest, and a bigger libcef.so.debug in the Debug extension (it is zstd-compressed by eu-elfcompress, and symbol_level=1 is roughly hundreds of MB raw).
Relax the check to what symbol_level=0 gives. Require GDB to resolve cef_version_info to an address from the Debug extension, plus the build ID match. Cheap, but crash reports from browser sources lose file:line inside CEF.
I'd do 1, because the Debug extension exists to give line numbers. Until then, 2 keeps the release gate green, and it should be marked as temporary with a link to the rebuild. I'm leaving the choice open because 1 is a cross-repo rebuild.
The CEF 8078 build has no debug info at all, so there's no line table to resolve.
Evidence log command-11.log (run 40176339062): gdb loads libcef.so.debug and finds the symbol, but prints No line number information available for address 0x390ffd0 <cef_version_info>. The name comes from the exported dynamic symbol table, not from DWARF.
So none of the runner's GDB, the DWARF version or the file name is the cause, and the Flatpak job will fail like this on every release gate.
Fix options
Rebuild CEF 8078 with symbol_level=1 (line tables only, no type info) in obs-studio-libs, publish it, and bump the manifest's URL and sha256. This keeps the check meaningful: crash backtraces in browser sources get source lines. It costs one CEF rebuild in obs-studio-libs CI and a larger debug extension, roughly hundreds of MB. Because the line tables live only in the Debug extension, the app itself doesn't grow.
Relax ci/flatpak_runtime.py:299 so a symbol hit counts when CEF has no DWARF. Cheap, but it gives up what the check exists to prove.
I recommend 1. It is the obs-studio-libs owner's call, since that repo builds and publishes CEF and the rebuild is long. I'll do 2 as a stop-gap only if you want the release gate green before the rebuild lands.
I opened the fix in obs-studio-libs: the CEF 8078 recipe now builds with symbol_level=1 (PR linked above). After it merges, CEF needs a rebuild and release, and then the obs-studio pin needs bumping.
The rebuilt CEF is published: obs-rust/cef release 8078-r2, with cef_binary_8078_linux_x86_64.tar.xz at 272,413,736 bytes. sha256 is dc463c360d4b8e4eb482fa78a5b92b996b053a4a8650dba3052c89390430ac9c (GitHub's asset digest matches). It's built with symbol_level=1, and readelf -S on Release/libcef.so shows .debug_line and .debug_info, the line table the GDB check needs. Release 8078 stays up, so master keeps working until the bump.
The pin bump for a worker touches these files:
CMakePresets.json:62: ubuntu-x86_64 hash, and the download URL to releases/download/8078-r2/ wherever the preset builds it;
build-aux/io.github.obs_rust.OBSStudioRust.json:125-126: url and sha256;
ci/data/cef-linux-x86_64-files.txt:3: sha256 comment. Regenerate the file list from the new archive; the debug sections add no files, but check.
Acceptance: the Flatpak Saved Profile job (ci/flatpak_runtime.py:299) resolves info line cef_version_info. Marking ready.
Claiming: #2363 pin bump. Move the CEF URL/sha256 to 8078-r2 in CMakePresets.json, the Flatpak manifest and the file list; verify with a Flatpak-only ci.yml dispatch (Saved Profile GDB check).
This now blocks releases: release-rust.yaml run 40364814002 on master fails its release gate at Flatpak Saved Profile, the same harness. The log isn't out until the run finishes; last time the step failed it was ci/flatpak_runtime.py:364 'saved profile must produce exactly one OBS log'. No signed macOS release (#2383) can publish until this passes, so I'm raising it to P1.
Progress, and a new cause. In release run 40364814002 the Flatpak Saved Profile step got past the log check and reached the GDB step (ci/flatpak_runtime.py:324), and GDB itself crashed (evidence command-13.log):
add symbol table from file ".../libcef.so.debug"
malloc(): corrupted top size
Fatal signal: Aborted ... A fatal error internal to GDB has been detected
GDB 17.1 (Ubuntu resolute) aborts while it loads the r2 debug file, whose .debug_line is about 270 MB. The line table is there now, which is what the rebuild was for, but the checking tool falls over on it. Suggested harness fix for a worker: resolve the line with addr2line, or llvm-dwarfdump --lookup, instead of GDB. Take cef_version_info's address from nm -D libcef.so, run addr2line -e libcef.so.debug <addr>, and require a file:line answer that isn't ??:0. That checks the same thing, a line table resolvable from the Debug extension, without GDB loading every CU. This is still the P1 blocking releases.
Reopening: #2474 closed this automatically, but the release gate still fails. In release run 40364814002 (17:02, after #2474), the Flatpak Saved Profile job fails at ci/flatpak_runtime.py:324 because GDB 17.1 aborts while loading the r2 libcef.so.debug; see my earlier comment for the fix (use addr2line instead of GDB). It's still the P1 blocking releases.
Merged:#2551 (1bfe5e346), the harness fix for the GDB abort.
Instead of GDB, the check now reads cef_version_info's address with readelf --syms --wide on the Debug extension's libcef.so.debug (falling back to the stripped binary's --dyn-syms) and resolves its source line with addr2line -f -i, requiring a libcef_dll2.cc:<line> location and still failing closed on ??:0. The build-ID equality check is unchanged.
Verification dispatched against the existing r2 export, so no Flatpak rebuild is needed: ci.yml on master with flatpak-runtime-reuse-run=40317038292 → run 40449886253, job Recheck Flatpak Saved Profile. That run's export already contains the r2 CEF (cef_build_id 9c3a219d…). I'll report the outcome here; the release gate is the real confirmation.
Verified: the Flatpak Saved Profile job passes on master with the binutils check.Run 40449886253 (flatpak-runtime-reuse-run=40317038292, job 122009880500) is green: status: success with cef_build_id 9c3a219d52e2ca944f4ac44745a743f284c2a21b, i.e. the same r2 CEF/debug pair that aborted GDB 17.1.
The check fails closed on ??:0 or a location outside libcef_dll2.cc, so passing means addr2line resolved cef_version_info to a real CEF source line from the installed Debug extension — the exact assertion GDB could not complete. The build-ID equality check ran first and passed as before, and the rest of the qualification (four saved sources, 12 s recording, clean exit, log count, module inventory) is unchanged and green.
Closing: root cause was GDB, not the app or the CEF build. The release gate is the final confirmation on the next release run.
Activity
zackees commentedon Oct 25, 2026
Claiming: #2363.
zackees commentedon Oct 25, 2026
Claiming: investigating from run 40176339062's flatpak-runtime-evidence.
zackees commentedon Oct 25, 2026
Root cause
From the evidence artifact of master run 40176339062 (
command-11.log):GDB resolves the symbol but finds no line table. The build IDs match (
5efc141e...), so it's the right debug file.Since #1948, Linux uses our own CEF 8078 (
obs-rust/cefrelease 8078). It is built byobs-rust/obs-studio-libsrecipes/cef/linux/build.sh:21:symbol_level=0produces no DWARF, only the symbol table. The check inci/flatpak_runtime.py:298(from #1771) expectsLine N of ...libcef_dll2.cc, which upstream's 7871 binaries, built with line tables, gave. So the job has failed since #1948 merged, and only dispatch, schedule and the release gate run it.Options (needs a decision)
symbol_level=1. That adds line tables only, so crash stacks have file:line, and the check passes unchanged. Cost: one long CEF rebuild in obs-studio-libs, a newobs-rust/cefasset with a new sha256 in the manifest, and a biggerlibcef.so.debugin the Debug extension (it is zstd-compressed byeu-elfcompress, and symbol_level=1 is roughly hundreds of MB raw).symbol_level=0gives. Require GDB to resolvecef_version_infoto an address from the Debug extension, plus the build ID match. Cheap, but crash reports from browser sources lose file:line inside CEF.I'd do 1, because the Debug extension exists to give line numbers. Until then, 2 keeps the release gate green, and it should be marked as temporary with a link to the rebuild. I'm leaving the choice open because 1 is a cross-repo rebuild.
zackees commentedon Oct 25, 2026
Root cause
The CEF 8078 build has no debug info at all, so there's no line table to resolve.
command-11.log(run 40176339062): gdb loadslibcef.so.debugand finds the symbol, but printsNo line number information available for address 0x390ffd0 <cef_version_info>. The name comes from the exported dynamic symbol table, not from DWARF.8078). Its recipe,obs-rust/obs-studio-libsrecipes/cef/linux/build.sh:21, builds withGN_DEFINES="is_official_build=true ... symbol_level=0 ...".symbol_level=0means no DWARF. Thelibcef.so.debugthat flatpak-builder splits off holds only the symbol table. The check passed before build: Linux x86_64 uses CEF 8078 (Chromium 156) with proprietary codecs (#1864) #1948, so the 7871 mirror CEF presumably carried line tables. I haven't checked that binary.So none of the runner's GDB, the DWARF version or the file name is the cause, and the Flatpak job will fail like this on every release gate.
Fix options
symbol_level=1(line tables only, no type info) in obs-studio-libs, publish it, and bump the manifest's URL and sha256. This keeps the check meaningful: crash backtraces in browser sources get source lines. It costs one CEF rebuild in obs-studio-libs CI and a larger debug extension, roughly hundreds of MB. Because the line tables live only in the Debug extension, the app itself doesn't grow.ci/flatpak_runtime.py:299so a symbol hit counts when CEF has no DWARF. Cheap, but it gives up what the check exists to prove.I recommend 1. It is the obs-studio-libs owner's call, since that repo builds and publishes CEF and the rebuild is long. I'll do 2 as a stop-gap only if you want the release gate green before the rebuild lands.
zackees commentedon Oct 25, 2026
I opened the fix in obs-studio-libs: the CEF 8078 recipe now builds with
symbol_level=1(PR linked above). After it merges, CEF needs a rebuild and release, and then the obs-studio pin needs bumping.cef: Build 8078 with line tables (symbol_level=1) (#13)
zackees commentedon Oct 26, 2026
The rebuilt CEF is published: obs-rust/cef release
8078-r2, withcef_binary_8078_linux_x86_64.tar.xzat 272,413,736 bytes. sha256 isdc463c360d4b8e4eb482fa78a5b92b996b053a4a8650dba3052c89390430ac9c(GitHub's asset digest matches). It's built withsymbol_level=1, andreadelf -SonRelease/libcef.soshows.debug_lineand.debug_info, the line table the GDB check needs. Release8078stays up, so master keeps working until the bump.The pin bump for a worker touches these files:
CMakePresets.json:62:ubuntu-x86_64hash, and the download URL toreleases/download/8078-r2/wherever the preset builds it;build-aux/io.github.obs_rust.OBSStudioRust.json:125-126: url and sha256;ci/data/cef-linux-x86_64-files.txt:3: sha256 comment. Regenerate the file list from the new archive; the debug sections add no files, but check.Acceptance: the Flatpak Saved Profile job (
ci/flatpak_runtime.py:299) resolvesinfo line cef_version_info. Marking ready.zackees commentedon Oct 26, 2026
Claiming: #2363 pin bump. Move the CEF URL/sha256 to
8078-r2in CMakePresets.json, the Flatpak manifest and the file list; verify with a Flatpak-onlyci.ymldispatch (Saved Profile GDB check).zackees commentedon Oct 26, 2026
Claiming: #2363, the 8078-r2 pin bump (CMakePresets.json, the Flatpak manifest, ci/data/cef-linux-x86_64-files.txt regenerated from the new archive).
zackees commentedon Oct 26, 2026
Withdrawing my claim above: #2474 from the other claim covers the same change (with more tests). I didn't push.
2 remaining items
ci: Test that the Flatpak runtime test uses the Rust brand's config f…
cef: Pin Linux x86_64 to the 8078-r2 rebuild with line tables (obs-ru…
ci: Ship a .flatpak bundle with each release, the one the gate ran (o…
zackees commentedon Oct 26, 2026
This now blocks releases: release-rust.yaml run 40364814002 on master fails its release gate at Flatpak Saved Profile, the same harness. The log isn't out until the run finishes; last time the step failed it was
ci/flatpak_runtime.py:364'saved profile must produce exactly one OBS log'. No signed macOS release (#2383) can publish until this passes, so I'm raising it to P1.zackees commentedon Oct 26, 2026
Progress, and a new cause. In release run 40364814002 the Flatpak Saved Profile step got past the log check and reached the GDB step (
ci/flatpak_runtime.py:324), and GDB itself crashed (evidencecommand-13.log):GDB 17.1 (Ubuntu resolute) aborts while it loads the r2 debug file, whose
.debug_lineis about 270 MB. The line table is there now, which is what the rebuild was for, but the checking tool falls over on it. Suggested harness fix for a worker: resolve the line withaddr2line, orllvm-dwarfdump --lookup, instead of GDB. Takecef_version_info's address fromnm -D libcef.so, runaddr2line -e libcef.so.debug <addr>, and require afile:lineanswer that isn't??:0. That checks the same thing, a line table resolvable from the Debug extension, without GDB loading every CU. This is still the P1 blocking releases.zackees commentedon Oct 26, 2026
Reopening: #2474 closed this automatically, but the release gate still fails. In release run 40364814002 (17:02, after #2474), the Flatpak Saved Profile job fails at
ci/flatpak_runtime.py:324because GDB 17.1 aborts while loading the r2libcef.so.debug; see my earlier comment for the fix (useaddr2lineinstead of GDB). It's still the P1 blocking releases.zackees commentedon Oct 27, 2026
Merged: #2551 (
1bfe5e346), the harness fix for the GDB abort.Instead of GDB, the check now reads
cef_version_info's address withreadelf --syms --wideon the Debug extension'slibcef.so.debug(falling back to the stripped binary's--dyn-syms) and resolves its source line withaddr2line -f -i, requiring alibcef_dll2.cc:<line>location and still failing closed on??:0. The build-ID equality check is unchanged.Verification dispatched against the existing r2 export, so no Flatpak rebuild is needed: ci.yml on master with
flatpak-runtime-reuse-run=40317038292→ run 40449886253, jobRecheck Flatpak Saved Profile. That run's export already contains the r2 CEF (cef_build_id 9c3a219d…). I'll report the outcome here; the release gate is the real confirmation.zackees commentedon Oct 27, 2026
Verified: the Flatpak Saved Profile job passes on master with the binutils check. Run 40449886253 (
flatpak-runtime-reuse-run=40317038292, job 122009880500) is green:status: successwithcef_build_id 9c3a219d52e2ca944f4ac44745a743f284c2a21b, i.e. the same r2 CEF/debug pair that aborted GDB 17.1.The check fails closed on
??:0or a location outsidelibcef_dll2.cc, so passing meansaddr2lineresolvedcef_version_infoto a real CEF source line from the installed Debug extension — the exact assertion GDB could not complete. The build-ID equality check ran first and passed as before, and the rest of the qualification (four saved sources, 12 s recording, clean exit, log count, module inventory) is unchanged and green.Closing: root cause was GDB, not the app or the CEF build. The release gate is the final confirmation on the next release run.
ci: Resolve CEF source lines with addr2line instead of GDB (obs-rust#…