Re: [Samba] Re: INTERNAL ERROR: Signal 11 in pid 8928 (3.0.23c)

2006-09-29 Thread Volker Lendecke
On Fri, Sep 29, 2006 at 01:37:27PM -0700, Nolan Garrett wrote:
 I've finally found time to recompile and get a backtrace.  Here is the
 gdb backtrace:

Thanks a lot! Give me a bit, if what I just saw is true then
I'm feeling very embarrassed

Volker


pgpHZYXJhBDd8.pgp
Description: PGP signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Re: INTERNAL ERROR: Signal 11 in pid 8928 (3.0.23c)

2006-09-29 Thread Volker Lendecke
On Fri, Sep 29, 2006 at 01:37:27PM -0700, Nolan Garrett wrote:
 I've finally found time to recompile and get a backtrace.  Here is the
 gdb backtrace:

Could you try the attached patch?

Thanks for persisting!

Volker
Index: auth/auth_util.c
===
--- auth/auth_util.c(Revision 17489)
+++ auth/auth_util.c(Arbeitskopie)
@@ -1177,6 +1177,7 @@
 
num_group_sids = 1;
group_sids = primary_group_sid;
+   gids = gid;
 
*found_username = talloc_strdup(mem_ctx, username);
}


pgpCA6EZRjPgH.pgp
Description: PGP signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Re: INTERNAL ERROR: Signal 11 in pid 8928 (3.0.23c)

2006-09-29 Thread Jeremy Allison
On Fri, Sep 29, 2006 at 01:37:27PM -0700, Nolan Garrett wrote:
 I've finally found time to recompile and get a backtrace.  Here is the
 gdb backtrace:
 
 (gdb) backtrace
 #0  0x00110402 in ?? ()
 #1  0x0071a4a3 in __waitpid_nocancel () from /lib/libc.so.6
 #2  0x006c293f in do_system () from /lib/libc.so.6
 #3  0x0024a03d in system () from /lib/libpthread.so.0
 #4  0x00e42d5d in smb_panic (why=0xf4c037 internal error) at
 lib/util.c:1601
 #5  0x00e2e67a in sig_fault (sig=11) at lib/fault.c:47
 #6  signal handler called
 #7  0x00e8bcd4 in create_token_from_username (mem_ctx=0x825f268,
 username=0x825f2e8 MASSIVEGEEK+ngarrett, is_guest=0, uid=0x825f274,
 gid=0x825f278, found_username=0x825f2b0, token=0x825f284)
 at auth/auth_util.c:1222
 #8  0x00e8cce1 in create_local_token (server_info=0x825f268)
 at auth/auth_util.c:987
 #9  0x00e8ead5 in auth_ntlmssp_check_password (ntlmssp_state=0x82265e0,
 user_session_key=0xbff0e0e8, lm_session_key=0xbff0e0dc)
 at auth/auth_ntlmssp.c:124
 #10 0x00d19778 in ntlmssp_server_auth (ntlmssp_state=0x82265e0, request=
   {data = 0x81df898 NTLMSSP, length = 182, free = 0xe40110
 free_data_blob   },
 reply=0xbff0e43c) at libsmb/ntlmssp.c:723
 #11 0x00d17c62 in ntlmssp_update (ntlmssp_state=0x82265e0, in=
   {data = 0x81df898 NTLMSSP, length = 182, free = 0xe40110
 free_data_blob   },
 out=0xbff0e43c) at libsmb/ntlmssp.c:274
 #12 0x00e8e76b in auth_ntlmssp_update (auth_ntlmssp_state=0x8232198,
 request=
 ---Type return to continue, or q return to quit---
   {data = 0x81df898 NTLMSSP, length = 182, free = 0xe40110
 free_data_blob}, reply=0xbff0e43c) at auth/auth_ntlmssp.c:204
 #13 0x00ca86b9 in reply_sesssetup_and_X (conn=0x0, inbuf=0x826bf68 ,
 outbuf=0x828c3b0 , length=280, bufsize=131072) at smbd/sesssetup.c:625
 #14 0x00cd62b0 in switch_message (type=115, inbuf=0x826bf68 ,
 outbuf=0x828c3b0 , size=280, bufsize=131072) at smbd/process.c:991
 #15 0x00cd73eb in smbd_process () at smbd/process.c:1018
 #16 0x00ef20f0 in main (argc=16777216, argv=0xbff0f5c4) at
 smbd/server.c:1024
 
 
 This means very little to me, hopefully it means more to the developers?
  Is there anything else I can do to get more information for you?

Thanks very much - I really appreciate that info. I think Volker
just fixed it - but we couldn't have found that bug without this
info. 

You;ve really helped make Samba a better product and I want to say
thanks !

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: INTERNAL ERROR: Signal 11 in pid 8928 (3.0.23c)

2006-09-20 Thread Jeremy Allison
On Wed, Sep 20, 2006 at 09:49:48AM -0700, Nolan Garrett wrote:
  
  #0  0x00203402 in __kernel_vsyscall ()
  No symbol table info available.
  #1  0x0049a4a3 in __waitpid_nocancel () from /lib/libc.so.6
  No symbol table info available.
  #2  0x0044293f in do_system () from /lib/libc.so.6
  No symbol table info available.
  #3  0x0060203d in system () from /lib/libpthread.so.0
  No symbol table info available.
  #4  0x00af7b7d in smb_panic () from /usr/sbin/smbd
  No symbol table info available.
  #5  0x00ae349a in dump_core_setup () from /usr/sbin/smbd
  No symbol table info available.
  #6  signal handler called
  No symbol table info available.
  #7  0x00b3fd54 in create_token_from_username () from /usr/sbin/smbd
  No symbol table info available.
  #8  0x00b40d61 in create_local_token () from /usr/sbin/smbd
  No symbol table info available.
  #9  0x00b42b55 in auth_ntlmssp_start () from /usr/sbin/smbd
  No symbol table info available.
  #10 0x009ce5b8 in ntlmssp_set_username () from /usr/sbin/smbd
  No symbol table info available.
  #11 0x009ccaa2 in ntlmssp_update () from /usr/sbin/smbd
  No symbol table info available.
  #12 0x00b427eb in auth_ntlmssp_update () from /usr/sbin/smbd
  No symbol table info available.
  #13 0x0095d4a9 in reply_sesssetup_and_X () from /usr/sbin/smbd
  No symbol table info available.
  #14 0x0098b0d0 in open_was_deferred () from /usr/sbin/smbd
  No symbol table info available.
  #15 0x0098c20b in smbd_process () from /usr/sbin/smbd
  No symbol table info available.
  #16 0x00ba6110 in main () from /usr/sbin/smbd
  No symbol table info available.
  
  Clearly I don't have a package that was compiled with symbols.  Is it
  easy to rebuild the FC5 rpms from samba.org with debug symbols?

Not helpful without debug info I'm afraid. You can rebuild
from samba.org source in the packaging/RedHat directory.
This will build a package with debug.

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba