I got the panic below on a -current amd64 system. It happened after triggering a shutdown from the menu in GNOME 3.10.
It looks like a use after free and I haven't got the faintest idea what the reason could be. I'm copying it here in case it means anything to anyone. The system was built from -current as of today (October 10), with one local change that I believe to be unrelated (my bootloader softraid crypto patch from http://marc.info/?l=openbsd-tech&m=137966753114842&w=2). The following was manually copied off another screen (laptop with no serial). panic: Data modified on freelist: word 12 of object 0xffff80000096cc80 size 0x40 previous type temp (0xdeafbeac != 0xdeafbeac) Stopped at Debugger+0x5: leave (usual all-caps message) ddb{0}> trace Debugger() at Debugger+0x5 panic() at panic+0xee malloc at malloc+0x62b amap_alloc() at amap_alloc+0xc1 amap_copy() at amap_copy+0x27e uvm_fault() at uvm_fault+0x64f trap() at trap+0x28c --- trap (number 6) --- end of kernel end trace frame: 0x3, count: -7 0x3b6b9a0a9ea: ddb{0}> mach ddbcpu 1 (usual all-caps message) ddb{1}> trace Debugger() at Debugger+0x5 x86_ipi_handler() at x86_ipi_handler+0x64 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x1b --- interrupt --- Bad frame pointer: 0xffff800023275e90 end trace frame: 0xffff800023275e90, count: -3 __mp_lock+0x55: ddb{1}> show object 0xffff80000096cc80 OBJECT 0xffff80000096cc80: pgops=0xdaeafbeaddeafbead, npages=-558907731, refs=-5 ddb{1}> ps PID PPID PGRP UID S FLAGS WAIT COMMAND 11802 23490 15346 0 2 0 sh 13670 6127 30706 0 7 0x2 basename *14654 17039 1766 0 7 0x2 pgrep I believe pgrep as curproc means rc scripts were running trying to shut down package daemons. Lots of standard daemons, sh, and gnome-related processes omitted, too much to copy... And Xorg was still running, apparently wsdisplay switched to the radeondrm console: 25533 24024 25533 0 3 0x80 wait xdm 24325 24024 7462 35 3 0x4100b2 thrsleep Xorg 10469 24024 7462 0 3 0x4100b2 netio Xorg Here's a dmesg from after reboot: OpenBSD 5.4-current (GENERIC.MP) #148: Thu Oct 10 18:22:55 CEST 2013 [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 3849388032 (3671MB) avail mem = 3738820608 (3565MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xf9d00 (58 entries) bios0: vendor LENOVO version "8RET52WW (1.15 )" date 11/15/2011 bios0: LENOVO 0627A41 acpi0 at bios0: rev 4 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP HPET APIC MCFG UEFI UEFI SSDT SSDT UEFI acpi0: wakeup devices PB4_(S4) PB5_(S4) PB6_(S4) PB7_(S4) OHC1(S3) EHC1(S3) OHC2(S3) SBAZ(S4) GEC_(S4) P2P_(S5) SPB0(S4) SPB1(S4) SPB2(S4) SPB3(S4) LID_(S4) acpitimer0 at acpi0: 3579545 Hz, 32 bits acpihpet0 at acpi0: 14318180 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD E-450 APU with Radeon(tm) HD Graphics, 1647.47 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,SSSE3,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT,ITSC cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 16-way L2 cache cpu0: 8 4MB entries fully associative cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative cpu0: smt 0, core 0, package 0 cpu0: apic clock running at 199MHz cpu0: mwait min=64, max=64, C-substates=0.0.0.0.0, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD E-450 APU with Radeon(tm) HD Graphics, 1646.50 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,SSSE3,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT,ITSC cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 16-way L2 cache cpu1: 8 4MB entries fully associative cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 21, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpimcfg0 at acpi0 addr 0xf8000000, bus 0-31 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (PB4_) acpiprt2 at acpi0: bus 2 (PB5_) acpiprt3 at acpi0: bus 3 (PB6_) acpiprt4 at acpi0: bus 4 (PB7_) acpiprt5 at acpi0: bus 5 (P2P_) acpiprt6 at acpi0: bus -1 (SPB0) acpiprt7 at acpi0: bus -1 (SPB1) acpiprt8 at acpi0: bus -1 (SPB2) acpiprt9 at acpi0: bus -1 (SPB3) acpiec0 at acpi0 acpicpu0 at acpi0: C2, PSS acpicpu1 at acpi0: C2, PSS acpitz0 at acpi0: critical temperature is 100 degC acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB acpithinkpad0 at acpi0 acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT1 model "42T4957" serial 1495 type LION oem "SANYO" acpibtn2 at acpi0: LID_ cpu0: 1647 MHz: speeds: 1650 1320 825 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "AMD AMD64 14h Host" rev 0x00 radeondrm0 at pci0 dev 1 function 0 "ATI Radeon HD 6320" rev 0x00: apic 2 int 18 drm0 at radeondrm0 azalia0 at pci0 dev 1 function 1 "ATI Radeon HD 6310 HD Audio" rev 0x00: msi azalia0: no supported codecs ppb0 at pci0 dev 4 function 0 "AMD AMD64 14h PCIE" rev 0x00: msi pci1 at ppb0 bus 1 "Atheros AR9485" rev 0x01 at pci1 dev 0 function 0 not configured ppb1 at pci0 dev 5 function 0 "AMD AMD64 14h PCIE" rev 0x00: msi pci2 at ppb1 bus 2 "Realtek 8188CE" rev 0x01 at pci2 dev 0 function 0 not configured ppb2 at pci0 dev 6 function 0 "AMD AMD64 14h PCIE" rev 0x00: msi pci3 at ppb2 bus 3 alc0 at pci3 dev 0 function 0 "Attansic Technology L1D" rev 0xc0: msi, address 04:7d:7b:30:dd:f2 atphy0 at alc0 phy 0: F1 10/100/1000 PHY, rev. 0 ppb3 at pci0 dev 7 function 0 "AMD AMD64 14h PCIE" rev 0x00: msi pci4 at ppb3 bus 4 rtsx0 at pci4 dev 0 function 0 "Realtek RTS5209 Card Reader" rev 0x01: msi sdmmc0 at rtsx0 ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x00: apic 2 int 19, AHCI 1.2 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: <ATA, HITACHI HTS54323, ES2Z> SCSI3 0/direct fixed naa.5000cca6c7d4a2ff sd0: 305245MB, 512 bytes/sector, 625142448 sectors ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 18, version 1.0, legacy support ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1 ohci1 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 18, version 1.0, legacy support ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "ATI EHCI root hub" rev 2.00/1.00 addr 1 piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x42: polling iic0 at piixpm0 spdmem0 at iic0 addr 0x51: 4GB DDR3 SDRAM PC3-10600 SO-DIMM azalia1 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x40: apic 2 int 16 azalia1: codecs: Conexant/0x506e audio0 at azalia1 pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x40 ppb4 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x40 pci5 at ppb4 bus 5 pchb1 at pci0 dev 24 function 0 "AMD AMD64 14h Link Cfg" rev 0x43 pchb2 at pci0 dev 24 function 1 "AMD AMD64 14h Address Map" rev 0x00 pchb3 at pci0 dev 24 function 2 "AMD AMD64 14h DRAM Cfg" rev 0x00 km0 at pci0 dev 24 function 3 "AMD AMD64 14h Misc Cfg" rev 0x00 pchb4 at pci0 dev 24 function 4 "AMD AMD64 14h CPU Power" rev 0x00 pchb5 at pci0 dev 24 function 5 "AMD AMD64 14h Reserved" rev 0x00 pchb6 at pci0 dev 24 function 6 "AMD AMD64 14h NB Power" rev 0x00 pchb7 at pci0 dev 24 function 7 "AMD AMD64 14h Reserved" rev 0x00 usb2 at ohci0: USB revision 1.0 uhub2 at usb2 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb3 at ohci1: USB revision 1.0 uhub3 at usb3 "ATI OHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 wsmouse1 at pms0 mux 0 pms0: Synaptics clickpad, firmware 8.0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges urtwn0 at uhub0 port 2 "Realtek 802.11n WLAN Adapter" rev 2.00/2.00 addr 2 urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R, address 08:86:3b:6a:19:4b umass0 at uhub0 port 3 configuration 1 interface 0 "USBest Technology USB Mass Storage Device" rev 2.00/1.00 addr 3 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd1 at scsibus1 targ 1 lun 0: <USB 2.0, Flash Disk, 0.00> SCSI2 0/direct removable serial.045701500000000000B1 sd1: 250MB, 512 bytes/sector, 512000 sectors uvideo0 at uhub1 port 5 configuration 1 interface 0 "Image Processor Integrated Camera" rev 2.00/41.64 addr 2 video0 at uvideo0 ugen0 at uhub2 port 4 "Broadcom Corp Broadcom Bluetooth Device" rev 2.00/7.48 addr 2 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets softraid0: sd2 was not shutdown properly sd2 at scsibus3 targ 1 lun 0: <OPENBSD, SR CRYPTO, 005> SCSI2 0/direct fixed sd2: 304214MB, 512 bytes/sector, 623032305 sectors root on sd2a (ddd2f6bca8f0c2cc.a) swap on sd2b dump on sd2b WARNING: / was not properly unmounted drm: initializing kernel modesetting (PALM 0x1002:0x9806 0x17AA:0x21EC). radeondrm0: VRAM: 384M 0x0000000000000000 - 0x0000000017FFFFFF (384M used) radeondrm0: GTT: 512M 0x0000000018000000 - 0x0000000037FFFFFF ttm_pool_mm_shrink_init stub drm: PCIE GART of 512M enabled (table at 0x0000000000040000). drm: Internal thermal controller without fan control radeondrm0: 1366x768 wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0 wsdisplay0: screen 1-5 added (std, vt100 emulation)
