Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pressing F7 into debugger shows garbled text at bottom and subsequently crashes #177

Open
xandark opened this issue Oct 6, 2021 · 1 comment

Comments

@xandark
Copy link

xandark commented Oct 6, 2021

git pull
make clean
make
cd build/bin/
./linapple --d1 ../share/linapple/Master.dsk

press F7, then notice the bottom of the debugger has fonts that are garbled
Screenshot 2021-10-05 (18∶05∶42)
press F7 to return
press F7, then Linapple crashes with "terminated by signal SIGSEGV (Address boundary error)"

Output:

Selected machine type: Enhanced Apple //e Emulator
Joystick 1 Index # = 0, Name = (null) 
Button 1 = 0, Button 2 = 1 
Axis 0 = 0,Axis 1 = 1
[debug] Searching: . for Master.dsk
[debug] Searching: share/linapple for Master.dsk
[debug] Searching: /home/michael/.local/share/linapple for Master.dsk
[debug] Searching: /usr/local/share/linapple for Master.dsk
[debug] Searching: /usr/share/linapple for Master.dsk
[warn ] could not find Master.dsk at any of:
[warn ] .
[warn ] share/linapple
[warn ] /home/michael/.local/share/linapple
[warn ] /usr/local/share/linapple
[warn ] /usr/share/linapple
Ready login = anonymous:mymail@hotmail.com
Selected machine type: Enhanced Apple //e Emulator
Joystick 1 Index # = 0, Name = (null) 
Button 1 = 0, Button 2 = 1 
Axis 0 = 0,Axis 1 = 1
Selected keyboard type: US
Keyboard rocker switch: standard/US charset
[debug] Searching: . for Master.dsk
[debug] Searching: share/linapple for Master.dsk
[debug] Searching: /home/michael/.local/share/linapple for Master.dsk
[debug] Searching: /usr/local/share/linapple for Master.dsk
[debug] Searching: /usr/share/linapple for Master.dsk
[warn ] could not find Master.dsk at any of:
[warn ] .
[warn ] share/linapple
[warn ] /home/michael/.local/share/linapple
[warn ] /usr/local/share/linapple
[warn ] /usr/share/linapple
Ready login = anonymous:mymail@hotmail.com
Disk is inserted. Full name = ../share/linapple/Master.dsk
Screen size is 560x384
bufferSize=00002000 bufferIdxMask=00001fff
SDL_MIX_MAXVOLUME=128
Freq=44100,format=32784,channels=2,silence=0
samples=512,size=2048,bufferSize=8192
Charset supports a second language: NO
fish: Job 1, './linapple --d1 ../share/linapp…' terminated by signal SIGSEGV (Address boundary error)

My system:

Operating System: KDE neon 5.22 [Ubuntu 20.04 packages]
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.3
Kernel Version: 5.11.0-37-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-5200U CPU @ 2.20GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 5500

SDL version:

$ apt show libsdl1.2-dev
Package: libsdl1.2-dev
Version: 1.2.15+dfsg2-5
Priority: optional
Section: universe/libdevel
Source: libsdl1.2
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2,864 kB
Provides: libsdl-dev
Depends: libsdl1.2debian (= 1.2.15+dfsg2-5), libasound2-dev, libcaca-dev, libglu1-mesa-dev | libglu-dev, libpulse-dev, libx11-dev, libxext-dev
Conflicts: libsdl-dev
Replaces: libsdl-dev
Homepage: https://www.libsdl.org/
Download-Size: 707 kB
APT-Manual-Installed: yes
APT-Sources: http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
Description: Simple DirectMedia Layer development files
@lowlevel-1989
Copy link
Contributor

@xandark #195 working to fix it on x11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants