[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #61073] ~/git/build/groff: dumps memory with a single option as inp
From: |
Bjarni Ingi Gislason |
Subject: |
[bug #61073] ~/git/build/groff: dumps memory with a single option as input |
Date: |
Mon, 23 Aug 2021 18:23:28 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
URL:
<https://savannah.gnu.org/bugs/?61073>
Summary: ~/git/build/groff: dumps memory with a single option
as input
Project: GNU troff
Submitted by: bjarniig
Submitted on: Mon 23 Aug 2021 10:23:26 PM UTC
Category: Core
Severity: 3 - Normal
Item Group: Crash/Not responding
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
~/git/build/groff: dumps memory with a single option as input
groff -i does not dump memory, but others do, like '-b', '-w', '-ma',
'-me'.
As I compile groff differently as other, they need to test.
./groff -z /dev/null
groff[26932]: segfault at a ip 00007fcf80b82846 sp 00007ffef4f433c8
error 4 in libc-2.31.so[7fcf80b0a000+14b000]
Code: 0f 1f 40 00 66 0f ef c0 66 0f ef c9 66 0f ef d2 66 0f ef db 48 89
f8 48 89 f9 48 81 e1 ff 0f 00 00 48 81 f9 cf 0f 00 00 77 6a <f3> 0f 6f
20 66 0f 74 e0 66 0f d7 d4 85 d2 74 04 0f bc c2 c3 48 83
Segmentation fault (core dumped)
gdb ./groff
GNU gdb (Debian 10.1-2) 10.1.90.20210103-git
Copyright (C) 2021 Free Software Foundation, Inc.
...
Reading symbols from ./groff...
(gdb) set args -z /dev/null
(gdb) run
Starting program: /home/bg/git/groff/build/groff -z /dev/null
Program received signal SIGSEGV, Segmentation fault.
__strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
120 ../sysdeps/x86_64/multiarch/../strlen.S: No such file or directory.
(gdb) bt
#0 __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
#1 0x00007ffff7b43f35 in __GI__IO_fputs (str=0x2 <error: Cannot access memory
at address 0x2>,
fp=0x7ffff7c8e5c0 <_IO_2_1_stderr_>) at iofputs.c:33
#2 0x000055555555e16a in errarg::print (this=this@entry=0x7fffffffdef0) at
../src/libs/libgroff/errarg.cpp:85
#3 0x000055555555e329 in errprint (format=0x55555556f76a "'",
format@entry=0x55555556f748 "can't find 'DESC' file in path '%1'",
arg1=..., arg2=..., arg3=...)
at ../src/libs/libgroff/errarg.cpp:113
#4 0x000055555555e4db in do_error_with_file_and_line (filename=0x0,
source_filename=0x0, lineno=0, type=type@entry=ERROR,
format=format@entry=0x55555556f748 "can't find 'DESC' file in path '%1'",
arg1=..., arg2=..., arg3=...)
at ../src/libs/libgroff/error.cpp:73
#5 0x000055555555e598 in do_error (type=type@entry=ERROR,
format=format@entry=0x55555556f748 "can't find 'DESC' file in path '%1'",
arg1=..., arg2=..., arg3=...)
at ../src/libs/libgroff/error.cpp:87
#6 0x000055555555e5d6 in error (format=format@entry=0x55555556f748 "can't
find 'DESC' file in path '%1'", arg1=..., arg2=...,
arg3=...) at ../src/libs/libgroff/error.cpp:104
#7 0x0000555555560e38 in font::load_desc () at
../src/libs/libgroff/font.cpp:1037
#8 0x000055555555ca2e in main (argc=3, argv=0x7fffffffe128) at
../src/roff/groff/groff.cpp:349
(gdb) quit
_______________________________________________________
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 <=
- [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, 2021/08/24
- [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