[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #61073] [groff]: SEGV with a single option as input
From: |
Bjarni Ingi Gislason |
Subject: |
[bug #61073] [groff]: SEGV with a single option as input |
Date: |
Tue, 24 Aug 2021 18:54:24 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
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/
- [bug #61073] ~/git/build/groff: dumps memory with a single option as input, Bjarni Ingi Gislason, 2021/08/23
- [bug #61073] [groff]: SEGV with a single option as input, G. Branden Robinson, 2021/08/23
- [bug #61073] [groff]: SEGV with a single option as input, Bjarni Ingi Gislason, 2021/08/24
- [bug #61073] [groff]: SEGV with a single option as input, G. Branden Robinson, 2021/08/24
- [bug #61073] [groff]: SEGV with a single option as input, Bjarni Ingi Gislason, 2021/08/24
- [bug #61073] [groff]: SEGV with a single option as input,
Bjarni Ingi Gislason <=
- [bug #61073] [groff]: SEGV with a single option as input, G. Branden Robinson, 2021/08/27
- [bug #61073] [groff]: SEGV with a single option as input, G. Branden Robinson, 2021/08/27
- [bug #61073] [groff]: SEGV with a single option as input, Bjarni Ingi Gislason, 2021/08/27
- [bug #61073] [groff]: SEGV with a single option as input, Bjarni Ingi Gislason, 2021/08/27
- [bug #61073] [groff]: SEGV with a single option as input, G. Branden Robinson, 2021/08/27
- [bug #61073] [groff]: SEGV with a single option as input, Bjarni Ingi Gislason, 2021/08/28
- [bug #61073] [groff]: SEGV with a single option as input, Bjarni Ingi Gislason, 2021/08/31