[Samba] Panic in Samba 3.0.3Pre2

Marcus White 1midniterider at comcast.net
Wed Apr 21 02:43:34 GMT 2004


On Tue, 2004-04-20 at 16:36, Gerald (Jerry) Carter wrote:
> Jeramy Eling wrote:
> 
> >  [2004/04/20 15:21:02, 0] lib/util.c:smb_panic2(1406) 
> >    BACKTRACE: 27 stack frames: 
> >     #0 smbd(smb_panic2+0x128) [0x81cb288] 
> >     #1 smbd(smb_panic+0x19) [0x81cb159] 
> >     #2 smbd [0x81b96f2] 
> >     #3 /lib/tls/libc.so.6 [0x420275c8] 
> >     #4 /lib/tls/libc.so.6(malloc+0x8b) [0x4207335b] 
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >     #5 smbd(tdb_unpack+0x13b) [0x81e0b8b] 
> >     #6 smbd [0x81f10ce] 
> >     #7 smbd [0x81f1cd6] 
> >     #8 smbd(get_a_printer+0x126) [0x81f3026] 
> >     #9 smbd(_spoolss_getprinterdataex+0x1be) [0x8131dce] 
> 
> This points towards a heap corruption bug.  Doesn't
> ring a bell.  Cna you reproduce this at will ?  If
> so what do I need to do ?
> 
> 3.0.3rc1 will be out later today we hope.  And while
> I can't say that for sure that this bug is addressed,
> you should test. We will also be spending a good bit
> of time stressing this release under valgrind before
> we hit 3.0.3.
> 
> 
> -- 
> cheers, jerry
> ----------------------------------------------------------------------
> Hewlett-Packard            ------------------------- http://www.hp.com
> SAMBA Team                 ---------------------- http://www.samba.org
> GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
> "...a hundred billion castaways looking for a home." ----------- Sting

I've also noticed this behavior with RHL9 and Samba 3.0.2a.. It occurred
each time I attempted to install a Samba networked printer on a Windows
98se workstation. Steps taken:

1) Installed and modified KDE's "pdfdistiller" script into
/usr/local/sbin

2) cd /usr/lib/cups/backend

3) ln -s  /usr/local/sbin/pdfdistiller pdf

4) d/l & copied Adobe distiller.ppd file to /usr/share/cups/model

5) d/l & installed CUPS & Adobe postscript drivers to
/usr/lib/cups/drivers

6) Restarted CUPS and Samba

7) Used lpadmin to created pdfwriter "printer"

8) Used cupsaddsmb to install pdfwriter drivers

9) From W98se PC: right click on "pdfwriter" printer icon. Select
"Install". The installer errors out.

10) The smbd error is noted in client machine error log.

Ideas? Suggestions?

Marcus O.



More information about the samba mailing list