Comments (3)
Hi, thanks for the report and the trigger code, I'll have a look
from pcbasic.
Does not occur in 16.12, but does occur in 15.08.12.
The problem appears to be something related to the keyboard being checked in the wait loop after the BEEP
statement:
File "/home/rob/Projects/basic-project/branch1508/pcbasic/sound.py", line 169, in play_sound
self.wait_music(15)
File "/home/rob/Projects/basic-project/branch1508/pcbasic/sound.py", line 176, in wait_music
backend.wait()
File "/home/rob/Projects/basic-project/branch1508/pcbasic/backend.py", line 61, in wait
check_events()
File "/home/rob/Projects/basic-project/branch1508/pcbasic/backend.py", line 70, in check_events
video.check_events()
File "/home/rob/Projects/basic-project/branch1508/pcbasic/video_pygame.py", line 926, in check_events
handle_key_down(event)
File "/home/rob/Projects/basic-project/branch1508/pcbasic/video_pygame.py", line 1064, in handle_key_down
backend.key_down(scan, c)
File "/home/rob/Projects/basic-project/branch1508/pcbasic/backend.py", line 607, in key_down
state.console_state.keyb.key_down(scan, eascii, check_full)
File "/home/rob/Projects/basic-project/branch1508/pcbasic/backend.py", line 580, in key_down
self.insert_chars(eascii, check_full=True)
File "/home/rob/Projects/basic-project/branch1508/pcbasic/backend.py", line 497, in insert_chars
state.console_state.sound.play_sound(800, 0.01)
File "/home/rob/Projects/basic-project/branch1508/pcbasic/sound.py", line 169, in play_sound
self.wait_music(15)
File "/home/rob/Projects/basic-project/branch1508/pcbasic/sound.py", line 176, in wait_music
backend.wait()
File "/home/rob/Projects/basic-project/branch1508/pcbasic/backend.py", line 61, in wait
check_events()
File "/home/rob/Projects/basic-project/branch1508/pcbasic/backend.py", line 70, in check_events
video.check_events()
File "/home/rob/Projects/basic-project/branch1508/pcbasic/video_pygame.py", line 926, in check_events
handle_key_down(event)
File "/home/rob/Projects/basic-project/branch1508/pcbasic/video_pygame.py", line 1064, in handle_key_down
backend.key_down(scan, c)
File "/home/rob/Projects/basic-project/branch1508/pcbasic/backend.py", line 607, in key_down
state.console_state.keyb.key_down(scan, eascii, check_full)
File "/home/rob/Projects/basic-project/branch1508/pcbasic/backend.py", line 580, in key_down
self.insert_chars(eascii, check_full=True)
File "/home/rob/Projects/basic-project/branch1508/pcbasic/backend.py", line 497, in insert_chars
state.console_state.sound.play_sound(800, 0.01)
File "/home/rob/Projects/basic-project/branch1508/pcbasic/sound.py", line 161, in play_sound
tone = AudioEvent(AUDIO_TONE, (frequency, duration, fill, loop, volume))
RuntimeError: maximum recursion depth exceeded
from pcbasic.
Fixed by 598537a
from pcbasic.
Related Issues (20)
- Editing in Screen Mode 9 crashes in Ubuntu when crossing the right edge HOT 2
- DEF FN clobbers variables in argument list HOT 2
- `CONT` should be allowed after `END` HOT 1
- once-working 2.0.4 release now fails to launch on macOS 12.x HOT 4
- dependency libSDL2 not built for Apple Silicon HOT 10
- `pkg_resources` issues with `.deb` package on Ubuntu 22.04 HOT 10
- `PCOPY` has no effect HOT 4
- Crash in `DRAW` statement on type mismatch in linked variable HOT 3
- USAGE.txt missing HOT 4
- Crash attempting to save a program as binary with text-encoding HOT 2
- Bug fix for when reading raw exernal text files with sequencial input mode "I" HOT 2
- Crash on fixed-point `PRINT USING` of small floats HOT 3
- SAVE" BUG HOT 1
- PC-BASIC2.0.6 wont start - VCRUNTIME140.dll not found HOT 5
- crash report after a program break followed by listing a single line HOT 2
- Bug in PCBASIC 2.0.7 for Linux won't open due by DBUS error HOT 7
- Crash when running `AUTO .` HOT 1
- MOD operator returns wrong results for negative argument HOT 3
- Greek codepages, didn't work for me. HOT 2
- chdir ".." nothing changes. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pcbasic.