gsport
gsport copied to clipboard
Segfault on Fedora 27 X64
Hi, While launching gsportx from Fedora, I get the following:
[zach@localhost gsport_0.31]$ ./gsportx
Trying 'config.txt'
Parsing configuration file
Trying to open NoBoot.po read-only, errno: 2
Warning:Disk image NoBoot.po does not exist!
Disk image NoBoot.po does not exist!
Warning:Could not find required file "ROM" in any of these directories:
Could not find required file "ROM" in any of these directories:
Warning:
Warning: ./
./
Warning: ${HOME}/
${HOME}/
Warning: ${PWD}/
${PWD}/
Warning: ${HOME}/Library/GSport/
${HOME}/Library/GSport/
Warning: ${0}/Contents/Resources/
${0}/Contents/Resources/
Warning: /usr/local/lib/
/usr/local/lib/
Warning: /usr/local/gsport/
/usr/local/gsport/
Warning: /usr/local/lib/gsport/
/usr/local/lib/gsport/
Warning: /usr/share/gsport/
/usr/share/gsport/
Warning: /var/lib/
/var/lib/
Warning: /usr/lib/gsport/
/usr/lib/gsport/
Warning: ${0}/
${0}/
ascii1: -1, a2code: 0a, pos: 1
ascii1: -1, a2code: 34, pos: 1
ascii1: -1, a2code: 3f, pos: 1
ascii1: -1, a2code: 40, pos: 1
ascii1: -1, a2code: 42, pos: 1
ascii1: -1, a2code: 44, pos: 1
ascii1: -1, a2code: 46, pos: 1
ascii1: -1, a2code: 48, pos: 1
ascii1: -1, a2code: 49, pos: 1
ascii1: -1, a2code: 4a, pos: 1
ascii1: -1, a2code: 4d, pos: 1
ascii1: -1, a2code: 4f, pos: 1
ascii1: -1, a2code: 50, pos: 1
ascii1: -1, a2code: 5d, pos: 1
ascii1: -1, a2code: 5e, pos: 1
ascii1: -1, a2code: 5f, pos: 1
ascii1: -1, a2code: 66, pos: 1
ascii1: -1, a2code: 68, pos: 1
ascii1: -1, a2code: 7f, pos: 1
ascii1: -1, a2code: 6a, pos: 1
ascii1: -1, a2code: 6c, pos: 1
ascii1: -1, a2code: 70, pos: 1
RAM size is 0 - 840000 (8.25MB)
Preparing X Windows graphics system
Visual 0
id: 00000024, screen: 0, depth: 24, class: 4
red: 00ff0000, green: 0000ff00, blue: 000000ff
cmap size: 256, bits_per_rgb: 8
Chose visual: 0, max_colors: -1
Will use shared memory for X
Segmentation fault (core `dumped)`
I tried starting the program in GDB and get:
Program received signal SIGSEGV, Segmentation fault.
dev_video_init () at xdriver.c:618
618 new_gc.font = g_text_FontSt->fid;
(gdb) c
Continuing.
Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb)
What can be done to fix this?
I had the same problem on a Raspberry Pi 3 B+; see https://github.com/david-schmidt/gsport/issues/4 for details. Unfortunately, Fedora doesn't have the same packaging system as Debian, AFAIK, so you might have to find your own solution.
I have Fedora/Centos/RHEL packages you can use. They are built and hosted in Fedora COPR. https://copr.fedorainfracloud.org/coprs/gregw/apple2/
To use:
sudo dnf copr enable gregw/apple2
sudo dnf install gsport gsport-internet_starter_kit
A desktop file and GNOME Software info is included.