-Tx11: Assertion `xev.xbutton.button >= 1 && xev.xbutton.button <= 5 && "Xlib returned invalid button event"' failed

Steps to reproduce

$ cat dig.dot 
digraph D {
	A->B
}
$ dot -Tx11 dig.dot # and zoom into the graph

I'm on a thinkpad. I hold the middle mouse button and push the trackpoint upwards. It zooms at first, but almost immediately it crashes.

Expected Behaviour

I expect to see a zoomed in version of the graph.

Actual Behaviour

The window closes.

$ dot -Tx11 dig.dot
dot: gvdevice_xlib.c:191: handle_xlib_events: Assertion `xev.xbutton.button >= 1 && xev.xbutton.button <= 5 && "Xlib returned invalid button event"' failed.
Abgebrochen

OS Version

Artix Linux

Graphviz Version

dot - graphviz version 4.0.0 (0)

Additional info

Under gdb it zooms a bit more until it crashes.

(gdb) exec-file /usr/bin/dot
(gdb) run  -Tx11 dig.dot 
Starting program: /usr/bin/dot -Tx11 dig.dot
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Error while mapping shared library sections:
`/usr/lib': not in executable format: file format not recognized
[New Thread 0x7ffff6fb4640 (LWP 25475)]
[Thread 0x7ffff6fb4640 (LWP 25475) exited]
[New Thread 0x7ffff6fb4640 (LWP 25476)]
[New Thread 0x7ffff6507640 (LWP 25477)]
[Thread 0x7ffff6fb4640 (LWP 25476) exited]
[Thread 0x7ffff6507640 (LWP 25477) exited]
dot: gvdevice_xlib.c:191: handle_xlib_events: Assertion `xev.xbutton.button >= 1 && xev.xbutton.button <= 5 && "Xlib returned invalid button event"' failed.

Thread 1 "dot" received signal SIGABRT, Aborted.
0x00007ffff7c8e36c in ?? () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff7c8e36c in  () at /usr/lib/libc.so.6
#1  0x00007ffff7c3e838 in raise () at /usr/lib/libc.so.6
#2  0x00007ffff7c28535 in abort () at /usr/lib/libc.so.6
#3  0x00007ffff7c2845c in  () at /usr/lib/libc.so.6
#4  0x00007ffff7c37366 in  () at /usr/lib/libc.so.6
#5  0x00007ffff7e58102 in  () at /usr/lib/graphviz/libgvplugin_xlib.so.6
#6  0x00005555555550c4 in  ()
#7  0x00007ffff7ffdab0 in _rtld_global () at /lib64/ld-linux-x86-64.so.2
#8  0x00007fffffffe108 in  ()
#9  0x0000000000000003 in  ()
#10 0x00007ffff7c29290 in  () at /usr/lib/libc.so.6
#11 0x00007ffff7c2934a in __libc_start_main () at /usr/lib/libc.so.6
#12 0x00005555555551f5 in  ()
#13 0x00007fffffffe0f8 in  ()
#14 0x000000000000001c in  ()
#15 0x0000000000000003 in  ()
#16 0x00007fffffffe406 in  ()
#17 0x00007fffffffe413 in  ()
#18 0x00007fffffffe419 in  ()
#19 0x0000000000000000 in  ()
Assignee Loading
Time tracking Loading