jintack

QEMU terminated because of freeing an invalid pointer

Jun 3rd, 2016
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.26 KB | None | 0 0
  1. [L1 ~]$./run.sh 1
  2. ./run-guest.sh: line 95: /sys/class/net/kvmtap0/ifindex: No such file or directory
  3. Using bridged networking
  4. [ 0.000000] Booting Linux on physical CPU 0x0
  5. [ 0.000000] Initializing cgroup subsys cpu
  6. [ 0.000000] Linux version 4.4.0-rc5+ (jintackl@kvm-node.jintackl-qv15103.kvmarm-pg0.utah.cloudlab.us) (gcc version 4.8.2 (Ubuntu/Linaro 4.8.2-19ubuntu1) ) #7 SMP PREEMPT Fri Apr 22 14:16:30 MDT 2016
  7. [ 0.000000] Boot CPU: AArch64 Processor [500f0001]
  8. [ 0.000000] earlycon: Early serial console at MMIO 0x9000000 (options '')
  9. [ 0.000000] bootconsole [uart0] enabled
  10. [ 0.000000] efi: Getting EFI parameters from FDT:
  11. [ 0.000000] efi: UEFI not found.
  12. [ 0.000000] cma: Reserved 16 MiB at 0x00000000ff000000
  13. [ 0.000000] psci: probing for conduit method from DT.
  14. [ 0.000000] psci: PSCIv0.2 detected in firmware.
  15. [ 0.000000] psci: Using standard PSCI v0.2 function IDs
  16. [ 0.000000] psci: Trusted OS migration not required
  17. [ 0.000000] PERCPU: Embedded 15 pages/cpu @ffff8000fffc7000 s24576 r8192 d28672 u61440
  18. [ 0.000000] Detected PIPT I-cache on CPU0
  19. [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 1032192
  20. [ 0.000000] Kernel command line: earlycon=pl011,0x09000000 console=ttyAMA0 root=/dev/vda rw
  21. [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
  22. [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
  23. [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
  24. [ 0.000000] software IO TLB [mem 0xfafff000-0xfefff000] (64MB) mapped at [ffff8000bafff000-ffff8000beffefff]
  25. [ 0.000000] Memory: 4030060K/4194304K available (6002K kernel code, 505K rwdata, 2520K rodata, 548K init, 217K bss, 147860K reserved, 16384K cma-reserved)
  26. [ 0.000000] Virtual kernel memory layout:
  27. [ 0.000000] vmalloc : 0xffff000000000000 - 0xffff7bffbfff0000 (126974 GB)
  28. [ 0.000000] vmemmap : 0xffff7bffc0000000 - 0xffff7fffc0000000 ( 4096 GB maximum)
  29. [ 0.000000] 0xffff7bffc1000000 - 0xffff7bffc5000000 ( 64 MB actual)
  30. [ 0.000000] fixed : 0xffff7ffffa7fd000 - 0xffff7ffffac00000 ( 4108 KB)
  31. [ 0.000000] PCI I/O : 0xffff7ffffae00000 - 0xffff7ffffbe00000 ( 16 MB)
  32. [ 0.000000] modules : 0xffff7ffffc000000 - 0xffff800000000000 ( 64 MB)
  33. [ 0.000000] memory : 0xffff800000000000 - 0xffff800100000000 ( 4096 MB)
  34. [ 0.000000] .init : 0xffff8000008d5000 - 0xffff80000095e000 ( 548 KB)
  35. [ 0.000000] .text : 0xffff800000080000 - 0xffff8000008d4994 ( 8531 KB)
  36. [ 0.000000] .data : 0xffff80000096f000 - 0xffff8000009ed600 ( 506 KB)
  37. [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  38. [ 0.000000] Preemptible hierarchical RCU implementation.
  39. [ 0.000000] Build-time adjustment of leaf fanout to 64.
  40. [ 0.000000] RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=1.
  41. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=1
  42. [ 0.000000] NR_IRQS:64 nr_irqs:64 0
  43. [ 0.000000] GICv2m: Node v2m: range[0x8020000:0x8020fff], SPI[80:144]
  44. [ 0.000000] Architected cp15 timer(s) running at 50.00MHz (virt).
  45. [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb8812736b, max_idle_ns: 440795202655 ns
  46. [ 0.000005] sched_clock: 56 bits at 50MHz, resolution 20ns, wraps every 4398046511100ns
  47. [ 0.125400] Console: colour dummy device 80x25
  48. [ 0.195395] Calibrating delay loop (skipped), value calculated using timer frequency.. 100.00 BogoMIPS (lpj=200000)
  49. [ 0.358222] pid_max: default: 32768 minimum: 301
  50. [ 0.431453] Security Framework initialized
  51. [ 0.495679] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
  52. [ 0.600544] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
  53. [ 0.728104] Initializing cgroup subsys memory
  54. [ 0.798278] Initializing cgroup subsys hugetlb
  55. [ 0.867243] EFI services will not be available.
  56. [ 0.939003] ASID allocator initialised with 65536 entries
  57. [ 1.049637] Brought up 1 CPUs
  58. [ 1.095358] SMP: Total of 1 processors activated.
  59. [ 1.173481] CPU: All CPU(s) started at EL1
  60. [ 1.240755] devtmpfs: initialized
  61. [ 1.293195] DMI not present or invalid.
  62. [ 1.354196] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
  63. [ 1.507342] pinctrl core: initialized pinctrl subsystem
  64. [ 1.587215] NET: Registered protocol family 16
  65. [ 1.669370] cpuidle: using governor ladder
  66. [ 1.745507] cpuidle: using governor menu
  67. [ 1.805048] vdso: 2 pages (1 code @ ffff800000975000, 1 data @ ffff800000974000)
  68. [ 1.917908] hw-breakpoint: found 4 breakpoint and 4 watchpoint registers.
  69. [ 2.020654] DMA: preallocated 256 KiB pool for atomic allocations
  70. [ 2.115870] Serial: AMBA PL011 UART driver
  71. [ 2.240742] 9000000.pl011: ttyAMA0 at MMIO 0x9000000 (irq = 38, base_baud = 0) is a PL011 rev1
  72. [ 2.376920] console [ttyAMA0] enabled
  73. [ 2.376920] console [ttyAMA0] enabled
  74. [ 2.475263] bootconsole [uart0] disabled
  75. [ 2.475263] bootconsole [uart0] disabled
  76. [ 2.615299] vgaarb: loaded
  77. [ 2.649769] SCSI subsystem initialized
  78. [ 2.696911] usbcore: registered new interface driver usbfs
  79. [ 2.760840] usbcore: registered new interface driver hub
  80. [ 2.822356] usbcore: registered new device driver usb
  81. [ 2.881781] pps_core: LinuxPPS API ver. 1 registered
  82. [ 2.937809] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
  83. [ 3.043307] PTP clock support registered
  84. [ 3.087189] dmi: Firmware registration failed.
  85. [ 3.142573] clocksource: Switched to clocksource arch_sys_counter
  86. [ 3.217590] NET: Registered protocol family 2
  87. [ 3.270865] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
  88. [ 3.355655] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
  89. [ 3.434852] TCP: Hash tables configured (established 32768 bind 32768)
  90. [ 3.510170] UDP hash table entries: 2048 (order: 4, 65536 bytes)
  91. [ 3.578701] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
  92. [ 3.652879] NET: Registered protocol family 1
  93. [ 3.704623] RPC: Registered named UNIX socket transport module.
  94. [ 3.769893] RPC: Registered udp transport module.
  95. [ 3.820770] RPC: Registered tcp transport module.
  96. [ 3.871445] RPC: Registered tcp NFSv4.1 backchannel transport module.
  97. [ 3.939194] kvm [1]: HYP mode not available
  98. [ 3.985853] nest-tests successfully initialized
  99. [ 4.034853] futex hash table entries: 256 (order: 3, 32768 bytes)
  100. [ 4.100157] audit: initializing netlink subsys (disabled)
  101. [ 4.157473] audit: type=2000 audit(1.300:1): initialized
  102. [ 4.216490] HugeTLB registered 2 MB page size, pre-allocated 0 pages
  103. [ 4.289281] VFS: Disk quotas dquot_6.6.0
  104. [ 4.332575] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
  105. [ 4.410168] NFS: Registering the id_resolver key type
  106. [ 4.465051] Key type id_resolver registered
  107. [ 4.509832] Key type id_legacy registered
  108. [ 4.553392] fuse init (API version 7.23)
  109. [ 4.597283] 9p: Installing v9fs 9p2000 file system support
  110. [ 4.658218] io scheduler noop registered
  111. [ 4.700966] io scheduler cfq registered (default)
  112. [ 4.752970] PCI host bridge /pcie@10000000 ranges:
  113. [ 4.824052] IO 0x3eff0000..0x3effffff -> 0x00000000
  114. [ 4.903552] MEM 0x10000000..0x3efeffff -> 0x10000000
  115. [ 4.983964] pci-host-generic 3f000000.pcie: PCI host bridge to bus 0000:00
  116. [ 5.090631] pci_bus 0000:00: root bus resource [bus 00-0f]
  117. [ 5.175966] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
  118. [ 5.271993] pci_bus 0000:00: root bus resource [mem 0x10000000-0x3efeffff]
  119. [ 5.500343] pci 0000:00:02.0: BAR 6: assigned [mem 0x10000000-0x1003ffff pref]
  120. [ 5.613080] pci 0000:00:03.0: BAR 6: assigned [mem 0x10040000-0x1007ffff pref]
  121. [ 5.724982] pci 0000:00:01.0: BAR 1: assigned [mem 0x10080000-0x10080fff]
  122. [ 5.830927] pci 0000:00:02.0: BAR 1: assigned [mem 0x10081000-0x10081fff]
  123. [ 5.942100] pci 0000:00:03.0: BAR 1: assigned [mem 0x10082000-0x10082fff]
  124. [ 6.048363] pci 0000:00:01.0: BAR 0: assigned [io 0x1000-0x103f]
  125. [ 6.142983] pci 0000:00:02.0: BAR 0: assigned [io 0x1040-0x105f]
  126. [ 6.238837] pci 0000:00:03.0: BAR 0: assigned [io 0x1060-0x107f]
  127. [ 6.370111] virtio-pci 0000:00:01.0: enabling device (0000 -> 0003)
  128. [ 6.471153] virtio-pci 0000:00:01.0: virtio_pci: leaving for legacy driver
  129. [ 6.582680] virtio-pci 0000:00:02.0: enabling device (0000 -> 0003)
  130. [ 6.685021] virtio-pci 0000:00:02.0: virtio_pci: leaving for legacy driver
  131. [ 6.797513] virtio-pci 0000:00:03.0: enabling device (0000 -> 0003)
  132. [ 6.901005] virtio-pci 0000:00:03.0: virtio_pci: leaving for legacy driver
  133. *** Error in `./qemu-system-aarch64': free(): invalid pointer: 0x0000007fa4065e10 ***
  134. ./run-guest.sh: line 121: 1674 Aborted ./qemu-system-aarch64 -smp $SMP -m $MEMSIZE -machine virt${DUMPDTB}${IRQ} -cpu host -kernel ${KERNEL} -enable-kvm ${DTB} -drive if=none,file=$FS,id=vda,cache=none,format=raw -device virtio-blk-pci,drive=vda -netdev user,id=net0,hostfwd=tcp::2222-:22 -device virtio-net-pci,netdev=net0,mac=de:ad:be:ef:41:48 $BRIDGE_IF -display none -serial $CONSOLE -qmp unix:/var/run/qmp,server,nowait -append "earlycon=pl011,0x09000000 console=ttyAMA0 root=/dev/vda rw $CMDLINE"
Add Comment
Please, Sign In to add comment