Samba4 seg fault

Taylor, Jonn jonnt at taylortelephone.com
Wed Mar 9 05:50:28 MST 2011



On 03/09/2011 12:44 AM, Matthieu Patou wrote:
> On 09/03/2011 07:07, Taylor, Jonn wrote:
>> Samba4 is still intermittently crashing. This seems to be happening when
>> loading and unloading user profiles.
>>
>> Jonn
>>
>> [2011/03/08 22:01:01,  0]
>> ../source4/lib/cmdline/popt_common.c:58(popt_s4_talloc_log_fn)
>>    talloc: access after free error - first free may be at
>> ../lib/tevent/tevent_req.c:178
>> [2011/03/08 22:01:01,  0]
>> ../source4/lib/cmdline/popt_common.c:58(popt_s4_talloc_log_fn)
>>    Bad talloc magic value - access after free
>> [2011/03/08 22:01:01,  0] ../lib/util/fault.c:143(smb_panic)
>>    PANIC: Bad talloc magic value - access after free
>> [2011/03/08 22:01:01,  0] ../lib/util/fault.c:62(call_backtrace)
>>    BACKTRACE: 24 stack frames:
>>     #0 /usr/local/samba/lib/libsamba-util.so.0(call_backtrace+0x1c)
>> [0x2b8df49e1300]
>>     #1 /usr/local/samba/lib/libsamba-util.so.0(smb_panic+0x24d)
>> [0x2b8df49e161b]
>>     #2 /usr/local/samba/lib/samba/libtalloc.so.2 [0x2b8df500edba]
>>     #3 /usr/local/samba/lib/samba/libtalloc.so.2 [0x2b8df500ee39]
>>     #4 /usr/local/samba/lib/samba/libtalloc.so.2 [0x2b8df500ef4f]
>>     #5 /usr/local/samba/lib/samba/libtalloc.so.2(talloc_get_name+0x15)
>> [0x2b8df501055f]
>>     #6
>> /usr/local/samba/lib/samba/libtalloc.so.2(_talloc_get_type_abort+0x49)
>> [0x2b8df50106fe]
>>     #7 /usr/local/samba/lib/libdcerpc.so.0 [0x2b8df5cf55a5]
>>     #8 /usr/local/samba/lib/libdcerpc.so.0 [0x2b8df5cf6eb5]
>>     #9 /usr/local/samba/lib/libdcerpc.so.0 [0x2b8df5cf7282]
>>     #10
>> /usr/local/samba/lib/samba/libtevent.so.0(tevent_common_loop_timer_delay+0x20b)
>>
>> [0x2b8df4e089d9]
>>     #11 /usr/local/samba/lib/samba/libtevent.so.0 [0x2b8df4e07815]
>>     #12 /usr/local/samba/lib/samba/libtevent.so.0 [0x2b8df4e0807e]
>>     #13
>> /usr/local/samba/lib/samba/libtevent.so.0(_tevent_loop_once+0xdf)
>> [0x2b8df4e037e0]
>>     #14
>> /usr/local/samba/lib/samba/libtevent.so.0(tevent_common_loop_wait+0x1f)
>> [0x2b8df4e03a05]
>>     #15
>> /usr/local/samba/lib/samba/libtevent.so.0(_tevent_loop_wait+0x25)
>> [0x2b8df4e03ac1]
>>     #16 /usr/local/samba/modules/process_model/standard.so
>> [0x2b8dfc131475]
>>     #17
>> /usr/local/samba/lib/samba/libservice.so(task_server_startup+0x8a)
>> [0x2b8df43b1290]
>>     #18 /usr/local/samba/lib/samba/libservice.so [0x2b8df43afb7b]
>>     #19
>> /usr/local/samba/lib/samba/libservice.so(server_service_startup+0x11a)
>> [0x2b8df43afcb8]
>>     #20 /usr/local/samba/sbin/samba [0x40a7a9]
>>     #21 /usr/local/samba/sbin/samba [0x40a880]
>>     #22 /lib64/libc.so.6(__libc_start_main+0xf4) [0x35c761d994]
>>     #23 /usr/local/samba/sbin/samba [0x404509]
>>
>> Samba4 version
>>
>> [2011/03/08 22:05:18,  0] ../source4/smbd/server.c:368(binary_smbd_main)
>>    samba version 4.0.0alpha15-GIT-6013d75 started.
>>    Copyright Andrew Tridgell and the Samba Team 1992-2011
>> [2011/03/08 22:05:19,  0] ../source4/smbd/server.c:470(binary_smbd_main)
>>    samba: using 'standard' process model
>>
> Can we have your smb.conf ?
>
[global]
    server role = domain controller
    workgroup = TAYLORTELEPHONE
    realm = TAYLORTELEPHONE.COM
    netbios name = PDC
    interfaces = 192.168.173.3, 127.0.0.1
    template shell = /bin/bash
    template homedir = /home/%ACCOUNTNAME%
    dreplsrv:periodic_interval = 10 .
    dreplsrv:periodic_startup_interval = 5.
    server string = PDC
    log level = 1
    log file = /usr/local/samba/var/samba.log
    time server = Yes
    nsupdate command = /usr/bin/nsupdate -g

[apps]
    comment = Application Data
    path = /data/programs
    read only = No

[share]
    comment = Share Data
    path = /data/share
    read only = No

[netlogon]
    comment = Network Logon Service
    path = /var/netlogon

[profiles]
    comment = Profile Share
    path = /var/profiles
    read only = No

[home]
    comment = Home Directories
    path = /home
    read only = No

[sysvol]
    path = /usr/local/samba/var/locks/sysvol
    read only = No



More information about the samba-technical mailing list