➜ rootfs gdb crash (gdb) b memory.c:543 Breakpoint 1 at 0x50a355: file memory.c, line 543. (gdb) b memory.c:12224 Breakpoint 2 at 0x533516: file memory.c, line 12225.
(gdb) run vmlinux_normal vmcore-normal
... Thread 1"crash" hit Breakpoint 1, vm_init () at memory.c:543 543 ANON_MEMBER_OFFSET_INIT(page_active, "page", "active"); (gdb) n 546if (!VALID_STRUCT(kmem_slab_s) && VALID_STRUCT(slab_s)) { (gdb) p offset_table.page_active $1 = -1 (gdb) c ... crash> kmem -s [Detaching after fork from child process 28224] CACHE OBJSIZE ALLOCATED TOTAL SLABS SSIZE NAME
Thread 1"crash" hit Breakpoint 2, verify_slab_overload_page (si=0x7ffffffecb90, last=18446637560712103560, s=0) at memory.c:12225 12225 active = UINT(page_buf + OFFSET(page_active)); (gdb) p offset_table.page_active $2 = -1
(gdb) bt #0 verify_slab_overload_page (si=0x7ffffffecb90, last=18446637560712103560, s=0) at memory.c:12225 #10x0000000000532526 in do_slab_chain_slab_overload_page (cmd=32768, si=0x7ffffffecb90) at memory.c:11936 #20x000000000052ec60 in dump_kmem_cache_percpu_v2 (si=0x7ffffffecb90) at memory.c:10843 #30x0000000000519cc6 in cmd_kmem () at memory.c:5231 #40x00000000004f4719 in exec_command () at main.c:892 #50x00000000004f490a in main_loop () at main.c:839 #60x000000000081d66d in captured_main (data=data@entry=0x7fffffffd980) at main.c:1284 #7 gdb_main (args=args@entry=0x7fffffffd9a0) at main.c:1313 #80x000000000081d735 in gdb_main_entry (argc=<optimized out>, argv=argv@entry=0x7fffffffdb28) at main.c:1338 #90x000000000059a4aa in gdb_main_loop (argc=<optimized out>, argc@entry=3, argv=argv@entry=0x7fffffffdb28) at gdb_interface.c:81 #100x00000000004ed7a3 in main (argc=3, argv=0x7fffffffdb28) at main.c:720
[/usr/bin/crash] error trace: 532526 => 53353a => 5e0a6a => 5e09dc [Detaching after fork from child process 28299]
5e09dc: OFFSET_verify.part.36+92 [Detaching after fork from child process 28301] 5e0a6a: OFFSET_verify+58 [Detaching after fork from child process 28303] 53353a: verify_slab_overload_page+588 [Detaching after fork from child process 28305] 532526: do_slab_chain_slab_overload_page+1171