Menu

#402 xdvi crashes with this file

incorrect behaviour
open
nobody
None
5
2021-02-04
2021-02-04
No

Opening the attached dvi file, and then, in the xdvi window, pressing and holding the "Page Down" keyboard key results in a crash:


XDvi 22.87.04 (Xaw toolkit): Failed assertion:
../../../texk/xdvik/dvi-draw.c:2188: "color_bottom != NULL": color_bottom mustn't become negative!
Aborting now. Please report this as a bug to:
http://sourceforge.net/tracker/?group_id=23164&atid=377580
If a core dump has been produced, please invoke:
gdb xdvi-xaw core
Then type "bt", and include the resulting output in your bug report.


Note that it is important to hold the key down; hitting it several times until the last page is reached wil not cause a crash.

The backtrace is as follows:

#0  0x00007fe4846db9d5 in raise () from /lib64/libc.so.6
#1  0x00007fe4846c48a4 in abort () from /lib64/libc.so.6
#2  0x000055a372040f64 in do_abort () at ../../../texk/xdvik/util.c:300
#3  0x000055a37206975b in draw_page () at ../../../texk/xdvik/dvi-draw.c:2188
#4  0x000055a372024324 in redraw (windowrec=<optimized out>) at ../../../texk/xdvik/events.c:6035
#5  0x000055a3720248d7 in redraw_page () at ../../../texk/xdvik/events.c:6188
#6  0x000055a372024bb6 in do_pages () at ../../../texk/xdvik/events.c:6274
#7  0x000055a372049f57 in run_dvi_file (filename=<optimized out>, data=<optimized out>) at ../../../texk/xdvik/xdvi.c:3622
#8  0x000055a372015765 in main (argc=<optimized out>, argv=<optimized out>) at ../../../texk/xdvik/main.c:1314
1 Attachments

Discussion


Log in to post a comment.