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

Simone Lazzaris sw2 at task84.it
Fri Feb 27 09:30:03 GMT 2004


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

Jeremy Allison wrote:

| Can you compile with debug symbols included (-g) so we can
| get some info as to chat line this is failing on ?
|
| Thanks,
|
| 	Jeremy.

Mmm... I'm not very used to gdb... anyway, I've compiled smbd with the
- --enable-debug switch on (via ./configure).
Firing gdb --pid to attach to a running process, and waiting for it to
crash, I've obtained the following data:

(gdb) info program
~        Using the running image of attached process 6930.
Program stopped at 0x81a78ea.
It stopped with signal SIGSEGV, Segmentation fault.

(gdb) backtrace
#0  0x081a78ea in get_stored_queue_info ()
#1  0x081a7c49 in print_queue_status ()
#2  0x0810cf00 in _spoolss_enumjobs ()
#3  0x080fee9a in api_spoolss_enumjobs ()
#4  0x0812a19c in api_rpcTNP ()
#5  0x08129f1e in api_pipe_request ()
#6  0x08124484 in process_request_pdu ()
#7  0x08124671 in process_complete_pdu ()
#8  0x081248f6 in process_incoming_data ()
#9  0x08124ab3 in write_to_internal_pipe ()
#10 0x08124a33 in write_to_pipe ()
#11 0x08087feb in api_fd_reply ()
#12 0x080881d7 in named_pipe ()
#13 0x08088beb in reply_trans ()
#14 0x080bd4f5 in switch_message ()
#15 0x080bd581 in construct_reply ()
#16 0x080bd891 in process_smb ()
#17 0x080be2fd in smbd_process ()
#18 0x081ea34b in main (argc=2, argv=0xbffffad4) at smbd/server.c:887
#19 0x4026c306 in __libc_start_main (main=0x81e9ac8 <main>, argc=2,
~    ubp_av=0xbffffad4, init=0x8075420 <_init>, fini=0x81ea5f0 <_fini>,
~    rtld_fini=0x4000d2fc <_dl_fini>, stack_end=0xbffffacc)
~    at ../sysdeps/generic/libc-start.c:129



(gdb) info frame
Stack level 0, frame at 0xbffff018:
~ eip = 0x81a78ea in get_stored_queue_info; saved eip 0x81a7c49
~ called by frame at 0xbffff168
~ Arglist at 0xbffff018, args:
~ Locals at 0xbffff018, Previous frame's sp is 0x0
~ Saved registers:
~  ebx at 0xbffff00c, ebp at 0xbffff018, esi at 0xbffff010, edi at
0xbffff014,
~  eip at 0xbffff01c

(note: info locals seems to have some problem (no symbol table) but as
I've said, I'm not used to gdb).

Do you need any more data ? There's some more testing I can do ?

(And, by the way, thanks in advance).

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

iD8DBQFAPw4b/38nB9eqrJYRArxGAKCt730+rfKcjI9JJLvMnAX7Syd4tQCguLZk
4jfuLejqZiacFqYN7Qx1+nM=
=CuBq
-----END PGP SIGNATURE-----


More information about the samba mailing list