Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126498 - samba-3.0.21* crash on sparc
Summary: samba-3.0.21* crash on sparc
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-17 00:05 UTC by Christian Andreetta (RETIRED)
Modified: 2006-04-29 04:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
testparm log (samba_conf.log,7.16 KB, text/plain)
2006-03-17 06:52 UTC, Gustavo Zacarias (RETIRED)
Details
nmbd log (samba_nmbd.log,3.30 KB, text/plain)
2006-03-17 06:52 UTC, Gustavo Zacarias (RETIRED)
Details
smbclient log (samba_smbclient.log,339 bytes, text/plain)
2006-03-17 06:52 UTC, Gustavo Zacarias (RETIRED)
Details
smbd log (samba_smbd.log,15.66 KB, text/plain)
2006-03-17 06:52 UTC, Gustavo Zacarias (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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