FS#74334 - chromium segfaults at startup (always)

Attached to Project: Arch Linux
Opened by Jürgen Richtsfeld (juri8) - Monday, 04 April 2022, 06:47 GMT
Last edited by Evangelos Foutras (foutrelis) - Saturday, 09 April 2022, 20:38 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
last few lines of `strace chromium`:
clock_gettime(CLOCK_THREAD_CPUTIME_ID, {tv_sec=0, tv_nsec=291217487}) = 0
getrandom("\xcc\xdc\xde\x65\x68\x9b\xf1\x2c\xe5\xfc\x6b\xd8\x44\x4f\x41\xa7", 16, 0) = 16
write(29, "\0", 1) = 1
futex(0x55ebaa14cdc0, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x55ebaa14cdc0, FUTEX_WAKE_PRIVATE, 1) = 0
write(29, "\0", 1) = 1
write(29, "\0", 1) = 1
getrandom("\x21\x9c\x3d\xd2\x5f\x85\xbc\x0d", 8, 0) = 8
write(29, "\0", 1) = 1
write(29, "\0", 1) = 1
getrandom("\x0e\x85\x1a\x9f\x88\xbb\x08\xb9\x79\xb3\x11\xc7\x15\x40\xa1\x71", 16, 0) = 16
getrandom("\xf8\xf2\x45\x48\xf1\x95\xa1\x35\x21\x5f\x81\xe7\x5d\xc9\xa2\x00", 16, 0) = 16
getrandom("\x94\x43\x5b\xa0\x40\x30\x85\x42\xba\xfa\x94\xa9\x26\x47\x43\x7a", 16, 0) = 16
getrandom("\x2d\x6f\x4f\x12\xd4\x35\x90\xac\x05\xd3\x7c\xd2\x4f\x11\xb6\x18", 16, 0) = 16
getrandom("\xd1\x7b\xc6\x5c\x39\xec\x5a\x48\x61\x33\xf9\x33\x45\x83\x9e\xde", 16, 0) = 16
getrandom("\x37\xfa\xbe\x6e\x57\x33\xbe\x37\xf3\x12\x52\x7c\xc0\x89\x2e\xb4", 16, 0) = 16
getrandom("\x33\x22\x37\xfd\xda\x79\x8a\x6b\x00\xe7\x83\x91\x85\xcf\xfe\x26", 16, 0) = 16
futex(0x7f98e4180118, FUTEX_WAKE_PRIVATE, 2147483647) = 1
futex(0x7f98e41800c8, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x33ee0024a8a8, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f98e4180118, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f98e41800c8, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x33ee0024a8a8, FUTEX_WAKE_PRIVATE, 1) = 1
mprotect(0x33ee01ff0000, 16384, PROT_READ|PROT_WRITE) = 0
getrandom("\x99\x8c\x11\x42\x95\x74\xc8\x81\xd9\xfc\x89\x31\x5b\x03\x12\xc5", 16, 0) = 16
--- SIGTRAP {si_signo=SIGTRAP, si_code=SI_KERNEL} ---
gettid() = 18766
prctl(PR_GET_DUMPABLE) = 1 (SUID_DUMP_USER)
rt_sigprocmask(SIG_BLOCK, [CONT], [TRAP], 8) = 0
sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\1\0\0\0x\30\300\371\230\177\0\0\10f6\0\3563\0\0\0\0\0\0\0\0\0\0"..., iov_len=40}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 40
rt_sigtimedwait([CONT], [0404/084141.163110:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)
{si_signo=SIGCONT, si_code=SI_TKILL, si_pid=18768, si_uid=1000}, {tv_sec=5, tv_nsec=0}, 8) = 18 (SIGCONT)
rt_sigprocmask(SIG_SETMASK, [TRAP], NULL, 8) = 0
futex(0x33ee00366628, FUTEX_WAKE_PRIVATE, 2147483647) = 0
rt_sigaction(SIGTRAP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f98f6636560}, NULL, 8) = 0
getpid() = 18766
gettid() = 18766
rt_tgsigqueueinfo(18766, 18766, SIGTRAP, {si_signo=SIGTRAP, si_code=SI_KERNEL}) = 0
rt_sigreturn({mask=[]}) = 24
--- SIGTRAP {si_signo=SIGTRAP, si_code=SI_KERNEL} ---
+++ killed by SIGTRAP (core dumped) +++


Additional info:
all packages are up to date as of writing this. Chromium 100.0.4896.60-2


Steps to reproduce:
happens on every launch. kde, X11 session, rebooted since last upgrade of packages.
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Saturday, 09 April 2022, 20:38 GMT
Reason for closing:  None
Additional comments about closing:  No backtrace to attempt to pinpoint the cause and problem isn't reproducible anymore.
Comment by Jürgen Richtsfeld (juri8) - Monday, 04 April 2022, 06:56 GMT
forgot to mention: Linux kernel is 5.15.32-1-lts #1 SMP Mon, 28 Mar 2022 08:54:31 +0000 x86_64 GNU/Linux
Comment by Evangelos Foutras (foutrelis) - Monday, 04 April 2022, 08:17 GMT
Install debuginfod; re-login or source /etc/profile.d/debuginfod.sh; use 'coredumpctl gdb' to see where it aborts; post the backtrace.
Comment by Jürgen Richtsfeld (juri8) - Wednesday, 06 April 2022, 05:21 GMT
I tried
* launching with `-incognito` -> problem didn't happen but when opening a 'normal' browser window from the menu it crashed again
* launching with `--disable-extensions` -> problem didn't happen but when restoring the session it crashed again

at that point I suspected that one of my open browser tabs caused the crash, so I got rid of the session and opened the tabs that I remembered that should be around manually: since that the problem is gone and *I can no longer reproduce it*.
Comment by Arnaud (arnaud) - Saturday, 09 April 2022, 20:05 GMT
Since implementing Chromium version 100, every time I try to toggle a video tab through a Chromecast, the browser crashes, with the error "core dumped"
Comment by Evangelos Foutras (foutrelis) - Saturday, 09 April 2022, 20:37 GMT
@Arnaud: That's https://crbug.com/1314342 -- I will push an updated package that disables kGlobalMediaControlsCastStartStop by default.

@Jürgen: If it happens again, try getting a backtrace using debuginfod like I suggested above.

Loading...