NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-macppc/52864: executing luactl after creating a Lua state causes panic



>Number:         52864
>Category:       port-macppc
>Synopsis:       executing luactl after creating a Lua state causes panic
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 26 01:15:01 +0000 2017
>Originator:     Sevan Janiyan
>Release:        NetBSD-8.0
>Organization:
>Environment:
>Description:
Executing luactl results in a panic rather than listing current states in kernel after creating a states.


trap: kernel write DSI trap @ 0xfdc010d0 by 0xe232cdc8 (DSISR 0x42000000, err=14), lr 0xe232cdb4

panic: trap
stopped in pid 435.1 (luactl) at netbsd:vpanic+0x140: addi r4, r0, 0x0

0x10289a20: at panic+0x4c
0x10289a60: at trap+0x430
0x12089af0: kernel DSI write trap @ 0xfdc010d0 by luaioctl+0x55c: srr1=0x9032 r1=0x10289bc0 cr=0x24000402 xer=0 ctr=0x12f5dc dsisr=0x42000000
0x10289bc0: at luaioctl+0x544
0x10289cf0:  at VOP_IOCTL+0x40
0x10289d20: at vn_ioctl+0xb4
0x10289df0: at sys_ioctl+0x118
0x10289eb0: at syscall+0x274
0x10289f20: user SC trap #54 by 0xfde52bf4: srr1=0xd032 r1=0xffffe970 cr=0x44000408 xer=0x20000000 ctr=0xfde52bec

Photo
https://pbs.twimg.com/media/DR7pLIvXcAE1Jc0.jpg:orig

Confirmed issue on macppc builds of NetBSD 8.0_BETA from the 24th, 8.99.7 and  yesterdays 8.99.9 build.
Unable to recreate issue on i386.
>How-To-Repeat:
modload lua
luactl create state1
luactl
>Fix:



Home | Main Index | Thread Index | Old Index