[Samba] Samba 2.2.8 SEGV in rpcclient getdriver on Solaris 7

Nicholas Brealey nick at brealey.org
Sat Apr 5 11:55:45 GMT 2003


Hello

I was trying to figure out how to add printer drivers manually for
downloading to Windows 2000 clients and I came accross this problem.
(The printer drivers were installed some time ago using an earlier
version of samba 2.2.x).


$ dbx /usr/local/samba/bin/rpcclient
(dbx) run xxxxxxx -U yyyyyyy
Running: rpcclient xxxxxxx -U yyyyyyy
(process id 4735)
Password:
rpcclient $> enumprinters
         flags:[0x800000]
         name:[\\xxxxxxx\hpem]
         description:[\\xxxxxxx\hpem,HP LaserJet 4050 Series PS,HP LaserJet 4050N PS]
         comment:[HP LaserJet 4050N PS]
(trimmed)
rpcclient $> getdriver hpem


[Windows NT x86]
signal SEGV (no mapping at the fault address) in strlen_w at 0x778d4
0x000778d4: strlen_w+0x0004:    lduh    [%o0], %g3
(dbx) where
=>[1] strlen_w(0x0, 0x1caf00, 0x1f, 0xffbed760, 0x36, 0x0), at 0x778d4
   [2] rpcstr_pull(0xffbecfe0, 0x0, 0x0, 0x0, 0x1, 0x100), at 0x797ac
   [3] display_print_driver_3(0x1, 0x0, 0x1c79e8, 0xff23d8fc, 0x0, 0x3), at 0x33de4
   [4] cmd_spoolss_getdriver(0x15de40, 0xffbed848, 0x2, 0x1c2f48, 0x12c48c, 0x0), at 0x340cc
   [5] do_cmd(0x1c5b30, 0x12c590, 0x1c5b78, 0xf108c, 0x81010100, 0xff00), at 0x2efb0
   [6] process_cmd(0xffbee044, 0x0, 0x0, 0x15a5c8, 0x12c590, 0x15de40), at 0x2f148
   [7] main(0x12c218, 0x12c238, 0xffbef948, 0xf13ac, 0x0, 0x159878), at 0x2f9fc
(dbx)

Regards

Nick



More information about the samba mailing list