inseven / opolua

A compiled-OPL interpreter for iOS written in Lua
https://opolua.org
MIT License
12 stars 0 forks source link

[ColourMix] Internal Error: memory.lua:421: Out of bounds: 0 len=10 #430

Closed jbmorley closed 2 months ago

jbmorley commented 2 months ago

Description

Press the up arrow on the software keyboard.

Metadata

Key Value
Title ColourMix
Source URL https://archive.org/download/psioncdvol2/PsionCDVol2.iso/Programs%2F589%2Fcolourmix.sis

Details

memory.lua:421: Out of bounds: 0 len=10
COLOURMIX\RENEW:00000E37: 19 [ArrayInDirectRightSideLong] 0x0021
COLOURMIX\COLOURMIX:000005BC: 53 [RunProcedure] 0x003C (name="RENEW" nargs=0)
TOOLBAR\TBARLINK: [Lua] modules/toolbar.lua:84
COLOURMIX\INIT:0000024F: 53 [RunProcedure] 0x00AB (name="TBARLINK" nargs=1)
stack traceback:
    [C]: in function 'error'
    memory.lua:421: in metamethod 'index'
    ops.lua:627: in upvalue 'leftSide'
    ops.lua:633: in function <ops.lua:632>
    (...tail calls...)
    runtime.lua:884: in function <runtime.lua:869>
    [C]: in function 'xpcall'
    runtime.lua:1003: in method 'pcallProc'
    runtime.lua:1049: in method 'callProc'
    modules/toolbar.lua:84: in field 'fn'
    runtime.lua:301: in method 'pushNewFrame'
    ops.lua:1002: in function 'ops.RunProcedure'
    runtime.lua:884: in function <runtime.lua:869>
    [C]: in function 'xpcall'
    runtime.lua:1003: in method 'pcallProc'
    runtime.lua:1290: in function 'runtime.runOpo'
jbmorley commented 2 months ago

Looks like this might be a bug in ColourMix. Can’t reproduce.