Debian Bug report logs - #309798
smbclient eats all memory and cpu with a simple ls

version graph

Package: libsmbclient; Maintainer for libsmbclient is Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>; Source for libsmbclient is src:samba (PTS, buildd, popcon).

Reported by: Ludovic Drolez <ldrolez@debian.org>

Date: Thu, 19 May 2005 16:18:07 UTC

Severity: important

Merged with 309689

Found in version 3.0.14a-2

Fixed in version samba/3.0.14a-3

Done: Steve Langasek <vorlon@debian.org>

Bug is archived. No further changes may be made.

Forwarded to https://bugzilla.samba.org/show_bug.cgi?id=2729

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, peloy@debian.org (Eloy A. Paris):
Bug#309798; Package smbclient. (full text, mbox, link).


Acknowledgement sent to Ludovic Drolez <ldrolez@debian.org>:
New Bug report received and forwarded. Copy sent to peloy@debian.org (Eloy A. Paris). (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Ludovic Drolez <ldrolez@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: smbclient eats all memory and cpu with a simple ls
Date: Thu, 19 May 2005 18:11:00 +0200
Package: smbclient
Version: 2.2.3a-14.1
Severity: grave
Justification: causes non-serious data loss

Hi !

We use smbclient to backup Windows systems with backuppc. Everything
worked well on a woody until we upgraded to sarge.
Now backuppc cannot backup anymore some systems and smbclient eats all
available memory causing random processes to be killed, with a simple 'ls'
done as a normal user.

Here's the output of smbclient:

$ smbclient '\\zin\D' -d 3 -U Administrateur%xxxxxxxx
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
added interface ip=192.168.0.6 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=172.20.0.4 bcast=172.20.0.255 nmask=255.255.255.0
Client started (version 3.0.14a-Debian).
resolve_lmhosts: Attempting lmhosts lookup for name zin<0x20>
resolve_wins: Attempting wins lookup for name zin<0x20>
resolve_wins: using WINS server 127.0.0.1 and tag '*'
Negative name query response, rcode 0x03: The name requested does not exist.
resolve_hosts: Attempting host lookup for name zin<0x20>
Connecting to 192.168.0.11 at port 445
Doing spnego session setup (blob length=16)
server didn't supply a full spnego negprot
Got challenge flags:
Got NTLMSSP neg_flags=0x608a0215
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x60080215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x60080215
Domain=[ZIN] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
dos_clean_name []
smb: \> ls
received 35 entries (eos=0)
received 35 entries (eos=0)
received 35 entries (eos=0)
received 35 entries (eos=0)
received 35 entries (eos=0)
received 35 entries (eos=0)
received 35 entries (eos=0)
received 35 entries (eos=0)
received 35 entries (eos=0)
received 35 entries (eos=0)
received 35 entries (eos=0)
received 35 entries (eos=0)
.... infinite loop....

And with a woody smbclient:

$ smbclient '\\zin\D' -d 3 -U Administrateur%xxxxxxx
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
added interface ip=192.168.0.4 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=192.168.0.58 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=172.16.104.1 bcast=172.16.104.255 nmask=255.255.255.0
Client started (version 2.2.3a-14.1 for Debian).
resolve_lmhosts: Attempting lmhosts lookup for name zin<0x20>
resolve_hosts: Attempting host lookup for name zin<0x20>
Connecting to 192.168.0.11 at port 139
Domain=[MYGROUP] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
smb: \> ls
received 35 entries (eos=0)
received 26 entries (eos=1)
  ocs                                 D        0  Fri Aug 23 10:32:5
  Recycled                          DHS        0  Tue Apr 23 14:07:
  xavier                              D        0  Thu Feb  6 17:32:0
  OCSInventory_2.01R3_setup.exe       A  3042615  Wed Jul 23 14:34:3
  HpGK_NetTrafficFix.exe              A   796984  Mon Aug 11 11:15:2
  ocs2                                D        0  Mon Sep 15 11:46:5
  julien                              D        0  Tue Apr 23 15:05:5
  A140609_FRA_2K.exe                  A 72760016  Mon Aug 11 12:09:4
  Program Files                       D        0  Mon Aug 11 14:21:2
  Software                            D        0  Tue Apr 23 16:04:2
  OCS Inventory                       D        0  Tue Aug 19 10:36:0
  Ghost à extraire                    D        0  Mon Sep  1 20:16:4
  lbs-inventory.zip                   A  1948361  Sat Sep 27 15:43:4
  synergy-1.0.14-1.zip                A   576009  Fri Oct  3 10:02:0
  synergy-1.0.14-1                    D        0  Fri Oct  3 10:02:3
  tmp_build                           D        0  Fri Dec 19 11:32:0
  cedric                              D        0  Thu Apr 25 18:30:2
  sauvegarde zin2                     D        0  Fri Apr 26 10:34:2
  log.txt                             A        0  Wed Jan 14 11:57:0
  envoi.pyw                           A     6307  Wed Jan 14 11:55:1
  demon.pyw                           A     5535  Wed Jan 14 11:55:1
  bootdisk.1M44.raw.v6.gz             A  1474560  Fri Jan 16 10:51:3
  bootdisk.1M44.raw.v6                A  1474560  Fri Jan 16 10:54:4
  ppw32_samples.zip                   A  1528618  Tue Apr 13 16:47:3
  lbs.log                             A    18112  Fri Jul 23 13:16:2
  drivers                             D        0  Tue Sep 28 11:08:2
  Mes documents - julien              D        0  Sat May  8 15:31:3
  Fichiers d'installation de Windows Update      D        0 Tue Oct                   2004
  proboot.exe                         A  3823359  Sat Oct 25 10:12:3
  scilab3                             D        0  Tue Oct 12 15:09:1
  log2.txt                            A        0  Thu Oct 14 17:40:2
  wmi.zip                             A    10812  Thu Oct 14 17:41:3
  Intel                               D        0  Fri Oct 15 13:40:3
  dessin.jpg                          A    76698  Fri Oct 22 14:55:3
  MAAAA                               D        0  Tue Oct 12 17:34:1
  tmp                                 D        0  Fri Oct 15 13:33:5
  DeskView                            D        0  Fri Oct 15 13:44:3
  cctp ext save data.doc              A  1462272  Sat Nov 20 10:43:5
  PSFONTS                             D        0  Sat Nov 20 11:11:1
  arnaud                              D        0  Sat Jan 22 15:04:2
  OpenSSH                             D        0  Tue Mar 21 09:15:1
  cygwin                              D        0  Wed Dec 15 15:21:3
  iii83.vsd                           A   339456  Fri Oct 22 14:12:4
  proc                                D        0  Wed Apr  6 18:09:2
  ioperm.sys                          A    12800  Fri Nov 26 20:22:0
  instdrv.exe                         A    76288  Tue Apr 15 18:53:5
  Ice                                 D        0  Wed Dec  8 11:44:3
  AatiAppSrv                          D        0  Fri Jan 21 13:22:1
  OCSInventoryCVS                     D        0  Fri Apr  7 17:34:5
  Microsoft Visual Studio             D        0  Fri Apr  7 17:54:3
  Application                         D        0  Fri Apr  7 18:05:2
  Joff                                D        0  Fri Apr  7 18:33:1
  vs6sp5                              D        0  Fri Apr  7 18:39:3
  InstMsiW.exe                        A  1822848  Sun Apr  9 10:01:4
  OCSinventory2                       D        0  Mon Apr 10 10:31:4
  Office10                            D        0  Sun Apr  9 10:28:4
  OCSInventory_3.00b3_sources.zip      A  2263620  Mon Apr 10 10:31:
  inventory                           D        0  Mon Apr 17 10:05:2
  Copie de inventory                  D        0  Mon Apr 17 10:05:3
  tkcvs-7_03                          D        0  Tue Apr 12 18:30:5
  gs                                  D        0  Tue Apr 12 18:31:1
         
                  60188 blocks of size 131072. 17504 blocks available
		  Total bytes listed: 93519830
		  



Cheers,

  Ludovic



-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux joebar.metz 2.6.4-1-686 #1 Sat Mar 13 19:25:38 EST 2004 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages smbclient depends on:
ii  libc6                    2.2.5-11.8      GNU C Library: Shared libraries an
ii  libcupsys2               1.1.14-5woody12 Common UNIX Printing System(tm) - 
ii  libncurses5              5.2.20020112a-7 Shared libraries for terminal hand
ii  libpam0g                 0.72-35         Pluggable Authentication Modules l
ii  libreadline4             4.2a-5          GNU readline and history libraries
ii  samba-common             2.2.3a-14.1     Samba common files used by both th




Information forwarded to debian-bugs-dist@lists.debian.org, peloy@debian.org (Eloy A. Paris):
Bug#309798; Package smbclient. (full text, mbox, link).


Acknowledgement sent to Ludovic Drolez <ldrolez@debian.org>:
Extra info received and forwarded to list. Copy sent to peloy@debian.org (Eloy A. Paris). (full text, mbox, link).


Message #10 received at 309798@bugs.debian.org (full text, mbox, reply):

From: Ludovic Drolez <ldrolez@debian.org>
To: 309798@bugs.debian.org
Subject: Re: Bug#309798: Acknowledgement (smbclient eats all memory and cpu with a simple ls)
Date: Thu, 19 May 2005 21:39:14 +0200
Oops I wrote the bug report on a woody !

But that's really smbclient 3.0.14a-1 which is affected by the bug, as you
can see in the logs !

Cheers,


-- 
Ludovic Drolez.

http://www.palmopensource.com       - The PalmOS Open Source Portal
http://www.drolez.com      - Personal site - Linux and PalmOS stuff



Information forwarded to debian-bugs-dist@lists.debian.org, peloy@debian.org (Eloy A. Paris):
Bug#309798; Package smbclient. (full text, mbox, link).


Acknowledgement sent to Christian Perrier <bubulle@debian.org>:
Extra info received and forwarded to list. Copy sent to peloy@debian.org (Eloy A. Paris). (full text, mbox, link).


Message #15 received at 309798@bugs.debian.org (full text, mbox, reply):

From: Christian Perrier <bubulle@debian.org>
To: Ludovic Drolez <ldrolez@debian.org>, 309798@bugs.debian.org
Subject: Re: Bug#309798: smbclient eats all memory and cpu with a simple ls
Date: Fri, 20 May 2005 07:36:26 +0200
Quoting Ludovic Drolez (ldrolez@debian.org):
> Package: smbclient
> Version: 2.2.3a-14.1
> Severity: grave

Oh nice...seems that the release schedule is triggering RC bug
reports.:-(


> Justification: causes non-serious data loss
> 
> Hi !
> 
> We use smbclient to backup Windows systems with backuppc. Everything
> worked well on a woody until we upgraded to sarge.
> Now backuppc cannot backup anymore some systems and smbclient eats all
> available memory causing random processes to be killed, with a simple 'ls'
> done as a normal user.



> 
> Here's the output of smbclient:


We might need a level 10 debug output in case you have an opportunity
to reproduce this.

I'll try to reproduce it (I bet I won't..:-)).

Could you also check the eaxct version of the samba package? Very
probably 3.0.14a-1....


Please also try using the package from sid : 3.0.14a-2. This could
indeed be #309003 (upstream bug #2622).







Information forwarded to debian-bugs-dist@lists.debian.org, peloy@debian.org (Eloy A. Paris):
Bug#309798; Package smbclient. (full text, mbox, link).


Acknowledgement sent to Christian Perrier <bubulle@debian.org>:
Extra info received and forwarded to list. Copy sent to peloy@debian.org (Eloy A. Paris). (full text, mbox, link).


Message #20 received at 309798@bugs.debian.org (full text, mbox, reply):

From: Christian Perrier <bubulle@debian.org>
To: 309798@bugs.debian.org, 309798-submitter@bugs.debian.org
Subject: More information needed
Date: Fri, 20 May 2005 08:31:15 +0200
Ludovic,

What is the target system ? The bug you report slightly sounds like
#302771, especially if the target is an XP system.

Could you also try to list a directory with less than 32 entries?

If needed please ping either me (bubulle) or Steve (vorlon) on IRC
irc.debian.org.

-- 





Message sent on to Ludovic Drolez <ldrolez@debian.org>:
Bug#309798. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, peloy@debian.org (Eloy A. Paris):
Bug#309798; Package smbclient. (full text, mbox, link).


Acknowledgement sent to Ludovic Drolez <ldrolez@debian.org>:
Extra info received and forwarded to list. Copy sent to peloy@debian.org (Eloy A. Paris). (full text, mbox, link).


Message #28 received at 309798@bugs.debian.org (full text, mbox, reply):

From: Ludovic Drolez <ldrolez@debian.org>
To: 309798@bugs.debian.org
Subject: Level 10 dump
Date: Fri, 20 May 2005 10:15:24 +0200
[Message part 1 (text/plain, inline)]
Hi !

Here is the l10 dump.

I think that the bug is triggered by a directory. I'm trying to find which one.


$ dpkg -l smbclient
ii  smbclient      3.0.14a-1      a LanManager-like simple client for Unix

Cheers,

  Ludo.

-- 
www.palmopensource.com	- The PalmOS open source portal
www.drolez.com		- Personal site
[smbclient.bz2 (application/x-bzip2, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, peloy@debian.org (Eloy A. Paris):
Bug#309798; Package smbclient. (full text, mbox, link).


Acknowledgement sent to Christian Perrier <bubulle@debian.org>:
Extra info received and forwarded to list. Copy sent to peloy@debian.org (Eloy A. Paris). (full text, mbox, link).


Message #33 received at 309798@bugs.debian.org (full text, mbox, reply):

From: Christian Perrier <bubulle@debian.org>
To: 309798@bugs.debian.org, 309798-submitter@bugs.debian.org
Subject: Bug confirmed...:-(
Date: Fri, 20 May 2005 10:29:05 +0200
[Message part 1 (text/plain, inline)]
I managed to reproduce this bug, unfortunately.

And, even more unfortunately, it seems different from #302771 and it
is NOT fixed by 3.0.14a-2...

Attached is a level 10 debug output from a session with the bug. The
behaviour is what Ludovic described. "ls" seems to "hang" and the CPU
and memory impact of smbclient slowly increases (thankfully, the
machine I tested on has lots of resources).


-- 


[309879.log.bz2 (application/octet-stream, attachment)]

Message sent on to Ludovic Drolez <ldrolez@debian.org>:
Bug#309798. (full text, mbox, link).


Noted your statement that Bug has been forwarded to https://bugzilla.samba.org/show_bug.cgi?id=2729. Request was from Christian Perrier <bubulle@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, peloy@debian.org (Eloy A. Paris):
Bug#309798; Package smbclient. (full text, mbox, link).


Acknowledgement sent to Christian Perrier <bubulle@debian.org>:
Extra info received and forwarded to list. Copy sent to peloy@debian.org (Eloy A. Paris). (full text, mbox, link).


Message #43 received at 309798@bugs.debian.org (full text, mbox, reply):

From: Christian Perrier <bubulle@debian.org>
To: Ludovic Drolez <ldrolez@debian.org>, 309798@bugs.debian.org
Subject: Re: Bug#309798: Level 10 dump
Date: Fri, 20 May 2005 14:26:01 +0200
severity 309798 important
merge 309689 309798
thanks

Quoting Ludovic Drolez (ldrolez@debian.org):
> Hi !
> 
> Here is the l10 dump.
> 
> I think that the bug is triggered by a directory. I'm trying to find which 
> one.

One with more than XX entries, very probably.






Severity set to `important'. Request was from Don Armstrong <don@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Bug reassigned from package `smbclient' to `libsmbclient'. Request was from Christian Perrier <bubulle@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Merged 309689 309798. Request was from Christian Perrier <bubulle@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Severity set to `grave'. Request was from Christian Perrier <bubulle@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, peloy@debian.org (Eloy A. Paris):
Bug#309798; Package libsmbclient. (full text, mbox, link).


Acknowledgement sent to Ludovic Drolez <ldrolez@debian.org>:
Extra info received and forwarded to list. Copy sent to peloy@debian.org (Eloy A. Paris). (full text, mbox, link).


Message #56 received at 309798@bugs.debian.org (full text, mbox, reply):

From: Ludovic Drolez <ldrolez@debian.org>
To: 309798@bugs.debian.org
Subject: Re: Bug#309798: More information needed
Date: Sat, 21 May 2005 11:40:17 +0200

Christian Perrier wrote:
> Ludovic,
> 
> What is the target system ? The bug you report slightly sounds like
> #302771, especially if the target is an XP system.

It's a Win 2000. And the bug is different from #302771 since I cannot list a
single entry in the directory.

Cheers,

-- 
Ludovic Drolez.

http://www.palmopensource.com       - The PalmOS Open Source Portal
http://www.drolez.com      - Personal site - Linux and PalmOS stuff



Information forwarded to debian-bugs-dist@lists.debian.org, peloy@debian.org (Eloy A. Paris):
Bug#309798; Package libsmbclient. (full text, mbox, link).


Acknowledgement sent to Christian Perrier <bubulle@debian.org>:
Extra info received and forwarded to list. Copy sent to peloy@debian.org (Eloy A. Paris). (full text, mbox, link).


Message #61 received at 309798@bugs.debian.org (full text, mbox, reply):

From: Christian Perrier <bubulle@debian.org>
To: 309798@bugs.debian.org
Subject: Directory listing of a share triggering the problem in this bug
Date: Tue, 24 May 2005 11:35:27 +0200
[Message part 1 (text/plain, inline)]
On Steve's request, please find a directory listing of a share on
which the problem described in #309798 may be experienced with samba
3.0.14a-2 packages.

(taken from a woody install..:-)))


-- 


[smbclient.out (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, peloy@debian.org (Eloy A. Paris):
Bug#309798; Package libsmbclient. (full text, mbox, link).


Acknowledgement sent to Steve Langasek <vorlon@debian.org>:
Extra info received and forwarded to list. Copy sent to peloy@debian.org (Eloy A. Paris). (full text, mbox, link).


Message #66 received at 309798@bugs.debian.org (full text, mbox, reply):

From: Steve Langasek <vorlon@debian.org>
To: 309798@bugs.debian.org
Subject: Re: Bug#309798: Directory listing of a share triggering the problem in this bug
Date: Tue, 24 May 2005 03:29:26 -0700
[Message part 1 (text/plain, inline)]
On Tue, May 24, 2005 at 11:35:27AM +0200, Christian Perrier wrote:
> On Steve's request, please find a directory listing of a share on
> which the problem described in #309798 may be experienced with samba
> 3.0.14a-2 packages.

Creating a directory containing the same list of filenames, I'm not able
reproduce this bug using a WinXP Home server.

-- 
Steve Langasek
postmodern programmer
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, peloy@debian.org (Eloy A. Paris):
Bug#309798; Package libsmbclient. (full text, mbox, link).


Acknowledgement sent to Christian Perrier <bubulle@debian.org>:
Extra info received and forwarded to list. Copy sent to peloy@debian.org (Eloy A. Paris). (full text, mbox, link).


Message #71 received at 309798@bugs.debian.org (full text, mbox, reply):

From: Christian Perrier <bubulle@debian.org>
To: 309798@bugs.debian.org
Subject: Narrowing the test case for this bug
Date: Tue, 24 May 2005 12:31:51 +0200
[Message part 1 (text/plain, inline)]
The bug seems to be triggered as soon as the remote directory has 27
entries.

Please find attached two listings. The ok.out is the listing of the
directory showing no problem with 3.0.14a-2. The notok.out listing
shows the same directory with a new entry, which triggers the problem
(notok.out was taken from a woody install)


-- 


[ok.out (text/plain, attachment)]
[notok.out (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, peloy@debian.org (Eloy A. Paris):
Bug#309798; Package libsmbclient. (full text, mbox, link).


Acknowledgement sent to Guillaume Filion <gfk@logidac.com>:
Extra info received and forwarded to list. Copy sent to peloy@debian.org (Eloy A. Paris). (full text, mbox, link).


Message #76 received at 309798@bugs.debian.org (full text, mbox, reply):

From: Guillaume Filion <gfk@logidac.com>
To: 309798@bugs.debian.org
Subject: Re: Narrowing the test case for this bug
Date: Tue, 24 May 2005 10:33:42 -0400
Christian Perrier <bubulle@debian.org> wrote:
> The bug seems to be triggered as soon as the remote directory has 27
> entries.

Here's the behavior that I'm seeing here with 3.0.14a-1.

I have 12 Windows PCs on my network (8 WinXP Pro SP2, 1 Win2K Pro and 3 
Win2K Server) and the only ones showing this behavior are running WinXP 
Pro SP2 that has been "upgraded" from Win98 using WinXP's installer.

The first one is crashing when listing a directory of more than 32 
entries and the other one at 28 entries.

On others PCs, I can list directories of more than 50 entries with not 
problem.

Hope this helps,
GFK's
-- 
Guillaume Filion, ing. jr
Logidac Tech., Beaumont, Québec, Canada - http://logidac.com/
PGP Key and more: http://guillaume.filion.org/




Information forwarded to debian-bugs-dist@lists.debian.org, peloy@debian.org (Eloy A. Paris):
Bug#309798; Package libsmbclient. (full text, mbox, link).


Acknowledgement sent to Christian Perrier <bubulle@debian.org>:
Extra info received and forwarded to list. Copy sent to peloy@debian.org (Eloy A. Paris). (full text, mbox, link).


Message #81 received at 309798@bugs.debian.org (full text, mbox, reply):

From: Christian Perrier <bubulle@debian.org>
To: Guillaume Filion <gfk@logidac.com>, 309798@bugs.debian.org
Subject: Re: Bug#309798: Narrowing the test case for this bug
Date: Tue, 24 May 2005 17:56:07 +0200
Quoting Guillaume Filion (gfk@logidac.com):
> Christian Perrier <bubulle@debian.org> wrote:
> > The bug seems to be triggered as soon as the remote directory has 27
> > entries.
> 
> Here's the behavior that I'm seeing here with 3.0.14a-1.
> 
> I have 12 Windows PCs on my network (8 WinXP Pro SP2, 1 Win2K Pro and 3 
> Win2K Server) and the only ones showing this behavior are running WinXP 
> Pro SP2 that has been "upgraded" from Win98 using WinXP's installer.
> 
> The first one is crashing when listing a directory of more than 32 
> entries and the other one at 28 entries.

Same for mine. I previously reported crashing with 27 entries, but
this is indeed 28 : there was a hidden file in the directory (but this
is NOT related to it).

My "test case" (named "DRIS-GD" in the output files I sent today) is
maybe also a machine which was upgraded from Win98 to WinXP (though
I'm unsure...this may also be a former W2K machine, we don't really
have the history of that machine)




Information forwarded to debian-bugs-dist@lists.debian.org, peloy@debian.org (Eloy A. Paris):
Bug#309798; Package libsmbclient. (full text, mbox, link).


Acknowledgement sent to Steve Langasek <vorlon@debian.org>:
Extra info received and forwarded to list. Copy sent to peloy@debian.org (Eloy A. Paris). (full text, mbox, link).


Message #86 received at 309798@bugs.debian.org (full text, mbox, reply):

From: Steve Langasek <vorlon@debian.org>
To: 309798@bugs.debian.org, 309689-submitter@bugs.debian.org, 309798-submitter@bugs.debian.org
Subject: Re: smbclient eats all memory and cpu with a simple ls
Date: Wed, 25 May 2005 02:20:14 -0700
[Message part 1 (text/plain, inline)]
severity 309798 important
thanks

Hi folks,

Ok, with some hints in the right direction and a little bit of guesswork,
I've been able to reproduce this bug.  It appears that this bug *only*
manifests on shares that are hosted on VFAT filesystems -- not on NTFS.
Apparently, 2K does not respond the same to search continuation requests on
VFAT as it does on NTFS, and ends up in a loop where it repeatedly sends the
same data.  (This is the trigger; it's not a fixed number of files in the
directory, it's the size of the directory data being sent and whether the
server has to split it between multiple PDUs.)

Since so far this is only reproducible on 2K or XP servers using VFAT, which
is a fairly uncommon configuration that will decrease in relevance during
sarge's lifetime, I don't believe this bug should be considered
release-critical for sarge; though I will certainly do what I can to help
the Samba Team get the bug fixed.

Thanks,
-- 
Steve Langasek
postmodern programmer
[signature.asc (application/pgp-signature, inline)]

Severity set to `important'. Request was from Steve Langasek <vorlon@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Message sent on to Ludovic Drolez <ldrolez@debian.org>:
Bug#309798. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, peloy@debian.org (Eloy A. Paris):
Bug#309798; Package libsmbclient. (full text, mbox, link).


Acknowledgement sent to Emilio Jesus Gallego Arias <egallego@telefonica.net>:
Extra info received and forwarded to list. Copy sent to peloy@debian.org (Eloy A. Paris). (full text, mbox, link).


Message #96 received at 309798@bugs.debian.org (full text, mbox, reply):

From: Emilio Jesus Gallego Arias <egallego@telefonica.net>
To: 309689-quiet@bugs.debian.org, Steve Langasek <vorlon@debian.org>
Cc: 309798@bugs.debian.org, 309689-submitter@bugs.debian.org, 309798-submitter@bugs.debian.org
Subject: Re: Bug#309689: smbclient eats all memory and cpu with a simple ls
Date: Wed, 25 May 2005 15:08:50 +0200
El mié, 25-05-2005 a las 02:20 -0700, Steve Langasek escribió:
> severity 309798 important
> thanks
> 
> Hi folks,
> 
> Ok, with some hints in the right direction and a little bit of guesswork,
> I've been able to reproduce this bug.  It appears that this bug *only*
> manifests on shares that are hosted on VFAT filesystems -- not on NTFS.
> Apparently, 2K does not respond the same to search continuation requests on
> VFAT as it does on NTFS, and ends up in a loop where it repeatedly sends the
> same data.  (This is the trigger; it's not a fixed number of files in the
> directory, it's the size of the directory data being sent and whether the
> server has to split it between multiple PDUs.)

I can confirm this.

> Since so far this is only reproducible on 2K or XP servers using VFAT, which
> is a fairly uncommon configuration that will decrease in relevance during
> sarge's lifetime, I don't believe this bug should be considered
> release-critical for sarge; though I will certainly do what I can to help
> the Samba Team get the bug fixed.

Yes, I think it's not a release critical bug (so I submitted it with
sev. important) because of the uncommon of the setup.

But the reality is that this is a very annoying bug, I mean that when
you are browsing the network with nautilus, and you found a FAT machine,
the system goes to OOM.

I think releasing Sarge with this bug can make network browsing unusable
to a sizeable group of people.

To illustrate this:

	Network   | Number of Shares | Problematic Shares
Student residence | 23               | 2
       University | aprox 50         | 1 (that I've found).

So while maybe not a RC bug, as is difficult to found a FAT machine, any
Debian user in our student residence will get gnome-vfs-daemon eating
all of their memory, bandwidth and cpu suddenly, as soon as he/she tries
to list with nautilus the directory contents of any machine, with a
probability of 1/10. The only option given to this user is to logoff, or
go to the command line and kill gnome-vfs-daemon, losing all the
connections and file transfers he had. No fun for him.

Regards and thanks,

Emilio






Message sent on to Ludovic Drolez <ldrolez@debian.org>:
Bug#309798. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, peloy@debian.org (Eloy A. Paris):
Bug#309798; Package libsmbclient. (full text, mbox, link).


Acknowledgement sent to Guillaume Filion <gfk@logidac.com>:
Extra info received and forwarded to list. Copy sent to peloy@debian.org (Eloy A. Paris). (full text, mbox, link).


Message #104 received at 309798@bugs.debian.org (full text, mbox, reply):

From: Guillaume Filion <gfk@logidac.com>
To: 309798@bugs.debian.org
Subject: Proposed fix
Date: Thu, 26 May 2005 16:04:59 -0400
Jeremy Allison from the Samba project <jra@samba.org> has proposed a 
patch to fix this. Is there any chance that it will make it into sarge?

https://bugzilla.samba.org/attachment.cgi?id=1242

Best,
GFK's
-- 
Guillaume Filion, ing. jr
Logidac Tech., Beaumont, Québec, Canada - http://logidac.com/
PGP Key and more: http://guillaume.filion.org/




Reply sent to Steve Langasek <vorlon@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Ludovic Drolez <ldrolez@debian.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #109 received at 309798-close@bugs.debian.org (full text, mbox, reply):

From: Steve Langasek <vorlon@debian.org>
To: 309798-close@bugs.debian.org
Subject: Bug#309798: fixed in samba 3.0.14a-3
Date: Fri, 27 May 2005 09:17:16 -0400
Source: samba
Source-Version: 3.0.14a-3

We believe that the bug you reported is fixed in the latest version of
samba, which is due to be installed in the Debian FTP archive:

libpam-smbpass_3.0.14a-3_i386.deb
  to pool/main/s/samba/libpam-smbpass_3.0.14a-3_i386.deb
libsmbclient-dev_3.0.14a-3_i386.deb
  to pool/main/s/samba/libsmbclient-dev_3.0.14a-3_i386.deb
libsmbclient_3.0.14a-3_i386.deb
  to pool/main/s/samba/libsmbclient_3.0.14a-3_i386.deb
python2.3-samba_3.0.14a-3_i386.deb
  to pool/main/s/samba/python2.3-samba_3.0.14a-3_i386.deb
samba-common_3.0.14a-3_i386.deb
  to pool/main/s/samba/samba-common_3.0.14a-3_i386.deb
samba-dbg_3.0.14a-3_i386.deb
  to pool/main/s/samba/samba-dbg_3.0.14a-3_i386.deb
samba-doc_3.0.14a-3_all.deb
  to pool/main/s/samba/samba-doc_3.0.14a-3_all.deb
samba_3.0.14a-3.diff.gz
  to pool/main/s/samba/samba_3.0.14a-3.diff.gz
samba_3.0.14a-3.dsc
  to pool/main/s/samba/samba_3.0.14a-3.dsc
samba_3.0.14a-3_i386.deb
  to pool/main/s/samba/samba_3.0.14a-3_i386.deb
smbclient_3.0.14a-3_i386.deb
  to pool/main/s/samba/smbclient_3.0.14a-3_i386.deb
smbfs_3.0.14a-3_i386.deb
  to pool/main/s/samba/smbfs_3.0.14a-3_i386.deb
swat_3.0.14a-3_i386.deb
  to pool/main/s/samba/swat_3.0.14a-3_i386.deb
winbind_3.0.14a-3_i386.deb
  to pool/main/s/samba/winbind_3.0.14a-3_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 309798@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steve Langasek <vorlon@debian.org> (supplier of updated samba package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 26 May 2005 23:37:57 -0700
Source: samba
Binary: samba-doc libsmbclient libpam-smbpass swat winbind smbclient samba samba-common libsmbclient-dev samba-dbg python2.3-samba smbfs
Architecture: source i386 all
Version: 3.0.14a-3
Distribution: unstable
Urgency: high
Maintainer: Eloy A. Paris <peloy@debian.org>
Changed-By: Steve Langasek <vorlon@debian.org>
Description: 
 libpam-smbpass - pluggable authentication module for SMB password database
 libsmbclient - shared library that allows applications to talk to SMB servers
 libsmbclient-dev - libsmbclient static libraries and headers
 python2.3-samba - Python bindings that allow access to various aspects of Samba
 samba      - a LanManager-like file and printer server for Unix
 samba-common - Samba common files used by both the server and the client
 samba-dbg  - Samba debugging symbols
 samba-doc  - Samba documentation
 smbclient  - a LanManager-like simple client for Unix
 smbfs      - mount and umount commands for the smbfs (for kernels >= than 2.2.
 swat       - Samba Web Administration Tool
 winbind    - service to resolve user and group information from Windows NT ser
Closes: 308510 309798 310063
Changes: 
 samba (3.0.14a-3) unstable; urgency=high
 .
   * Urgency set to high for a bug that makes smbclient/libsmbclient
     /almost/ mostly unusable
   * Fix smbclient's search continuation logic so that it works correctly
     against 2K servers offering VFAT-hosted shares; many thanks to
     Jeremy Allison for the timely upstream fix.  Closes: #309798.
   * Update pt_BR debconf translation.  Thanks to Andre Luis Lopes
     <andrelop@debian.org>. (closes: #308510)
   * Add Russian debconf translation, thanks to Yuriy Talakan
     <yt@amur.elektra.ru>. (closes: #310063)
Files: 
 475ddf0942ded71f7264bae2ddae5d26 1069 net optional samba_3.0.14a-3.dsc
 941ae8072e3d7314868f7f3fc9add5ba 112894 net optional samba_3.0.14a-3.diff.gz
 2e5282ec87c404365c8882fddf9cdcc4 12116528 doc optional samba-doc_3.0.14a-3_all.deb
 29a30397c7e3c4e5e2d91166fc628b0b 2522358 net optional samba_3.0.14a-3_i386.deb
 1510e5d978ed2790c0ff98c65d0c8654 1988078 net optional samba-common_3.0.14a-3_i386.deb
 c338c9a750ad8b2eca5ba03cc96da73d 2535770 net optional smbclient_3.0.14a-3_i386.deb
 c91a739e748fd6b2c685376381f21d87 4052910 net optional swat_3.0.14a-3_i386.deb
 bd4c20f5fb398b76858bf391cd039caf 370846 otherosfs optional smbfs_3.0.14a-3_i386.deb
 f63cb410899fa2d5aec01b50c2e730c8 347334 admin extra libpam-smbpass_3.0.14a-3_i386.deb
 1a0d1433e08be0ff140a818b4879df4e 549894 libs extra libsmbclient_3.0.14a-3_i386.deb
 bef1fe108fe28a613c8dc7a7bcfde07c 740280 libdevel extra libsmbclient-dev_3.0.14a-3_i386.deb
 b3dbae8f89e3a72ee53d94c71519a837 1463504 net optional winbind_3.0.14a-3_i386.deb
 89bdd13497541102b727891f6fcf2e97 4752598 python optional python2.3-samba_3.0.14a-3_i386.deb
 f66207b6ad3c9c8fd98066983bcda44a 6640002 devel optional samba-dbg_3.0.14a-3_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFClxQMKN6ufymYLloRAsZMAJ4xy/oeKjRTlnYl5OR5gIUKx+hnxwCg0RgY
7OfJ/S5gIJAh1oPy3xOo7pk=
=tXgj
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, peloy@debian.org (Eloy A. Paris):
Bug#309798; Package libsmbclient. (full text, mbox, link).


Acknowledgement sent to Alexander Vodomerov <alex@sectorb.msk.ru>:
Extra info received and forwarded to list. Copy sent to peloy@debian.org (Eloy A. Paris). (full text, mbox, link).


Message #114 received at 309798@bugs.debian.org (full text, mbox, reply):

From: Alexander Vodomerov <alex@sectorb.msk.ru>
To: 309798@bugs.debian.org
Subject: the bug 309798 is not fully fixed
Date: Sat, 28 May 2005 21:53:56 +0400
  Hello!

This is about bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=309798

This bug is now closed in latest version of smbclient package
(3.0.14a-3). However, it still occurs on my machine.

I've encounter the same bug earlier and reported it to samba:
https://bugzilla.samba.org/show_bug.cgi?id=2698

There is some number of hosts in our network that triggers this bug.
Some of them started to work after upgrading to 3.0.14a-3. However, for
some of them it is still non-working. Here is an example:

[alex@lorien scripts]$ smbclient //LIGHTHOUSE/Babylon5 -d 3 
lp_load: refreshing parameters 
Initialising global parameters 
params.c:pm_process() - Processing configuration file
"/etc/samba/smb.conf" 
Processing section "[global]" 
added interface ip=172.16.16.100 bcast=172.16.19.255 nmask=255.255.252.0 
added interface ip=172.16.36.100 bcast=172.16.39.255 nmask=255.255.252.0 
Client started (version 3.0.14a-Debian). 
resolve_wins: Attempting wins lookup for name LIGHTHOUSE<0x20> 
resolve_wins: using WINS server 10.0.0.1 and tag '*' 
Got a positive name query response from 10.0.0.1 ( 172.16.14.136 ) 
Connecting to 172.16.14.136 at port 445 
Password: 
Doing spnego session setup (blob length=16) 
server didn't supply a full spnego negprot 
Got challenge flags: 
Got NTLMSSP neg_flags=0x628a0215 
NTLMSSP: Set final flags: 
Got NTLMSSP neg_flags=0x60080215 
NTLMSSP Sign/Seal - Initialising with flags: 
Got NTLMSSP neg_flags=0x60080215 
Domain=[LIGHTHOUSE] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] 
dos_clean_name [] 
smb: \> cd bonus\CD2\BOOK\DDM\ddm 
dos_clean_name [\bonus\CD2\BOOK\DDM\ddm\] 
dos_clean_name [\bonus\CD2\BOOK\DDM\ddm\\] 
smb: \bonus\CD2\BOOK\DDM\ddm\> ls 
received 18 entries (eos=0) 
received 17 entries (eos=0) 
received 17 entries (eos=0) 
received 17 entries (eos=0) 
received 17 entries (eos=0) 
received 17 entries (eos=0) 
received 17 entries (eos=0) 
received 17 entries (eos=0) 
received 17 entries (eos=0) 
received 17 entries (eos=0) 
received 17 entries (eos=0) 
... and so on 

Please, reopen this bug.

I really need this working because I'm implementing a network indexing
application. I would be glad to provide any additional info about my
case. I can also recompile all package with debug info. And if nothing
helps, I can provide a shell on my machine.

With best regards,
  Alexander.



Information forwarded to debian-bugs-dist@lists.debian.org, peloy@debian.org (Eloy A. Paris):
Bug#309798; Package libsmbclient. (full text, mbox, link).


Acknowledgement sent to Steve Langasek <vorlon@debian.org>:
Extra info received and forwarded to list. Copy sent to peloy@debian.org (Eloy A. Paris). (full text, mbox, link).


Message #119 received at 309798@bugs.debian.org (full text, mbox, reply):

From: Steve Langasek <vorlon@debian.org>
To: Alexander Vodomerov <alex@sectorb.msk.ru>, 309798@bugs.debian.org
Subject: Re: Bug#309798: the bug 309798 is not fully fixed
Date: Sat, 28 May 2005 14:38:17 -0700
[Message part 1 (text/plain, inline)]
Hi Alexander,

On Sat, May 28, 2005 at 09:53:56PM +0400, Alexander Vodomerov wrote:

> This is about bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=309798

> This bug is now closed in latest version of smbclient package
> (3.0.14a-3). However, it still occurs on my machine.

> I've encounter the same bug earlier and reported it to samba:
> https://bugzilla.samba.org/show_bug.cgi?id=2698

From your comments in this upstream bug entry, this is not the same bug as
309798 since it appears to manifest on NTFS shares.  Could you open a new
bug against the smbclient package for tracking this?

Do you have problems with this same directory running smbclient 3.0.12,
3.0.13, 3.0.14a-2?

Can you give us a tarball of the directory in question, or at least a full
file listing (from smbclient if possible, or from NT)?

Thanks,
-- 
Steve Langasek
postmodern programmer
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Aug 14 22:47:20 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.