printcap = coredump

Ryan Westphal rjwtch at osfmail.isc.rit.edu
Thu Mar 22 19:11:20 GMT 2001


First off, I'm upgrading my school's version of samba, they have 941
printers listed in the printcap file.  The old version of samba works.

When I run "smbd -D", it waits a few seconds then replies "IOT trap (core
dumped)."  gdb has errors tracing through it.  Here is a snip from log.smb
(the only log file I get) at level 10 logging (plus some extra debug
statements I put in myself):

[2001/03/22 14:03:05, 0] param/loadparm.c:(2710)
  add_one_printer: prsdev01_ps
[2001/03/22 14:03:05, 7] param/loadparm.c:(2903)
  lp_servicenumber: couldn't find prsdev01_ps
[2001/03/22 14:03:05, 0] param/loadparm.c:(1609)
  add_printer: prsdev01_ps, 1
[2001/03/22 14:03:05, 0] param/loadparm.c:(1489)
  add_a_service: ps = 400a3780, name = prsdev01_ps
[2001/03/22 14:03:05, 3] param/loadparm.c:(1634)
  adding printer service prsdev01_ps
[2001/03/22 14:03:05, 7] param/loadparm.c:(2903)
  lp_servicenumber: couldn't find printers
[2001/03/22 14:03:05, 0] param/loadparm.c:(2710)
  add_one_printer: prsdev01_engine
[2001/03/22 14:03:05, 7] param/loadparm.c:(2903)
  lp_servicenumber: couldn't find prsdev01_engine
[2001/03/22 14:03:05, 0] param/loadparm.c:(1609)
  add_printer: prsdev01_engine, -1
[2001/03/22 14:03:05, 0] param/loadparm.c:(1489)
  add_a_service: ps = 1a, name = prsdev01_engine
[2001/03/22 14:03:05, 0] lib/fault.c:(40)
  ===============================================================
[2001/03/22 14:03:05, 0] lib/fault.c:(41)
  INTERNAL ERROR: Signal 11 in pid 3962 (2.0.7)
  Please read the file BUGS.txt in the distribution
[2001/03/22 14:03:05, 0] lib/fault.c:(43)
  ===============================================================
[2001/03/22 14:03:05, 0] lib/util.c:(2381)
  PANIC: internal error


With this example, you can see that the printer prsdev01_ps adds
fine.  The next printer, prsdev01_engine, gets a -1 passed in as
defaultservice where as every other printer up to this point gets a 1.  I
couldn't find what called lp_add_printer.  pSERVICE(-1) is bad and so the
program dies.

If anyone can help me, i'd be greatful.

thanks,
Ryan





More information about the samba mailing list