First draft: rewrite of {get|set|swap}context(3)

Marcel Moolenaar marcel at
Sun Aug 17 21:14:40 PDT 2003

On Sun, Aug 17, 2003 at 11:30:22PM -0400, Daniel Eischen wrote:
> On Sun, 17 Aug 2003, Daniel Eischen wrote:
> I also think I killed pluto1 again (just by running mutex_d).


fatal kernel trap (cpu 0):
    trap vector = 0x18 (General Exception)
    cr.iip      = 0xe0000000009d3330
    cr.ipsr     = 0x1210080a2018 (ac,mfl,ic,dt,dfh,rt,cpl=0,it,ri=1,bn)
    cr.isr      = 0x20000000030 (code=48,vector=0,ei=1)
    cr.ifa      = 0xe00000002f9f4800
    curthread   = 0xe000000024f5d980
        pid = 28312, comm = gmake
Stopped at      ia32_restorectx+0x61:         mov.m ar.fsr=r14
db> trace
ia32_restorectx() at ia32_restorectx+0x60
cpu_switch(0xe00000003e2f56b8, 0xe000000024f5d980, 0xa00000002317b780, 0xa00000001e3d5fb8) at cpu_switch+0xa0
mi_switch(0xe00000003e2f5540, 0x0, 0xe00000000074cbe0, 0x814) at mi_switch+0x420
msleep(0xe000000000b5aa90, 0x0, 0x4c, 0xe000000000a188b8, 0xa) at msleep+0x8d0
g_event_procbody(0xe000000000b259a8, 0xe000000000b7b0bc, 0xe000000000b5aa90, 0xe000000000715050) at g_event_procbody+0x120
fork_exit(0xe000000000a63780, 0x0, 0xa00000001e3d5550) at fork_exit+0x180
enter_userland() at enter_userland

 Marcel Moolenaar	  USPA: A-39004		 marcel at

More information about the freebsd-threads mailing list