[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #61643] grops: core dump when running and compiled with -Wsanitize=
From: |
Bjarni Ingi Gislason |
Subject: |
[bug #61643] grops: core dump when running and compiled with -Wsanitize=undefined |
Date: |
Wed, 8 Dec 2021 13:29:19 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
URL:
<https://savannah.gnu.org/bugs/?61643>
Summary: grops: core dump when running and compiled with
-Wsanitize=undefined
Project: GNU troff
Submitted by: bjarniig
Submitted on: Wed 08 Dec 2021 06:29:17 PM UTC
Category: Device grops
Severity: 3 - Normal
Item Group: Build/Installation
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
Subject: grops: core dump when running and compiled with -Wsanitize=undefined
traps: grops[17629] trap invalid opcode ip:555e4af69280 sp:7fff0bc51790
error:0 in grops[555e4af5d000+28000]
traps: grops[18200] trap invalid opcode ip:55a43e350280 sp:7ffcaeb8dcf0
error:0 in grops[55a43e344000+28000]
#0 0x000055a43e350280 in resource_manager::process_file
(this=0x55a43f433758, rank=0, fp=<optimized out>,
filename=<optimized out>, outfp=<optimized out>) at
../src/devices/grops/psrm.cpp:1026
1026 = (this->*(comment_table[i].proc))(ptr, rank,
fp, outfp);
(gdb) print i
$1 = 1
Warnings from compilations:
../src/devices/grops/ps.cpp: In member function 'special':
../src/devices/grops/ps.cpp:1567:28: warning: 'i.130' may be used
uninitialized [-Wmaybe-uninitialized]
1567 | (this->*(proc_table[i].proc))(p, env);
| ^
../src/devices/grops/ps.cpp:1567:28: note: 'i.130' was declared here
1567 | (this->*(proc_table[i].proc))(p, env);
| ^
../src/devices/grops/psrm.cpp: In member function 'process_file':
../src/devices/grops/psrm.cpp:1026:43: warning: 'i.104' may be used
uninitialized in this function [-Wmaybe-uninitialized]
1026 | = (this->*(comment_table[i].proc))(ptr, rank,
fp, outfp);
| ^
CXX src/devices/grotty/tty.o
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61643>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #61643] grops: core dump when running and compiled with -Wsanitize=undefined,
Bjarni Ingi Gislason <=