Bug 925 - smbd crashes occasionally listing all files
Summary: smbd crashes occasionally listing all files
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.1
Hardware: All Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact:
Depends on:
Reported: 2003-12-26 11:44 UTC by Michael Kreinick
Modified: 2005-11-14 09:26 UTC (History)
0 users

See Also:

smbd crash log (8.31 KB, application/gzip)
2003-12-26 11:45 UTC, Michael Kreinick
no flags Details
Valgrind log with a crash (24.18 KB, application/octet-stream)
2003-12-26 11:46 UTC, Michael Kreinick
no flags Details
Valgrind log without a crash (18.13 KB, application/octet-stream)
2003-12-26 11:46 UTC, Michael Kreinick
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Kreinick 2003-12-26 11:44:13 UTC
When my file sharing program (direct connect) scans my share directories to
build its file list, smbd sometimes crashes in the middle. I'm running Gentoo. 
I've got smb.client.log at level 10 from a crash, as well as a Valgrind log
(which doesn't show anything interesting that I see, but...)
It's probably related to some files I have with strange characters in the file name.

I compiled --enable-developer and with debug.
Here's emerge info: 

Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031212-r0,
System uname: 2.6.0-test9-gentoo i686 Intel(R) Celeron(R) CPU 1.80GHz
Gentoo Base System version
distcc 2.12 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
CFLAGS="-march=pentium3 -O3 -pipe"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
FEATURES="autoaddcvs ccache distcc fixpackages sandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://adelie.polymtl.ca/
http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.mirrors.pair.com/
USE="acpi apache2 apm avi berkdb crypt cups encode evms2 freetype gdbm gif gnome
gpm gtk gtk2 imlib java jpeg kde libg++ libwww mozilla moznocompose moznoirc
moznomail mysql ncurses nls offensive pam pdflib perl pic png postgres python
readline samba slang spell ssl tcpd truetype x86 xml2 zlib"
Comment 1 Michael Kreinick 2003-12-26 11:45:43 UTC
Created attachment 341 [details]
smbd crash log
Comment 2 Michael Kreinick 2003-12-26 11:46:06 UTC
Created attachment 342 [details]
Valgrind log with a crash
Comment 3 Michael Kreinick 2003-12-26 11:46:23 UTC
Created attachment 343 [details]
Valgrind log without a crash
Comment 4 Gerald (Jerry) Carter (dead mail address) 2004-03-04 09:43:29 UTC
I think this is fixed in 3.0.2a with the character 
string conversion fixes.  We shouldn't crash anymore at least.
Comment 5 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:22:36 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.
Comment 6 Gerald (Jerry) Carter (dead mail address) 2005-11-14 09:26:41 UTC
database cleanup