wbinfo crash in samba4 alpha14

Bob Cavey wedgeshot at gmail.com
Wed Jul 27 11:26:46 MDT 2011


I don't think this is critical because it is more of a user error we
happened to run wbinfo --group-info for a user versus a group on accident.
 Let me know if you want more info than crash in the below log output.

samba 4 alpha 14  -- started with no extra arguments
RHEL 6.1 64-bit

Commands run:
----------------------
[root at myhost bin]# wbinfo --group-info <<USERNAME>>
failed to call wbcGetgrnam: WBC_ERR_DOMAIN_NOT_FOUND
Could not get info for group <<USERNAME>>

[root at myhost bin]# wbinfo --group-info <<REAL_GROUP_NAME>>
failed to call wbcGetgrnam: WBC_ERR_WINBIND_NOT_AVAILABLE
Could not get info for group <<REAL_GROUP_NAME>>

[root at myhost bin]# wbinfo --group-info <<REAL_GROUP_NAME>>
failed to call wbcGetgrnam: WBC_ERR_WINBIND_NOT_AVAILABLE
Could not get info for group <<REAL_GROUP_NAME>>

After running the above commands:
------------------------------------------------------
[root at myhost bin]# service samba4 status
samba (pid  15673) is running...

[root at myhost bin]# ps -ef | grep samba
root     15673     1  0 18:58 ?        00:00:00 /usr/local/samba/sbin/samba
root     15675 15673  0 18:58 ?        00:00:00 /usr/local/samba/sbin/samba
root     15676 15673  0 18:58 ?        00:00:00 /usr/local/samba/sbin/samba
root     15677 15673  0 18:58 ?        00:00:00 /usr/local/samba/sbin/samba
root     15678 15673  0 18:58 ?        00:00:00 /usr/local/samba/sbin/samba
root     15679 15673  0 18:58 ?        00:00:00 /usr/local/samba/sbin/samba
root     15680 15673  0 18:58 ?        00:00:00 /usr/local/samba/sbin/samba
root     15681 15673  0 18:58 ?        00:00:00 /usr/local/samba/sbin/samba
root     15682 15673  0 18:58 ?        00:00:00 /usr/local/samba/sbin/samba
root     15684 15673  0 18:58 ?        00:00:00 /usr/local/samba/sbin/samba
root     15685 15673  0 18:58 ?        00:00:00 /usr/local/samba/sbin/samba
root     15686 15673  0 18:58 ?        00:00:00 /usr/local/samba/sbin/samba
root     16012 15804  0 19:33 pts/5    00:00:00 grep samba


related lines from  /usr/local/samba/var/samba.log
------------------------------------
[Thu Jul 21 18:58:54 2011 GMT, 0 ../smbd/server.c:367:binary_smbd_main()]
samba version 4.0.0alpha14 (randomdata) started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
[Thu Jul 21 18:58:54 2011 GMT, 0 ../smbd/server.c:469:binary_smbd_main()]
samba: using 'standard' process model
[Thu Jul 21 19:31:58 2011 GMT, 0 ../../lib/util/debug.c:185:talloc_log_fn()]
talloc: double free error - first free may be at
../../lib/tevent/tevent_req.c:178
[Thu Jul 21 19:31:58 2011 GMT, 0 ../../lib/util/debug.c:185:talloc_log_fn()]
Bad talloc magic value - double free
[Thu Jul 21 19:31:58 2011 GMT, 0 ../../lib/util/fault.c:143:smb_panic()]
PANIC: Bad talloc magic value - double free
[Thu Jul 21 19:31:58 2011 GMT, 0 ../../lib/util/fault.c:62:call_backtrace()]
BACKTRACE: 45 stack frames:
 #0 /usr/local/samba/lib/libsamba-util.so.0(call_backtrace+0x1f)
[0x7f388fd9307b]
 #1 /usr/local/samba/lib/libsamba-util.so.0(smb_panic+0x214)
[0x7f388fd93347]
 #2 /usr/local/samba/lib/samba/libtalloc-samba4.so.2(+0x1d49)
[0x7f388f551d49]
 #3 /usr/local/samba/lib/samba/libtalloc-samba4.so.2(+0x1dc5)
[0x7f388f551dc5]
 #4 /usr/local/samba/lib/samba/libtalloc-samba4.so.2(+0x1e43)
[0x7f388f551e43]
 #5 /usr/local/samba/lib/samba/libtalloc-samba4.so.2(talloc_get_name+0x18)
[0x7f388f553469]
 #6 /usr/local/samba/lib/samba/libtalloc-samba4.so.2(talloc_check_name+0x33)
[0x7f388f5534e9]
 #7 /usr/local/samba/lib/samba/libsamba-net-samba4.so(+0x2dd69)
[0x7f388844cd69]
 #8
/usr/local/samba/lib/samba/libsamba-sockets-samba4.so(composite_error+0xe6)
[0x7f388d38caa3]
 #9 /usr/local/samba/lib/samba/libsamba-net-samba4.so(+0x33be4)
[0x7f3888452be4]
 #10
/usr/local/samba/lib/samba/libtevent-samba4.so.0(_tevent_req_notify_callback+0x38)
[0x7f388f75bdc9]
 #11 /usr/local/samba/lib/samba/libtevent-samba4.so.0(+0x4dfb)
[0x7f388f75bdfb]
 #12 /usr/local/samba/lib/samba/libtevent-samba4.so.0(_tevent_req_done+0x25)
[0x7f388f75be22]
 #13 /usr/local/samba/lib/libdcerpc-samr.so.0(+0x13454) [0x7f38881f3454]
 #14
/usr/local/samba/lib/samba/libtevent-samba4.so.0(_tevent_req_notify_callback+0x38)
[0x7f388f75bdc9]
 #15 /usr/local/samba/lib/samba/libtevent-samba4.so.0(+0x4dfb)
[0x7f388f75bdfb]
 #16 /usr/local/samba/lib/samba/libtevent-samba4.so.0(_tevent_req_done+0x25)
[0x7f388f75be22]
 #17 /usr/local/samba/lib/libdcerpc.so.0(+0x49f21) [0x7f388ea18f21]
 #18
/usr/local/samba/lib/samba/libtevent-samba4.so.0(_tevent_req_notify_callback+0x38)
[0x7f388f75bdc9]
 #19 /usr/local/samba/lib/samba/libtevent-samba4.so.0(+0x4dfb)
[0x7f388f75bdfb]
 #20 /usr/local/samba/lib/samba/libtevent-samba4.so.0(_tevent_req_done+0x25)
[0x7f388f75be22]
 #21 /usr/local/samba/lib/libdcerpc.so.0(+0x4956e) [0x7f388ea1856e]
 #22
/usr/local/samba/lib/samba/libtevent-samba4.so.0(_tevent_req_notify_callback+0x38)
[0x7f388f75bdc9]
 #23 /usr/local/samba/lib/samba/libtevent-samba4.so.0(+0x4dfb)
[0x7f388f75bdfb]
 #24 /usr/local/samba/lib/samba/libtevent-samba4.so.0(_tevent_req_done+0x25)
[0x7f388f75be22]
 #25 /usr/local/samba/lib/libdcerpc.so.0(+0x38376) [0x7f388ea07376]
 #26 /usr/local/samba/lib/libdcerpc.so.0(+0x3abdc) [0x7f388ea09bdc]
 #27 /usr/local/samba/lib/libdcerpc.so.0(+0x39c1d) [0x7f388ea08c1d]
 #28 /usr/local/samba/lib/libdcerpc.so.0(+0x410c4) [0x7f388ea100c4]
 #29 /usr/local/samba/lib/libdcerpc.so.0(+0x88159) [0x7f388ea57159]
 #30 /usr/local/samba/lib/samba/libauthkrb5-samba4.so(packet_recv+0x982)
[0x7f388cf73d91]
 #31 /usr/local/samba/lib/libdcerpc.so.0(+0x86e13) [0x7f388ea55e13]
 #32 /usr/local/samba/lib/samba/libtevent-samba4.so.0(+0x72af)
[0x7f388f75e2af]
 #33 /usr/local/samba/lib/samba/libtevent-samba4.so.0(+0x7a25)
[0x7f388f75ea25]
 #34
/usr/local/samba/lib/samba/libtevent-samba4.so.0(_tevent_loop_once+0xe8)
[0x7f388f75a652]
 #35
/usr/local/samba/lib/samba/libtevent-samba4.so.0(tevent_common_loop_wait+0x25)
[0x7f388f75a88f]
 #36
/usr/local/samba/lib/samba/libtevent-samba4.so.0(_tevent_loop_wait+0x2b)
[0x7f388f75a95a]
 #37 /usr/local/samba/modules/process_model/standard.so(+0x14a6)
[0x7f3888f274a6]
 #38
/usr/local/samba/lib/samba/libservice-samba4.so(task_server_startup+0x92)
[0x7f38903ee00a]
 #39 /usr/local/samba/lib/samba/libservice-samba4.so(+0x746e)
[0x7f38903ec46e]
 #40
/usr/local/samba/lib/samba/libservice-samba4.so(server_service_startup+0xf7)
[0x7f38903ec585]
 #41 /usr/local/samba/sbin/samba() [0x40a2e3]
 #42 /usr/local/samba/sbin/samba() [0x40a39c]
 #43 /lib64/libc.so.6(__libc_start_main+0xfd) [0x3236c1ec9d]
 #44 /usr/local/samba/sbin/samba() [0x404509]
[root at myhost bin]#


 - Bob


More information about the samba-technical mailing list