[Samba] smbclient segfaults

Sergio Pires suporte at grupovdl.com.br
Mon Jan 21 13:29:09 GMT 2008


Hi,



When I tried to run smbclient against a Win2003 server copiyng hundred of files 
it aborts with segmentation fault. I ran in gdb that produces this:

--------------------------------------------------------------------------------
htmaster:/dados# gdb /usr/bin/smbclient -s /usr/lib/debug/usr/bin/smbclient
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/
lib/tls/i686/cmov/libthread_db.so.1".

(gdb) set args -b 1200 -l /var/log/samba -d 2 //NETMASTER/htmaster 'matrix16' -
U bksamba -c "mkdir Jan;cd Jan;mkdir quinta;cd quinta; prompt; recurse; mput *"
(gdb) run
Starting program: /usr/bin/smbclient -b 1200 -l /var/log/samba -d 2 //NETMASTER/
htmaster 'matrix16' -U bksamba -c "mkdir Jan;cd Jan;mkdir quinta;cd quinta; 
prompt; recurse; mput *"
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1212582208 (LWP 7079)]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \Jan
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \Jan\quinta

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1212582208 (LWP 7079)]
0xb7d0fd5a in malloc_usable_size () from /lib/tls/i686/cmov/libc.so.6
(gdb)


--------------------------------------------------------------------------------

can anyone help me?



Sergio Pires de Albuquerque
DTI - Grupo VDL
suporte at grupovdl.com.br
This is Unix. It gives you enough rope to hang yourself
---- Miquel van Smoorenburg.


--
Open WebMail Project (http://openwebmail.org)



More information about the samba mailing list