OpenBSD build Segmentation Fault
issueid=4636 12-05-2016 10:44 PM
Junior Member
Number of reported issues by SilentSam: 1
OpenBSD build Segmentation Fault
Running the adom binary in OpenBSD now segfaults instead of launching the game

I know the OpenBSD build was built for OpenBSD 5.4, but it was running fine all the way up to OpenBSD 5.8.

I've just updated to OpenBSD 6.0, and now adom segfaults into a core dump. Can we have an updated build for OpenBSD?

adom.log says this build is Ancient Domains of Mystery (release 60, version 1.15.2)

Edit: This was the ASCII version
Issue Details
Issue Number 4636
Project ADOM (Ancient Domains Of Mystery)
Category Other (please specify)
Status Unconfirmed
Priority Unknown
Affected Version ADOM r60
Fixed Version (none)
Milestone (none)
Users able to reproduce bug 0
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)




12-19-2016 09:56 PM
Junior Member
/$ gdb adom
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd6.0"...(no debugging symbols found)

(gdb) run
Starting program: /usr/local/bin/adom

Program received signal SIGSEGV, Segmentation fault.
malloc (size=65536) at /usr/src/lib/libc/stdlib/malloc.c:1160
1160 /usr/src/lib/libc/stdlib/malloc.c: No such file or directory.
in /usr/src/lib/libc/stdlib/malloc.c
(gdb)

----

Since the source files were missing, I cloned the repo and ran gdb against adom again:

~$ gdb adom
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd6.0"...(no debugging symbols found)

(gdb) run
Starting program: /usr/local/bin/adom

Program received signal SIGSEGV, Segmentation fault.
malloc (size=65536) at /usr/src/lib/libc/stdlib/malloc.c:1160
warning: Source file is more recent than executable.

1160 }
(gdb)

Not much help.

+ Reply