Opened 7 years ago

Last modified 7 years ago

#54329 assigned defect

Hercules IBM system emulator fails

Reported by: zslg01 Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: hercules

Description

The Hercules emulator port fails with an abort(6). I have seen this before under Sierra - usually a dyld issue.

Change History (6)

comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: hercules abort removed
Owner: set to jking@…
Status: newassigned

To clarify, does the port fail to install, or does it successfully install and then the software that is installed fails to work? If a crash is occurring, please attach the macOS crash log file.

comment:2 Changed 7 years ago by zslg01

The install works fine. Upon the first execution, an abort(6) occurs when an IPL is issued. Sometimes the abort(6) even happens just on quitting the app.

comment:3 Changed 7 years ago by zslg01

To clarify - the abort(6) is issued from Hercules not from the OS trying to load - Hercules never gets that far.

comment:4 Changed 7 years ago by zslg01

"Abort trap 6" doesn't seem anything from herc. Google did find the following:

This message tells you that the command executed exited with a non-success result. In this case, "Abort trap: 6" is MacOS's way of telling you that it failed due to a SIGABRT signal (which is signal #6). Usually this would also mean a core dump.

-- I will try and run debugger and get dump

comment:5 Changed 7 years ago by zslg01

The fix is here (from Hercules discussion group)

View Source it is fixed in the latest git if You do not want to pull the updated sources just in hscutl change SOL_TCP to IPPROTO_TCP

and in panel.c around line 707 substitute

strlcpy( cmdline, cmd, sizeof(cmdline) );

*

with *

if (cmd != (void*)cmdline)

strlcpy( cmdline, cmd, sizeof(cmdline) );

*

comment:6 Changed 7 years ago by mf2k (Frank Schima)

Owner: jking@… deleted

See #54369.

Note: See TracTickets for help on using tickets.