Comment # 7 on bug 1027456 from
i applied kmemleak_ignore to fork.c and made a test.
And this triggered 2 memory leaks after 62 seconds.

[    0.000000] x86/fpu: x87 FPU will use FXSAVE
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001ffdffff] usable
[    0.000000] BIOS-e820: [mem 0x000000001ffe0000-0x000000001fffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.8 present.
[    0.000000] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
rel-1.9.1-0-gb3ef39f-prebuilt.qemu-project.org 04/01/2014
[    0.000000] e820: last_pfn = 0x1ffe0 max_arch_pfn = 0x400000000
[    0.000000] x86/PAT: PAT not supported by CPU.
[    0.000000] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC  
[    0.000000] found SMP MP-table at [mem 0x000f6bc0-0x000f6bcf] mapped at
[ffff8800000f6bc0]
[    0.000000] RAMDISK: [mem 0x1e848000-0x1ffdffff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000F6990 000014 (v00 BOCHS )
[    0.000000] ACPI: RSDT 0x000000001FFE1780 000030 (v01 BOCHS  BXPCRSDT
00000001 BXPC 00000001)
[    0.000000] ACPI: FACP 0x000000001FFE1654 000074 (v01 BOCHS  BXPCFACP
00000001 BXPC 00000001)
[    0.000000] ACPI: DSDT 0x000000001FFE0040 001614 (v01 BOCHS  BXPCDSDT
00000001 BXPC 00000001)
[    0.000000] ACPI: FACS 0x000000001FFE0000 000040
[    0.000000] ACPI: APIC 0x000000001FFE16C8 000080 (v01 BOCHS  BXPCAPIC
00000001 BXPC 00000001)
[    0.000000] ACPI: HPET 0x000000001FFE1748 000038 (v01 BOCHS  BXPCHPET
00000001 BXPC 00000001)
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   DMA32    [mem 0x0000000001000000-0x000000001ffdffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x000000000009efff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x000000001ffdffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000001ffdffff]
[    0.000000] ACPI: PM-Timer IO Port: 0x608
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[    0.000000] IOAPIC[0]: apic_id 0, 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] smpboot: Allowing 2 CPUs, 0 hotplug CPUs
[    0.000000] e820: [mem 0x20000000-0xfeffbfff] available for PCI devices
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 30582079743023 ns
[    0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:2
nr_node_ids:1
[    0.000000] percpu: Embedded 33 pages/cpu @ffff88001e600000 s96728 r8192
d30248 u1048576
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total
pages: 128873
[    0.000000] Kernel command line: ip=192.168.155.101:::255.255.255.0:rapido1
rd.systemd.unit=emergency               rd.shell=1 console=ttyS0 rd.lvm=0
rd.luks=0
[    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.000000] Memory: 479696K/523768K available (5490K kernel code, 468K
rwdata, 1616K rodata, 1468K init, 380K bss, 44072K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]     Build-time adjustment of leaf fanout to 64.
[    0.000000]     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=2
[    0.000000] NR_IRQS:4352 nr_irqs:440 16
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] console [ttyS0] enabled
[    0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 19112604467 ns
[    0.004000] tsc: Fast TSC calibration using PIT
[    0.008000] tsc: Detected 2297.226 MHz processor
[    0.008000] Calibrating delay loop (skipped), value calculated using timer
frequency.. 4594.45 BogoMIPS (lpj=9188904)
[    0.008000] pid_max: default: 32768 minimum: 301
[    0.012011] ACPI: Core revision 20170119
[    0.016522] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    0.017056] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
[    0.017579] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
[    0.020298] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.020697] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[    0.024054] Freeing SMP alternatives memory: 20K
[    0.024578] smpboot: Max logical packages: 2
[    0.025599] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.068000] smpboot: CPU0: Intel QEMU Virtual CPU version 2.5+ (family: 0x6,
model: 0x6, stepping: 0x3)
[    0.068000] Performance Events: PMU not available due to virtualization,
using software events only.
[    0.068000] NMI watchdog: disabled (cpu0): hardware events not enabled
[    0.068000] NMI watchdog: Shutting down hard lockup detector on all cpus
[    0.068000] smp: Bringing up secondary CPUs ...
[    0.068068] x86: Booting SMP configuration:
[    0.068459] .... node  #0, CPUs:      #1
[    0.152027] smp: Brought up 1 node, 2 CPUs
[    0.152618] smpboot: Total of 2 processors activated (9188.99 BogoMIPS)
[    0.153401] devtmpfs: initialized
[    0.153892] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 7645041785100000 ns
[    0.154611] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.155116] xor: measuring software checksum speed
[    0.192002]    prefetch64-sse: 26480.000 MB/sec
[    0.232001]    generic_sse: 23476.000 MB/sec
[    0.232323] xor: using function: prefetch64-sse (26480.000 MB/sec)
[    0.232913] NET: Registered protocol family 16
[    0.233562] cpuidle: using governor ladder
[    0.233903] ACPI: bus type PCI registered
[    0.234194] PCI: Using configuration type 1 for base access
[    0.300003] raid6: sse2x1   gen() 11053 MB/s
[    0.368002] raid6: sse2x1   xor()  8277 MB/s
[    0.436002] raid6: sse2x2   gen() 13925 MB/s
[    0.504004] raid6: sse2x2   xor()  9139 MB/s
[    0.572003] raid6: sse2x4   gen() 15669 MB/s
[    0.640002] raid6: sse2x4   xor() 11412 MB/s
[    0.640338] raid6: using algorithm sse2x4 gen() 15669 MB/s
[    0.640756] raid6: .... xor() 11412 MB/s, rmw enabled
[    0.641113] raid6: using intx1 recovery algorithm
[    0.641533] ACPI: Added _OSI(Module Device)
[    0.641866] ACPI: Added _OSI(Processor Device)
[    0.642179] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.642509] ACPI: Added _OSI(Processor Aggregator Device)
[    0.644512] ACPI: Interpreter enabled
[    0.644804] ACPI: (supports S0 S5)
[    0.645048] ACPI: Using IOAPIC for interrupt routing
[    0.645477] PCI: Using host bridge windows from ACPI; if necessary, use
"pci=nocrs" and report a bug
[    0.653026] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.653539] acpi PNP0A03:00: _OSC: OS supports [Segments]
[    0.653930] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    0.654447] PCI host bridge to bus 0000:00
[    0.654742] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.655254] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.655749] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff
window]
[    0.656003] pci_bus 0000:00: root bus resource [mem 0x20000000-0xfebfffff
window]
[    0.656573] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.663046] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io 
0x01f0-0x01f7]
[    0.663601] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    0.664003] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io 
0x0170-0x0177]
[    0.664549] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    0.665479] pci 0000:00:01.3: quirk: [io  0x0600-0x063f] claimed by PIIX4
ACPI
[    0.666002] pci 0000:00:01.3: quirk: [io  0x0700-0x070f] claimed by PIIX4
SMB
[    0.685504] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[    0.686094] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[    0.686643] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[    0.688157] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[    0.688639] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
[    0.690999] ACPI: Enabled 16 GPEs in block 00 to 0F
[    0.691506] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    0.691952] pci 0000:00:02.0: vgaarb: VGA device added:
decodes=io+mem,owns=io+mem,locks=none
[    0.692006] pci 0000:00:02.0: vgaarb: bridge control possible
[    0.692428] vgaarb: loaded
[    0.692771] SCSI subsystem initialized
[    0.693097] PCI: Using ACPI for IRQ routing
[    0.693667] clocksource: Switched to clocksource hpet
[    0.694122] FS-Cache: Loaded
[    0.694366] pnp: PnP ACPI init
[    0.695320] pnp: PnP ACPI: found 6 devices
[    0.700674] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff,
max_idle_ns: 2085701024 ns
[    0.701410] NET: Registered protocol family 2
[    0.701908] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.702441] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
[    0.702919] TCP: Hash tables configured (established 4096 bind 4096)
[    0.703441] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.703857] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.704345] NET: Registered protocol family 1
[    0.704675] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    0.705103] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    0.705522] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    0.705990] pci 0000:00:02.0: Video device with shadowed ROM at [mem
0x000c0000-0x000dffff]
[    0.706715] Trying to unpack rootfs image as initramfs...
[    0.775149] Freeing initrd memory: 24160K
[    0.775969] workingset: timestamp_bits=62 max_order=17 bucket_order=0
[    0.779077] SGI XFS with ACLs, security attributes, no debug enabled
[    0.780168] 9p: Installing v9fs 9p2000 file system support
[    0.780632] FS-Cache: Netfs '9p' registered for caching
[    0.781154] ceph: loaded (mds proto 32)
[    0.782238] Block layer SCSI generic (bsg) driver version 0.4 loaded (major
254)
[    0.782784] io scheduler noop registered (default)
[    0.783369] input: Power Button as
/devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    0.783912] ACPI: Power Button [PWRF]
[    0.784226] Warning: Processor Platform Limit event detected, but not
handled.
[    0.784750] Consider compiling CPUfreq support into your kernel.
[    0.785432] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.808012] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a
16550A
[    0.811789] brd: module loaded
[    0.812110] rbd: loaded
[    0.812297] Loading iSCSI transport class v2.0-870.
[    0.812780] iscsi: registered transport (tcp)
[    0.813153] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    0.813664] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    0.943084] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
[    1.280274] e1000 0000:00:03.0 eth0: (PCI:33MHz:32-bit) 52:54:00:12:34:56
[    1.281577] e1000 0000:00:03.0 eth0: Intel(R) PRO/1000 Network Connection
[    1.282983] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at
0x60,0x64 irq 1,12
[    1.285442] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.286387] serio: i8042 AUX port at 0x60,0x64 irq 12
[    1.287673] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised:
dm-devel@redhat.com
[    1.290053] NET: Registered protocol family 10
[    1.290891] Segment Routing with IPv6
[    1.291246] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.291893] NET: Registered protocol family 17
[    1.292251] 9pnet: Installing 9P2000 support
[    1.292629] Key type dns_resolver registered
[    1.292993] Key type ceph registered
[    1.293420] libceph: loaded (mon/osd proto 15/24)
[    1.294102] input: AT Translated Set 2 keyboard as
/devices/platform/i8042/serio0/input/input1
[    1.295272] kmemleak: Kernel memory leak detector initialized
[    1.295282] kmemleak: Automatic memory scanning thread started
[    1.296671] Btrfs loaded, crc32c=crc32c-generic
[    1.298896] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    1.805757] tsc: Refined TSC clocksource calibration: 2297.335 MHz
[    1.806355] clocksource: tsc: mask: 0xffffffffffffffff max_cycles:
0x211d5f82f10, max_idle_ns: 440795255892 ns
[    1.807227] clocksource: Switched to clocksource tsc
[    3.310644] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control:
RX
[    3.313748] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    3.333693] IP-Config: Complete:
[    3.334024]      device=eth0, hwaddr=52:54:00:12:34:56,
ipaddr=192.168.155.101, mask=255.255.255.0, gw=255.255.255.255
[    3.334911]      host=rapido1, domain=, nis-domain=(none)
[    3.335336]      bootserver=255.255.255.255, rootserver=255.255.255.255,
rootpath=
[    3.337460] Freeing unused kernel memory: 1468K
[    3.337841] Write protecting the kernel read-only data: 8192k
[    3.338889] Freeing unused kernel memory: 636K
[    3.340268] Freeing unused kernel memory: 432K
[    3.340676] rodata_test: all tests were successful
[    3.410812] dracut: dracut-044-87.1
[    3.453268] dracut Warning: Empty autoconf values default to dhcp
dracut Warning: Empty autoconf values default to dhcp
[    3.461902] dracut: FATAL: No or empty root= argument
[    3.462343] dracut: Refusing to continue


[    3.465675] dracut Warning: Signal caught!
dracut Warning: Signal caught!
[    3.466254] dracut Warning: dracut: FATAL: No or empty root= argument
dracut Warning: [    3.466914] dracut Warning: dracut: Refusing to continue
dracut: FATAL: No or empty root= argument
dracut Warning: dracut: Refusing to continue


Generating "/run/initramfs/rdsosreport.txt"
You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot
after mounting them and attach it to a bug report.

To get more debug information in the report,
reboot with "rd.debug" added to the kernel command line.

Dropping to debug shell.

sh: resize: command not found
+ ps -eo args
+ grep /usr/lib/systemd/systemd-udevd
+ grep -v grep
+ /usr/lib/systemd/systemd-udevd --daemon
starting version 228
+ udevadm settle
[    3.511827] random: systemd-udevd: uninitialized urandom read (16 bytes
read)
[    3.512640] random: systemd-udevd: uninitialized urandom read (16 bytes
read)
[    3.513352] random: systemd-udevd: uninitialized urandom read (16 bytes
read)
[    3.514082] random: systemd-udevd: uninitialized urandom read (16 bytes
read)
+ cat /proc/mounts
+ grep debugfs
+ '[' 1 -ne 0 ']'
+ mount -t debugfs debugfs /sys/kernel/debug/
+ cat /proc/mounts
+ grep configfs
+ '[' 1 -ne 0 ']'
+ mount -t configfs configfs /sys/kernel/config/
+ set +x
rapido1:/# [   62.518450] kmemleak: 2 new suspected memory leaks (see
/sys/kernel/debug/kmemleak)


You are receiving this mail because: