NetBSD-Bugs archive

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

Re: port-cobalt/53090: lib/libc/gen/t_fpsetmask test cases panic



On Mon, Mar 12, 2018 at 02:20:01AM +0000, venture37%geeklan.co.uk@localhost wrote:
> >Description:
> When running the test suite, the system panics when running the lib/libc/gen/t_fpsetmask tetsts on NetBSD/cobalt.
> 
> 
> bt
> pcu_save+9c
> mips_emul_fp+205c
> mips_fpu_intr+c8
> trap+6ac
> mips3_user_gen_exception+d8

I guess pcu_save() is actuually called via fpu_save(), which is called
from mips/fp.S.
But fp.S looks broken in here. fpu_save() expects a lwp pointer in a0
(probably curlwp in this case), but I can't see where a0 would contain a
lwp pointer here. It looks like a0 has the emulated instruction.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index