OpenSolaris

Printable Version Enter a New Search
Bug ID 6696678
Synopsis libc: critical regions, async I/O, and close() conspire to cause an ASSERT() failure
State 10-Fix Delivered (Fix available in build)
Category:Subcategory library:libc
Keywords
Responsible Engineer Roger Faulkner
Reported Against fw_30
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_92
Fixed In snv_92
Release Fixed solaris_nevada(snv_92)
Related Bugs 6416832 , 6720563 , 6225323
Submit Date 1-May-2008
Last Update Date 21-April-2009
Description
I hit the following panic while I was running tests that changed iscsi settings.  I was adding and deleting iscsi iniiator records, and disabling and re-enabling the iscsi service.

> ::stack
libc.so.1`_lwp_kill+0xa()
libc.so.1`_assfail+0x175()
libc.so.1`mutex_lock+0x59()
libc.so.1`sig_mutex_lock+0x24()
libc.so.1`aiocancel_all+0x32()
libc.so.1`_aio_close+0x23()
libc.so.1`close+0x12()
libc.so.1`_nsc_proc_is_cache+0xb1()
libc.so.1`_nsc_search+0x33()
libc.so.1`nss_search+0x2b()
libnsl.so.1`_switch_getipnodebyname_r+0x74()
libnsl.so.1`_get_hostserv_inetnetdir_byname+0xbca()
libnsl.so.1`getipnodebyname+0xd5()
libsocket.so.1`get_addr+0x13c()
libsocket.so.1`_getaddrinfo+0x488()
libsocket.so.1`getaddrinfo+0xc()
get_ip_addr+0x25()
isns_init+0xf8()
isns_update+0x130()
modify_admin+0xee()
modify_func+0xdf()
parse_xml+0x8e()
main+0x427()
0x41360c()
> ::status
debugging core file of iscsitgtd (64-bit) from cesar
file: /usr/sbin/amd64/iscsitgtd
initial argv: /usr/sbin/iscsitgtd
threading model: native threads
status: process terminated by SIGABRT (Abort)
panic message:
assertion failed for thread 0xfffffd7fff2c0200, thread-id 1: !curthread->ul_critical || curthread->ul_bindflags, file ../port/t
> ::quit
Here is the stack for the occurrence of this that I hit today - it's a little different 

The new corefile is attached - core.iscsitgtd.101391.tar.gz

# mdb core.iscsitgtd.101391
Loading modules: [ libumem.so.1 libc.so.1 libuutil.so.1 libavl.so.1 libtopo.so.1 libnvpair.so.1 ld.so.1 ]
> ::stack
libc.so.1`_lwp_kill+0xa()
libc.so.1`_assfail+0x175()
libc.so.1`mutex_lock+0x59()
libc.so.1`sig_mutex_lock+0x24()
libc.so.1`aiocancel_all+0x32()
libc.so.1`_aio_close+0x23()
libc.so.1`close+0x12()
libc.so.1`_nsc_proc_is_cache+0xb1()
libc.so.1`_nsc_search+0x33()
libc.so.1`nss_search+0x2b()
libnsl.so.1`_switch_getipnodebyname_r+0x74()
libnsl.so.1`_get_hostserv_inetnetdir_byname+0xbca()
libnsl.so.1`getipnodebyname+0xd5()
libsocket.so.1`get_addr+0x13c()
libsocket.so.1`_getaddrinfo+0x488()
libsocket.so.1`getaddrinfo+0xc()
isns_open+0x47()
valid_isns_srv+0x71()
modify_admin+0x7e()
modify_func+0xdf()
parse_xml+0x8e()
main+0x427()
0x41360c()
> ::status
debugging core file of iscsitgtd (64-bit) from cesar
file: /usr/sbin/amd64/iscsitgtd
initial argv: /usr/sbin/iscsitgtd
threading model: native threads
status: process terminated by SIGABRT (Abort)
panic message:
assertion failed for thread 0xfffffd7fff2c0200, thread-id 1: !curthread->ul_critical || curthread->ul_bindflags, file ../port/t
Work Around
N/A
Comments
N/A