You are not logged in.

#1 2024-05-17 13:04:06

c0n5um3r
Member
Registered: 2024-05-07
Posts: 8

[SOLVED] System freeze randomly.

Hello, guys!

In the last couple of weeks, my DE has been stably frozen at least once a day. It happens completely randomly. I can only apply a hard reset to boot back into the system. TTY does not work in these cases.
I have not found any errors in

journalctl

that could cause such a freeze, but maybe I'm missing something.

What I tried:
1. Several different kernels (arch / zen / lts), but the problem doesn't go away. Also I have tried X and Wayland sessions, the problem remains.
2. Tested the RAM via

memtester

- there are no errors in the memory operation either.
3. Installed

nohang

package, but still no luck.
4. Disabled hibernation and sleep:

sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

5. Installed Plasma 6 (same problem there).
6. Reinstall

gnome-shell

- not helped.

My specs (it's a Lenovo laptop):
OS: Arch Linux x86_64
Kernel: Linux 6.8.9-arch1-2
DE: Gnome 46.1
CPU: AMD Ryzen 9 6900HX (16) @ 4,93 GHz
GPU 1: AMD Radeon RX 6800M [Discrete]
GPU 2: AMD Radeon 680M [Integrated]
Memory: 30,55 GiB
Swap: 0 B / 4,00 GiB (0%)

What could I do in this situation, can someone guide me please?

P.S.
Also my browser (Brave) keep dumping cores for some reason (I tried flatpak version too with the same result), perhaps this is part of the same problem. I tried turning off shields and disabling all extensions, the problem still persists.

Last edited by c0n5um3r (2024-05-20 15:37:07)

Offline

#2 2024-05-17 13:16:50

Nikolai5
Member
From: North West, England, UK
Registered: 2024-01-27
Posts: 183

Re: [SOLVED] System freeze randomly.

What is the last thing in the journal before the freezes?

Are you sure its not something similar each time, like hardware acceleration taking place (so crashing while, mpv, youtube, vlc, etc) or something like that?


Desktop: Ryzen 7 1800X | AMD 7800XT | KDE Plasma
MacbookPro-2012 | MATE

Offline

#3 2024-05-17 13:28:00

c0n5um3r
Member
Registered: 2024-05-07
Posts: 8

Re: [SOLVED] System freeze randomly.

Nikolai5 wrote:

What is the last thing in the journal before the freezes?

Are you sure its not something similar each time, like hardware acceleration taking place (so crashing while, mpv, youtube, vlc, etc) or something like that?

Last 100 lines of previous boot while it froze:

> journalctl -b -1 -n 100
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setRenderHint: Painter must be active to set rendering hints
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QWidget::paintEngine: Should no longer be called
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::begin: Paint device returned engine == 0, type: 1
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setRenderHint: Painter must be active to set rendering hints
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QWidget::paintEngine: Should no longer be called
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::begin: Paint device returned engine == 0, type: 1
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setRenderHint: Painter must be active to set rendering hints
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QWidget::paintEngine: Should no longer be called
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::begin: Paint device returned engine == 0, type: 1
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setRenderHint: Painter must be active to set rendering hints
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QWidget::paintEngine: Should no longer be called
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::begin: Paint device returned engine == 0, type: 1
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setRenderHint: Painter must be active to set rendering hints
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QWidget::paintEngine: Should no longer be called
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::begin: Paint device returned engine == 0, type: 1
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setRenderHint: Painter must be active to set rendering hints
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QWidget::paintEngine: Should no longer be called
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::begin: Paint device returned engine == 0, type: 1
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setRenderHint: Painter must be active to set rendering hints
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QWidget::paintEngine: Should no longer be called
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::begin: Paint device returned engine == 0, type: 1
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setRenderHint: Painter must be active to set rendering hints
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QWidget::paintEngine: Should no longer be called
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::begin: Paint device returned engine == 0, type: 1
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setRenderHint: Painter must be active to set rendering hints
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QWidget::paintEngine: Should no longer be called
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::begin: Paint device returned engine == 0, type: 1
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setRenderHint: Painter must be active to set rendering hints
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QWidget::paintEngine: Should no longer be called
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::begin: Paint device returned engine == 0, type: 1
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setRenderHint: Painter must be active to set rendering hints
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QWidget::paintEngine: Should no longer be called
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::begin: Paint device returned engine == 0, type: 1
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setRenderHint: Painter must be active to set rendering hints
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QWidget::paintEngine: Should no longer be called
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::begin: Paint device returned engine == 0, type: 1
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setRenderHint: Painter must be active to set rendering hints
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QWidget::paintEngine: Should no longer be called
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::begin: Paint device returned engine == 0, type: 1
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setRenderHint: Painter must be active to set rendering hints
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QWidget::paintEngine: Should no longer be called
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::begin: Paint device returned engine == 0, type: 1
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setRenderHint: Painter must be active to set rendering hints
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QWidget::paintEngine: Should no longer be called
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::begin: Paint device returned engine == 0, type: 1
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setRenderHint: Painter must be active to set rendering hints
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QWidget::paintEngine: Should no longer be called
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::begin: Paint device returned engine == 0, type: 1
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setRenderHint: Painter must be active to set rendering hints
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QWidget::paintEngine: Should no longer be called
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::begin: Paint device returned engine == 0, type: 1
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setRenderHint: Painter must be active to set rendering hints
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:42 SSDDal flatpak[2609]: QPainter::setCompositionMode: Painter not active
мая 17 15:16:47 SSDDal kernel: [UFW BLOCK] IN=wlan0 OUT= MAC=ac:50:de:9f:68:d9:f0:a3:b2:ee:07:
17:08:00 SRC=192.168.0.100 DST=192.168.0.104 LEN=525 TOS=0x00 PREC=0x00 TTL=64 ID=63278 DF PROTO=UDP SPT=46032 DPT=47473 LEN=505 

мая 17 15:16:48 SSDDal kernel: [UFW BLOCK] IN=wlan0 OUT= MAC=ac:50:de:9f:68:d9:f0:a3:b2:ee:07:
17:08:00 SRC=192.168.0.100 DST=192.168.0.104 LEN=525 TOS=0x00 PREC=0x00 TTL=64 ID=63432 DF PROTO=UDP SPT=52994 DPT=47473 LEN=505 

мая 17 15:16:49 SSDDal kernel: [UFW BLOCK] IN=wlan0 OUT= MAC=ac:50:de:9f:68:d9:f0:a3:b2:ee:07:
17:08:00 SRC=192.168.0.100 DST=192.168.0.104 LEN=525 TOS=0x00 PREC=0x00 TTL=64 ID=63560 DF PROTO=UDP SPT=47366 DPT=47473 LEN=505 

мая 17 15:16:50 SSDDal kernel: [UFW BLOCK] IN=wlan0 OUT= MAC=ac:50:de:9f:68:d9:f0:a3:b2:ee:07:
17:08:00 SRC=192.168.0.100 DST=192.168.0.104 LEN=525 TOS=0x00 PREC=0x00 TTL=64 ID=63620 DF PROTO=UDP SPT=44715 DPT=47473 LEN=505 

мая 17 15:17:14 SSDDal kernel: [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:48:22:54:69:a0:
dc:08:00 SRC=192.168.0.50 DST=224.0.0.251 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=58552 PROTO=2 
мая 17 15:17:56 SSDDal gnome-shell[1588]: g_source_remove: assertion 'tag > 0' failed
мая 17 15:18:03 SSDDal kernel: [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:01:48:22:54:69:a0:
dc:08:00 SRC=192.168.0.50 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x40 TTL=1 ID=24772 PROTO=2 
мая 17 15:18:47 SSDDal kernel: [UFW BLOCK] IN=wlan0 OUT= MAC=ac:50:de:9f:68:d9:f0:a3:b2:ee:07:
17:08:00 SRC=192.168.0.100 DST=192.168.0.104 LEN=525 TOS=0x00 PREC=0x00 TTL=64 ID=23123 DF PROTO=UDP SPT=40494 DPT=36099 LEN=505 

мая 17 15:18:48 SSDDal kernel: [UFW BLOCK] IN=wlan0 OUT= MAC=ac:50:de:9f:68:d9:f0:a3:b2:ee:07:
17:08:00 SRC=192.168.0.100 DST=192.168.0.104 LEN=525 TOS=0x00 PREC=0x00 TTL=64 ID=23282 DF PROTO=UDP SPT=55735 DPT=36099 LEN=505 

мая 17 15:18:50 SSDDal kernel: [UFW BLOCK] IN=wlan0 OUT= MAC=ac:50:de:9f:68:d9:f0:a3:b2:ee:07:
17:08:00 SRC=192.168.0.100 DST=192.168.0.104 LEN=525 TOS=0x00 PREC=0x00 TTL=64 ID=23512 DF PROTO=UDP SPT=60957 DPT=36099 LEN=505 

мая 17 15:19:05 SSDDal gnome-shell[1588]: g_source_remove: assertion 'tag > 0' failed
мая 17 15:19:19 SSDDal kernel: [UFW BLOCK] IN=wlan0 OUT= MAC=01:00:5e:00:00:fb:48:22:54:69:a0:
dc:08:00 SRC=192.168.0.50 DST=224.0.0.251 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=12502 PROTO=2 

I'm not sure what does it means:

gnome-shell[1588]: g_source_remove: assertion 'tag > 0' failed

It technically can be youtube, I have it almost always open, but it is not playing any video during the freeze strikes.

Offline

#4 2024-05-17 13:41:03

seth
Member
Registered: 2012-09-03
Posts: 58,748

Re: [SOLVED] System freeze randomly.

I can only apply a hard reset to boot back into the system.

https://wiki.archlinux.org/title/Keyboa … el_(SysRq) or

I have not found any errors in journalctl

isn't much of a surprise

Also my browser (Brave) keep dumping cores for some reason

No chance telling w/o seeing them.

nb. that ryzen has systematic issues itr, https://wiki.archlinux.org/title/Ryzen#Troubleshooting

Offline

#5 2024-05-17 13:46:36

Nikolai5
Member
From: North West, England, UK
Registered: 2024-01-27
Posts: 183

Re: [SOLVED] System freeze randomly.

Yeah, I run a Ryzen and had to disable C states in the BIOS due to random crashes. I've not had any for months now, whereas they were previously daily / hourly.


Desktop: Ryzen 7 1800X | AMD 7800XT | KDE Plasma
MacbookPro-2012 | MATE

Offline

#6 2024-05-17 13:59:17

c0n5um3r
Member
Registered: 2024-05-07
Posts: 8

Re: [SOLVED] System freeze randomly.

Thanks!

No chance telling w/o seeing them.

> coredumpctl gdb brave
           PID: 50072 (brave)
           UID: 1000 (rat)
           GID: 1000 (rat)
        Signal: 11 (SEGV)
     Timestamp: Fri 2024-05-17 16:43:42 MSK (10min ago)
  Command Line: $'/opt/brave-bin/brave --type=renderer --crashpad-handler-pid=5613 --enable-crash-reporter=d45069ed-3c6b-4f1e-952b-b618cda223c3, --enable-distillability-service --origin-trial-public-key=bYUKPJoPnCxeNvu72j4EmPuK7tr1PAC7SHh8ld9Mw3E=,fMS4mpO6buLQ/QMd+zJmxzty/VQ6B1EUZqoCU04zoRU= --change-stack-guard-on-fork=enable --brave_session_token=3926394277636006863 --disable-gpu-compositing --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=14 --time-ticks-at-unix-epoch=-1715948463599260 --launch-time-ticks=4671319091 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,18026841970713006146,18433934414385225420,262144 --variations-seed-version=1'
    Executable: /opt/brave-bin/brave
 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-gnome-brave\x2dbrowser-5601.scope
          Unit: user@1000.service
     User Unit: app-gnome-brave\x2dbrowser-5601.scope
         Slice: user-1000.slice
     Owner UID: 1000 (rat)
       Boot ID: 00251a192b6648b0bfd3cc345e1c22de
    Machine ID: 431a3bc7e6744f699ac08bffb049ae1e
      Hostname: SSDDal
       Storage: /var/lib/systemd/coredump/core.brave.1000.00251a192b6648b0bfd3cc345e1c22de.50072.1715953422000000.zst (present)
  Size on Disk: 54.1M
       Message: Process 50072 (brave) of user 1000 dumped core.
                
                Stack trace of thread 104:
                #0  0x00005e624e0d51bb n/a (brave + 0x6fba1bb)
                #1  0x02002b200f965101 n/a (n/a + 0x0)
                #2  0x00005e6251ead8eb n/a (brave + 0xad928eb)
                #3  0x00005e6251e6b618 n/a (brave + 0xad50618)
                #4  0x00007c53452f9ded n/a (libc.so.6 + 0x92ded)
                #5  0x00007c534537cee4 __clone (libc.so.6 + 0x115ee4)
                
                Stack trace of thread 7:
                #0  0x00007c53452f64e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x00007c53452f9242 pthread_cond_timedwait (libc.so.6 + 0x92242)
                #2  0x00005e624a3490fa n/a (brave + 0x322e0fa)
                #3  0x00005e624a2234fb n/a (brave + 0x31084fb)
                #4  0x00005e624bdc67f2 n/a (brave + 0x4cab7f2)
                #5  0x00005e624bdc5d41 n/a (brave + 0x4caad41)
                #6  0x00005e624bdc9301 n/a (brave + 0x4cae301)
                #7  0x00005e624a7c9d72 n/a (brave + 0x36aed72)
                #8  0x00007c53452f9ded n/a (libc.so.6 + 0x92ded)
                #9  0x00007c534537cee4 __clone (libc.so.6 + 0x115ee4)
                
                Stack trace of thread 1:
                #0  0x00005e624a21a83b n/a (brave + 0x30ff83b)
                #1  0x00005e624a219b40 n/a (brave + 0x30feb40)
                #2  0x00005e624a21cd1c n/a (brave + 0x3101d1c)
                #3  0x00005e624a21b97a n/a (brave + 0x310097a)
                #4  0x00005e624a21af5e n/a (brave + 0x30fff5e)
                #5  0x00005e624c222439 n/a (brave + 0x5107439)
                #6  0x00005e624a2311f9 n/a (brave + 0x31161f9)
                #7  0x00005e624a2234ae n/a (brave + 0x31084ae)
                #8  0x00005e624bdc67f2 n/a (brave + 0x4cab7f2)
                #9  0x00005e624bdc5d41 n/a (brave + 0x4caad41)
                #10 0x00005e624bdc4323 n/a (brave + 0x4ca9323)
                #11 0x00005e624cf80c13 n/a (brave + 0x5e65c13)
                #12 0x00005e624cf7e2e5 n/a (brave + 0x5e632e5)
                #13 0x00005e624cf7c9a8 ChromeMain (brave + 0x5e619a8)
                #14 0x00007c534528cc88 n/a (libc.so.6 + 0x25c88)
                #15 0x00007c534528cd4c __libc_start_main (libc.so.6 + 0x25d4c)
                #16 0x00005e624dd6e3ca _start (brave + 0x6c533ca)
                
                Stack trace of thread 4:
                #0  0x00007c534537d4e2 epoll_wait (libc.so.6 + 0x1164e2)
                #1  0x00005e624a220a4b n/a (brave + 0x3105a4b)
                #2  0x00005e624bdc67f2 n/a (brave + 0x4cab7f2)
                #3  0x00005e624bdc5d41 n/a (brave + 0x4caad41)
                #4  0x00005e624bdc58e8 n/a (brave + 0x4caa8e8)
                #5  0x00005e624b4f396c n/a (brave + 0x43d896c)
                #6  0x00005e624a7c9d72 n/a (brave + 0x36aed72)
                #7  0x00007c53452f9ded n/a (libc.so.6 + 0x92ded)
                #8  0x00007c534537cee4 __clone (libc.so.6 + 0x115ee4)
                
                Stack trace of thread 2:
                #0  0x00007c534537d4e2 epoll_wait (libc.so.6 + 0x1164e2)
                #1  0x00005e624a220a4b n/a (brave + 0x3105a4b)
                #2  0x00005e624bdc67f2 n/a (brave + 0x4cab7f2)
                #3  0x00005e624bdc5d41 n/a (brave + 0x4caad41)
                #4  0x00005e624bdc5ae8 n/a (brave + 0x4caaae8)
                #5  0x00005e624b4f396c n/a (brave + 0x43d896c)
                #6  0x00005e624a7c9d72 n/a (brave + 0x36aed72)
                #7  0x00007c53452f9ded n/a (libc.so.6 + 0x92ded)
                #8  0x00007c534537cee4 __clone (libc.so.6 + 0x115ee4)
                
                Stack trace of thread 3:
                #0  0x00007c53452f64e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x00007c53452f9242 pthread_cond_timedwait (libc.so.6 + 0x92242)
                #2  0x00005e624a3490fa n/a (brave + 0x322e0fa)
                #3  0x00005e624a348ddd n/a (brave + 0x322dddd)
                #4  0x00005e624a1218a5 n/a (brave + 0x30068a5)
                #5  0x00005e624a12154d n/a (brave + 0x300654d)
                #6  0x00005e624bc6d460 n/a (brave + 0x4b52460)
                #7  0x00005e624a7c9d72 n/a (brave + 0x36aed72)
                #8  0x00007c53452f9ded n/a (libc.so.6 + 0x92ded)
                #9  0x00007c534537cee4 __clone (libc.so.6 + 0x115ee4)
                
                Stack trace of thread 8:
                #0  0x00007c53452f64e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x00007c53452f8ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
                #2  0x00005e624a3492cc n/a (brave + 0x322e2cc)
                #3  0x00005e624a348ddd n/a (brave + 0x322dddd)
                #4  0x00005e624a123040 n/a (brave + 0x3008040)
                #5  0x00005e624bc6d54d n/a (brave + 0x4b5254d)
                #6  0x00005e624bc6d49c n/a (brave + 0x4b5249c)
                #7  0x00005e624a7c9d72 n/a (brave + 0x36aed72)
                #8  0x00007c53452f9ded n/a (libc.so.6 + 0x92ded)
                #9  0x00007c534537cee4 __clone (libc.so.6 + 0x115ee4)
                
                Stack trace of thread 5:
                #0  0x00007c53452f64e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x00007c53452f9242 pthread_cond_timedwait (libc.so.6 + 0x92242)
                #2  0x00005e624a3490fa n/a (brave + 0x322e0fa)
                #3  0x00005e624a348ddd n/a (brave + 0x322dddd)
                #4  0x00005e624a1218a5 n/a (brave + 0x30068a5)
                #5  0x00005e624a12154d n/a (brave + 0x300654d)
                #6  0x00005e624bc6d460 n/a (brave + 0x4b52460)
                #7  0x00005e624a7c9d72 n/a (brave + 0x36aed72)
                #8  0x00007c53452f9ded n/a (libc.so.6 + 0x92ded)
                #9  0x00007c534537cee4 __clone (libc.so.6 + 0x115ee4)
                
                Stack trace of thread 12:
                #0  0x00007c53452f64e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x00007c53452f9242 pthread_cond_timedwait (libc.so.6 + 0x92242)
                #2  0x00005e624a3490fa n/a (brave + 0x322e0fa)
                #3  0x00005e624a348ddd n/a (brave + 0x322dddd)
                #4  0x00005e624a1218a5 n/a (brave + 0x30068a5)
                #5  0x00005e624a12154d n/a (brave + 0x300654d)
                #6  0x00005e624bc6d460 n/a (brave + 0x4b52460)
                #7  0x00005e624a7c9d72 n/a (brave + 0x36aed72)
                #8  0x00007c53452f9ded n/a (libc.so.6 + 0x92ded)
                #9  0x00007c534537cee4 __clone (libc.so.6 + 0x115ee4)
                
                Stack trace of thread 9:
                #0  0x00007c53452f64e9 n/a (libc.so.6 + 0x8f4e9)
                #1  0x00007c53452f9242 pthread_cond_timedwait (libc.so.6 + 0x92242)
                #2  0x00005e624a3490fa n/a (brave + 0x322e0fa)
                #3  0x00005e624d09a6d9 n/a (brave + 0x5f7f6d9)
                #4  0x00005e6251320424 n/a (brave + 0xa205424)
                #5  0x00005e624a7c9d72 n/a (brave + 0x36aed72)
                #6  0x00007c53452f9ded n/a (libc.so.6 + 0x92ded)
                #7  0x00007c534537cee4 __clone (libc.so.6 + 0x115ee4)
                
                Stack trace of thread 14:
                #0  0x00005e624c019374 n/a (brave + 0x4efe374)
                #1  0x00005e624c018e5f n/a (brave + 0x4efde5f)
                #2  0x00005e624c017687 n/a (brave + 0x4efc687)
                #3  0x00005e624c016db0 n/a (brave + 0x4efbdb0)
                #4  0x00005e624c016037 n/a (brave + 0x4efb037)
                #5  0x00005e624c01b030 n/a (brave + 0x4f00030)
                #6  0x00005e624c014837 n/a (brave + 0x4ef9837)
                #7  0x00005e624c0134de n/a (brave + 0x4ef84de)
                #8  0x00005e624c012e4c n/a (brave + 0x4ef7e4c)
                #9  0x00005e624c012afe n/a (brave + 0x4ef7afe)
                ELF object binary architecture: AMD x86-64

GNU gdb (GDB) 14.2
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /opt/brave-bin/brave...

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.archlinux.org>
Enable debuginfod for this session? (y or [n]) 
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
(No debugging symbols found in /opt/brave-bin/brave)

warning: Can't open file /dev/shm/.org.chromium.Chromium.mDocnd (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.SUDvRy (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.K3Jfp2 (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.Eif0Xh (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.MqnQZF (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.r9AzLG (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.Pvr1h5 (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.eTy26q (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.g1gF0n (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.LMRbT0 (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.WkSzyi (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.ijPSJ5 (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.V2CYtq (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.crAolm (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.E61Iss (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.iZO4zP (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.OoYqpU (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.fSCSgm (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.6qAZun (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.7YZfHc (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.ct99BA (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.Owbr9C (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.Zpr4bO (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.js8euC (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.HBtEP8 (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.TY2rJw (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.n9rja8 (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.N6Xetj (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.poaXvB (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.DNdR3z (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.ZKTwBY (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.HMFolt (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.HOYzzJ (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.xO2ODK (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.uV6IM6 (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.g7sEKM (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.cBQ8O0 (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.HT1CYS (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.kcLG5a (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.Y6Sz9R (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.FRVaAj (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.lw4L9f (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.CQyGA0 (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.LXaraB (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.mrjzhy (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.JAKMZ3 (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.rF0A8u (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.JjvdUl (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.cs186x (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.lrenAI (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.z9H04p (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.T8facz (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.fDMI0G (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.Wqpj5p (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.wUhZdj (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.gAVmyP (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.j0gVcJ (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.WgYqYn (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.UzJ5XK (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.CQLOMC (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.UrxNwR (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.psllP1 (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.B6NeD1 (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.hhQ481 (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.MBghKy (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.cYo6Ze (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.attpgc (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.l1BiV7 (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.jbgw8c (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.JjVgZb (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.Bi3QgP (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.HfiG2e (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.oPTYaf (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.x8M3yv (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.7ATnGR (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.DfaWsP (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.s8AGXC (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.NmCoTa (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.o2KnTv (deleted) during file-backed mapping note processing
[New LWP 104]
[New LWP 7]
[New LWP 1]
[New LWP 4]
[New LWP 2]
[New LWP 3]
[New LWP 8]
[New LWP 5]
[New LWP 12]
[New LWP 9]
[New LWP 14]
[New LWP 10]
[New LWP 15]
[New LWP 11]
[New LWP 6]
[New LWP 16]
[New LWP 99]
--Type <RET> for more, q to quit, c to continue without paging--RET
[New LWP 17]
[New LWP 18]
[New LWP 94]
[New LWP 106]
[New LWP 102]
[New LWP 24]
[New LWP 25]
[New LWP 107]
[New LWP 13]
[New LWP 103]
[New LWP 19]
[New LWP 20]
[New LWP 110]
[New LWP 101]
[New LWP 22]
[New LWP 109]
[New LWP 23]
[New LWP 29]
[New LWP 26]
[New LWP 95]
[New LWP 97]
[New LWP 96]
[New LWP 98]
[New LWP 100]
[New LWP 105]
[New LWP 108]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/opt/brave-bin/brave --type=renderer --crashpad-handler-pid=5613 --enable-crash'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00005e624e0d51bb in ?? ()
[Current thread is 1 (Thread 0x7c52605ff100 (LWP 104))]

nb. that ryzen has systematic issues itr, https://wiki.archlinux.org/title/Ryzen#Troubleshooting

Thank you!
I added

processor.max_cstate=1

to kernel parameters and reconfigured grub. Also I'll check my UEFI settings.
I installed

disable-c6-systemd

from AUR and started systmd service. Will give it a try.

Offline

#7 2024-05-17 14:10:23

c0n5um3r
Member
Registered: 2024-05-07
Posts: 8

Re: [SOLVED] System freeze randomly.

Nikolai5 wrote:

Yeah, I run a Ryzen and had to disable C states in the BIOS due to random crashes. I've not had any for months now, whereas they were previously daily / hourly.

Unfortunately, I don't have this parameters in BIOS. sad

Offline

#8 2024-05-17 14:13:21

Nikolai5
Member
From: North West, England, UK
Registered: 2024-01-27
Posts: 183

Re: [SOLVED] System freeze randomly.

What brand is your motherboard? Sometimes manufacturers hide things in different places or label things differently. Might be worth looking up how to do it for your make / model.


Desktop: Ryzen 7 1800X | AMD 7800XT | KDE Plasma
MacbookPro-2012 | MATE

Offline

#9 2024-05-17 14:38:34

c0n5um3r
Member
Registered: 2024-05-07
Posts: 8

Re: [SOLVED] System freeze randomly.

What brand is your motherboard?

> sudo dmidecode --type baseboard
# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.3.0 present.

Handle 0x0002, DMI type 2, 16 bytes
Base Board Information
	Manufacturer: LENOVO
	Product Name: LNVNB161216
	Version:  NO DPK
	Serial Number: ********
	Asset Tag: NO Asset Tag
	Features:
		Board is a hosting board
		Board is replaceable
	Location In Chassis: Base Board Chassis Location
	Chassis Handle: 0x0003
	Type: Motherboard
	Contained Object Handles: 0

Sometimes manufacturers hide things in different places or label things differently. Might be worth looking up how to do it for your make / model.

I'll try to find information about it. Thank you.

Offline

#10 2024-05-17 14:45:06

seth
Member
Registered: 2012-09-03
Posts: 58,748

Re: [SOLVED] System freeze randomly.

The backtrace doesn't say much - brave crashes in some private brave code.
You seem to lack/lose access to /dev/shm/ and get warnings from that which might hint at memory issues or be just noise hmm

Fwwi, meaningful memtest86+ runs are measured in days  - if you just ran some memtest for 5 minutes and that didn't come up w/ anything, that's not relly proving much.

Offline

#11 2024-05-17 14:55:49

c0n5um3r
Member
Registered: 2024-05-07
Posts: 8

Re: [SOLVED] System freeze randomly.

Fwwi, meaningful memtest86+ runs are measured in days  - if you just ran some memtest for 5 minutes and that didn't come up w/ anything, that's not relly proving much.

Oh, I should have mentioned that I have Windows 10 dual-boot, Brave is installed there too, and there are no errors at all (although I use this operating system once a week maybe).
I think Windows works with RAM in a different way than Linux, but perhaps this indicates that there is nothing wrong with RAM itself. And I ran memtester for several hours, not 5 minutes, although it probably wasn't enough either.

Offline

#12 2024-05-17 14:56:49

seth
Member
Registered: 2012-09-03
Posts: 58,748

Re: [SOLVED] System freeze randomly.

I have Windows 10 dual-boot

3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

Offline

#13 2024-05-17 15:07:54

c0n5um3r
Member
Registered: 2024-05-07
Posts: 8

Re: [SOLVED] System freeze randomly.

seth wrote:

I have Windows 10 dual-boot

3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

Understood. Disabled it and rebooted both systems three times each. yikes

Offline

#14 2024-05-18 05:53:32

c0n5um3r
Member
Registered: 2024-05-07
Posts: 8

Re: [SOLVED] System freeze randomly.

So far so good. 9 hours uptime without freezes and Brave works without dumping cores. Not sure what was the actual fix tho - I believe disabling Windows Fast Startup and Hibernation did the trick.
I'll test stability for a few days more, then I will mark this topic as solved.

Thanks, seth and Nikolai5 for help!
Regards.

Offline

Board footer

Powered by FluxBB