[Samba] 64 Bit Build 3.6.11 on AIX 6 with acls enabled dumps core,

Howard Allison howard.allison at pensionsversicherung.at
Thu Jan 24 06:04:00 MST 2013



Hi,
this is the first time I've tryed to build a 64 Bit Version with acl's
enabled - so I expect I could duplicate this with older versions too...

Here's the build info:

System:	AIX 6100-07-01-1141
Compiler:	IBM xlc

CC=xlc_r -g
CXX=xlC_r
CFLAGS=-qmaxmem=-1 -DSYSV -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_AIX51
-D_AIX52 -D_AIX53 -D_AIX61 -D_ALL_SOURCE -DFUNCPROTO=15 -O
-I/opt/pware/include -L/opt/pware/lib
OBJECT_MODE=64
LDFLAGS=-blibpath:/opt/pware/lib:/opt/pware/lib32:/usr/lib

Configure Parameters:
--prefix=/opt/pware/samba/3.6.11 --with-acl-support=yes --without-ads
--with-winbind --without-ldap --enable-shared-libs --enable-developer

The build works in 64 Bit without acls, and in 32 Bit with acls.

Stack trace:

(dbx) where
waitpid(??, ??, ??) at 0x900000000116eb0
system.system(??) at 0x9000000001e3b00
smb_panic(why =
"===============================================================\n"), line
1123 in "util.c"
fault_report(sig = 0), line 53 in "fault.c"
sys_acl_get_entry(acl_d = (nil), entry_id = 268435455, entry_p =
0x0fffffffffffcc08), line 84 in "sysacls.c"
vfswrap_sys_acl_get_entry(handle = 0x00000001000a204c, theacl =
0x0fffffffffffcdc0, entry_id = 268435455, entry_p = 0x0000000110092ca0),
line 1376 in "vfs_default.c"
smb_vfs_call_sys_acl_get_entry(handle = 0x0000000110141dad, theacl =
0x0000000000000010, entry_id = 0, entry_p = 0x0fffffffffffcd78), line 1785
in "vfs.c"
canonicalise_acl(conn = 0x8000002800000001, fname = "", posix_acl =
0x000141ff00020000, psbuf = (nil), powner = (nil), pgroup =
0x000070000000000e, pal = 0x0000000051012748, the_acl_type = 410016384),
line 2462 in "posix_acls.c"
posix_get_nt_acl_common(conn = 0x000000011014b960, name = "", sbuf =
0x00000000510126f5, pal = (nil), posix_acl = 0x0fffffffffffd690, def_acl =
(nil), security_info = 268435455, ppdesc = 0x0fffffffffffd338), line 3177
in "posix_acls.c"
posix_get_nt_acl(conn = 0x09000000000103e0, name = (nil), security_info =
268435455, ppdesc = (nil)), line 3467 in "posix_acls.c"
vfswrap_get_nt_acl(handle = 0x0fffffffffffd160, name = "", security_info =
1, ppdesc = 0x0fffffffffffd378), line 1329 in "vfs_default.c"
smb_vfs_call_get_nt_acl(handle = 0x0000000100104eac, name = "",
security_info = 268435455, ppdesc = 0x09001000a00800b8), line 1754 in
"vfs.c"
smbd_check_open_rights(conn = 0x0000000110155aa0, smb_fname =
0x000000011015c290, access_mask = 16777216, access_granted =
0x0010008000100080), line 115 in "open.c"
open_directory(conn = 0x0000000110155aa0, req = 0x000000011015c140,
smb_dname = 0x000000011015c290, access_mask = 1048704, share_access = 0,
create_disposition = 1, create_options = 8388609, file_attributes = 16,
pinfo = 0x0fffffffffffd3e0, result = 0x0fffffffffffd3f0), line 2706 in
"open.c"
create_file_unixpath(conn = 0x0fffffffffffd590, req = 0x000000011014b680,
smb_fname = 0x00000001005b8120, access_mask = 0, share_access = 268435455,
create_disposition = 1, create_options = 150994944, file_attributes =
268435455, oplock_request = 0, allocation_size = 0, private_flags = 0, sd =
(nil), ea_list = (nil), result = 0x0fffffffffffd548, pinfo =
0x0fffffffffffd540), line 3341 in "open.c"
create_file_default(conn = (nil), req = (nil), root_dir_fid = 4095,
smb_fname = 0x2844420800000020, access_mask = 1, share_access = 1,
create_disposition = 150994944, create_options = 0, file_attributes = 0,
oplock_request = 0, allocation_size = 0, private_flags = 0, sd = (nil),
ea_list = (nil), result = 0x0fffffffffffd850, pinfo = 0x0fffffffffffd840),
line 3689 in "open.c"
vfswrap_create_file(handle = 0x0000000000800001, req = 0x000000011015c140,
root_dir_fid = 0, smb_fname = 0x0000000000000001, access_mask = 0,
share_access = 1, create_disposition = 268435455, create_options =
675561992, file_attributes = 0, oplock_request = 0, allocation_size = 0,
private_flags = 0, sd = (nil), ea_list = (nil), result =
0x0fffffffffffd850, pinfo = 0x0fffffffffffd840), line 329 in
"vfs_default.c"
smb_vfs_call_create_file(handle = 0x0fffffffffffd8e0, req = (nil),
root_dir_fid = 4095, smb_fname = 0x4404820800000000, access_mask = 1,
share_access = 150999040, create_disposition = 0, create_options = 1,
file_attributes = 0, oplock_request = 0, allocation_size = 0, private_flags
= 0, sd = (nil), ea_list = (nil), result = 0x0fffffffffffd850, pinfo =
0x0fffffffffffd840), line 1312 in "vfs.c"
smbd_smb2_create_send(mem_ctx = 0x000000011015b4a0, ev =
0x00000001100ab320, smb2req = 0x000000011015b4a0, in_oplock_level = '\0',
in_impersonation_level = 2, in_desired_access = 1048704, in_file_attributes
= 0, in_share_access = 0, in_create_disposition = 1, in_create_options =
8388609, in_name = "", in_context_blobs = (...)), line 707 in
"smb2_create.c"
smbd_smb2_request_process_create(smb2req = 0x000000011003f0b8), line 229 in
"smb2_create.c"
smbd_smb2_request_dispatch(req = 0x0000000110155360), line 1473 in
"smb2_server.c"
smbd_smb2_request_incoming(subreq = 0x0000000110001280), line 2657 in
"smb2_server.c"
_tevent_req_notify_callback at AF25_12(??, ??), line 95 in "tevent_req.c"
smb2_server.smbd_smb2_request_read_done(subreq = (nil)), line 2500 in
"smb2_server.c"
_tevent_req_notify_callback at AF25_12(??, ??), line 95 in "tevent_req.c"
tstream_readv_pdu_queue_done(subreq = (nil)), line 423 in
"tsocket_helpers.c"
_tevent_req_notify_callback at AF25_12(??, ??), line 95 in "tevent_req.c"
tstream_readv_pdu_ask_for_next_vector(req = (nil)), line 242 in
"tsocket_helpers.c"
tstream_readv_pdu_readv_done(subreq = (nil)), line 316 in
"tsocket_helpers.c"
_tevent_req_notify_callback at AF25_12(??, ??), line 95 in "tevent_req.c"
tstream_readv_done(subreq = 0x0000000000002010), line 604 in "tsocket.c"
_tevent_req_notify_callback at AF25_12(??, ??), line 95 in "tevent_req.c"
tevent_req_trigger(ev = 0x00000001100ab320, im = 0x0000000300000003,
private_data = 0x0000000100951a0c), line 155 in "tevent_req.c"
tevent_common_loop_immediate at AF8_3(??, ??), line 135 in
"tevent_immediate.c"
unnamed block in run_events_poll(ev = 0x0ffffffffffff559, pollrtn = 1, pfds
= 0x00000001008dbb48, num_pfds = 0), line 198 in "events.c"
run_events_poll(ev = 0x0ffffffffffff559, pollrtn = 1, pfds =
0x00000001008dbb48, num_pfds = 0), line 198 in "events.c"
smbd_server_connection_loop_once(conn = 0x00000001100ab320), line 995 in
"process.c"
unnamed block in smbd_process(sconn = 0x00a5003cffffffff), line 3159 in
"process.c"
smbd_process(sconn = 0x00a5003cffffffff), line 3159 in "process.c"
smbd_accept_connection(ev = 0x00000001008dbd2c, fde = 0x0000000110092ca0,
flags = 4095, private_data = 0x2224424000000050), line 514 in "server.c"
run_events_poll(ev = 0x0ffffffffffff200, pollrtn = 150999040, pfds =
0x0ffffffffffff210, num_pfds = 0), line 286 in "events.c"
s3_event_loop_once(ev = 0x0000000100003a50, location = ""), line 349 in
"events.c"
_tevent_loop_once(ev = 0x0ffffffffffff559, location = ""), line 494 in
"tevent.c"
unnamed block in smbd_parent_loop(parent = 0x00000001008dc150), line 820 in
"server.c"
smbd_parent_loop(parent = 0x00000001008dc150), line 820 in "server.c"
main(argc = 0, argv = (nil)), line 1304 in "server.c"


Thanks
Howard

--------------------------------------------------------------------------------------------------------

VERTRAULICHKEIT: Diese Nachricht ist ausschließlich für denjenigen
bestimmt, an den sie adressiert ist und kann vertrauliche Informationen
enthalten. Falls Sie nicht der Empfänger dieser Nachricht sind, weisen wir
Sie darauf hin, dass die unberechtigte Weitergabe oder Verwendung sowie das
unberechtigte Verteilen oder Kopieren dieser Nachricht strikt untersagt
sind. Falls Sie diese Nachricht irrtümlich erhalten haben, vernichten Sie
sie bitte sofort.
CONFIDENTIALITY: This message is intended only for the use of the
individuality or entity to which it is addressed and may contain
information that is privileged, confidential and exempt from disclosure. If
you are not the intended recipient you are notified that any dissemination,
distribution, use or copying of this communication is strictly prohibited.
If you received this message in error, please immediately destroy this
message.
--------------------------------------------------------------------------------------------------------


More information about the samba mailing list