Bug 289229 - x11/wezterm: update port (crash SIGSEV in wezterm_gui::termwindow::render::paint in wezterm-gui)
Summary: x11/wezterm: update port (crash SIGSEV in wezterm_gui::termwindow::render::pa...
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on: 289274
Blocks:
  Show dependency treegraph
 
Reported: 2025-09-01 11:29 UTC by Dave Cottlehuber
Modified: 2025-11-17 14:51 UTC (History)
2 users (show)

See Also:


Attachments
x11/wezterm: Update to 20250730-110715 (167.30 KB, patch)
2025-09-01 20:49 UTC, Vladyslav Movchan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Cottlehuber freebsd_committer freebsd_triage 2025-09-01 11:29:09 UTC
I get a crash every week or so, all open terminals die immediately.
can you bump the port please? there are updates to wgpu (the rusty
gpu interface library) and many others, and this alone might be
enough to address it.

wezterm version        : 20250213.133349_3
/usr/local/lib/libnvidia-eglcore.so was installed by package nvidia-driver-570.153.02.1500046

Running 15.0-CURRENT amd64 on NVIDIA gpu.
Comment 1 Vladyslav Movchan 2025-09-01 20:49:29 UTC
Created attachment 263400 [details]
x11/wezterm: Update to 20250730-110715

Hello Dave,

Thank you for the report.
Just for the record: I don't experience the problem which you described (with NVIDIA GPU, wezterm-20250213.133349_5 and nvidia-driver-580.76.05.1500063).

I prepared and attached an update for wezterm port.
Now I'm going to test it for a few days.
Comment 2 Vladyslav Movchan 2025-09-03 15:00:16 UTC
I submitted a patch to update wezterm port to the most recent version: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289274
Comment 3 Vladyslav Movchan 2025-09-08 05:42:33 UTC
(In reply to Dave Cottlehuber from comment #0)
Please try the latest port version.
Comment 4 Dave Cottlehuber freebsd_committer freebsd_triage 2025-10-10 12:13:23 UTC
thanks! It looks like I got one already yesterday :-(, I'll wait and see if I get
another one & look at the core dump.
Comment 5 Dave Cottlehuber freebsd_committer freebsd_triage 2025-10-10 12:14:22 UTC
currently running 15.0-ALPHA5, nvidia-driver-580.82.07.1500064, wezterm-20250730.110715_1
Comment 6 Mark Linimon freebsd_committer freebsd_triage 2025-10-11 04:57:19 UTC
^Triage: in general we do not assign PRs to non-committers, on the basis that
they cannot actually do the commit.  In this case, the maintainer-feedback
mechanism is sufficient.
Comment 7 Mark Linimon freebsd_committer freebsd_triage 2025-10-27 20:01:14 UTC
^Triage: to submitter: did the port update solve this problem?
Comment 8 Dave Cottlehuber freebsd_committer freebsd_triage 2025-11-17 00:07:10 UTC
no, still seeing these crashes, on nvidia-drm-515-kmod-580.82.07.1500064_3 & wezterm-20250730.110715_1
Comment 9 Dave Cottlehuber freebsd_committer freebsd_triage 2025-11-17 09:41:54 UTC
Got another one this morning, same spot:

```
$ wezterm --version
wezterm 20250730-110715-6a493f88

$ pkg info |grep -i nvidia
ffnvcodec-headers-12.0.16.1    FFmpeg version of Nvidia Codec SDK headers
nvidia-driver-580.95.05        NVidia graphics card binary drivers for hardware OpenGL rendering
nvidia-drm-515-kmod-580.82.07.1500064_3 NVIDIA DRM Kernel Module
nvidia-kmod-580.95.05.1500068  kmod part of NVidia graphics card binary drivers for hardware OpenGL rendering
nvidia-settings-580.95.05      Display Control Panel for X NVidia driver
nvidia-xconfig-580.95.05       Tool to manipulate X configuration files for the NVidia driver
```

dch@wintermute ~> lldb -c wezterm-gui.core -f /usr/local/bin/wezterm-gui
(lldb) target create "/usr/local/bin/wezterm-gui" --core "wezterm-gui.core"
Core file '/home/dch/wezterm-gui.core' (x86_64) was loaded.
(lldb) bt
* thread #1, name = 'wezterm-gui', stop reason = signal SIGSEGV
  * frame #0: 0x000021098b3856c8 libnvidia-eglcore.so.1`___lldb_unnamed_symbol39444 + 376
    frame #1: 0x000021098b39893d libnvidia-eglcore.so.1`___lldb_unnamed_symbol39501 + 1277
    frame #2: 0x000021098b029f27 libnvidia-eglcore.so.1`___lldb_unnamed_symbol30007 + 471
    frame #3: 0x00002100aed9b006 wezterm-gui`wezterm_gui::termwindow::render::paint::_$LT$impl$u20$wezterm_gui..termwindow..TermWindow$GT$::paint_impl::h5dd077ec3f045071 + 31398
    frame #4: 0x00002100aedfc71c wezterm-gui`wezterm_gui::termwindow::TermWindow::do_paint::h238dbae46550ef93 + 620
    frame #5: 0x00002100aedf7ff8 wezterm-gui`wezterm_gui::termwindow::TermWindow::dispatch_window_event::h076d0d83e4129e39 + 9736
    frame #6: 0x00002100aedf5862 wezterm-gui`wezterm_gui::termwindow::TermWindow::new_window::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h626e795bf93469b4 + 50
    frame #7: 0x00002100afd8340a wezterm-gui`window::os::x11::window::XWindowInner::dispatch_pending_events::hc0b686a622890d24 + 4746
    frame #8: 0x00002100afe290d4 wezterm-gui`window::os::x11::connection::XConnection::with_window_inner::_$u7b$$u7b$closure$u7d$$u7d$::hd1fb3017858c2880 + 276
    frame #9: 0x00002100afe28e13 wezterm-gui`async_task::raw::RawTask$LT$F$C$T$C$S$C$M$GT$::run::h5a57978912cc7c1f + 67
    frame #10: 0x00002100afcd140f wezterm-gui`window::spawn::SpawnQueue::run::h49d44c95f73f6e8c + 1407
    frame #11: 0x00002100afddf48c wezterm-gui`_$LT$window..os..x_and_wayland..Connection$u20$as$u20$window..connection..ConnectionOps$GT$::run_message_loop::hcf053e01c37a57c5 + 3164
    frame #12: 0x00002100aee34dd5 wezterm-gui`wezterm_gui::run_terminal_gui::h1ffae6f7c402a9bc + 6453
    frame #13: 0x00002100aee42aac wezterm-gui`wezterm_gui::run::h4558a49682c339ad + 14140
    frame #14: 0x00002100aee37892 wezterm-gui`wezterm_gui::main::h7a2d701bc197c5b0 + 146
    frame #15: 0x00002100aeb211e3 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h66247ee8554a7333 + 3
    frame #16: 0x00002100aee501a8 wezterm-gui`main + 1112
    frame #17: 0x00002108d803e37f libc.so.7`__libc_start1 + 303
    frame #18: 0x00002100aeaa2be1 wezterm-gui`_start + 33
(lldb) bt all
* thread #1, name = 'wezterm-gui', stop reason = signal SIGSEGV
  * frame #0: 0x000021098b3856c8 libnvidia-eglcore.so.1`___lldb_unnamed_symbol39444 + 376
    frame #1: 0x000021098b39893d libnvidia-eglcore.so.1`___lldb_unnamed_symbol39501 + 1277
    frame #2: 0x000021098b029f27 libnvidia-eglcore.so.1`___lldb_unnamed_symbol30007 + 471
    frame #3: 0x00002100aed9b006 wezterm-gui`wezterm_gui::termwindow::render::paint::_$LT$impl$u20$wezterm_gui..termwindow..TermWindow$GT$::paint_impl::h5dd077ec3f045071 + 31398
    frame #4: 0x00002100aedfc71c wezterm-gui`wezterm_gui::termwindow::TermWindow::do_paint::h238dbae46550ef93 + 620
    frame #5: 0x00002100aedf7ff8 wezterm-gui`wezterm_gui::termwindow::TermWindow::dispatch_window_event::h076d0d83e4129e39 + 9736
    frame #6: 0x00002100aedf5862 wezterm-gui`wezterm_gui::termwindow::TermWindow::new_window::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h626e795bf93469b4 + 50
    frame #7: 0x00002100afd8340a wezterm-gui`window::os::x11::window::XWindowInner::dispatch_pending_events::hc0b686a622890d24 + 4746
    frame #8: 0x00002100afe290d4 wezterm-gui`window::os::x11::connection::XConnection::with_window_inner::_$u7b$$u7b$closure$u7d$$u7d$::hd1fb3017858c2880 + 276
    frame #9: 0x00002100afe28e13 wezterm-gui`async_task::raw::RawTask$LT$F$C$T$C$S$C$M$GT$::run::h5a57978912cc7c1f + 67
    frame #10: 0x00002100afcd140f wezterm-gui`window::spawn::SpawnQueue::run::h49d44c95f73f6e8c + 1407
    frame #11: 0x00002100afddf48c wezterm-gui`_$LT$window..os..x_and_wayland..Connection$u20$as$u20$window..connection..ConnectionOps$GT$::run_message_loop::hcf053e01c37a57c5 + 3164
    frame #12: 0x00002100aee34dd5 wezterm-gui`wezterm_gui::run_terminal_gui::h1ffae6f7c402a9bc + 6453
    frame #13: 0x00002100aee42aac wezterm-gui`wezterm_gui::run::h4558a49682c339ad + 14140
    frame #14: 0x00002100aee37892 wezterm-gui`wezterm_gui::main::h7a2d701bc197c5b0 + 146
    frame #15: 0x00002100aeb211e3 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h66247ee8554a7333 + 3
    frame #16: 0x00002100aee501a8 wezterm-gui`main + 1112
    frame #17: 0x00002108d803e37f libc.so.7`__libc_start1 + 303
    frame #18: 0x00002100aeaa2be1 wezterm-gui`_start + 33
  thread #2, name = 'wezterm-gui', stop reason = signal SIGSEGV
    frame #0: 0x00002108e0411e4a libsys.so.7`__sys_nanosleep + 10
    frame #1: 0x00002108da60423c libthr.so.3`___lldb_unnamed_symbol727 + 44
    frame #2: 0x00002100aeb1d85b wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h3ddded8f5ffffb4b + 939
    frame #3: 0x00002100aeb5ce5a wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h926d5be5566e3cbf + 218
    frame #4: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #5: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
  thread #3, name = 'async-io', stop reason = signal SIGSEGV
    frame #0: 0x00002108e04103ea libsys.so.7`kevent + 10
    frame #1: 0x00002100aee8959e wezterm-gui`async_io::reactor::ReactorLock::react::h424d30b7074a1167 + 1230
    frame #2: 0x00002100aee87ae2 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h4b0d1b83b87d5bfe + 226
    frame #3: 0x00002100aee8f7da wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h8a7fb096e9a4d5bb + 218
    frame #4: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #5: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
  thread #4, name = 'notify-rs kqueue lo', stop reason = signal SIGSEGV
    frame #0: 0x00002108e04103ea libsys.so.7`kevent + 10
    frame #1: 0x00002100af4a54ef wezterm-gui`notify::kqueue::EventLoop::event_loop_thread::h064aa9fee7800822 + 111
    frame #2: 0x00002100af4a5474 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::ha481847fdb5cb550 + 36
    frame #3: 0x00002100af4af6a1 wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hcf2dc3e1d1d2b2ce + 289
    frame #4: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #5: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
  thread #5, name = 'wezterm-gui', stop reason = signal SIGSEGV
    frame #0: 0x00002108e0410c6a libsys.so.7`__sys__umtx_op + 10
    frame #1: 0x00002100aefc3e7b wezterm-gui`std::sync::mpmc::list::Channel$LT$T$GT$::recv::_$u7b$$u7b$closure$u7d$$u7d$::h3218a0aabc0fe21d + 203
    frame #2: 0x00002100aefc1601 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h6914c998bce8a91c + 785
    frame #3: 0x00002100aefceed4 wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::heab59487f6204550 + 308
    frame #4: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #5: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
  thread #6, name = 'wezterm-gui', stop reason = signal SIGSEGV
    frame #0: 0x00002108e0410c6a libsys.so.7`__sys__umtx_op + 10
    frame #1: 0x00002100af297d0b wezterm-gui`std::sync::mpmc::array::Channel$LT$T$GT$::recv::_$u7b$$u7b$closure$u7d$$u7d$::h0f24ff4d96ae686b + 219
    frame #2: 0x00002100af295ac7 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h72a9f38a523b8941 + 1607
    frame #3: 0x00002100af325963 wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h921467a8e9a37fe6 + 275
    frame #4: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #5: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
  thread #7, name = 'wezterm-gui', stop reason = signal SIGSEGV
    frame #0: 0x00002108e0411ce8 libsys.so.7`__sys_accept4 + 8
    frame #1: 0x00002108da60400a libthr.so.3`___lldb_unnamed_symbol720 + 58
    frame #2: 0x00002100aeb204c0 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h43481f22ad380722 + 864
    frame #3: 0x00002100aeb5a3e5 wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h51573cf4c293db63 + 277
    frame #4: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #5: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
  thread #8, name = 'update_checker', stop reason = signal SIGSEGV
    frame #0: 0x00002108e0411e4a libsys.so.7`__sys_nanosleep + 10
    frame #1: 0x00002108da60423c libthr.so.3`___lldb_unnamed_symbol727 + 44
    frame #2: 0x00002100aee1b1ad wezterm-gui`wezterm_gui::update::update_checker::hecec60fb2ad5edf2 + 9309
    frame #3: 0x00002100aeb27766 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::hcfeab85168ccf496 + 6
    frame #4: 0x00002100aeb5af6e wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h79b532e4fc6f363e + 206
    frame #5: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #6: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
  thread #9, name = 'wezterm-gui', stop reason = signal SIGSEGV
    frame #0: 0x00002108e0410c6a libsys.so.7`__sys__umtx_op + 10
    frame #1: 0x00002100afaeacfb wezterm-gui`std::sync::mpmc::list::Channel$LT$T$GT$::recv::_$u7b$$u7b$closure$u7d$$u7d$::h7cac23ea27dab6b3 + 203
    frame #2: 0x00002100afae9a42 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h07eadc507d8f58a0 + 850
    frame #3: 0x00002100afaf8732 wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h95aa0077c56b1e0b + 274
    frame #4: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #5: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
  thread #10, name = 'wezterm-gui', stop reason = signal SIGSEGV
    frame #0: 0x00002108e0412128 libsys.so.7`__sys_wait4 + 8
    frame #1: 0x00002108da6046bc libthr.so.3`___lldb_unnamed_symbol738 + 60
    frame #2: 0x00002100af681c0b wezterm-gui`std::process::Child::wait::h2b749816846b74db + 107
    frame #3: 0x00002100af4ea7b0 wezterm-gui`_$LT$std..process..Child$u20$as$u20$portable_pty..Child$GT$::wait::hddcdd284f3fd5d85 + 16
    frame #4: 0x00002100af2940a0 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h6220fe788ae6225e + 48
    frame #5: 0x00002100af307925 wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h941cf462cc4d5107 + 277
    frame #6: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #7: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
  thread #11, name = 'wezterm-gui', stop reason = signal SIGSEGV
    frame #0: 0x00002108e0411f48 libsys.so.7`__sys_read + 8
    frame #1: 0x00002108da6043c3 libthr.so.3`___lldb_unnamed_symbol731 + 51
    frame #2: 0x00002100af4e72d9 wezterm-gui`_$LT$portable_pty..unix..PtyFd$u20$as$u20$std..io..Read$GT$::read::he4b764d95e595c32 + 9
    frame #3: 0x00002100af2581c3 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h37cacf4d3c936332 + 2643
    frame #4: 0x00002100af2c3367 wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h982ed07c5455317f + 295
    frame #5: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #6: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
  thread #12, name = 'wezterm-gui', stop reason = signal SIGSEGV
    frame #0: 0x00002108e0411f48 libsys.so.7`__sys_read + 8
    frame #1: 0x00002108da6043c3 libthr.so.3`___lldb_unnamed_symbol731 + 51
    frame #2: 0x00002100af251102 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h1a29a44bc84d3d56 + 770
    frame #3: 0x00002100af262da0 wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h52346d664630a86e + 288
    frame #4: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #5: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
  thread #13, name = 'wezterm-gui', stop reason = signal SIGSEGV
    frame #0: 0x00002108e0410c6a libsys.so.7`__sys__umtx_op + 10
    frame #1: 0x00002100afaeacfb wezterm-gui`std::sync::mpmc::list::Channel$LT$T$GT$::recv::_$u7b$$u7b$closure$u7d$$u7d$::h7cac23ea27dab6b3 + 203
    frame #2: 0x00002100afae9a42 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h07eadc507d8f58a0 + 850
    frame #3: 0x00002100afaf8732 wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h95aa0077c56b1e0b + 274
    frame #4: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #5: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
  thread #14, name = 'wezterm-gui', stop reason = signal SIGSEGV
    frame #0: 0x00002108e0412128 libsys.so.7`__sys_wait4 + 8
    frame #1: 0x00002108da6046bc libthr.so.3`___lldb_unnamed_symbol738 + 60
    frame #2: 0x00002100af681c0b wezterm-gui`std::process::Child::wait::h2b749816846b74db + 107
    frame #3: 0x00002100af4ea7b0 wezterm-gui`_$LT$std..process..Child$u20$as$u20$portable_pty..Child$GT$::wait::hddcdd284f3fd5d85 + 16
    frame #4: 0x00002100af2940a0 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h6220fe788ae6225e + 48
    frame #5: 0x00002100af307925 wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h941cf462cc4d5107 + 277
    frame #6: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #7: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
  thread #15, name = 'wezterm-gui', stop reason = signal SIGSEGV
    frame #0: 0x00002108e0411f48 libsys.so.7`__sys_read + 8
    frame #1: 0x00002108da6043c3 libthr.so.3`___lldb_unnamed_symbol731 + 51
    frame #2: 0x00002100af4e72d9 wezterm-gui`_$LT$portable_pty..unix..PtyFd$u20$as$u20$std..io..Read$GT$::read::he4b764d95e595c32 + 9
    frame #3: 0x00002100af2581c3 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h37cacf4d3c936332 + 2643
    frame #4: 0x00002100af2c3367 wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h982ed07c5455317f + 295
    frame #5: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #6: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
  thread #16, name = 'wezterm-gui', stop reason = signal SIGSEGV
    frame #0: 0x00002108e0411f48 libsys.so.7`__sys_read + 8
    frame #1: 0x00002108da6043c3 libthr.so.3`___lldb_unnamed_symbol731 + 51
    frame #2: 0x00002100af251102 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h1a29a44bc84d3d56 + 770
    frame #3: 0x00002100af262da0 wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h52346d664630a86e + 288
    frame #4: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #5: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
  thread #17, name = 'wezterm-gui', stop reason = signal SIGSEGV
    frame #0: 0x00002108e0410c6a libsys.so.7`__sys__umtx_op + 10
    frame #1: 0x00002100afaeacfb wezterm-gui`std::sync::mpmc::list::Channel$LT$T$GT$::recv::_$u7b$$u7b$closure$u7d$$u7d$::h7cac23ea27dab6b3 + 203
    frame #2: 0x00002100afae9a42 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h07eadc507d8f58a0 + 850
    frame #3: 0x00002100afaf8732 wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h95aa0077c56b1e0b + 274
    frame #4: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #5: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
  thread #18, name = 'wezterm-gui', stop reason = signal SIGSEGV
    frame #0: 0x00002108e0412128 libsys.so.7`__sys_wait4 + 8
    frame #1: 0x00002108da6046bc libthr.so.3`___lldb_unnamed_symbol738 + 60
    frame #2: 0x00002100af681c0b wezterm-gui`std::process::Child::wait::h2b749816846b74db + 107
    frame #3: 0x00002100af4ea7b0 wezterm-gui`_$LT$std..process..Child$u20$as$u20$portable_pty..Child$GT$::wait::hddcdd284f3fd5d85 + 16
    frame #4: 0x00002100af2940a0 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h6220fe788ae6225e + 48
    frame #5: 0x00002100af307925 wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h941cf462cc4d5107 + 277
    frame #6: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #7: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
  thread #19, name = 'wezterm-gui', stop reason = signal SIGSEGV
    frame #0: 0x00002108e0411f48 libsys.so.7`__sys_read + 8
    frame #1: 0x00002108da6043c3 libthr.so.3`___lldb_unnamed_symbol731 + 51
    frame #2: 0x00002100af4e72d9 wezterm-gui`_$LT$portable_pty..unix..PtyFd$u20$as$u20$std..io..Read$GT$::read::he4b764d95e595c32 + 9
    frame #3: 0x00002100af2581c3 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h37cacf4d3c936332 + 2643
    frame #4: 0x00002100af2c3367 wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h982ed07c5455317f + 295
    frame #5: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #6: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
  thread #20, name = 'wezterm-gui', stop reason = signal SIGSEGV
    frame #0: 0x00002108e0411f48 libsys.so.7`__sys_read + 8
    frame #1: 0x00002108da6043c3 libthr.so.3`___lldb_unnamed_symbol731 + 51
    frame #2: 0x00002100af251102 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h1a29a44bc84d3d56 + 770
    frame #3: 0x00002100af262da0 wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h52346d664630a86e + 288
    frame #4: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #5: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
  thread #21, name = 'wezterm-gui', stop reason = signal SIGSEGV
    frame #0: 0x00002108e0410c6a libsys.so.7`__sys__umtx_op + 10
    frame #1: 0x00002100afaeacfb wezterm-gui`std::sync::mpmc::list::Channel$LT$T$GT$::recv::_$u7b$$u7b$closure$u7d$$u7d$::h7cac23ea27dab6b3 + 203
    frame #2: 0x00002100afae9a42 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h07eadc507d8f58a0 + 850
    frame #3: 0x00002100afaf8732 wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h95aa0077c56b1e0b + 274
    frame #4: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #5: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
  thread #22, name = 'wezterm-gui', stop reason = signal SIGSEGV
    frame #0: 0x00002108e0412128 libsys.so.7`__sys_wait4 + 8
    frame #1: 0x00002108da6046bc libthr.so.3`___lldb_unnamed_symbol738 + 60
    frame #2: 0x00002100af681c0b wezterm-gui`std::process::Child::wait::h2b749816846b74db + 107
    frame #3: 0x00002100af4ea7b0 wezterm-gui`_$LT$std..process..Child$u20$as$u20$portable_pty..Child$GT$::wait::hddcdd284f3fd5d85 + 16
    frame #4: 0x00002100af2940a0 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h6220fe788ae6225e + 48
    frame #5: 0x00002100af307925 wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h941cf462cc4d5107 + 277
    frame #6: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #7: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
  thread #23, name = 'wezterm-gui', stop reason = signal SIGSEGV
    frame #0: 0x00002108e0411f48 libsys.so.7`__sys_read + 8
    frame #1: 0x00002108da6043c3 libthr.so.3`___lldb_unnamed_symbol731 + 51
    frame #2: 0x00002100af4e72d9 wezterm-gui`_$LT$portable_pty..unix..PtyFd$u20$as$u20$std..io..Read$GT$::read::he4b764d95e595c32 + 9
    frame #3: 0x00002100af2581c3 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h37cacf4d3c936332 + 2643
    frame #4: 0x00002100af2c3367 wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h982ed07c5455317f + 295
    frame #5: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #6: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
  thread #24, name = 'wezterm-gui', stop reason = signal SIGSEGV
    frame #0: 0x00002108e0411f48 libsys.so.7`__sys_read + 8
    frame #1: 0x00002108da6043c3 libthr.so.3`___lldb_unnamed_symbol731 + 51
    frame #2: 0x00002100af251102 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h1a29a44bc84d3d56 + 770
    frame #3: 0x00002100af262da0 wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h52346d664630a86e + 288
    frame #4: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #5: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
  thread #25, name = 'wezterm-gui', stop reason = signal SIGSEGV
    frame #0: 0x00002108e0410c6a libsys.so.7`__sys__umtx_op + 10
    frame #1: 0x00002100afaeacfb wezterm-gui`std::sync::mpmc::list::Channel$LT$T$GT$::recv::_$u7b$$u7b$closure$u7d$$u7d$::h7cac23ea27dab6b3 + 203
    frame #2: 0x00002100afae9a42 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h07eadc507d8f58a0 + 850
    frame #3: 0x00002100afaf8732 wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h95aa0077c56b1e0b + 274
    frame #4: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #5: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
  thread #26, name = 'wezterm-gui', stop reason = signal SIGSEGV
    frame #0: 0x00002108e0412128 libsys.so.7`__sys_wait4 + 8
    frame #1: 0x00002108da6046bc libthr.so.3`___lldb_unnamed_symbol738 + 60
    frame #2: 0x00002100af681c0b wezterm-gui`std::process::Child::wait::h2b749816846b74db + 107
    frame #3: 0x00002100af4ea7b0 wezterm-gui`_$LT$std..process..Child$u20$as$u20$portable_pty..Child$GT$::wait::hddcdd284f3fd5d85 + 16
    frame #4: 0x00002100af2940a0 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h6220fe788ae6225e + 48
    frame #5: 0x00002100af307925 wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h941cf462cc4d5107 + 277
    frame #6: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #7: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
  thread #27, name = 'wezterm-gui', stop reason = signal SIGSEGV
    frame #0: 0x00002108e0411f48 libsys.so.7`__sys_read + 8
    frame #1: 0x00002108da6043c3 libthr.so.3`___lldb_unnamed_symbol731 + 51
    frame #2: 0x00002100af4e72d9 wezterm-gui`_$LT$portable_pty..unix..PtyFd$u20$as$u20$std..io..Read$GT$::read::he4b764d95e595c32 + 9
    frame #3: 0x00002100af2581c3 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h37cacf4d3c936332 + 2643
    frame #4: 0x00002100af2c3367 wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h982ed07c5455317f + 295
    frame #5: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #6: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
  thread #28, name = 'wezterm-gui', stop reason = signal SIGSEGV
    frame #0: 0x00002108e0411f48 libsys.so.7`__sys_read + 8
    frame #1: 0x00002108da6043c3 libthr.so.3`___lldb_unnamed_symbol731 + 51
    frame #2: 0x00002100af251102 wezterm-gui`std::sys::backtrace::__rust_begin_short_backtrace::h1a29a44bc84d3d56 + 770
    frame #3: 0x00002100af262da0 wezterm-gui`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h52346d664630a86e + 288
    frame #4: 0x00002100af68451f wezterm-gui`std::sys::pal::unix::thread::Thread::new::thread_start::h16788b5665372f3b + 47
    frame #5: 0x00002108da5f8d21 libthr.so.3`___lldb_unnamed_symbol575 + 337
(lldb)
Comment 10 Vladyslav Movchan 2025-11-17 14:51:28 UTC
(In reply to Dave Cottlehuber from comment #9)
I don't have an answer, but I spotted few bits which look like inconsistencies and might be related to the problem.

First is 1500068 vs 1500064 in versions of nvidia-kmod and nvidia-drm-515-kmod packages.
This number corresponds to __FreeBSD_version variable (from sys/param.h at the time of port/package compilation) and it represents kernel binary interface version.
Different values mean different KBIs which, in my understanding, might not be 100% compatible.

Second is 580.95.05 vs 580.82.07 in versions of most of the nvidia packages and nvidia-drm-515-kmod. I think this means nvidia-drm-515-kmod package has been built for/with older nvidia-driver sources.
Which, again, could have some incompatibilities.

Third: based on the contents of /usr/ports/graphics/nvidia-drm-kmod/Makefile recent FreeBSD 15 (with __FreeBSD_version >= 1500031) uses graphics/nvidia-drm-66-kmod package and not graphics/nvidia-drm-515-kmod.
I'm not sure how critical this 6.6 vs 5.15 difference is - maybe it is just "recommended".


Unfortunately, this is all I have for now.