Skip to main content
Topic: System halts randomly, audio playing and cursor moving for a while then crashes (Read 11086 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Re: System halts randomly, audio playing and cursor moving for a while then crashes

Reply #30
Not sure if it will work for everyone here, but I've had this fucking problem (Yes I was annoyed. It's been months now.) and I think I may have finally cracked the code. For me at least.

So I disabled steam and librewolf's hardware acceleration. And for a week now it's been deafeningly silence on how smooth and no freezing the computer is. No matter the minor or huge Mesa updates were the freezing never stopped until this solution.

Downside is, no hardware acceleration. So scrolling isn't very smooth on some websites. But other than that it's working great. I'll take it over system freeze anytime.

My best guess of what causes the problem:
This Issue happens when xwayland runs in the background or you're using xorg instead of wayland and then you have a program that has hardware acceleration on.


:(

Isn't mesa a 3d accelerator?

Can elaborate?

That solution (downgrading mesa) was offered, and it worked for others (good for them), but not for me and the others (even though the symptoms are the same (title of this thread)). This solution worked for me, and by posting that solution I hope that works out for others too.

Re: System halts randomly, audio playing and cursor moving for a while then crashes

Reply #31
Not sure if it will work for everyone here, but I've had this fucking problem (Yes I was annoyed. It's been months now.) and I think I may have finally cracked the code. For me at least.

So I disabled steam and librewolf's hardware acceleration. And for a week now it's been deafeningly silence on how smooth and no freezing the computer is. No matter the minor or huge Mesa updates were the freezing never stopped until this solution.

Downside is, no hardware acceleration. So scrolling isn't very smooth on some websites. But other than that it's working great. I'll take it over system freeze anytime.

My best guess of what causes the problem:
This Issue happens when xwayland runs in the background or you're using xorg instead of wayland and then you have a program that has hardware acceleration on.
will try.

 

Re: System halts randomly, audio playing and cursor moving for a while then crashes

Reply #32

nope, still crashes.

Re: System halts randomly, audio playing and cursor moving for a while then crashes

Reply #33
You still should get something in dmesg, is there any module/driver/library segfault/crash in there? If the system isn't recoverable after the crash, it should still write something to dmesg, but NEXT REBOOT will overwrite that, so you should boot off usb w/ iso and check if there's any clue.

Re: System halts randomly, audio playing and cursor moving for a while then crashes

Reply #34
You still should get something in dmesg, is there any module/driver/library segfault/crash in there? If the system isn't recoverable after the crash, it should still write something to dmesg, but NEXT REBOOT will overwrite that, so you should boot off usb w/ iso and check if there's any clue.
sometimes it's recoverable, I'll try to get into a tty.

Re: System halts randomly, audio playing and cursor moving for a while then crashes

Reply #35
https://pastebin.com/6c5c8VRe
dmesg right after a steam error where it tries to quit but it gets stuck and a brave 'aw snap' error

Re: System halts randomly, audio playing and cursor moving for a while then crashes

Reply #36
https://files.catbox.moe/8la19n
dmesg output after everything froze and black screened. I managed to get into a tty and to output it to text.

Re: System halts randomly, audio playing and cursor moving for a while then crashes

Reply #37
https://files.catbox.moe/f72xb2.txt
happened again.

Re: System halts randomly, audio playing and cursor moving for a while then crashes

Reply #38
Quote
[   59.968275] brave[2300]: segfault at cfa0fb80000 ip 00005645cddd3c4e sp 00007ffe0ce14fc0 error 4 in brave[3432c4e,5645cdc6d000+d3ba000] likely on CPU 8 (core 2, socket 0)
[   59.968292] Code: 45 8b 34 24 41 81 fe 00 00 04 00 72 e5 41 f6 c6 01 74 df 48 8b 35 8a 9b ef 0d 49 89 f7 4d 09 f7 4c 89 fb 48 81 e3 00 00 fc ff <48> 8b 03 a9 40 02 00 00 75 be 48 8b 4d b0 48 8b 79 38 a8 01 0f 85
[  299.695261] ThreadPoolForeg[3946]: segfault at 195a7974696a ip 00005645d112ad69 sp 00007f011668e7f0 error 4 in brave[6789d69,5645cdc6d000+d3ba000] likely on CPU 1 (core 1, socket 0)
[  299.695275] Code: 48 39 d0 0f 96 c0 48 39 ca 0f 92 c1 48 39 f2 0f 84 0f fe ff ff 20 c8 0f 85 07 fe ff ff 8b 02 48 8b 35 63 2a ba 0a 48 89 45 c8 <0f> b7 44 06 07 25 fe ff 00 00 3d 0c 01 00 00 0f 84 5c 12 00 00 48
[  426.169086] traps: ThreadPoolForeg[4542] trap invalid opcode ip:5645ceb417fa sp:7f020eccd950 error:0 in brave[41a07fa,5645cdc6d000+d3ba000]
[  441.474124] ThreadPoolForeg[5126]: segfault at 34906f40000 ip 00005645cdfd1d3b sp 00007f020f4ce7a0 error 4 in brave[3630d3b,5645cdc6d000+d3ba000] likely on CPU 4 (core 5, socket 0)
[  441.474138] Code: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 18 49 89 cf 49 81 e7 00 00 fc ff <49> 8b 07 a9 40 02 00 00 0f 85 e5 00 00 00 49 89 cd 49 89 d1 49 89
[  595.457613] ThreadPoolForeg[5289]: segfault at 117607f00000 ip 00005645cdfd1d3b sp 00007f01194c57a0 error 4 in brave[3630d3b,5645cdc6d000+d3ba000] likely on CPU 4 (core 5, socket 0)

What is this 'brave' that segfaults? Browser or some kernel process named the same?

Quote
[  600.472312] amdgpu 0000:07:00.0: amdgpu: [drm] AMDGPU device coredump file has been created
[  600.472315] amdgpu 0000:07:00.0: amdgpu: [drm] Check your /sys/class/drm/card1/device/devcoredump/data

I am 99% sure this is effect, not cause, but it wouldn't hurt to take a look at this AMD core dump.

Re: System halts randomly, audio playing and cursor moving for a while then crashes

Reply #39
skip

Re: System halts randomly, audio playing and cursor moving for a while then crashes

Reply #40
Quote
[   59.968275] brave[2300]: segfault at cfa0fb80000 ip 00005645cddd3c4e sp 00007ffe0ce14fc0 error 4 in brave[3432c4e,5645cdc6d000+d3ba000] likely on CPU 8 (core 2, socket 0)
[   59.968292] Code: 45 8b 34 24 41 81 fe 00 00 04 00 72 e5 41 f6 c6 01 74 df 48 8b 35 8a 9b ef 0d 49 89 f7 4d 09 f7 4c 89 fb 48 81 e3 00 00 fc ff <48> 8b 03 a9 40 02 00 00 75 be 48 8b 4d b0 48 8b 79 38 a8 01 0f 85
[  299.695261] ThreadPoolForeg[3946]: segfault at 195a7974696a ip 00005645d112ad69 sp 00007f011668e7f0 error 4 in brave[6789d69,5645cdc6d000+d3ba000] likely on CPU 1 (core 1, socket 0)
[  299.695275] Code: 48 39 d0 0f 96 c0 48 39 ca 0f 92 c1 48 39 f2 0f 84 0f fe ff ff 20 c8 0f 85 07 fe ff ff 8b 02 48 8b 35 63 2a ba 0a 48 89 45 c8 <0f> b7 44 06 07 25 fe ff 00 00 3d 0c 01 00 00 0f 84 5c 12 00 00 48
[  426.169086] traps: ThreadPoolForeg[4542] trap invalid opcode ip:5645ceb417fa sp:7f020eccd950 error:0 in brave[41a07fa,5645cdc6d000+d3ba000]
[  441.474124] ThreadPoolForeg[5126]: segfault at 34906f40000 ip 00005645cdfd1d3b sp 00007f020f4ce7a0 error 4 in brave[3630d3b,5645cdc6d000+d3ba000] likely on CPU 4 (core 5, socket 0)
[  441.474138] Code: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 18 49 89 cf 49 81 e7 00 00 fc ff <49> 8b 07 a9 40 02 00 00 0f 85 e5 00 00 00 49 89 cd 49 89 d1 49 89
[  595.457613] ThreadPoolForeg[5289]: segfault at 117607f00000 ip 00005645cdfd1d3b sp 00007f01194c57a0 error 4 in brave[3630d3b,5645cdc6d000+d3ba000] likely on CPU 4 (core 5, socket 0)

What is this 'brave' that segfaults? Browser or some kernel process named the same?

Quote
[  600.472312] amdgpu 0000:07:00.0: amdgpu: [drm] AMDGPU device coredump file has been created
[  600.472315] amdgpu 0000:07:00.0: amdgpu: [drm] Check your /sys/class/drm/card1/device/devcoredump/data

I am 99% sure this is effect, not cause, but it wouldn't hurt to take a look at this AMD core dump.
it's brave broswer, it's always a 'your tab just crashed! Aw snap, error code 11' It just happens randomly.
As for the coredump, it seems it's not there anymore, I'll have to wait for another kwin crash to save it to a file.

Re: System halts randomly, audio playing and cursor moving for a while then crashes

Reply #41
[28400.731472] ThreadPoolForeg[2359]: segfault at 21ea91276548 ip 00007f6b9d932d20 sp 00007f6b87ffc490 error 4 in libcef.so[4531d20,7f6b9b7ed000+a36d000] likely on CPU 6 (core 0, socket 0)
segfault when starting steam, it just insta crashed. I'll try to induce a kwin crash by playing gmod or something.

Re: System halts randomly, audio playing and cursor moving for a while then crashes

Reply #42
[28400.731472] ThreadPoolForeg[2359]: segfault at 21ea91276548 ip 00007f6b9d932d20 sp 00007f6b87ffc490 error 4 in libcef.so[4531d20,7f6b9b7ed000+a36d000] likely on CPU 6 (core 0, socket 0)
segfault when starting steam, it just insta crashed. I'll try to induce a kwin crash by playing gmod or something.

Can you figure out what crashed in that quote in my previous post "[   59.968275] brave[2300]: segfault at cfa0fb80000..." and similar?

I had ton of problems before, with steam starting but games crashing, all due to missing lib32-vulkan-nouveau. I have one of those hybrid laptops with AMD and Nvidia so probably not applicable in your case.

Re: System halts randomly, audio playing and cursor moving for a while then crashes

Reply #43
[28400.731472] ThreadPoolForeg[2359]: segfault at 21ea91276548 ip 00007f6b9d932d20 sp 00007f6b87ffc490 error 4 in libcef.so[4531d20,7f6b9b7ed000+a36d000] likely on CPU 6 (core 0, socket 0)
segfault when starting steam, it just insta crashed. I'll try to induce a kwin crash by playing gmod or something.

Can you figure out what crashed in that quote in my previous post "[   59.968275] brave[2300]: segfault at cfa0fb80000..." and similar?

I had ton of problems before, with steam starting but games crashing, all due to missing lib32-vulkan-nouveau. I have one of those hybrid laptops with AMD and Nvidia so probably not applicable in your case.
I had that too, l4d2 couldn't launch in proton or native vulkan mode because I was missing the 32 bit vulkan drivers. That's a separate issue that is easily fixable by having all the required drivers installed.
https://files.catbox.moe/lg3fjf.txt
I managed to make it crash by launching gmod (in proton, native in both openGL and vulkan can't launch). This is as much of the coredump as I could get into a text file before it errored out for some reason.

Re: System halts randomly, audio playing and cursor moving for a while then crashes

Reply #44
Probably obvious and you tried it already: did you try different proton variants? I sometimes have to downgrade until they pass some bump, then it is all safe to use latest again.

This crashed process

process_name: brave PID: 2176

is still confusing, I have steam running and I don't have it. Only reference I found is in

extra/profile-sync-daemon 1:6.50-1
    usr/share/psd/contrib/brave

but it must be something else.