[Samba] INTERNAL ERROR: Signal 11 in smbd (samba 3.0.2a)

Simone Lazzaris sw2 at task84.it
Thu Feb 26 15:02:04 GMT 2004


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

Hi, I've got a serious problem with my samba installation (samba
3.0.2.a, compiled from sources).

The problem seems to occour when printing a file on a printer connected
~ to our samba server. Other printers on the same server seems to work
just fine.

Note that the thing is not sistematic... some days it occours many
times, and other days all works like a charm.

Here is a snippet of the log file and my smb.conf file.



[2004/02/26 14:29:09, 0] lib/fault.c:fault_report(36)
~  ===============================================================
[2004/02/26 14:29:09, 0] lib/fault.c:fault_report(37)
~  INTERNAL ERROR: Signal 11 in pid 21341 (3.0.2a)
~  Please read the appendix Bugs of the Samba HOWTO collection
[2004/02/26 14:29:09, 0] lib/fault.c:fault_report(39)
~  ===============================================================
[2004/02/26 14:29:09, 0] lib/util.c:smb_panic(1400)
~  PANIC: internal error
[2004/02/26 14:29:09, 0] lib/util.c:smb_panic(1407)
~  BACKTRACE: 24 stack frames:
~   #0 /usr/local/samba3/sbin/smbd(smb_panic+0x182) [0x818bfae]
~   #1 /usr/local/samba3/sbin/smbd [0x817c3d1]
~   #2 /usr/local/samba3/sbin/smbd [0x817c42a]
~   #3 /lib/libc.so.6 [0x4027e888]
~   #4 /usr/local/samba3/sbin/smbd(print_queue_status+0x139) [0x81a6315]
~   #5 /usr/local/samba3/sbin/smbd(_spoolss_enumjobs+0xe8) [0x810c350]
~   #6 /usr/local/samba3/sbin/smbd [0x80fe2ea]
~   #7 /usr/local/samba3/sbin/smbd(api_rpcTNP+0x200) [0x81295ec]
~   #8 /usr/local/samba3/sbin/smbd(api_pipe_request+0xce) [0x812936e]
~   #9 /usr/local/samba3/sbin/smbd [0x81238d4]
~   #10 /usr/local/samba3/sbin/smbd [0x8123ac1]
~   #11 /usr/local/samba3/sbin/smbd [0x8123d46]
~   #12 /usr/local/samba3/sbin/smbd [0x8123f03]
~   #13 /usr/local/samba3/sbin/smbd(write_to_pipe+0xd7) [0x8123e83]
~   #14 /usr/local/samba3/sbin/smbd [0x8087f5b]
~   #15 /usr/local/samba3/sbin/smbd [0x8088147]
~   #16 /usr/local/samba3/sbin/smbd(reply_trans+0x9ab) [0x8088b5b]
~   #17 /usr/local/samba3/sbin/smbd [0x80bc945]
~   #18 /usr/local/samba3/sbin/smbd [0x80bc9d1]
~   #19 /usr/local/samba3/sbin/smbd(process_smb+0x1c5) [0x80bcce1]
~   #20 /usr/local/samba3/sbin/smbd(smbd_process+0x13d) [0x80bd74d]
~   #21 /usr/local/samba3/sbin/smbd(main+0x72c) [0x81e76d4]
~   #22 /lib/libc.so.6(__libc_start_main+0x8e) [0x4026c306]
~   #23 /usr/local/samba3/sbin/smbd(ldap_msgfree+0x69) [0x8076851]


#======================= Global Settings ============================
[global]
~   netbios name = FS5

~   idmap uid = 10000-20000
~   idmap gid = 10000-20000
~   winbind enum users = yes
~   winbind enum groups = yes
~   workgroup = Task_84
~   server string = Server FS5
~   printcap name = /etc/printcap
~   load printers = yes

~    printing = cups

~   guest account = nobody
~   map to guest = never
~   log file = /var/log/samba/samba3.log

~   max log size = 0
~   security = user

~  encrypt passwords = yes
~  passdb backend = tdbsam:/usr/local/samba3/lib/passdb.tdb

~  unix password sync = Yes
~  passwd program = /usr/bin/passwd %u
~  passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*

~  add machine script = /usr/sbin/useradd -d /dev/null -g 800 -s
/bin/false -M %u



~   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

	interfaces = 10.0.1.32/24

~   local master = yes

~   os level = 65

~   domain master = yes

~   preferred master = yes

~  domain logons = yes

~    logon script = script\%U.bat

~    logon home=
~    logon path=

~   wins server = 10.0.1.34


~   dns proxy = no


disable spoolss = no
use client driver = yes



~ dos filemode = yes

[netlogon]
	path = /var/lib/samba3/netlogon
	comment = Servizio di Logon
	guest ok = yes
	browseable = No
	read only = yes
	write list = root,administrator

[homes]
~   comment = Home Directories
~   browseable = no
~   writable = yes
~   hide dot files = yes

# NOTE: this printer always works !
[laserjet]
~   comment = Stampante in progettazione
~   directory = /var/spool/samba
~   browseable = yes
~   public = yes
~   printable = yes
~   create mode = 0700
~   guest ok = no
~   read only = yes
~   printer name = laserjet

# Also this
[hpdir]
~   comment = Stampante in direzione
~   directory = /var/spool/samba
~   browseable = yes
~   public = yes
~   printable = yes
~   create mode = 0700
~   guest ok = no
~   read only = yes
~   printer name = LaserJet4000N

[utprint002]
~   comment = Stampante in ufficio tecnico 2
~   directory = /var/spool/samba
~   browseable = yes
~   public = yes
~   printable = yes
~   create mode = 0700
~   guest ok = no
~   read only = yes
~   printer name = utprint002

# THESE are the printer which fails !
[UTHP_PS]
~   comment = HP laserjet 5000 PostScript ufficio tecnico
~   directory = /var/spool/samba
~   browseable = yes
~   public = yes
~   printable = yes
~   create mode = 0700
~   valid users = @uftec
~   guest ok = no
~   read only = yes
~   printer name = utprint

[UTHPGL_5]
~   comment = HP laserjet 5000 HPGL 5e ufficio tecnico
~   directory = /var/spool/samba
~   browseable = yes
~   public = yes
~   printable = yes
~   create mode = 0700
~   valid users = @uftec
~   guest ok = no
~   read only = yes
~   printer name = utprint

[UTHPGL_6]
~   comment = HP laserjet 5000 HPGL 6e ufficio tecnico
~   directory = /var/spool/samba
~   browseable = yes
~   public = yes
~   printable = yes
~   create mode = 0700
~   valid users = @uftec
~   guest ok = no
~   read only = yes
~   printer name = utprint

[UTEPLAFR]
~   comment = HP laserjet 5000 HPGL 5e x Eplan Fronte/Retro ufficio tecnico
~   directory = /var/spool/samba
~   browseable = yes
~   public = yes
~   printable = yes
~   create mode = 0700
~   valid users = @uftec
~   guest ok = no
~   read only = yes
~   printer name = utprint

[UTEPLA_S]
~   comment = HP laserjet 5000 HPGL 5e x Eplan Singolo ufficio tecnico
~   directory = /var/spool/samba
~   browseable = yes
~   public = yes
~   printable = yes
~   create mode = 0700
~   valid users = @uftec
~   guest ok = no
~   read only = yes
~   printer name = utprint

[UTHP_GEN]
~   comment = HP laserjet 5000 generica ufficio tecnico
~   directory = /var/spool/samba
~   browseable = yes
~   public = yes
~   printable = yes
~   create mode = 0700
~   valid users = @uftec
~   guest ok = no
~   read only = yes
~   printer name = utprint

[UTHPFAST]
~   comment = HP laserjet 5000 prioritaria ufficio tecnico
~   directory = /var/spool/samba
~   browseable = yes
~   public = yes
~   printable = yes
~   create mode = 0700
~   valid users = @uftec
~   guest ok = no
~   read only = yes
~   printer name = utprint

[lav]
~   comment = Lavori progrettazione
~   path = /home/prg/lavori
~   public = no
~   writable = yes
~   printable = no
~   valid users = @amminrete @analogico @lamiera @col_ana @col_lam
~   force create mode = 660
~   force directory mode = 770

[apps]
~   comment = Applicazioni comuni
~   path = /home/prg/applicazioni
~   public = no
~   writable = yes
~   printable = no
~   valid users = @amminrete @analogico @lamiera @col_ana @col_lam
@direzione @uftec @amministrazione
~   force create mode = 660
~   force directory mode = 770


[uftec]
~   comment = Ufficio Tecnico
~   path = /home/gest/ut
~   public = no
~   writable = yes
~   printable = no
~   valid users = @uftec
~   force create mode = 660
~   force directory mode = 770


[direz]
~   comment = Direzione
~   path = /home/gest/direzione
~   public = no
~   writable = yes
~   printable = no
~   valid users = @direzione
~   force create mode = 660
~   force directory mode = 770

[ammin]
~   comment = Amministrazione
~   path = /home/gest/amministrazione
~   public = no
~   writable = yes
~   printable = no
~   valid users = @amministrazione
~   force create mode = 660
~   force directory mode = 770

[com]
~   comment = cartella con file in comune
~   path = /home/gest/comuni
~   public = no
~   writable = yes
~   printable = no
~   force create mode = 666
~   force directory mode = 770

Note: we need to address the very same printer with different names (due
to some limitation in some legacy application). utprint002 is actualy
the same printer duplicated in CUPS, and seems to works. Duplicating
printers via samba seems to have some trouble (but this is NOT a
scientific analisys).

Any help ?

- --
Simone Lazzaris
Task84 S.p.A.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAPgps/38nB9eqrJYRArBPAKCq+dqvJzfnJBHOYGp1NYPionO4egCfdEyt
cG9cLGvkm12XsGEHqxvb+MU=
=o9Hg
-----END PGP SIGNATURE-----


More information about the samba mailing list