Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

SBUG splat rwlock test 1 #4

Closed
behlendorf opened this issue May 29, 2010 · 6 comments
Closed

SBUG splat rwlock test 1 #4

behlendorf opened this issue May 29, 2010 · 6 comments
Labels

Comments

@behlendorf
Copy link
Contributor

CentOS 5.4 with kernel
2.6.18-194.3.1.el5

SPL test fails on
splat -a
rwlock:N-rd/1-wr
Message from syslogd@ at Sat May 29 12:23:16 2010 ...
localhost kernel: SPLError: 19477:0:(splat-rwlock.c:291:splat_rwlock_test1()) SBUG

@behlendorf
Copy link
Contributor Author

Vadimtk is this failure consistently reproducible and is this the x86 or x86_64 kernel?

@vadimtk
Copy link

vadimtk commented May 29, 2010

It is x86_64 kernel.
I tried only once, and process slat -a seems hang after that failure ( no more progress in 2 hours). Also I can't kill it with kill -9. I am rebooting server and will try again,

@vadimtk
Copy link

vadimtk commented May 30, 2010

After reboot the same issue.

There is part from dmesg:

SPL: Loaded Solaris Porting Layer v0.4.9
SPLAT: Loaded Solaris Porting LAyer Tests v0.4.9
VERIFY(!RW_LOCK_HELD(&(rwp->rw_rwlock))) failed
SPLError: 4063:0:(splat-rwlock.c:291:splat_rwlock_test1()) SBUG
SPL: Showing stack for process 4063

Call Trace:
[] :spl:spl_debug_bug+0x8c/0xc5
[] :splat:splat_rwlock_test1+0x3c6/0x3e3
[] :splat:splat_ioctl+0x52b/0x5de
[] do_ioctl+0x55/0x6b
[] vfs_ioctl+0x457/0x4b9
[] audit_syscall_entry+0x180/0x1b3
[] sys_ioctl+0x59/0x78
[] tracesys+0xd5/0xe0

SPL: Dumping log to /tmp/spl-log.1275179140.4063

@behlendorf
Copy link
Contributor Author

Thanks for the debug info Vadimtk. When I get a little time I'll try out the kernel your having trouble with and try and run this to ground.

@cian
Copy link

cian commented Jun 20, 2010

I have reproduced this issue here:

System Info:
CentOS release 5.5 (Final)
Kernel 2.6.18-194.3.1.el5.centos.plus on an x86_64

###Console###
SPL: Loaded Solaris Porting Layer v0.4.9
VERIFY(!RW_LOCK_HELD(&(rwp->rw_rwlock))) failed
SPLError: 18026:0:(splat-rwlock.c:291:splat_rwlock_test1()) SBUG
SPL: Showing stack for process 18026

Call Trace:
[] :spl:spl_debug_bug+0x8c/0xc5
[] :splat:splat_rwlock_test1+0x3c6/0x3e3
[] :splat:splat_ioctl+0x52b/0x5de
[] do_ioctl+0x55/0x6b
[] vfs_ioctl+0x457/0x4b9
[] sys_ioctl+0x59/0x78
[] tracesys+0xd5/0xe0

SPL: Dumping log to /tmp/spl-log.1277060694.18026

Message from syslogd@ at Sun Jun 20 20:04:54 2010 ...
lazur kernel: SPLError: 18026:0:(splat-rwlock.c:291:splat_rwlock_test1()) SBUG
###End Console###

###splat -a###
$ sudo ./splat -a
------------------------------ Running SPLAT Tests ------------------------------
kmem:kmem_alloc Pass
kmem:kmem_zalloc Pass
kmem:vmem_alloc Pass
kmem:vmem_zalloc Pass
kmem:slab_small Pass
kmem:slab_large Pass
kmem:slab_align Pass
kmem:slab_reap Pass
kmem:slab_age Pass
kmem:slab_lock Pass
kmem:slab_overcommit Pass
kmem:vmem_size Pass
taskq:single Pass
taskq:multiple Pass
taskq:system Pass
taskq:wait Pass
taskq:order Pass
krng:freq Pass
mutex:tryenter Pass
mutex:race Pass
mutex:owned Pass
mutex:owner Pass
condvar:signal1 Pass
condvar:broadcast1 Pass
condvar:signal2 Pass
condvar:broadcast2 Pass
condvar:timeout Pass
thread:create Pass
thread:exit Pass
rwlock:N-rd/1-wr
Message from syslogd@ at Sun Jun 20 20:04:54 2010 ...
lazur kernel: SPLError: 18026:0:(splat-rwlock.c:291:splat_rwlock_test1()) SBUG

###End Splat###

###hexdump -C /tmp/spl-log.1277060694.18026
00000000 57 00 00 00 00 00 00 00 00 00 00 00 10 00 00 00 |W...............|
00000010 02 00 00 00 56 66 1e 4c 5b ba 00 00 00 00 00 00 |....Vf.L[.......|
00000020 00 00 00 00 6a 46 00 00 23 01 00 00 00 00 00 00 |....jF..#.......|
00000030 73 70 6c 61 74 2d 72 77 6c 6f 63 6b 2e 63 00 73 |splat-rwlock.c.s|
00000040 70 6c 61 74 5f 72 77 6c 6f 63 6b 5f 74 65 73 74 |plat_rwlock_test|
00000050 31 00 53 42 55 47 0a |1.SBUG.|
00000057

@behlendorf
Copy link
Contributor Author

Fixed by commit 46aa7b3.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants