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

As I've said, I'm not vary proficient with gdb... here are another
inspection (maybe more useful this time).




Program received signal SIGSEGV, Segmentation fault. 0x082071ab in get_stored_queue_info (pdb=0x8397e68, snum=6, pcount=0xbffff064, ~ ppqueue=0xbffff1ac) at printing/printing.c:2186 2186 jobid = IVAL(&cgdata.dptr, i*4); (gdb) print i $2 = 1012 (gdb) print extra_count $3 = 1130 (gdb) print cgdata.dsize $4 = 4520 (gdb) print cgdata.dsize/4 $5 = 1130 (gdb) print cgdata $6 = {dptr = 0x83bff20 "~\006", dsize = 4520} (gdb) l 2181 /* Add in the changed jobids. */ 2182 for( i = 0; i < extra_count; i++) { 2183 uint32 jobid; 2184 struct printjob *pjob; 2185 2186 jobid = IVAL(&cgdata.dptr, i*4); 2187 DEBUG(5,("get_stored_queue_info: changed job = %u\n", (unsigned int)jobid)); 2188 pjob = print_job_find(snum, jobid); 2189 if (!pjob) { 2190 DEBUG(5,("get_stored_queue_info: failed to find changed job = %u\n", (unsigned int)jobid)); (gdb)

(gdb) backtrace
#0  0x082071ab in get_stored_queue_info (pdb=0x8397e68, snum=6,
~    pcount=0xbffff064, ppqueue=0xbffff1ac) at printing/printing.c:2186
#1  0x0820763a in print_queue_status (snum=6, ppqueue=0xbffff1ac,
~    status=0xbffff1b0) at printing/printing.c:2283
#2  0x0813c149 in _spoolss_enumjobs (p=0x839c530, q_u=0xbffff320,
~    r_u=0xbffff310) at rpc_server/srv_spoolss_nt.c:6517
#3  0x0812a99c in api_spoolss_enumjobs (p=0x839c530)
~    at rpc_server/srv_spoolss.c:693
#4  0x08160654 in api_rpcTNP (p=0x839c530, rpc_name=0x839c53e "spoolss",
~    api_rpc_cmds=0x82dab84, n_cmds=51) at rpc_server/srv_pipe.c:1530
#5  0x081602d3 in api_pipe_request (p=0x839c530) at
rpc_server/srv_pipe.c:1476
#6  0x08159081 in process_request_pdu (p=0x839c530, rpc_in_p=0xbffff530)
~    at rpc_server/srv_pipe_hnd.c:669
#7  0x0815931f in process_complete_pdu (p=0x839c530)
~    at rpc_server/srv_pipe_hnd.c:741
#8  0x08159687 in process_incoming_data (p=0x839c530, data=0x83969b8 "(",
n=48)
~    at rpc_server/srv_pipe_hnd.c:839
#9  0x081598b3 in write_to_internal_pipe (np_conn=0x839c530,
~    data=0x83969b8 "(", n=64) at rpc_server/srv_pipe_hnd.c:878
#10 0x0815981a in write_to_pipe (p=0x839c3f0, data=0x83969a8 "\005", n=64)
~    at rpc_server/srv_pipe_hnd.c:861
#11 0x0808e605 in api_fd_reply (conn=0x8397810, vuid=100,
~    outbuf=0x40547008 "", setup=0x82f5830, data=0x83969a8 "\005",
params=0x0,
~    suwcnt=2, tdscnt=64, tpscnt=0, mdrcnt=1024, mprcnt=0) at smbd/ipc.c:306
#12 0x0808e889 in named_pipe (conn=0x8397810, vuid=100,
outbuf=0x40547008 "",
~    name=0xbffff716 "", setup=0x82f5830, data=0x83969a8 "\005", params=0x0,
~    suwcnt=2, tdscnt=64, tpscnt=0, msrcnt=0, mdrcnt=1024, mprcnt=0)
~    at smbd/ipc.c:350
#13 0x0808f674 in reply_trans (conn=0x8397810, inbuf=0x40526008 "",
~    outbuf=0x40547008 "", size=152, bufsize=16644) at smbd/ipc.c:558
#14 0x080d5a4c in switch_message (type=37, inbuf=0x40526008 "",
~    outbuf=0x40547008 "", size=152, bufsize=16644) at smbd/process.c:767
#15 0x080d5b08 in construct_reply (inbuf=0x40526008 "",
outbuf=0x40547008 "",
~    size=152, bufsize=16644) at smbd/process.c:797
#16 0x080d5eb0 in process_smb (inbuf=0x40526008 "", outbuf=0x40547008 "")
~    at smbd/process.c:897
#17 0x080d6c88 in smbd_process () at smbd/process.c:1328
#18 0x08258e07 in main (argc=2, argv=0xbffffac4) at smbd/server.c:887
#19 0x4026c306 in __libc_start_main (main=0x8258584 <main>, argc=2,
~    ubp_av=0xbffffac4, init=0x80754a0 <_init>, fini=0x8259160 <_fini>,
~    rtld_fini=0x4000d2fc <_dl_fini>, stack_end=0xbffffabc)
~    at ../sysdeps/generic/libc-start.c:129

(gdb) print cgdata
$7 = {dptr = 0x83bff20 "~\006", dsize = 4520}


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

iD8DBQFAPzgv/38nB9eqrJYRAq8YAKCl8owvKLC+eVx62OfpsMM6BXGaOwCfZwyL
YT2ux6RgMktgLpJbIMNkkEU=
=2QsD
-----END PGP SIGNATURE-----
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to