Lock Order Reversal #66

Marc Olzheim marcolz at stack.nl
Fri Jun 24 11:07:55 GMT 2005


This time I didn't get a LOR, but:

kdb_backtrace(0,1,c07328e8,c0732780,c0700d3c) at 0xc053f7e1 = kdb_backtrace+0x29
witness_checkorder(c6c33900,9,c06ce108,3d3) at 0xc0549180 = witness_checkorder+0x544
_mtx_lock_flags(c6c33900,0,c06ce108,3d3,0) at 0xc052184b = _mtx_lock_flags+0x5b
in_pcblookup_local(c0757820,0,7eca,1) at 0xc059c17b = in_pcblookup_local+0xbf
in_pcbbind_setup(cc78b708,0,cc78b740,cc78b722,c634e800) at 0xc059b5ea = in_pcbbind_setup+0x52a
in_pcbbind(cc78b708,0,c634e800,c8345534,1) at 0xc059b07a = in_pcbbind+0xce
tcp_usr_listen(c68f4dec,c5c96c00) at 0xc05b4f59 = tcp_usr_listen+0xad
solisten(c68f4dec,1,c5c96c00,cadb6dd0,0) at 0xc055efd8 = solisten+0x18
listen(c5c96c00,ebae4d04,2,4,213) at 0xc05641d0 = listen+0x5c
syscall(2f,2f,2f,3,0) at 0xc0682d0b = syscall+0x227
Xint0x80_syscall() at 0xc067260f = Xint0x80_syscall+0x1f
--- syscall (106, FreeBSD ELF32, listen), eip = 0x280e8f7b, esp = 0xbfbfeb0c, ebp = 0xbfbfeb68 ---


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0xee440140
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc055a986
stack pointer           = 0x10:0xec45f9e8
frame pointer           = 0x10:0xec45f9f0
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 29055 (screen)
[thread pid 29055 tid 100828 ]
Stopped at      0xc055a986 = ptcopen+0x56:      movl    0xc07067c0 = linesw(,%eax,4),%eax
db> 

:-(

kern.ostype: FreeBSD
kern.osrelease: 5.4-STABLE
kern.osrevision: 199506
kern.version: FreeBSD 5.4-STABLE #12: Mon May 30 11:39:53 CEST 2005
    root at rave.ilse.net:/usr/obj/usr/src/sys/SE3DEBUG

hw.machine: i386
hw.model: Intel(R) Xeon(TM) CPU 3.06GHz
hw.ncpu: 4
hw.byteorder: 1234
hw.physmem: 4151205888
hw.usermem: 4003508224
hw.pagesize: 4096
hw.floatingpoint: 1
hw.machine_arch: i386
hw.realmem: 4160225280
hw.aac.iosize_max: 65536
hw.ata.ata_dma: 1
hw.ata.wc: 1
hw.ata.atapi_dma: 0
hw.pci.enable_io_modes: 1
hw.pci.do_powerstate: 0
hw.pci.host_mem_start: 2147483648
hw.pci.irq_override_mask: 57080
hw.intr_storm_threshold: 500
hw.availpages: 1013478
hw.bus.devctl_disable: 0
hw.kbd.keymap_restrict_change: 0
hw.syscons.saver.keybonly: 1
hw.syscons.bell: 1
hw.syscons.sc_no_suspend_vtswitch: 0
hw.busdma.total_bpages: 33
hw.busdma.zone0.total_bpages: 1
hw.busdma.zone0.free_bpages: 1
hw.busdma.zone0.reserved_bpages: 0
hw.busdma.zone0.active_bpages: 0
hw.busdma.zone0.total_bounced: 0
hw.busdma.zone0.total_deferred: 0
hw.busdma.zone0.lowaddr: 0xffffffff
hw.busdma.zone0.alignment: 4096
hw.busdma.zone0.boundary: 0
hw.busdma.zone1.total_bpages: 32
hw.busdma.zone1.free_bpages: 32
hw.busdma.zone1.reserved_bpages: 0
hw.busdma.zone1.active_bpages: 0
hw.busdma.zone1.total_bounced: 0
hw.busdma.zone1.total_deferred: 0
hw.busdma.zone1.lowaddr: 0xffffffff
hw.busdma.zone1.alignment: 2
hw.busdma.zone1.boundary: 65536
hw.clockrate: 3065
hw.instruction_sse: 1
hw.acpi.supported_sleep_state: S1 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S1
hw.acpi.lid_switch_state: NONE
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 1
hw.acpi.s4bios: 0
hw.acpi.verbose: 0
hw.acpi.reset_video: 1
hw.acpi.cpu.cx_supported: C1/0
hw.acpi.cpu.cx_lowest: C1
hw.acpi.cpu.cx_usage: 100.00%
hw.em0.debug_info: -1
hw.em0.stats: -1
hw.em0.rx_int_delay: 0
hw.em0.tx_int_delay: 66
hw.em0.rx_abs_int_delay: 66
hw.em0.tx_abs_int_delay: 66
hw.em1.debug_info: -1
hw.em1.stats: -1
hw.em1.rx_int_delay: 0
hw.em1.tx_int_delay: 66
hw.em1.rx_abs_int_delay: 66
hw.em1.tx_abs_int_delay: 66

Marc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050624/12d2cfce/attachment.bin


More information about the freebsd-stable mailing list