Follow-up Comment #5, bug #61073 (project groff):
The first sentence in my comment #4 is wrong.
The segmentation fault should be provoked by lack of font
directories, like those in "GROFF_FONT_PATH" and those defined in
"build/defs.h", FONTPATH.
I do neither have "GROFF_FONT_PATH" defined nor the directories in
FONTPATH="/usr/local/share/groff/site-font:/usr/local/share/groff/1.22.4/font:/usr/lib/font"
In "font.cpp" the string "path" gets a pointer "0x6" which can't be
accessed.
A fix is to give "path" in subroutine "font::load_desc()" in file
"font.cpp" a value
char *path = NULL;
That results in:
called subprograms:
./groff: error: can't find 'DESC' file in path '(null)'
./groff: fatal error: invalid device 'ps'
Maybe all declarations of characters need to be given an initial value
that contains a NULL(?) (in C++ files(?)).
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61073>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/