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

Segfault in riscv-luamod when adding to a table #392

Open
MCJack123 opened this issue Feb 18, 2025 · 0 comments
Open

Segfault in riscv-luamod when adding to a table #392

MCJack123 opened this issue Feb 18, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@MCJack123
Copy link
Owner

Thread 7 "craftos" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffee0f96c0 (LWP 2046477)]
0x00007ffff7f422f3 in luaH_newkey (L=L@entry=0x7fffd70bb610, t=0x7fffd7d1f8b0, key=key@entry=0x7fffd67927f0) at ltable.c:423
423           while (gnext(othern) != mp) othern = gnext(othern);  /* find previous */
(gdb) p mp
$1 = (Node *) 0x7fffd7fde610
(gdb) p othern
$2 = (Node *) 0x0
(gdb) bt
#0  0x00007ffff7f422f3 in luaH_newkey (L=L@entry=0x7fffd70bb610, t=0x7fffd7d1f8b0, key=key@entry=0x7fffd67927f0) at ltable.c:423
#1  0x00007ffff7f4280a in luaH_set (L=L@entry=0x7fffd70bb610, t=<optimized out>, key=key@entry=0x7fffd67927f0) at ltable.c:522
#2  0x00007ffff7f322cf in lua_rawset (L=0x7fffd70bb610, idx=<optimized out>) at lapi.c:863
#3  0x00007ffff7f48d67 in luaB_rawset (L=0x7fffd70bb610) at lbaselib.c:155
#4  0x00007ffff7f36c2d in luaD_precall (L=L@entry=0x7fffd70bb610, func=<optimized out>, nresults=nresults@entry=0) at ldo.c:339
@MCJack123 MCJack123 added the bug Something isn't working label Feb 18, 2025
@MCJack123 MCJack123 self-assigned this Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant