Тема: дебаг
Показать сообщение отдельно
  #13  
Старый 09.02.2019, 16:22
Sergey Anokhin
Guest
 
Сообщений: n/a
По умолчанию Re: дебаг

Sergey Anokhin написал(а) к Sergey Anokhin в Feb 19 14:55:24 по местному времени:

> Да я вычистил все из make.conf и src.conf не помогало (
> А вот эти опции помогли, мир собрался.

Какая-то хрень, на запуске мускуля все падает )

(pts/2)[root@server:/usr/obj/usr/src/amd64.amd64/sys/SERVER]# kgdb
kernel /var/crash/vmcore.last
GNU gdb (GDB) 8.2 [GDB v8.2 for FreeBSD]
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-portbld-freebsd12.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from kernel...Reading symbols from
/usr/obj/usr/src/amd64.amd64/sys/SERVER/kernel.debug...done.
done.

Unread portion of the kernel message buffer:
panic: Solaris(panic): blkptr at 0xfffffe0063c42980 DVA 0 has invalid
OFFSET 72057594038013952
cpuid = 3
time = 1549711338
KDB: stack backtrace:
#0 0xffffffff80c531c7 at kdb_backtrace+0x67
#1 0xffffffff80c07143 at vpanic+0x1a3
#2 0xffffffff80c06f93 at panic+0x43
#3 0xffffffff826d418f at vcmn_err+0xcf
#4 0xffffffff827819ca at zfspanicrecover+0x5a
#5 0xffffffff827bd223 at zfsblkptrverify+0x303
#6 0xffffffff827bd30c at zio_read+0x2c
#7 0xffffffff82709c54 at arc_read+0x704
#8 0xffffffff827165ed at dbuf_read+0x72d
#9 0xffffffff8271a16f at _dbuf_holdimpl+0x57f
#10 0xffffffff8271a37f at dbuf_hold+0x7f
#11 0xffffffff827210ec at dmubuf_hold_noread_bydnode+0x3c
#12 0xffffffff827212ac at dmubuf_hold_bydnode+0x1c
#13 0xffffffff827a39cd at zapget_leafbyblk+0x4d
#14 0xffffffff827a104f at fzap_lookup+0xcf
#15 0xffffffff827a7c67 at zaplookupimpl+0x117
#16 0xffffffff827a7ad5 at zaplookupnorm+0xa5
#17 0xffffffff827a7a21 at zap_lookup+0x11
Uptime: 45m59s
Dumping 1150 out of 8077
MB:..2%..12%..21%..31%..41%..51%..62%..71%..81%..91%

warning: Could not load shared library symbols for 13 libraries, e.g.
opensolaris.ko.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
curthread () at ./machine/pcpu.h:230
230 asm("movq %%gs:%P1,%0" : "=r" (td) : "n"
(OFFSETOF_CURTНREAD));
(kgdb)
(kgdb) bt
#0 curthread () at ./machine/pcpu.h:230
#1 doadump (textdump=<optimized out>) at
/usr/src/sys/kern/kern_shutdown.c:366
#2 0xffffffff80c06d2b in kern_reboot (howto=260) at
/usr/src/sys/kern/kern_shutdown.c:446
#3 0xffffffff80c071a3 in vpanic (fmt=<optimized out>,
ap=0xfffffe00600e9e10) at /usr/src/sys/kern/kern_shutdown.c:872
#4 0xffffffff80c06f93 in panic (fmt=<unavailable>) at
/usr/src/sys/kern/kern_shutdown.c:799
#5 0xffffffff826d418f in ?? ()
#6 0x61207274706b6c62 in ?? ()
#7 0x6666666678302074 in ?? ()
#8 0x3463333630306566 in ?? ()
#9 0x4156442030383932 in ?? ()
#10 0x6920736168203020 in ?? ()
#11 0x4f2064696c61766e in ?? ()
#12 0x3237205445534646 in ?? ()
#13 0x3330343935373530 in ?? ()
#14 0x0032353933313038 in ?? ()
#15 0xffffffff82718e1a in ?? ()
#16 0xfffff800180d2680 in ?? ()
#17 0xffffffff80fef037 in umazallocarg (zone=0xfffffe00600e9fa0,
udata=0xffffffff80be1431 <free+97>, flags=0) at
/usr/src/sys/vm/uma_core.c:2501
#18 0xffffffff827819ca in ?? ()
#19 0x00000002826d4ba0 in ?? ()
#20 0xfffffe0063c42980 in ?? ()
#21 0x0000000000000000 in ?? ()
(kgdb)


--- Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Thunderbird/60.5.0
Ответить с цитированием