Advertisement
tyler569

malloc fail output

Apr 5th, 2019
436
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.49 KB | None | 0 0
  1. vmm: protecting kernel code and rodata
  2. 0xffffffff80106100 - 0xffffffff80119000
  3. terminal: initialized
  4. uart: initialized
  5. rand: initialized 'random' generator
  6. idt: interrupts installed
  7. pic: remapped and masked
  8. pit: running tickless
  9. uart: listening for interrupts
  10. kbrd: listening for interrupts
  11. mb: parsing multiboot at 0xffffffff801e0000
  12. mb: unknown tag type 21 encountered
  13. mb: kernel command line: init=init
  14. mb: bootloader name: GRUB 2.02+dfsg1-5ubuntu8.2
  15. mb: unknown tag type 10 encountered
  16. mb: initfs at 0xffffffff80145000
  17. mb: unknown tag type 4 encountered
  18. mb: unknown tag type 5 encountered
  19. mb: unknown tag type 8 encountered
  20. mmap: 0: 9fc00 type 1
  21. mmap: 9fc00: 400 type 2
  22. mmap: f0000: 10000 type 2
  23. mmap: 100000: fee0000 type 1
  24. mmap: ffe0000: 20000 type 2
  25. mmap: fffc0000: 40000 type 2
  26. mmap: total usable memory: 267910144 (255MB + 511KB)
  27. mb: user init at 0xffffffff80145000
  28. initfs at 0xffffffff80145000
  29. pmm: using 0x1e1000 as the first physical page
  30. malloc(256)
  31. malloc(376)
  32. malloc(376)
  33. malloc(128)
  34. vfs: filesystem initiated
  35. network: network initialized
  36. malloc(256)
  37. malloc(256)
  38. threads: thread data at 0xffffff00000006f0
  39. threads: process structures initialized
  40. pci: found Host bridge (8086:1237) at 00:00.0
  41. pci: found ISA bridge (8086:7000) at 00:01.0
  42. pci: found IDE interface (8086:7010) at 00:01.1
  43. pci: found Bridge (8086:7113) at 00:01.3
  44. pci: found VGA controller (1234:1111) at 00:02.0
  45. pci: found Ethernet controller (10ec:8139) at 00:03.0
  46.  
  47. ********************************
  48.  
  49. The Nightingale Operating System
  50. Version v0.3.13-6-g486b86f
  51.  
  52. ********************************
  53.  
  54. cpu: allowing irqs
  55. malloc(56)
  56. malloc(16)
  57. q->tail = (NULL)
  58. enqueue 0xffffff0000000a80
  59. init (35424b)
  60. sh (37688b)
  61. echo (35376b)
  62. test (35680b)
  63. uname (35504b)
  64. what (35248b)
  65. bf (38928b)
  66. strace (35392b)
  67. bomb (35168b)
  68. rsh (36280b)
  69. net (36296b)
  70. busy (36416b)
  71. cat (35816b)
  72. udpnc (39152b)
  73. polltest (35744b)
  74. malloctest (35440b)
  75. threads (35704b)
  76. text_file (20b)
  77. done.
  78. Starting ring 3 thread at 0x401968
  79.  
  80. malloc(104)
  81. malloc(56)
  82. malloc(128)
  83. malloc(16)
  84. qo = 0xffffff0000000a80
  85. q->tail = 0xffffff0000000a80
  86. enqueue 0xffffff0000000f40
  87. Hello World from a kernel thread
  88. Hello World from ring 3!
  89. Nightingale shell
  90. $ malloc(16)
  91. qo = 0x0000f031b80000a4
  92.  
  93. region, next, previous, length, status, valid
  94. 0xffffff0000000000, 0xffffff0000000130, (NULL), 256, used, valid
  95. 0xffffff0000000130, 0xffffff0000000360, 0xffffff0000000000, 512, used, valid
  96. 0xffffff0000000360, 0xffffff0000000590, 0xffffff0000000130, 512, used, valid
  97. 0xffffff0000000590, 0xffffff00000006c0, 0xffffff0000000360, 256, used, valid
  98. 0xffffff00000006c0, 0xffffff00000007f0, 0xffffff0000000590, 256, used, valid
  99. 0xffffff00000007f0, 0xffffff0000000920, 0xffffff00000006c0, 256, used, valid
  100. 0xffffff0000000920, 0xffffff0000000a50, 0xffffff00000007f0, 256, used, valid
  101. 0xffffff0000000a50, 0xffffff0000000b80, 0xffffff0000000920, 256, used, valid
  102. 0xffffff0000000b80, 0xffffff0000000cb0, 0xffffff0000000a50, 256, used, valid
  103. 0xffffff0000000cb0, 0xffffff0000000de0, 0xffffff0000000b80, 256, used, valid
  104. 0xffffff0000000de0, 0xffffff0000000f10, 0xffffff0000000cb0, 256, used, valid
  105. 0xffffff0000000f10, 0xffffff0000001040, 0xffffff0000000de0, 256, used, valid
  106. 0xffffff0000001040, 0xffffff0000001170, 0xffffff0000000f10, 256, used, valid
  107. 0xffffff0000001170, (NULL), 0xffffff0000001040, 16772704, free, valid
  108. **
  109.  
  110. total len: 16776544
  111. inuse len: 3840
  112. total regions: 14
  113. inuse regions: 13
  114. Unhandled exception at 0xffffffff80108dfb
  115. Fault: #GP (General Protection Fault), error code: 0x00
  116. rax: f031b80000a4 r8 : ffffffffffffffff
  117. rbx: 0 r9 : 0
  118. rcx: ffffffff80115085 r10: ffffffff80107651
  119. rdx: 3f8 r11: 0
  120. rsp: ffffffff85005cc8 r12: 0
  121. rbp: ffffffff85005ce8 r13: 7ffffefffc58
  122. rsi: a r14: 100
  123. rdi: 3f8 r15: 0
  124. rip: ffffffff80108dfb rfl: [ P Z I ] (246)
  125. cr3: 1f2000 pid: 1
  126. backtrace from ffffffff85005ce8:
  127. bp: ffffffff85005ce8 ip: ffffffff80108e4f
  128. bp: ffffffff85005d08 ip: ffffffff8010c1e2
  129. bp: ffffffff85005d38 ip: ffffffff80107737
  130. bp: ffffffff85005dc8 ip: ffffffff8010dc84
  131. bp: ffffffff85005e88 ip: ffffffff8010ef81
  132. bp: ffffffff85005f08 ip: ffffffff8010edf2
  133. bp: ffffffff85005f28 ip: ffffffff80107030
  134. end of memory
  135. Stack dump: (sp at 0xffffffff85005cc8)
  136. ffffffff85005c88: 0d00 0000 0000 0000 0000 0000 0000 0000 ................
  137. ffffffff85005c98: fb8d 1080 ffff ffff 0800 0000 0000 0000 ................
  138. ffffffff85005ca8: 4602 0000 0000 0000 c85c 0085 ffff ffff F........\......
  139. ffffffff85005cb8: 0000 0000 0000 0000 f78d 1080 ffff ffff ................
  140. ffffffff85005cc8: 7011 0000 00ff ffff f004 0000 00ff ffff p...............
  141. ffffffff85005cd8: 085d 0085 ffff ffff a400 00b8 31f0 0000 .]..........1...
  142. ffffffff85005ce8: 085d 0085 ffff ffff 4f8e 1080 ffff ffff .]......O.......
  143. ffffffff85005cf8: 7010 0000 00ff ffff f004 0000 00ff ffff p...............
  144. ffffffff85005d08: 385d 0085 ffff ffff e2c1 1080 ffff ffff 8]..............
  145. [PANIC]
  146.  
  147.  
  148. *****
  149.  
  150. *print_queue@queue.c:18 (discriminator 3)
  151. queue_enqueue@queue.c:29
  152. block_thread@thread.c:594
  153. sys_read@vfs.c:56
  154. do_syscall_with_table@syscall.c:162
  155. syscall_handler@interrupt.c:231
  156. c_interrupt_shim@interrupt.c:204
  157. return_from_interrupt@??:?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement