$xdvi --version
xdvik version 22.84.9 (@(#)GNU/LessTif Version 2.1 Release 0.95.2, runtime version 2.1)
Libraries: kpathsea version 3.5.4, T1lib version 5.1.2
With the attached file, typing C-f caption RET RET causes an abort:
XDvi 22.84.9 (Motif toolkit): Failed assertion:
dvi-draw.c:5928: "G != NULL": T1_SetChar() returned NULL
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-motif.bin core
Then type "bt", and include the resulting output in your bug report.
Char "y": DoClosePath: No previous point!Aborted (core dumped)
$gdb xdvi-motif.bin core
Reading symbols from /usr/share/texmf/bin/xdvi-motif.bin...done.
[New LWP 15813]
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
Failed to read a valid object file image from memory.
Core was generated by `xdvi-motif.bin -name xdvi texinfo.dvi'.
Program terminated with signal 6, Aborted.
(gdb) bt
The file I've attached may be malformed in some way but this still shouldn't cause a crash like this.
Here's a shorter test file that crashes immediately.
I can view a pdf file created from the same input with no problem.
And here's minimal TeX source to produce this error:
\font\secsl=cmbxsl10
{\secsl keyboard-characters}
\bye
I was unable to reproduce the bug with the current version of xdvik. The bug report refers to version 22.84.9, which dates back to 2004 or early 2005. The handling of Type 1 fonts has been rewritten since then, so I doubt very much that the bug still remains (in any form).
Okay, thanks for investigating.