Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
08119 Interface Critical (emulator) Always 31 days ago 29 days ago
Tester kmg View Status Public Platform MAME (Self-compiled)
Assigned To crazyc Resolution Fixed OS MacOS X
Status [?] Resolved Driver
Version 0.237 Fixed in Version 0.238 Build 64-bit
Fixed in Git Commit cee44b0 Github Pull Request #
Summary 08119: Lua console: tab completion causing segmentation fault
Description Tab completion causes segmentation fault when used in conjunction with associative array "key" accessing. This seems to be general but see below for a specific example.
Steps To Reproduce Run anything: mame pacman -w -console
In console type: manager.machine.devices[":maincpu"]. (note you need at least the trailing dot)
Then: hit tab
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems Lua console
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
5
User avatar
No.19397
ozfalcon
Tester
29 days ago
This seems to be present back to Mame 0.228
Mame 0.227 doesn't seem to show this behaviour.
User avatar
No.19400
Tafoid
Administrator
29 days ago
Can't seem to duplicate this in Windows. Can anyone else?
User avatar
No.19401
hap
Developer
29 days ago
Crashes here on Windows 10, both 0.237 and local build.
User avatar
No.19403
Robbbert
Developer
29 days ago
Tried on official release and local git, no crash.

The large list of choices has many things starting with sol. and ending with corrupted characters though.
User avatar
No.19404
cuavas
Administrator
29 days ago
It’s probably because whatever does the tab completion (something in linenoise?) is expecting the thing to be a Lua table when it’s actually a bridged object from sol3.