tech-kern archive

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

assertion failed in fd_free()



Hi -
just got a panic, the KASSERT at kern_descrip.c:1537
(!ff->ff_allocated) failed.
This is with -current/i386 (sources from one or two days ago).
Here is some stacktrace:

#10 0xc05b91e9 in kern_assert (t=0xc06990be "diagnostic ",
    f=0xc06c0854 "../../../../kern/kern_descrip.c", l=1537,
    e=0xc06c07a8 "!ff->ff_allocated")
    at ../../../../../../lib/libkern/kern_assert.c:50
#11 0xc0305532 in fd_free () at ../../../../kern/kern_descrip.c:1537
#12 0xc030c451 in exit1 (l=0xdb7fd060, rv=256)
    at ../../../../kern/kern_exit.c:276
#13 0xc030cc50 in sys_exit (l=0xdb7fd060, uap=0xd42bfd00, retval=0xd42bfd28)
    at ../../../../kern/kern_exit.c:175

In case it helps, the fdfile structure is:
(gdb) print *ff
$1 = {ff_exclose = false, ff_allocated = true, ff_refcnt = 0, ff_file = 0x0,
  ff_knlist = {slh_first = 0x0}, ff_closing = {cv_opaque = {0x0, 0xdfe7a3d0,
      0xc06c05bb}}}

Race condition?

best regards
Matthias



------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index