Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jun 2017 19:39:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 220141] sysutils/pefs-kmod: panic: stack overflow detected
Message-ID:  <bug-220141-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220141

            Bug ID: 220141
           Summary: sysutils/pefs-kmod: panic: stack overflow detected
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gleb@FreeBSD.org
          Reporter: mikael.urankar@gmail.com
             Flags: maintainer-feedback?(gleb@FreeBSD.org)
          Assignee: gleb@FreeBSD.org

Hi,

I got a kernel panic on head r320060 doing pefs mount /home/mik /home/mik


FreeBSD cocyte 12.0-CURRENT FreeBSD 12.0-CURRENT #3 r320060: Sun Jun 18
05:51:19 CEST 2017     root@xxx:/usr/obj/usr/src/sys/GENERIC-NODEBUG  amd64

pefs: AESNI hardware acceleration enabled
panic: stack overflow detected; backtrace may be corrupted
cpuid =3D 2
time =3D 1497900539
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe02362fc=
3f0
vpanic() at vpanic+0x19c/frame 0xfffffe02362fc470
panic() at panic+0x43/frame 0xfffffe02362fc4d0
__stack_chk_fail() at __stack_chk_fail+0x12/frame 0xfffffe02362fc4e0
pefs_statfs() at pefs_statfs+0x122/frame 0xfffffe02362fc6f0
KDB: enter: panic
<snip>
__curthread () at ./machine/pcpu.h:232
warning: Source file is more recent than executable.
232             __asm("movq %%gs:%1,%0" : "=3Dr" (td)
(kgdb) #0  __curthread () at ./machine/pcpu.h:232
#1  doadump (textdump=3D0) at /usr/src/sys/kern/kern_shutdown.c:318
#2  0xffffffff803a33cb in db_dump (dummy=3D<optimized out>,=20
    dummy2=3D<error reading variable: access outside bounds of object refer=
enced
via synthetic pointer>, dummy3=3D<unavailable>, dummy4=3D<unavailable>)
    at /usr/src/sys/ddb/db_command.c:546
#3  0xffffffff803a31bf in db_command (last_cmdp=3D<optimized out>,=20
    cmd_table=3D<optimized out>, dopager=3D<optimized out>)
    at /usr/src/sys/ddb/db_command.c:453
#4  0xffffffff803a2ef4 in db_command_loop ()
    at /usr/src/sys/ddb/db_command.c:506
#5  0xffffffff803a602f in db_trap (type=3D<optimized out>, code=3D<optimize=
d out>)
    at /usr/src/sys/ddb/db_main.c:248
#6  0xffffffff80ac2cb3 in kdb_trap (type=3D3, code=3D-61456, tf=3D<optimize=
d out>)
    at /usr/src/sys/kern/subr_kdb.c:654
#7  0xffffffff80f0c6ee in trap (frame=3D0xfffffe02362fc320)
    at /usr/src/sys/amd64/amd64/trap.c:537
#8  <signal handler called>
#9  kdb_enter (why=3D0xffffffff814669f0 "panic", msg=3D<optimized out>)
    at /usr/src/sys/kern/subr_kdb.c:444
#10 0xffffffff80a7f679 in vpanic (fmt=3D<optimized out>, ap=3D0xfffffe02362=
fc4b0)
    at /usr/src/sys/kern/kern_shutdown.c:772
#11 0xffffffff80a7f4b3 in panic (fmt=3D0x0)
    at /usr/src/sys/kern/kern_shutdown.c:710
#12 0xffffffff80aaf432 in __stack_chk_fail ()
    at /usr/src/sys/kern/stack_protector.c:17
#13 0xffffffff82839932 in pefs_statfs () from /boot/modules/pefs.ko

kernel, userland and pefs-kmod are in sync.
I can build a debug kernel and provide additional info if needed.



Thanks in advance

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220141-13>