Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 126498

Summary: samba-3.0.21* crash on sparc
Product: Gentoo Linux Reporter: Christian Andreetta (RETIRED) <satya>
Component: [OLD] UnspecifiedAssignee: Gentoo's SAMBA Team <samba>
Status: RESOLVED UPSTREAM    
Severity: normal CC: gustavoz
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: testparm log
nmbd log
smbclient log
smbd log

Description Christian Andreetta (RETIRED) gentoo-dev 2006-03-17 00:05:28 UTC
[following here from comment #2 of bug #124632]
@gustavoz:
I've been searching for analog bugs on mailing lists, forums and the samba bugzilla, but none reported a crash due to big/low endian architectures.
I think it may be due to invalid cache/tdb in /var/{cache,lib}/samba
Could you please attach the logs of this operation?:

1) "/usr/sbin/nmbd -F -i -d 4 2>&1 |tee samba_nmbd.log" (root shell) 
2) "/usr/sbin/smbd -F -i -d 4 2>&1 |tee samba_smbd.log" (another root shell)
3) "smbclient -L //localhost -U% | tee samba_smbclient.log" (user shell)
4) close the first two processes, if still open
5) testparm -v -s 2>&1 > samba_conf.log

Thanks
Comment 1 Gustavo Zacarias (RETIRED) gentoo-dev 2006-03-17 06:52:10 UTC
Created attachment 82373 [details]
testparm log
Comment 2 Gustavo Zacarias (RETIRED) gentoo-dev 2006-03-17 06:52:29 UTC
Created attachment 82374 [details]
nmbd log
Comment 3 Gustavo Zacarias (RETIRED) gentoo-dev 2006-03-17 06:52:44 UTC
Created attachment 82375 [details]
smbclient log
Comment 4 Gustavo Zacarias (RETIRED) gentoo-dev 2006-03-17 06:52:58 UTC
Created attachment 82376 [details]
smbd log
Comment 5 Gustavo Zacarias (RETIRED) gentoo-dev 2006-03-17 07:06:41 UTC
Clearing the cache & tdb doesn't help either.
Comment 6 Gustavo Zacarias (RETIRED) gentoo-dev 2006-04-28 16:11:28 UTC
After looking into details i can reproduce this on x86 too.
Add a non-existant interface to interfaces= and remote announce= a broadcast address that has no route and watch it die in about a minute after startup.
Comment 7 Christian Andreetta (RETIRED) gentoo-dev 2006-04-29 04:47:29 UTC
One month ago I've opened a bug in upstream buzilla [1] on this, suggesting this cause. But it shouldn't crash for this...

[1] https://bugzilla.samba.org/show_bug.cgi?id=3619