Bug 2351143

Summary: nethack crashes on start on epel9 on s390x
Product: [Fedora] Fedora EPEL Reporter: Kevin Fenzi <kevin>
Component: nethackAssignee: Vojtech Trefny <vtrefny>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: lyz, me, vtrefny
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kevin Fenzi 2025-03-10 18:08:14 UTC
nethack crashes on startup on s390x/epel9:

$ nethack
free(): invalid pointer
Aborted (core dumped)

backtrace: 

Core was generated by `/usr/games/nethack/nethack'.
Program terminated with signal SIGABRT, Aborted.
#0  0x000003ffb1d97db6 in __pthread_kill_implementation () from /lib64/libc.so.6
Missing separate debuginfos, use: dnf debuginfo-install nethack-3.6.7-1.el9.s390x
(gdb) where
#0  0x000003ffb1d97db6 in __pthread_kill_implementation () from /lib64/libc.so.6
#1  0x000003ffb1d488c0 in raise () from /lib64/libc.so.6
#2  0x000003ffb1d2a2d0 in abort () from /lib64/libc.so.6
#3  0x000003ffb1d8b030 in __libc_message () from /lib64/libc.so.6
#4  0x000003ffb1da216c in malloc_printerr () from /lib64/libc.so.6
#5  0x000003ffb1da3cd2 in _int_free () from /lib64/libc.so.6
#6  0x000003ffb1da6bd8 in free () from /lib64/libc.so.6
#7  0x00000000010aecb6 in parse_config_line ()
#8  0x00000000010b5e36 in parse_conf_file.lto_priv ()
#9  0x00000000010b6400 in read_config_file ()
#10 0x0000000001161b0e in initoptions ()
#11 0x00000000010082a2 in main ()

Looks like it might be to using a char * as a boolean?