Backtrace in samba4.blackbox.kinit test

Andrew Bartlett abartlet at samba.org
Tue Jan 6 11:26:43 GMT 2009


The net binary, when run from samba4.blackbox.kinit seems to segfault in
the tevent code.  I wonder if it is related to the recent work there?

Here is the backtrace I got on current 'master':

#0 0x000000333aca5f95 in __libc_waitpid (pid=<value optimized out>,
stat_loc=<value optimized out>, options=<value optimized out>)
at ../sysdeps/unix/sysv/linux/waitpid.c:32 oldtype = <value optimized
out> result = <value optimized out> 
#1 0x000000333ac3f691 in do_system (line=<value optimized out>)
at ../sysdeps/posix/system.c:149 __result = <value optimized out>
_buffer = Could not find the frame base for "do_system". _avail = <value
optimized out> status = <value optimized out> save = <value optimized
out> pid = <value optimized out> sa = Could not find the frame base for
"do_system". omask = Could not find the frame base for "do_system". 
#2 0x000000000092569a in smb_panic (why=0xa1b104 "internal error")
at ../lib/util/fault.c:134 pidstr = "30353", '\0' <repeats 11 times>,
"\200\024OP" cmdstring =
"/home/data/samba/git/samba-2/selftest/gdb_backtrace
30353 ../testprogs/blackbox/../../source4/bin/net\000\000\000\210\225<�ծ
\036\230Wd2I%�찡\000\000\000\000\000ӯ�", '\0' <repeats 13 times>, "0��
\002\000\000\000\000\000z�3\000\000\000\034C\204\036+d.��\200�\003\001P
\024OP�\177\000\000�\222\000\000\000\000\000tx��3uP9" result = 0
__FUNCTION__ = "smb_panic" 
#3 0x000000000092592d in fault_report (sig=11)
at ../lib/util/fault.c:167 counter = 0 __FUNCTION__ = "fault_report" 
#4 0x0000000000925958 in sig_fault (sig=11) at ../lib/util/fault.c:182
No locals. 
#5 <signal handler called> No locals. 
#6 0x00000000009110da in tevent_fd_get_flags (fde=0x2a8ed60)
at ../lib/tevent/tevent.c:304 No locals. 
#7 0x000000000061cb69 in packet_send_callback (pc=0x2a8d340, blob={data
= 0x2a90480 "", length = 45}, send_callback=0, private=0x0) at
lib/stream/packet.c:524 el = (struct send_element *) 0x2a8d410 
#8 0x000000000061cbb8 in packet_send (pc=0x2a8d340, blob={data =
0x2a90480 "", length = 45}) at lib/stream/packet.c:534 No locals. 
#9 0x00000000005a9c84 in smbcli_transport_send (req=0x2a8d120) at
libcli/raw/clitransport.c:588 blob = {data = 0x2a90480 "", length = 45}
status = {v = 2839968354} 
#10 0x00000000005ac9b5 in smbcli_request_send (req=0x2a8d120) at
libcli/raw/rawrequest.c:344 No locals. 
#11 0x00000000005a60d1 in smb_raw_close_send (tree=0x2a8f5a0,
parms=0x7fff504f1ad0) at libcli/raw/rawfile.c:802 req = (struct
smbcli_request *) 0x2a8d120 
#12 0x00000000005266a6 in smb_shutdown_pipe (c=0x2a8cbf0, status={v =
3221225787}) at librpc/rpc/dcerpc_smb.c:378 smb = (struct smb_private *)
0x2a8f220 io = {generic = {level = RAW_CLOSE_CLOSE, in = {file = {fnum =
1, handle = {data = {237649264641, 0}}, ntvfs = 0x3755000001},
write_time = 0, flags = 7072}, out = {flags = 37376, create_time =
140734540750624, access_time = 4693243, write_time = 44558272,
change_time = 44487496, alloc_size = 4294967299, size = 44558400,
file_attr = 0}}, close = {level = RAW_CLOSE_CLOSE, in = {file = {fnum =
1, handle = {data = {237649264641, 0}}, ntvfs = 0x3755000001},
write_time = 0}}, splclose = {level = RAW_CLOSE_CLOSE, in = { file =
{fnum = 1, handle = {data = {237649264641, 0}}, ntvfs = 0x3755000001}}},
smb2 = {level = RAW_CLOSE_CLOSE, in = {file = {fnum = 1, handle = {data
= {237649264641, 0}}, ntvfs = 0x3755000001}, flags = 0, _pad = 0}, out =
{flags = 7072, _pad = 32767, create_time = 4690432, access_time =
140734540750624, write_time = 4693243, change_time = 44558272,
alloc_size = 44487496, size = 4294967299, file_attr = 44558400}}} req =
(struct smbcli_request *) 0x2a8eaf0 
#13 0x000000000051fecf in dcerpc_connection_dead (conn=0x2a8cbf0,
status={v = 3221225787}) at librpc/rpc/dcerpc.c:532 No locals. 
#14 0x000000000051eecf in dcerpc_connection_destructor (conn=0x2a8cbf0)
at librpc/rpc/dcerpc.c:49 No locals. 
#15 0x00000037550035f2 in st () from /usr/lib64/libtalloc.so.1 No symbol
table info available. 
#16 0x0000003755003498 in st () from /usr/lib64/libtalloc.so.1 No symbol
table info available. 
#17 0x0000003755003498 in st () from /usr/lib64/libtalloc.so.1 No symbol
table info available. 
#18 0x0000003755005798 in talloc_free () from /usr/lib64/libtalloc.so.1
No symbol table info available. 
#19 0x0000000000479915 in binary_net (argc=9, argv=0x7fff504f1f28) at
utils/net/net.c:212 opt = -1 i = 4 rc = 0 argc_new = 4 argv_new = (const
char **) 0x2a6d330 ev = (struct tevent_context *) 0x2a7e720 ctx =
(struct net_context *) 0x2a7e840 pc = (poptContext) 0x2a6d010
long_options = {{longName = 0x0, shortName = 0 '\0', argInfo = 4, arg =
0x334a208420, val = 0, descrip = 0x943cb7 "Help options:", argDescrip =
0x0}, {longName = 0x0, shortName = 0 '\0', argInfo = 4, arg = 0xcaf740,
val = 0, descrip = 0x943cc5 "Common samba options:", argDescrip = 0x0},
{longName = 0x0, shortName = 0 '\0', argInfo = 4, arg = 0xcaf560, val =
0, descrip = 0x943cdb "Connection options:", argDescrip = 0x0},
{longName = 0x0, shortName = 0 '\0', argInfo = 4, arg = 0xcaf3a0, val =
0, descrip = 0x943cef "Authentication options:", argDescrip = 0x0},
{longName = 0x0, shortName = 0 '\0', argInfo = 4, arg = 0xcaf900, val =
0, descrip = 0x943cc5 "Common samba options:", argDescrip = 0x0},
{longName = 0x0, shortName = 0 '\0', argInfo = 0, arg = 0x0, val = 0,
descrip = 0x0, argDescrip = 0x0}} __FUNCTION__ = "binary_net" 
#20 0x0000000000479949 in main (argc=9, argv=0x7fff504f1f28) at
utils/net/net.c:218 No locals. 
-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20090106/1bbdb299/attachment.bin


More information about the samba-technical mailing list