sudden X.Org X server crash (segmentation fault at address 0x0) in nvidia_drv.so with 375.82

On my Debian/unstable machine (x86_64) with the nvidia-driver 375.82-1 package, the X.Org X server suddenly crashed. The /var/log/Xorg.0.log.old contains:

[766695.267] (EE) 
[766695.267] (EE) Backtrace:
[766695.268] (EE) 0: /usr/lib/xorg/Xorg (xorg_backtrace+0x4a) [0x555beba4dc7a]
[766695.268] (EE) 1: /usr/lib/xorg/Xorg (0x555beb894000+0x1bda29) [0x555beba51a29]
[766695.268] (EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7fba78998000+0x110c0) [0x7fba789a90c0]
[766695.268] (EE) 3: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fba7321f000+0xb53e2) [0x7fba732d43e2]
[766695.268] (EE) 4: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fba7321f000+0xbfdd8) [0x7fba732dedd8]
[766695.268] (EE) 5: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fba7321f000+0x5e3f43) [0x7fba73802f43]
[766695.268] (EE) 
[766695.268] (EE) Segmentation fault at address 0x0
[766695.268] (EE) 
Fatal server error:
[766695.268] (EE) Caught signal 11 (Segmentation fault). Server aborting
[766695.268] (EE) 
[766695.268] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[766695.268] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[766695.268] (EE) 
[766696.247] (EE) Server terminated with error (1). Closing log file.

This was the first time it crashed, and this doesn’t seem to be reproducible (well, I don’t even know what could trigger the crash). I’m going to attach a nvidia-bug-report.log.gz file.
nvidia-bug-report.log.gz (131 KB)
nvidia-bug-report-2.log.gz (81.9 KB)

Same problem, with the same version of the driver, but on a different machine (my desktop machine instead of my laptop):

[1817744.652] (EE) 
[1817744.652] (EE) Backtrace:
[1817744.652] (EE) 0: /usr/lib/xorg/Xorg (xorg_backtrace+0x4a) [0x55572bb6ec7a]
[1817744.652] (EE) 1: /usr/lib/xorg/Xorg (0x55572b9b5000+0x1bda29) [0x55572bb72a29]
[1817744.652] (EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7fc4bc0b7000+0x110c0) [0x7fc4bc0c80c0]
[1817744.652] (EE) 3: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fc4b693e000+0xb53e2) [0x7fc4b69f33e2]
[1817744.652] (EE) 4: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fc4b693e000+0xbfdd8) [0x7fc4b69fddd8]
[1817744.652] (EE) 5: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7fc4b693e000+0x5e3f43) [0x7fc4b6f21f43]
[1817744.652] (EE) 
[1817744.652] (EE) Segmentation fault at address 0x0
[1817744.652] (EE) 
Fatal server error:
[1817744.652] (EE) Caught signal 11 (Segmentation fault). Server aborting
[1817744.652] (EE) 
[1817744.652] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[1817744.652] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.

I’ve attached nvidia-bug-report-2.log.gz corresponding to this crash.

It occurred when I moved to a different screen page with the FVWM window manager, using the following binding:

Key Right A CM Scroll +100 0

IIRC, the first crash occurred under similar conditions.

Same crash seen today several times when running Xorg -configure on Debian buster/sid. In my case the dump stops at level 2, though.

The same crash has just occurred with a newer version of the packages: nvidia-driver-libs 384.111-3. This is extremely annoying.