Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 2009 15:26:15 +0200
From:      Henri Hennebert <hlh@restart.be>
To:        Kip Macy <kmacy@freebsd.org>
Cc:        freebsd-stable@freebsd.org, Artem Belevich <fbsdlist@src.cx>
Subject:   Re: ZFS MFC heads down
Message-ID:  <4A1E90F7.2000000@restart.be>
In-Reply-To: <3c1674c90905280052q281f6172j2409fe2d64db6914@mail.gmail.com>
References:  <3c1674c90905201643m540c8b1v8a8bd88f071c233d@mail.gmail.com>	 <4A1D0F2B.4030006@restart.be>	 <ed91d4a80905271104g2a824d0fna004d1c4f3126c67@mail.gmail.com> <3c1674c90905280052q281f6172j2409fe2d64db6914@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kip Macy wrote:
> On Wed, May 27, 2009 at 11:04 AM, Artem Belevich <fbsdlist@src.cx> wrote:
>> I had the same problem on -current. Try attached patch. It may not
>> apply cleanly on -stable, but should be easy enough to make equivalent
>> changes on -stable.
>>
>> --Artem
>>
> 
> Adding to rw_init looks fine, but I'd rather find out why owner isn't
> NULL when the calling convention expects it. Getting a backtrace from
> where the assert is hit would be helpful.
> 
> 
> -Kip
> 

on FreeBSD avoriaz.restart.bel 7.2-STABLE FreeBSD 7.2-STABLE #0: Mon May 
25 12:06:07 CEST 2009 
root@avoriaz.restart.bel:/usr/obj/usr/src/sys/AVORIAZ  amd64

Is it useful ?

[root@avoriaz ~]# gdb zdb
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...(no debugging 
symbols found)...
(gdb) r rpool
Starting program: /usr/sbin/zdb rpool
(no debugging symbols found)...(no debugging symbols found)...(no 
debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...[New LWP 100343]
(no debugging symbols found)...(no debugging symbols found)...(no 
debugging symbols found)...(no debugging symbols found)...(no debugging 
symbols found)...(no debugging symbols found)...(no debugging symbols 
found)...(no debugging symbols found)...(no debugging symbols 
found)...(no debugging symbols found)...[New Thread 0x8018020b0 (LWP 
100343)]
[New Thread 0x801802240 (LWP 100346)]
     version=13
     name='rpool'
     state=0
     txg=3467
     pool_guid=536117255064806899
     hostid=1133576597
     hostname='unset'
     vdev_tree
         type='root'
         id=0
         guid=536117255064806899
         children[0]
                 type='mirror'
                 id=0
                 guid=3124217685892976292
                 metaslab_array=23
                 metaslab_shift=30
                 ashift=9
                 asize=155741847552
                 is_log=0
                 children[0]
                         type='disk'
                         id=0
                         guid=11099413743436480159
                         path='/dev/ad4p2'
                         whole_disk=0
                 children[1]
                         type='disk'
                         id=1
                         guid=12724983687805955432
                         path='/dev/ad6p2'
                         whole_disk=0
[New Thread 0x8018023d0 (LWP 100347)]
[New Thread 0x801802560 (LWP 100354)]
[New Thread 0x8018026f0 (LWP 100355)]
[New Thread 0x801802880 (LWP 100356)]
[New Thread 0x801802a10 (LWP 100359)]
[New Thread 0x801802ba0 (LWP 100360)]
[New Thread 0x801802d30 (LWP 100368)]
[New Thread 0x801802ec0 (LWP 100369)]
[New Thread 0x801803050 (LWP 100370)]
[New Thread 0x8018031e0 (LWP 100371)]
[New Thread 0x801803370 (LWP 100372)]
[New Thread 0x801803500 (LWP 100373)]
[New Thread 0x801803690 (LWP 100374)]
[New Thread 0x801803820 (LWP 100375)]
[New Thread 0x8018039b0 (LWP 100376)]
[New Thread 0x801803b40 (LWP 100377)]
[New Thread 0x801803cd0 (LWP 100378)]
[New Thread 0x801803e60 (LWP 100379)]
[New Thread 0x801803ff0 (LWP 100380)]
[New Thread 0x801804180 (LWP 100381)]
[New Thread 0x801804310 (LWP 100382)]
[New Thread 0x8018044a0 (LWP 100383)]
[New Thread 0x801804630 (LWP 100384)]
[New Thread 0x8018047c0 (LWP 100385)]
[New Thread 0x801804950 (LWP 100386)]
[New Thread 0x801804ae0 (LWP 100387)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x8018020b0 (LWP 100343)]
0x00000008012a6f22 in strlen () from /lib/libc.so.7
(gdb) bt
#0  0x00000008012a6f22 in strlen () from /lib/libc.so.7
#1  0x00000008012a0feb in open () from /lib/libc.so.7
#2  0x000000080129ea59 in open () from /lib/libc.so.7
#3  0x00000008012a1f2e in vfprintf () from /lib/libc.so.7
#4  0x0000000801291158 in fprintf () from /lib/libc.so.7
#5  0x0000000801290fb0 in __assert () from /lib/libc.so.7
#6  0x0000000800fef120 in zmutex_destroy () from /lib/libzpool.so.1
#7  0x000000080102e1a0 in dsl_dataset_fast_stat () from /lib/libzpool.so.1
#8  0x0000000801045ffa in dbuf_find () from /lib/libzpool.so.1
#9  0x0000000801047bf3 in dmu_buf_rele () from /lib/libzpool.so.1
#10 0x0000000801027546 in dsl_pool_open () from /lib/libzpool.so.1
#11 0x000000080101bcec in spa_create () from /lib/libzpool.so.1
#12 0x000000080101c820 in spa_tryimport () from /lib/libzpool.so.1
#13 0x0000000000408b41 in ?? ()
#14 0x00000000004036de in ?? ()
#15 0x0000000800534000 in ?? ()
#16 0x0000000000000000 in ?? ()
#17 0x0000000000000002 in ?? ()
#18 0x00007fffffffed70 in ?? ()
#19 0x00007fffffffed7e in ?? ()
#20 0x0000000000000000 in ?? ()
#21 0x00007fffffffed84 in ?? ()
#22 0x00007fffffffed9a in ?? ()
#23 0x00007fffffffeda5 in ?? ()
#24 0x00007fffffffedbf in ?? ()
#25 0x00007fffffffedea in ?? ()
#26 0x00007fffffffee07 in ?? ()
#27 0x00007fffffffee1a in ?? ()
#28 0x00007fffffffee24 in ?? ()
#29 0x00007fffffffee2f in ?? ()
#30 0x00007fffffffee3b in ?? ()
#31 0x00007fffffffee50 in ?? ()
#32 0x00007fffffffee64 in ?? ()
#33 0x00007fffffffeebe in ?? ()
#34 0x00007fffffffeecd in ?? ()
#35 0x00007fffffffeed9 in ?? ()
#36 0x00007fffffffeee8 in ?? ()
#37 0x00007fffffffeef5 in ?? ()
#38 0x00007fffffffef0a in ?? ()
#39 0x00007fffffffef1c in ?? ()
#40 0x00007fffffffef25 in ?? ()
#41 0x00007fffffffef35 in ?? ()
#42 0x00007fffffffef3d in ?? ()
#43 0x00007fffffffef66 in ?? ()
#44 0x00007fffffffef73 in ?? ()
#45 0x0000000000000000 in ?? ()
#46 0x0000000000000003 in ?? ()
#47 0x0000000000400040 in ?? ()
#48 0x0000000000000004 in ?? ()
#49 0x0000000000000038 in ?? ()
#50 0x0000000000000005 in ?? ()
#51 0x0000000000000007 in ?? ()
#52 0x0000000000000006 in ?? ()
#53 0x0000000000001000 in ?? ()
#54 0x0000000000000008 in ?? ()
#55 0x0000000000000000 in ?? ()
#56 0x0000000000000009 in ?? ()
#57 0x0000000000403650 in ?? ()
#58 0x0000000000000007 in ?? ()
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb)

Henri





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A1E90F7.2000000>