[Bug 238035] Divide by zero in kern_fcntl_freebsd

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 22 18:11:36 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238035

--- Comment #5 from Conrad Meyer <cem at freebsd.org> ---
Hm, devfs_statfs() does fill f_iosize, and it looks like we did that, so how is
this dividing by zero?

0xfffff8000377d000 devfs on /dev (devfs)
    mnt_flag = MULTILABEL, LOCAL
    mnt_kern_flag = EXTENDED_SHARED, LOOKUP_SHARED
    mnt_opt =
    mnt_stat = { version=538182936 type=113 flags=0x0000000000000000 bsize=512
iosize=512 blocks=2 bfree=0 bavail=0 files=0 ffree=0 syncwrites=0 asyncwrites=0
syncreads=0 asyncreads=0 namemax=255 owner=0 fsid=[1895890688, 113] }

It's definitely "Fatal trap 18: integer divide fault while in kernel mode" and
that line, though.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list