[Bug 250361] Kernel trap #9 in sys_semop

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Oct 15 08:56:49 UTC 2020


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

            Bug ID: 250361
           Summary: Kernel trap #9 in sys_semop
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: o.vandestadt at gmail.com

Fatal trap 9: general protection fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer     = 0x20:0xffffffff80c4bff0
stack pointer           = 0x28:0xfffffe0013690870
frame pointer           = 0x28:0xfffffe0013690870
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 41551 (copy_db)
trap number             = 9
panic: general protection fault
cpuid = 0
time = 1602757996
KDB: stack backtrace:
#0 0xffffffff80c1d297 at kdb_backtrace+0x67
#1 0xffffffff80bd05cd at vpanic+0x19d
#2 0xffffffff80bd0423 at panic+0x43
#3 0xffffffff810a7d2c at trap_fatal+0x39c
#4 0xffffffff810a713c at trap+0x6c
#5 0xffffffff81081a0c at calltrap+0x8
#6 0xffffffff80c4bb99 at sys_semop+0x729
#7 0xffffffff810a88e4 at amd64_syscall+0x364
#8 0xffffffff81082330 at fast_syscall_common+0x101


Backtrace from kgdb:
(kgdb) bt
#0  __curthread () at /usr/src/sys/amd64/include/pcpu.h:234
#1  doadump (textdump=<optimized out>) at /usr/src/sys/kern/kern_shutdown.c:371
#2  0xffffffff80bd01c8 in kern_reboot (howto=260) at
/usr/src/sys/kern/kern_shutdown.c:451
#3  0xffffffff80bd0629 in vpanic (fmt=<optimized out>, ap=<optimized out>) at
/usr/src/sys/kern/kern_shutdown.c:877
#4  0xffffffff80bd0423 in panic (fmt=<unavailable>) at
/usr/src/sys/kern/kern_shutdown.c:804
#5  0xffffffff810a7d2c in trap_fatal (frame=0xfffffe00136907b0, eva=0) at
/usr/src/sys/amd64/amd64/trap.c:943
#6  0xffffffff810a713c in trap (frame=0xfffffe00136907b0) at
/usr/src/sys/amd64/amd64/trap.c:221
#7  <signal handler called>
#8  0xffffffff80c4bff0 in semu_alloc (td=<optimized out>) at
/usr/src/sys/kern/sysv_sem.c:420
#9  semundo_adjust (td=0xfffff8000fe17000, supptr=0xfffffe00136908e0, semid=1,
semseq=1, semnum=0, adjval=1)
    at /usr/src/sys/kern/sysv_sem.c:468
#10 0xffffffff80c4bb99 in sys_semop (td=0xfffff8000fe17000, uap=<optimized
out>)
    at /usr/src/sys/kern/sysv_sem.c:1337
#11 0xffffffff810a88e4 in syscallenter (td=0xfffff8000fe17000)
    at /usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:135
#12 amd64_syscall (td=0xfffff8000fe17000, traced=0) at
/usr/src/sys/amd64/amd64/trap.c:1186
#13 <signal handler called>

If worth mentioning, my /boot/loader.conf contains
kern.ipc.semopm=300
kern.ipc.semume=500

System is running in a VMWare instance, in case this is relevant.

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


More information about the freebsd-bugs mailing list