squidowl / halloy

IRC application written in Rust
GNU General Public License v3.0
1.39k stars 50 forks source link

Segfault Arch Linux Nvidia Proprietary Driver #504

Open anrichp opened 2 weeks ago

anrichp commented 2 weeks ago

I have recently upgraded Arch Linux Nvidia proprietary drivers to version 560.35.03 and receiving a segfault as seen below.

segfault at 0 ip 000070c23e810857 sp 00007ffd0048ad10 error 4 in libnvidia-glcore.so.560.35.03[a10857,70c23de00000+1eab000] likely on CPU 13 (core 6, socket 0)
Stack trace of thread 37713:
                                                 #0  0x000070c23e810857 n/a (libnvidia-glcore.so.560.35.03 + 0xa10857)
                                                 #1  0x000070c23ec279e9 n/a (libnvidia-glcore.so.560.35.03 + 0xe279e9)
                                                 #2  0x000070c23ec0d380 n/a (libnvidia-glcore.so.560.35.03 + 0xe0d380)
                                                 #3  0x000070c23eb4b78e n/a (libnvidia-glcore.so.560.35.03 + 0xd4b78e)
                                                 #4  0x00006087b16beaf9 _ZN8wgpu_hal6vulkan8instance102_$LT$impl$u20$wgpu_hal..Surface$LT$wgpu_hal..vulkan..Api$GT$$u20$for$u20$wgpu_hal..vulkan..Surface$GT$15acquire_texture17hf47b02d95a9f265eE (halloy + 0xc2aaf9)
                                                 #5  0x00006087b15f30f7 _ZN9wgpu_core7present52_$LT$impl$u20$wgpu_core..global..Global$LT$G$GT$$GT$27surface_get_current_texture17h22285a7e72f4d088E (halloy + 0xb5f0f7)
                                                 #6  0x00006087b1641d08 _ZN84_$LT$wgpu..backend..wgpu_core..ContextWgpuCore$u20$as$u20$wgpu..context..Context$GT$27surface_get_current_texture17he2e969c32b1b5aefE (halloy + 0xbadd08)
                                                 #7  0x00006087b164f412 _ZN47_$LT$T$u20$as$u20$wgpu..context..DynContext$GT$27surface_get_current_texture17h99415f107ba6a4e6E (halloy + 0xbbb412)
                                                 #8  0x00006087b15a6c5e _ZN4wgpu7Surface19get_current_texture17h7875d75d051d79e0E (halloy + 0xb12c5e)
                                                 #9  0x00006087b0cf7cf3 _ZN99_$LT$iced_wgpu..window..compositor..Compositor$u20$as$u20$iced_graphics..compositor..Compositor$GT$7present17hf2bd4a2d25a35a06E (halloy + 0x263cf3)
                                                 #10 0x00006087b0e86dc6 _ZN10iced_winit7program12run_instance28_$u7b$$u7b$closure$u7d$$u7d$17h62bd7add8c53493fE (halloy + 0x3f2dc6)
                                                 #11 0x00006087b0e8a110 _ZN10iced_winit7program3run29Runner$LT$Message$C$F$C$C$GT$13process_event17h7e092a7ea8401dd0E (halloy + 0x3f6110)
                                                 #12 0x00006087b0e8ed0d _ZN4core3ops8function5impls79_$LT$impl$u20$core..ops..function..FnMut$LT$A$GT$$u20$for$u20$$RF$mut$u20$F$GT$8call_mut17hf6cc455ae1bb6bc7E (halloy + 0x3fad0d)
                                                 #13 0x00006087b0ea70ea _ZN5winit13platform_impl8platform7wayland10event_loop18EventLoop$LT$T$GT$11pump_events17h9aec01c6af4e895fE (halloy + 0x4130ea)
                                                 #14 0x00006087b0ea8eab _ZN5winit13platform_impl8platform7wayland10event_loop18EventLoop$LT$T$GT$13run_on_demand17haaebba096ead24d1E (halloy + 0x414eab)
                                                 #15 0x00006087b0e89827 _ZN10iced_winit7program3run17h52dba8f0f15cafceE (halloy + 0x3f5827)
                                                 #16 0x00006087b0d52ff0 _ZN6halloy4main17h4df41d46334589c8E (halloy + 0x2beff0)
                                                 #17 0x00006087b0d8a67b _ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h700dc8ace755ffb5E (halloy + 0x2f667b)
                                                 #18 0x00006087b0d3b2db _ZN3std2rt10lang_start28_$u7b$$u7b$closure$u7d$$u7d$17hfd49c35c08b2ab10E (halloy + 0x2a72db)
                                                 #19 0x00006087b1e0ffcd _ZN3std2rt19lang_start_internal17hc6d1267ee67d84b1E (halloy + 0x137bfcd)
                                                 #20 0x00006087b0d547c4 main (halloy + 0x2c07c4)
                                                 #21 0x000070c24df45e08 n/a (libc.so.6 + 0x25e08)
                                                 #22 0x000070c24df45ecc __libc_start_main (libc.so.6 + 0x25ecc)
                                                 #23 0x00006087b0c7fa95 _start (halloy + 0x1eba95)
txtsd commented 2 weeks ago

First reported here: https://aur.archlinux.org/packages/halloy#comment-988237

This package is built from source.

casperstorm commented 2 weeks ago

Thanks for reporting. Are you able to see if the tour example from iced (https://github.com/iced-rs/iced) runs as expected?

anrichp commented 2 weeks ago

Thanks for reporting. Are you able to see if the tour example from iced (https://github.com/iced-rs/iced) runs as expected?

Appears to be a similar issue:

Aug 27 16:28:41 anrichp kernel: tour[101336]: segfault at 0 ip 000071e652810857 sp 00007ffebece6210 error 4 in libnvidia-glcore.so.560.35.03[a10857,71e651e00000+1eab000] likely on CPU 2 (core 1, socket 0)
Aug 27 16:28:41 anrichp systemd-coredump[101422]: Process 101336 (tour) of user 1000 terminated abnormally with signal 11/SEGV, processing...
Aug 27 16:28:41 anrichp systemd-coredump[101423]: [🡕] Process 101336 (tour) of user 1000 dumped core.

                                                  Stack trace of thread 101336:
                                                  #0  0x000071e652810857 n/a (libnvidia-glcore.so.560.35.03 + 0xa10857)
                                                  #1  0x000071e652c279e9 n/a (libnvidia-glcore.so.560.35.03 + 0xe279e9)
                                                  #2  0x000071e652c0d380 n/a (libnvidia-glcore.so.560.35.03 + 0xe0d380)
                                                  #3  0x000071e652b4b78e n/a (libnvidia-glcore.so.560.35.03 + 0xd4b78e)
                                                  #4  0x000056a0c7470384 n/a (/home/anrichp/Downloads/iced/target/debug/tour + 0x1d4a384)
                                                  #5  0x000056a0c5a448fa n/a (/home/anrichp/Downloads/iced/target/debug/tour + 0x31e8fa)
                                                  #6  0x000071e664ed3ecc __libc_start_main (libc.so.6 + 0x25ecc)
                                                  #7  0x000056a0c59be975 n/a (/home/anrichp/Downloads/iced/target/debug/tour + 0x298975)
                                                  ELF object binary architecture: AMD x86-64