[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120506160828.GE13332@sli.dy.fi>
Date: Sun, 6 May 2012 19:08:28 +0300
From: Sami Liedes <sami.liedes@....fi>
To: linux-kernel@...r.kernel.org,
Catalin Marinas <catalin.marinas@....com>
Subject: kmemleak: Cannot insert 0xffff880007fedd28 into the object search
tree (already existing)
Hi,
While trying to use kmemleak in KVM/x86-64 on mainline 3.3.4, I'm
running into this error (whole preceding dmesg below):
[ 2.251741] kmemleak: Cannot insert 0xffff880007fedd28 into the object search tree (already existing)
...
[ 2.252016] kmemleak: Kernel memory leak detector disabled
I tested this on some older kernels too; at least v2.6.37 behaves the
same, i.e. I get the same kmemleak error, though not the lockdep
warnings.
Kernel config attached.
Sami
------------------------------------------------------------
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.3.4 (sliedes@lh) (gcc version 4.6.3 (Debian 4.6.3-5) ) #5 Sun May 6 18:03:02 EEST 2012
[ 0.000000] Command line: root=/dev/vda console=ttyS0,115200n8 fstest.fstype=iso9660 fstest.seed_start=0 fstest.seed_increment=1 fstest.repeat=-1 fstest.hung_task_timeout=30 fstest.no_fuzz
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 0000000000099c00 (usable)
[ 0.000000] BIOS-e820: 0000000000099c00 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 0000000007ffd000 (usable)
[ 0.000000] BIOS-e820: 0000000007ffd000 - 0000000008000000 (reserved)
[ 0.000000] BIOS-e820: 00000000feffc000 - 00000000ff000000 (reserved)
[ 0.000000] BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] DMI 2.4 present.
[ 0.000000] No AGP bridge found
[ 0.000000] last_pfn = 0x7ffd max_arch_pfn = 0x400000000
[ 0.000000] PAT not supported by CPU.
[ 0.000000] found SMP MP-table at [ffff8800000fdaf0] fdaf0
[ 0.000000] init_memory_mapping: 0000000000000000-0000000007ffd000
[ 0.000000] ACPI: RSDP 00000000000fd990 00014 (v00 BOCHS )
[ 0.000000] ACPI: RSDT 0000000007ffd7b0 00034 (v01 BOCHS BXPCRSDT 00000001 BXPC 00000001)
[ 0.000000] ACPI: FACP 0000000007ffff80 00074 (v01 BOCHS BXPCFACP 00000001 BXPC 00000001)
[ 0.000000] ACPI: DSDT 0000000007ffd9b0 02589 (v01 BXPC BXDSDT 00000001 INTL 20100528)
[ 0.000000] ACPI: FACS 0000000007ffff40 00040
[ 0.000000] ACPI: SSDT 0000000007ffd910 0009E (v01 BOCHS BXPCSSDT 00000001 BXPC 00000001)
[ 0.000000] ACPI: APIC 0000000007ffd830 00072 (v01 BOCHS BXPCAPIC 00000001 BXPC 00000001)
[ 0.000000] ACPI: HPET 0000000007ffd7f0 00038 (v01 BOCHS BXPCHPET 00000001 BXPC 00000001)
[ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[ 0.000000] kvm-clock: cpu 0, msr 0:1c241c1, boot clock
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0x00000010 -> 0x00001000
[ 0.000000] DMA32 0x00001000 -> 0x00100000
[ 0.000000] Normal empty
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] Early memory PFN ranges
[ 0.000000] 0: 0x00000010 -> 0x00000099
[ 0.000000] 0: 0x00000100 -> 0x00007ffd
[ 0.000000] ACPI: PM-Timer IO Port: 0xb008
[ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[ 0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[ 0.000000] KVM setup async PF for cpu 0
[ 0.000000] kvm-stealtime: cpu 0, msr 1c24140
[ 0.000000] Allocating PCI resources starting at 8000000 (gap: 8000000:f6ffc000)
[ 0.000000] Booting paravirtualized kernel on KVM
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32193
[ 0.000000] Kernel command line: root=/dev/vda console=ttyS0,115200n8 fstest.fstype=iso9660 fstest.seed_start=0 fstest.seed_increment=1 fstest.repeat=-1 fstest.hung_task_timeout=30 fstest.no_fuzz
[ 0.000000] PID hash table entries: 512 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.000000] Checking aperture...
[ 0.000000] No AGP bridge found
[ 0.000000] Memory: 104908k/131060k available (7315k kernel code, 476k absent, 25676k reserved, 5721k data, 568k init)
[ 0.000000] NR_IRQS:4352 nr_irqs:256 16
[ 0.000000] Console: colour *CGA 80x25
[ 0.000000] console [ttyS0] enabled
[ 0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[ 0.000000] ... MAX_LOCKDEP_SUBCLASSES: 8
[ 0.000000] ... MAX_LOCK_DEPTH: 48
[ 0.000000] ... MAX_LOCKDEP_KEYS: 8191
[ 0.000000] ... CLASSHASH_SIZE: 4096
[ 0.000000] ... MAX_LOCKDEP_ENTRIES: 16384
[ 0.000000] ... MAX_LOCKDEP_CHAINS: 32768
[ 0.000000] ... CHAINHASH_SIZE: 16384
[ 0.000000] memory used by lock dependency info: 5855 kB
[ 0.000000] per task-struct memory footprint: 1920 bytes
[ 0.000000] Detected 3411.126 MHz processor.
[ 0.008000] Calibrating delay loop (skipped) preset value.. 6822.25 BogoMIPS (lpj=13644504)
[ 0.008011] pid_max: default: 32768 minimum: 301
[ 0.012345] Mount-cache hash table entries: 256
[ 0.014625] Initializing cgroup subsys cpuacct
[ 0.016009] Initializing cgroup subsys devices
[ 0.017180] Initializing cgroup subsys freezer
[ 0.018344] Initializing cgroup subsys blkio
[ 0.020319] CPU: Intel QEMU Virtual CPU version 1.0 stepping 03
[ 0.025062] ACPI: Core revision 20120111
[ 0.046708] Performance Events: unsupported p6 CPU model 2 no PMU driver, software events only.
[ 0.050072] NMI watchdog disabled (cpu0): hardware events not enabled
[ 0.053304] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.056003] NET: Registered protocol family 16
[ 0.056951] ACPI: bus type pci registered
[ 0.058307] dca service started, version 1.12.1
[ 0.059746] PCI: Using configuration type 1 for base access
[ 0.083161] bio: create slab <bio-0> at 0
[ 0.084495] ACPI: Added _OSI(Module Device)
[ 0.085556] ACPI: Added _OSI(Processor Device)
[ 0.086659] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.088016] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.114715] ACPI: Interpreter enabled
[ 0.115721] ACPI: (supports S0 S3 S5)
[ 0.116439] ACPI: Using IOAPIC for interrupt routing
[ 0.162498] PCI: Ignoring host bridge windows from ACPI; if necessary, use "pci=use_crs" and report a bug
[ 0.164129] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 0.166156] PCI host bridge to bus 0000:00
[ 0.168015] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.169548] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffffff]
[ 0.173313] pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by PIIX4 ACPI
[ 0.175114] pci 0000:00:01.3: quirk: [io 0xb100-0xb10f] claimed by PIIX4 SMB
[ 0.191657] pci0000:00: Unable to request _OSC control (_OSC support mask: 0x18)
[ 0.283397] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[ 0.284986] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[ 0.287046] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[ 0.288961] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[ 0.291013] ACPI: PCI Interrupt Link [LNKS] (IRQs 9) *0
[ 0.293455] vgaarb: loaded
[ 0.296172] SCSI subsystem initialized
[ 0.298330] PCI: Using ACPI for IRQ routing
[ 0.300741] HPET: 3 timers in total, 0 timers will be used for per-cpu timer
[ 0.304188] Switching to clocksource kvm-clock
[ 0.372108] FS-Cache: Loaded
[ 0.373282] CacheFiles: Loaded
[ 0.374271] pnp: PnP ACPI init
[ 0.375077] ACPI: bus type pnp registered
[ 0.386442] pnp: PnP ACPI: found 8 devices
[ 0.387508] ACPI: ACPI bus type pnp unregistered
[ 0.414986] NET: Registered protocol family 2
[ 0.416385] IP route cache hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.418803] TCP established hash table entries: 4096 (order: 4, 65536 bytes)
[ 0.420656] TCP bind hash table entries: 4096 (order: 6, 262144 bytes)
[ 0.422650] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.424254] TCP reno registered
[ 0.425041] UDP hash table entries: 64 (order: 1, 10240 bytes)
[ 0.426544] UDP-Lite hash table entries: 64 (order: 1, 10240 bytes)
[ 0.428426] NET: Registered protocol family 1
[ 0.429537] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 0.431001] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[ 0.432518] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[ 0.436173] sha1_ssse3: Neither AVX nor SSSE3 is available/usable.
[ 0.439945] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.442014] VFS: Disk quotas dquot_6.5.2
[ 0.443060] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.445906] DLM installed
[ 0.447247] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.449729] NTFS driver 2.1.30 [Flags: R/W].
[ 0.450912] EFS: 1.0a - http://aeschi.ch.eu.org/efs/
[ 0.452207] ROMFS MTD (C) 2007 Red Hat, Inc.
[ 0.453314] QNX4 filesystem 0.2.3 registered.
[ 0.454823] JFS: nTxBlock = 819, nTxLock = 6556
[ 0.456711] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
[ 0.459902] SGI XFS Quota Management subsystem
[ 0.461188] NILFS version 2 loaded
[ 0.462048] BeFS version: 0.9.3
[ 0.462856] OCFS2 1.5.0
[ 0.463753] ocfs2: Registered cluster interface o2cb
[ 0.465294] ocfs2: Registered cluster interface user
[ 0.466535] OCFS2 DLMFS 1.5.0
[ 0.467374] OCFS2 User DLM kernel interface loaded
[ 0.468614] OCFS2 Node Manager 1.5.0
[ 0.470081] OCFS2 DLM 1.5.0
[ 0.471380] Btrfs loaded
[ 0.472462] GFS2 installed
[ 0.473194] msgmni has been set to 204
[ 0.475974] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 0.477871] io scheduler noop registered
[ 0.478848] io scheduler deadline registered
[ 0.479985] io scheduler cfq registered (default)
[ 0.482194] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[ 0.484109] ACPI: Power Button [PWRF]
[ 0.487016] ioatdma: Intel(R) QuickData Technology Driver 4.00
[ 0.490490] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
[ 0.493405] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10
[ 0.496254] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
[ 0.498725] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.521906] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 0.546923] 00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 0.549837] Non-volatile memory driver v1.3
[ 0.551123] Hangcheck: starting hangcheck timer 0.9.1 (tick is 180 seconds, margin is 60 seconds).
[ 0.553377] Hangcheck: Using getrawmonotonic().
[ 0.554888] ramoops: platform device not found, using module parameters
[ 0.556827] ramoops: The memory size and the record size must be non-zero
[ 0.558526] ramoops: probe of ramoops failed with error -22
[ 0.571274] brd: module loaded
[ 0.578641] loop: module loaded
[ 0.669003] vda: unknown partition table
[ 0.740544] vdb: unknown partition table
[ 0.848645] vdc: unknown partition table
[ 0.850679] Loading iSCSI transport class v2.0-870.
[ 0.861573] tun: Universal TUN/TAP device driver, 1.6
[ 0.862165] tun: (C) 1999-2004 Max Krasnyansky <maxk@...lcomm.com>
[ 0.864541] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[ 0.867476] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 0.868771] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 0.870975] mousedev: PS/2 mouse device common for all mice
[ 0.873631] rtc_cmos 00:01: RTC can wake from S4
[ 0.875340] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[ 0.877896] rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0
[ 0.879500] rtc0: alarms up to one day, 114 bytes nvram, hpet irqs
[ 0.887034] cpuidle: using governor ladder
[ 0.888111] cpuidle: using governor menu
[ 0.889072] padlock_sha: VIA PadLock Hash Engine not detected.
[ 0.891022] TCP cubic registered
[ 0.891836] Initializing XFRM netlink socket
[ 0.892933] NET: Registered protocol family 17
[ 0.894132] NET: Registered protocol family 15
[ 0.895504] sctp: Hash tables configured (established 585 bind 512)
[ 0.897289] Registering the dns_resolver key type
[ 0.899284] registered taskstats version 1
[ 0.900429] kmemleak: Kernel memory leak detector initialized
[ 0.902519] console [netcon0] enabled
[ 0.903433] netconsole: network logging started
[ 0.904619] rtc_cmos 00:01: setting system clock to 2012-05-06 15:03:37 UTC (1336316617)
[ 0.908113] kmemleak: Automatic memory scanning thread started
[ 0.910441] kjournald starting. Commit interval 5 seconds
[ 0.912280] EXT3-fs (vda): mounted filesystem with ordered data mode
[ 0.913874] VFS: Mounted root (ext3 filesystem) readonly on device 254:0.
[ 0.916577] Freeing unused kernel memory: 568k freed
[ 0.917893] Write protecting the kernel read-only data: 12288k
[ 0.922285] Freeing unused kernel memory: 860k freed
[ 0.928150] Freeing unused kernel memory: 1352k freed
[ 0.984896] kmemleak: Found object by alias at 0xffff880007fedd28
[ 0.986460] Pid: 615, comm: startpar Not tainted 3.3.4 #5
[ 0.987783] Call Trace:
[ 0.988026] [<ffffffff810eb4cb>] lookup_object+0x7b/0xa0
[ 0.988026] [<ffffffff810ebb6c>] ? find_and_get_object+0x4c/0x110
[ 0.988026] [<ffffffff810ebbcb>] find_and_get_object+0xab/0x110
[ 0.988026] [<ffffffff810ebb20>] ? kmemleak_seq_stop+0x50/0x50
[ 0.988026] [<ffffffff8104e2b2>] ? flush_work+0x32/0x40
[ 0.988026] [<ffffffff810beb00>] ? __pagevec_release+0x30/0x30
[ 0.988026] [<ffffffff810ebfc0>] delete_object_full+0x10/0x30
[ 0.988026] [<ffffffff81709d21>] kmemleak_free_percpu+0x21/0x50
[ 0.988026] [<ffffffff810cf1b2>] free_percpu+0x22/0x2b0
[ 0.988026] [<ffffffff810beb00>] ? __pagevec_release+0x30/0x30
[ 0.988026] [<ffffffff8104e4cb>] schedule_on_each_cpu+0x6b/0x80
[ 0.988026] [<ffffffff810be570>] lru_add_drain_all+0x10/0x20
[ 0.988026] [<ffffffff810d664d>] sys_mlockall+0x11d/0x190
[ 0.988026] [<ffffffff817227c9>] ? sysexit_from_sys_call+0x35/0x3b
[ 0.988026] [<ffffffff81722771>] sysenter_dispatch+0x7/0x2a
[ 0.988026] [<ffffffff81558a7e>] ? trace_hardirqs_on_thunk+0x3a/0x3f
[ 0.988026] kmemleak: Object 0xffff880007fed000 (size 32768):
[ 0.988026] kmemleak: comm "swapper", pid 0, jiffies 4294892296
[ 0.988026] kmemleak: min_count = 0
[ 0.988026] kmemleak: count = 0
[ 0.988026] kmemleak: flags = 0x1
[ 0.988026] kmemleak: checksum = 0
[ 0.988026] kmemleak: backtrace:
[ 0.988026] [<ffffffff81709b51>] kmemleak_alloc+0x41/0x50
[ 0.988026] [<ffffffff81cd336b>] __alloc_memory_core_early+0x6b/0x73
[ 0.988026] [<ffffffff81cd33ce>] ___alloc_bootmem_nopanic+0x5b/0x7d
[ 0.988026] [<ffffffff81cd36cd>] __alloc_bootmem+0x13/0x3b
[ 0.988026] [<ffffffff81cd2fc3>] setup_per_cpu_areas+0x4f/0xb1
[ 0.988026] [<ffffffff81cbd922>] start_kernel+0x100/0x35d
[ 0.988026] [<ffffffff81cbd32a>] x86_64_start_reservations+0x131/0x135
[ 0.988026] [<ffffffff81cbd430>] x86_64_start_kernel+0x102/0x111
[ 0.988026] [<ffffffffffffffff>] 0xffffffffffffffff
[ 1.367200] EXT3-fs (vda): using internal journal
[ 1.432124] Refined TSC clocksource calibration: 3411.134 MHz.
[ 2.251741] kmemleak: Cannot insert 0xffff880007fedd28 into the object search tree (already existing)
[ 2.252016] Pid: 1304, comm: startpar Not tainted 3.3.4 #5
[ 2.252016] Call Trace:
[ 2.252016] [<ffffffff810eb81a>] create_object+0x27a/0x2d0
[ 2.252016] [<ffffffff81709b88>] kmemleak_alloc_percpu+0x28/0x50
[ 2.252016] [<ffffffff810cf021>] pcpu_alloc+0x3c1/0x510
[ 2.252016] [<ffffffff810beb00>] ? __pagevec_release+0x30/0x30
[ 2.252016] [<ffffffff810cf17b>] __alloc_percpu+0xb/0x10
[ 2.252016] [<ffffffff8104e479>] schedule_on_each_cpu+0x19/0x80
[ 2.252016] [<ffffffff810be570>] lru_add_drain_all+0x10/0x20
[ 2.252016] [<ffffffff810d664d>] sys_mlockall+0x11d/0x190
[ 2.252016] [<ffffffff817227c9>] ? sysexit_from_sys_call+0x35/0x3b
[ 2.252016] [<ffffffff81722771>] sysenter_dispatch+0x7/0x2a
[ 2.252016] [<ffffffff81558a7e>] ? trace_hardirqs_on_thunk+0x3a/0x3f
[ 2.252016]
[ 2.252016] ======================================================
[ 2.252016] [ INFO: possible circular locking dependency detected ]
[ 2.252016] 3.3.4 #5 Not tainted
[ 2.252016] -------------------------------------------------------
[ 2.252016] startpar/1304 is trying to acquire lock:
[ 2.252016] (&(&gcwq->lock)->rlock){-.-...}, at: [<ffffffff8104c002>] __queue_work+0x52/0x3c0
[ 2.252016]
[ 2.252016] but task is already holding lock:
[ 2.252016] (kmemleak_lock){----..}, at: [<ffffffff810eb71b>] create_object+0x17b/0x2d0
[ 2.252016]
[ 2.252016] which lock already depends on the new lock.
[ 2.252016]
[ 2.252016]
[ 2.252016] the existing dependency chain (in reverse order) is:
[ 2.252016]
[ 2.252016] -> #1 (kmemleak_lock){----..}:
[ 2.252016] [<ffffffff81077821>] lock_acquire+0xa1/0x140
[ 2.252016] [<ffffffff81720a39>] _raw_write_lock_irqsave+0x49/0x60
[ 2.252016] [<ffffffff810eb956>] __delete_object+0x16/0xc0
[ 2.252016] [<ffffffff810ebfd0>] delete_object_full+0x20/0x30
[ 2.252016] [<ffffffff81709bd1>] kmemleak_free+0x21/0x50
[ 2.252016] [<ffffffff810e7c90>] kmem_cache_free+0xd0/0x130
[ 2.252016] [<ffffffff8154cc27>] ida_get_new_above+0x237/0x300
[ 2.252016] [<ffffffff8154ccfe>] ida_get_new+0xe/0x10
[ 2.252016] [<ffffffff8104d2fe>] create_worker.constprop.32+0x5e/0x170
[ 2.252016] [<ffffffff81cceb27>] init_workqueues+0x118/0x27d
[ 2.252016] [<ffffffff81cbdbf7>] do_one_initcall+0x78/0x136
[ 2.252016] [<ffffffff81cbdd26>] kernel_init+0x71/0x138
[ 2.252016] [<ffffffff817225c4>] kernel_thread_helper+0x4/0x10
[ 2.252016]
[ 2.252016] -> #0 (&(&gcwq->lock)->rlock){-.-...}:
[ 2.252016] [<ffffffff81075f8f>] __lock_acquire+0x1b0f/0x1ba0
[ 2.252016] [<ffffffff81077821>] lock_acquire+0xa1/0x140
[ 2.252016] [<ffffffff817204d9>] _raw_spin_lock_irqsave+0x49/0x60
[ 2.252016] [<ffffffff8104c002>] __queue_work+0x52/0x3c0
[ 2.252016] [<ffffffff8104dabd>] queue_work_on+0x1d/0x30
[ 2.252016] [<ffffffff8104dae1>] queue_work+0x11/0x20
[ 2.252016] [<ffffffff8104e3f3>] schedule_work+0x13/0x20
[ 2.252016] [<ffffffff810eb538>] kmemleak_disable+0x48/0x50
[ 2.252016] [<ffffffff810eb829>] create_object+0x289/0x2d0
[ 2.252016] [<ffffffff81709b88>] kmemleak_alloc_percpu+0x28/0x50
[ 2.252016] [<ffffffff810cf021>] pcpu_alloc+0x3c1/0x510
[ 2.252016] [<ffffffff810cf17b>] __alloc_percpu+0xb/0x10
[ 2.252016] [<ffffffff8104e479>] schedule_on_each_cpu+0x19/0x80
[ 2.252016] [<ffffffff810be570>] lru_add_drain_all+0x10/0x20
[ 2.252016] [<ffffffff810d664d>] sys_mlockall+0x11d/0x190
[ 2.252016] [<ffffffff81722771>] sysenter_dispatch+0x7/0x2a
[ 2.252016]
[ 2.252016] other info that might help us debug this:
[ 2.252016]
[ 2.252016] Possible unsafe locking scenario:
[ 2.252016]
[ 2.252016] CPU0 CPU1
[ 2.252016] ---- ----
[ 2.252016] lock(kmemleak_lock);
[ 2.252016] lock(&(&gcwq->lock)->rlock);
[ 2.252016] lock(kmemleak_lock);
[ 2.252016] lock(&(&gcwq->lock)->rlock);
[ 2.252016]
[ 2.252016] *** DEADLOCK ***
[ 2.252016]
[ 2.252016] 1 lock held by startpar/1304:
[ 2.252016] #0: (kmemleak_lock){----..}, at: [<ffffffff810eb71b>] create_object+0x17b/0x2d0
[ 2.252016]
[ 2.252016] stack backtrace:
[ 2.252016] Pid: 1304, comm: startpar Not tainted 3.3.4 #5
[ 2.252016] Call Trace:
[ 2.252016] [<ffffffff8171658d>] print_circular_bug+0x204/0x215
[ 2.252016] [<ffffffff81075f8f>] __lock_acquire+0x1b0f/0x1ba0
[ 2.252016] [<ffffffff81558a7e>] ? trace_hardirqs_on_thunk+0x3a/0x3f
[ 2.252016] [<ffffffff81715e24>] ? printk+0x3c/0x3e
[ 2.252016] [<ffffffff81558a7e>] ? trace_hardirqs_on_thunk+0x3a/0x3f
[ 2.252016] [<ffffffff81004767>] ? print_trace_address+0x37/0x50
[ 2.252016] [<ffffffff8104c002>] ? __queue_work+0x52/0x3c0
[ 2.252016] [<ffffffff81077821>] lock_acquire+0xa1/0x140
[ 2.252016] [<ffffffff8104c002>] ? __queue_work+0x52/0x3c0
[ 2.252016] [<ffffffff817204d9>] _raw_spin_lock_irqsave+0x49/0x60
[ 2.252016] [<ffffffff8104c002>] ? __queue_work+0x52/0x3c0
[ 2.252016] [<ffffffff8104c002>] __queue_work+0x52/0x3c0
[ 2.252016] [<ffffffff81004887>] ? show_trace_log_lvl+0x57/0x70
[ 2.252016] [<ffffffff8104dabd>] queue_work_on+0x1d/0x30
[ 2.252016] [<ffffffff8104dae1>] queue_work+0x11/0x20
[ 2.252016] [<ffffffff8104e3f3>] schedule_work+0x13/0x20
[ 2.252016] [<ffffffff810eb538>] kmemleak_disable+0x48/0x50
[ 2.252016] [<ffffffff810eb829>] create_object+0x289/0x2d0
[ 2.252016] [<ffffffff81709b88>] kmemleak_alloc_percpu+0x28/0x50
[ 2.252016] [<ffffffff810cf021>] pcpu_alloc+0x3c1/0x510
[ 2.252016] [<ffffffff810beb00>] ? __pagevec_release+0x30/0x30
[ 2.252016] [<ffffffff810cf17b>] __alloc_percpu+0xb/0x10
[ 2.252016] [<ffffffff8104e479>] schedule_on_each_cpu+0x19/0x80
[ 2.252016] [<ffffffff810be570>] lru_add_drain_all+0x10/0x20
[ 2.252016] [<ffffffff810d664d>] sys_mlockall+0x11d/0x190
[ 2.252016] [<ffffffff817227c9>] ? sysexit_from_sys_call+0x35/0x3b
[ 2.252016] [<ffffffff81722771>] sysenter_dispatch+0x7/0x2a
[ 2.252016] [<ffffffff81558a7e>] ? trace_hardirqs_on_thunk+0x3a/0x3f
[ 2.252016] kmemleak: Kernel memory leak detector disabled
[ 2.252016] kmemleak: Object 0xffff880007fed000 (size 32768):
[ 2.252016] kmemleak: comm "swapper", pid 0, jiffies 4294892296
[ 2.252016] kmemleak: min_count = 0
[ 2.252016] kmemleak: count = 0
[ 2.252016] kmemleak: flags = 0x1
[ 2.252016] kmemleak: checksum = 0
[ 2.252016] kmemleak: backtrace:
[ 2.252016] [<ffffffff81709b51>] kmemleak_alloc+0x41/0x50
[ 2.252016] [<ffffffff81cd336b>] __alloc_memory_core_early+0x6b/0x73
[ 2.252016] [<ffffffff81cd33ce>] ___alloc_bootmem_nopanic+0x5b/0x7d
[ 2.252016] [<ffffffff81cd36cd>] __alloc_bootmem+0x13/0x3b
[ 2.252016] [<ffffffff81cd2fc3>] setup_per_cpu_areas+0x4f/0xb1
[ 2.252016] [<ffffffff81cbd922>] start_kernel+0x100/0x35d
[ 2.252016] [<ffffffff81cbd32a>] x86_64_start_reservations+0x131/0x135
[ 2.252016] [<ffffffff81cbd430>] x86_64_start_kernel+0x102/0x111
[ 2.252016] [<ffffffffffffffff>] 0xffffffffffffffff
------------------------------------------------------------
View attachment "config.3.3.4.kmemleak" of type "text/plain" (40033 bytes)
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists