Opened 4 years ago

#17286 new defect

Samba 3.6 randomly crashes

Reported by: frank_yang Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: Samba Cc:


I have a folder on the USB stick attached to the router, and it is shared using samba.

When I tried to copy some files from or to the share, the smbd process sometimes will terminate.

I've built the samba package from source with CONFIG_PACKAGE_SAMBA_MAX_DEBUG_LEVEL set to 10. Here's the last few lines of the output from the command "smbd -i -d 10"

get_delete_on_close_token: name_hash = 0x35333b84
Unlocking key 0108000000000000D501
get_windows_lock_count for file Music/EMIL CHRONICLE ONLINE/FAR AND AWAY.m4a = 0
delete_windows_lock_ref_count for file Music/EMIL CHRONICLE ONLINE/FAR AND AWAY.m4a
nobody closed file Music/EMIL CHRONICLE ONLINE/FAR AND AWAY.m4a (numopen=6) NT code 0x00000000
freed files structure 7558 (6 used)
Allocated locked data 0x0x8cb7c8
parse_share_modes: owrt: Fri May 30 20:16:44 2014 CST, cwrt: Thu Jan  1 08:00:00 1970 CST, ntok: 0, num_share_modes: 4
get_delete_on_close_token: name_hash = 0x89f365bb
Unlocking key 01080000000000001400
talloc: access after free error - first free may be at
Bad talloc magic value - access after free
PANIC (pid 21692): Bad talloc magic value - access after free
unable to produce a stack trace on this platform
Exiting on internal error (core file administratively disabled)

I'm currently on Barrier Breaker r41831.

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.