Summary: | www-client/firefox: segfault on musl with clang (gecko-profiler-82abe86554f4eece/build-script-build` (signal: 11, SIGSEGV: invalid memory reference)) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Maciej A <maciej_adamczyk> |
Component: | Profiles | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | blueness, lu_zero, musl, sam, toolchain |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=877267 https://bugs.gentoo.org/show_bug.cgi?id=882061 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 408963, 836220, 915000 | ||
Attachments: |
emerge -pqv '=www-client/firefox-102.5.0::gentoo
build log |
Description
Maciej A
2022-11-19 15:07:03 UTC
Created attachment 833639 [details]
emerge -pqv '=www-client/firefox-102.5.0::gentoo
Created attachment 833641 [details]
build log
Can you try to get a backtrace and figure out which exact command dies? 78[1G[K[34m20:38.15(B[m process didn't exit successfully: `/var/notmpfs/portage/www-client/firefox-102.5.0/work/firefox_build/release/build/gecko-profiler-82abe86554f4eece/build-script-build` (signal: 11, SIGSEGV: invalid memory reference)(B[m(B[m Oh, I bet this is bug 877267, and we may need to then backport the patch. Producing a backtrace is harder than I thought. The issue is actually random. I see crashes in both clang++ and rustc. But so far I couldn't catch any of them in gdb... I tried to fix it by installing firefox 107...and it built successfully (In reply to Maciej A from comment #5) > Producing a backtrace is harder than I thought. > The issue is actually random. I see crashes in both clang++ and rustc. > But so far I couldn't catch any of them in gdb... You can try what I did in bug 877267 (get a core file then invoke gdb) but there's not much need as I think we know the problem. Reproduced this in an empty container with clang profile, fixed by following the steps from bug 877267. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cd2471700b79e14de561b69be360e1e0013b982 commit 3cd2471700b79e14de561b69be360e1e0013b982 Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2022-11-21 08:35:43 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2022-11-21 08:36:46 +0000 www-client/firefox: update patchset for 107.0 - include the libcxx patch from 106.0. Closes: https://bugs.gentoo.org/882007 Signed-off-by: Joonas Niilola <juippis@gentoo.org> www-client/firefox/Manifest | 2 +- www-client/firefox/firefox-107.0.ebuild | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) |