[Pkg-samba-maint] Bug#431696: Bug#431696: samba: segfault when adding a printer driver

Dietrich Clauss dc2 at clauss.dyndns.org
Thu Jul 12 11:34:21 UTC 2007


Christian Perrier wrote:
> Quoting Dietrich Clauss (dc2 at clauss.dyndns.org):
> > Christian Perrier wrote:
> > > Quoting Dietrich Clauss (dc2 at clauss.dyndns.org):
> > > > Christian Perrier wrote:
> > > > > I'd recommend installing the samba-dbg package first, then also use a
> > > > > level 10 debug level.
> > > > > 
> > > > 
> > > > Done, attached the smbd.log at level 10.
> > > 
> > > Is this me or I just don't see any sign of a segfault in this log?
> > > 
> > 
> > line 13154
> > | INTERNAL ERROR: Signal 11 in pid 31594 (3.0.25b)
> 
> Hmmm, just before this, we see:
> 
> [2007/07/09 22:29:40, 10] smbd/open.c:fd_open(67)
>   fd_open: name W32X86/SETUP32.DLL, flags = 00 mode = 0664, fd = -1. Die Ressource ist zur Zeit nicht verfügbar
> [2007/07/09 22:29:40, 3] smbd/open.c:open_file(301)
>   Error opening file W32X86/SETUP32.DLL (NT_STATUS_ACCESS_DENIED) (local_flags=0) (flags=0)
> [2007/07/09 22:29:40, 5] smbd/files.c:file_free(454)
>   freed files structure 5418 (1 used)
> [2007/07/09 22:29:40, 3] printing/nt_printing.c:file_version_is_newer(1344)
>   file_version_is_newer: Can't open new file [W32X86/SETUP32.DLL], errno = 11
> [2007/07/09 22:29:40, 0] lib/fault.c:fault_report(41)
> 
> 
> I see something like "this resource is not available now" in German.
> 
> Could you check the permissions of the setup32.dll file? Just in
> case...

There are several copies of this file, one in the print$ share and three
on the windows client.  Permissions seem OK.

on server:
-rw-rw-r-- 1 dc2 lpadmin 48128 1999-11-05 06:32 /var/lib/samba/printers/W32X86/3/SETUP32.DLL

on client (mounted the win partition as fuse/ntfs):
-rwxrwx--- 1 dos dos 48128 2001-08-03 07:50 ./EPSON/epson10056/WIN2000/SETUP/SETUP32.DLL
-rwxrwx--- 1 dos dos 48128 1999-11-05 06:32 ./WINNT/system32/spool/drivers/w32x86/3/SETUP32.DLL
-rwxrwx--- 1 dos dos 48128 1980-06-03 08:00 ./WINNT/system32/spool/drivers/w32x86/SETUP32.DLL

Maybe the file was in use by some windows program and thus it was not
available for others.  I dont know how to check this in windows.


- Dietrich

-- 
Viele Wege führen nach Rom, nur der Mittelweg falscher Kompromisse nicht.
  (A. Schönberg)





More information about the Pkg-samba-maint mailing list