ungoogled-software / ungoogled-chromium

Google Chromium, sans integration with Google
BSD 3-Clause "New" or "Revised" License
20.82k stars 846 forks source link

Crash when closing #2971

Closed sebastianha closed 3 months ago

sebastianha commented 3 months ago

OS/Platform

Other Linux (please specify)

Installed

OS/Platform's package manager

Version

126.0.6478.182 (openSUSE Build, ungoogled-chromium) stable (64-bit)

Have you tested that this is not an upstream issue or an issue with your configuration?

Description

Crash when closing window

How to Reproduce?

Actual behaviour

Expected behaviour

Relevant log output

$> chromium --user-data-dir=Desktop/chromeblubb/
Received signal 11 SI_KERNEL000000000000
 Possibly a General Protection Fault, can be due to a non-canonical address dereference. See "Intel 64 and IA-32 Architectures Software Developer’s Manual", Volume 1, Section 3.3.7.1.
#0 0x5589b9dd5c1e (/usr/lib64/chromium/chrome+0x8af2c1d)
#1 0x5589b9de9151 (/usr/lib64/chromium/chrome+0x8b06150)
#2 0x7f89f4241240 (/usr/lib64/libc.so.6+0x4123f)
#3 0x5589b577f9e9 (/usr/lib64/chromium/chrome+0x449c9e8)
#4 0x5589b577a9ca (/usr/lib64/chromium/chrome+0x44979c9)
#5 0x5589bc331817 (/usr/lib64/chromium/chrome+0xb04e816)
#6 0x5589bc33193e (/usr/lib64/chromium/chrome+0xb04e93d)
#7 0x5589bc3270a2 (/usr/lib64/chromium/chrome+0xb0440a1)
#8 0x5589bc32747e (/usr/lib64/chromium/chrome+0xb04447d)
#9 0x5589bc294392 (/usr/lib64/chromium/chrome+0xafb1391)
#10 0x5589bc2944de (/usr/lib64/chromium/chrome+0xafb14dd)
#11 0x5589baf58917 (/usr/lib64/chromium/chrome+0x9c75916)
#12 0x5589baf58b42 (/usr/lib64/chromium/chrome+0x9c75b41)
#13 0x5589baf5720c (/usr/lib64/chromium/chrome+0x9c7420b)
#14 0x5589b9973c0b (/usr/lib64/chromium/chrome+0x8690c0a)
#15 0x5589b9973e5e (/usr/lib64/chromium/chrome+0x8690e5d)
#16 0x5589b9977237 (/usr/lib64/chromium/chrome+0x8694236)
#17 0x5589b9977f44 (/usr/lib64/chromium/chrome+0x8694f43)
#18 0x5589b997699a (/usr/lib64/chromium/chrome+0x8693999)
#19 0x5589b9976447 (/usr/lib64/chromium/chrome+0x8693446)
#20 0x5589b99762c1 (/usr/lib64/chromium/chrome+0x86932c0)
#21 0x5589b9982494 (/usr/lib64/chromium/chrome+0x869f493)
#22 0x5589b9984b52 (/usr/lib64/chromium/chrome+0x86a1b51)
#23 0x5589b99848f7 (/usr/lib64/chromium/chrome+0x86a18f6)
#24 0x5589b997b9de (/usr/lib64/chromium/chrome+0x86989dd)
#25 0x5589b97980df (/usr/lib64/chromium/chrome+0x84b50de)
#26 0x5589b979682c (/usr/lib64/chromium/chrome+0x84b382b)
#27 0x5589b9bf0499 (/usr/lib64/chromium/chrome+0x890d498)
#28 0x5589b7a22d68 (/usr/lib64/chromium/chrome+0x673fd67)
#29 0x5589b7a24b32 (/usr/lib64/chromium/chrome+0x6741b31)
#30 0x5589b7a1fb91 (/usr/lib64/chromium/chrome+0x673cb90)
#31 0x5589b91ef156 (/usr/lib64/chromium/chrome+0x7f0c155)
#32 0x5589b91f05c0 (/usr/lib64/chromium/chrome+0x7f0d5bf)
#33 0x5589b91f03da (/usr/lib64/chromium/chrome+0x7f0d3d9)
#34 0x5589b91edd38 (/usr/lib64/chromium/chrome+0x7f0ad37)
#35 0x5589b91ee347 (/usr/lib64/chromium/chrome+0x7f0b346)
#36 0x5589b55d6954 ChromeMain
#37 0x7f89f422a1f0 __libc_start_call_main
  r8: 000000000000041a  r9: 00003f4400fcf5e8 r10: 0000000000000000 r11: 0000000000000000
 r12: 00003f4400d690a0 r13: 0000000000000000 r14: 00003f4400d69090 r15: fffffffc00000000
  di: 00003f4400d69090  si: 00003f4400d690a0  bp: 00007fffb8d2a170  bx: 00003f4400f80210
  dx: 00007fffb8d2a1d0  ax: b093d600443f0000  cx: 00007fffb8d2a1f0  sp: 00007fffb8d2a170
  ip: 00005589b9d2ec9d efl: 0000000000010286 cgf: 002b000000000033 erf: 0000000000000000
 trp: 000000000000000d msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Segmentation fault (core dumped)


### Additional context

I tried this on two different OpenSUSE Tumbleweed notebooks, both same behaviour. Using latest updates from today, this repo: https://download.opensuse.org/repositories/network:/chromium/openSUSE_Tumbleweed/.

I am not sure if this was the same case in previous version, I remember that I have seen the "restore windows" screen sometimes after restarting the app, this might hint to a previous crash.
sebastianha commented 3 months ago

Unchecked the box, bug also occurs with "--user-data-dir"

networkException commented 3 months ago

this does happen in vanilla chromium?

sebastianha commented 3 months ago

No (installed also from OpenSUSE repo), this shuts down nicely.

PF4Public commented 3 months ago

It is an upstream bug: https://chromium-review.googlesource.com/c/chromium/src/+/5590096. Should be fixed in 127, alternatively one could use the patch from the issue I linked above.