[Top][All Lists]

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

Re: oskit-mach: vm_map_copyout crash

From: Daniel Wagner
Subject: Re: oskit-mach: vm_map_copyout crash
Date: Mon, 5 Nov 2001 23:49:36 +0100
User-agent: Mutt/1.2.5i

On Mon, 05 Nov 2001, Daniel Wagner wrote:

> On Mon, 29 Oct 2001, Daniel Wagner wrote:
> Fixing kmalloc was easy, but I've some problems with kfree. kfree takes

Oops, it should be oskit_skbufio_mem_alloc and not kmalloc. Here is the
bt for freeing memory:

#0  panic (
    fmt=0x209960 "../../oskit-mach/oskit/osenv_mem.c:%u: failed
assertion `flags & OSENV_NONBLOCKING'") at
#1  0x0012abe3 in free_for_oskit (block=0x3698d6c, flags=15, size=0)
    at ../../oskit-mach/oskit/osenv_mem.c:199
#2  0x0012b0e3 in mem_free (o=0x255ca0, block=0x3698d6c, flags=15,
    at ../../oskit-mach/oskit/osenv_mem.c:545
#3  0x00161643 in OSKIT_LINUX_oskit_linux_mem_free (block=0x3698d6c,
    size=0) at ../../../../oskit-20010214/linux/shared/s_kmem.c:52
#4  0x00161695 in OSKIT_LINUX_kfree (p=0x3698d6c)
    at ../../../../oskit-20010214/linux/shared/s_kmem.c:82
#5  0x00168c39 in oskit_skbufio_mem_free (ptr=0x3698d6c, size=384)
    at ../../../../oskit-20010214/linux/dev/skbuff_mem.c:151
#6  0x00168210 in dealloc_skb (skb=0x3698d6c)
    at ../../../../oskit-20010214/linux/dev/skbuff.c:144
#7  0x00168370 in skbuff_io_release (io=0x3698e14)
    at ../../../../oskit-20010214/linux/dev/skbuff.c:254
#8  0x0015bfed in FDEV_LINUX_net_bh ()
    at ../../../../oskit-20010214/linux/dev/net_glue.c:229
#9  0x0014aff2 in FDEV_LINUX_do_bottom_half ()
    at ../../../../oskit-20010214/linux/dev/softintr.c:106
#10 0x0014b04f in linux_softintr_handler (arg=0x0)
    at ../../../../oskit-20010214/linux/dev/softintr.c:129
#11 0x0012bd2a in oskit_softint () at
#12 0x0012babb in softclock_oskit ()
    at ../../oskit-mach/oskit/pc/osenv_timer.c:58
#13 0x0011574c in softclock () at ../../oskit-mach/kern/mach_clock.c:306
#14 0x0013e66e in splx_cli ()
#15 0x00153214 in linux_intr (data=0xa)
    at ../../../../oskit-20010214/linux/dev/irq.c:105
#16 0x0012b64c in irq_handler (iunit=10, old_ipl=0, ret_addr=0x13e193, 
    regs=0x59eaf98) at ../../oskit-mach/oskit/osenv_irq.c:76
#17 0x0013dcf9 in interrupt ()

So oskit_skbufio_mem_free is the problem, I guess.

Daniel Wagner                              "use quit to exit"
email: wagi@gmx.ch

GnuPG: 1024D/DCDE890A (public key available on any keyserver)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]