Package: samba
Version: 3.0.14a-3

I've setup a fresh-installed samba server configured as PDC, with ldap
backend.
I'm using plain sarge, i've only recompiled by hand the kernel
(2.6.11.11).

I've noted this on my mailbox:

----- Forwarded message from root <[EMAIL PROTECTED]> -----
From: root <[EMAIL PROTECTED]>
Date: Wed, 15 Jun 2005 11:40:02 +0200
To: [EMAIL PROTECTED]
Subject: Segfault in Samba

The Samba 'panic action' script, /usr/share/samba/panic-action,
was called for pid 9183 (/usr/sbin/smbd).

Below is a backtrace for this process generated with gdb, which shows
the state of the program at the time the error occured.  You are
encouraged to submit this information as a bug report to Debian.  For
information about the procedure for submitting bug reports , please see
http://www.debian.org/Bugs/Reporting or the reportbug(1) manpage.

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1211928448 (LWP 9183)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xb7de13ae in waitpid () from /lib/tls/libc.so.6
#0  0xb7de13ae in waitpid () from /lib/tls/libc.so.6
#1  0xb7d76d12 in system () from /lib/tls/libc.so.6
#2  0x081eb261 in smb_panic2 ()
#3  0x081eb1ea in smb_panic ()
#4  0x081d7368 in dbgtext ()
#5  <signal handler called>
#6  0xb7d6083b in raise () from /lib/tls/libc.so.6
#7  0xb7d61fa2 in abort () from /lib/tls/libc.so.6
#8  0xb7d5a2df in __assert_fail () from /lib/tls/libc.so.6
#9  0xb7fa637d in ber_get_next () from /usr/lib/liblber.so.2
#10 0xb7fbb096 in ldap_result () from /usr/lib/libldap_r.so.2
#11 0xb7fbada5 in ldap_result () from /usr/lib/libldap_r.so.2
#12 0xb7a14f8a in ?? () from /lib/libnss_ldap.so.2
#13 0x083bfdf0 in ?? ()
#14 0x00000e86 in ?? ()
#15 0x00000000 in ?? ()
#16 0x00000000 in ?? ()
#17 0x083c82d8 in ?? ()
#18 0xbfffe490 in ?? ()
#19 0x00000020 in ?? ()
#20 0xb7a21888 in ?? () from /lib/libnss_ldap.so.2
#21 0x083c82d8 in ?? ()
#22 0x00000000 in ?? ()
#23 0xbfffe478 in ?? ()
#24 0x00000034 in ?? ()
#25 0x083c82c8 in ?? ()
#26 0xbfffe610 in ?? ()
#27 0x00000000 in ?? ()
#28 0xb7a21888 in ?? () from /lib/libnss_ldap.so.2
#29 0x083c82c8 in ?? ()
#30 0xbfffe610 in ?? ()
#31 0xbfffe478 in ?? ()
#32 0xb7a14b7a in ?? () from /lib/libnss_ldap.so.2
#33 0x083c82c8 in ?? ()
#34 0x00000000 in ?? ()
#35 0x00000e86 in ?? ()
#36 0xb7a21888 in ?? () from /lib/libnss_ldap.so.2
#37 0xb7a21888 in ?? () from /lib/libnss_ldap.so.2
#38 0xffffffff in ?? ()
#39 0xbfffe4f8 in ?? ()
#40 0xb7a18507 in _nss_ldap_getpwent_r () from /lib/libnss_ldap.so.2

- ----- End forwarded message -----

Digging into log revealed this:

smbd: 
/home/devel/openldap/build-area/openldap2-2.1.30/libraries/liblber/io.c:702: 
ber_get_next: Assertion  failed.
[2005/06/15 11:40:02, 0] lib/fault.c:fault_report(36)
  ===============================================================
[2005/06/15 11:40:02, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 6 in pid 9183 (3.0.14a-Debian)
  Please read the appendix Bugs of the Samba HOWTO collection
[2005/06/15 11:40:02, 0] lib/fault.c:fault_report(39)
  ===============================================================
[2005/06/15 11:40:02, 0] lib/util.c:smb_panic2(1485)
  smb_panic(): calling panic action [/usr/share/samba/panic-action 9183] 
/etc/samba/gdbcommands:1: Error in sourced command file: Previous frame inner 
to this frame (corrupt stack?)
[2005/06/15 11:40:02, 0] lib/util.c:smb_panic2(1493)
  smb_panic(): action returned status 0
[2005/06/15 11:40:02, 0] lib/util.c:smb_panic2(1495)
  PANIC: internal error
[2005/06/15 11:40:02, 0] lib/util.c:smb_panic2(1503)
  BACKTRACE: 39 stack frames:
   #0 /usr/sbin/smbd(smb_panic2+0x111) [0x81eb301]
   #1 /usr/sbin/smbd(smb_panic+0x1a) [0x81eb1ea]
   #2 /usr/sbin/smbd [0x81d7368]
   #3 [0xffffe420]
   #4 /lib/tls/libc.so.6(abort+0x1d2) [0xb7d61fa2]
   #5 /lib/tls/libc.so.6(__assert_fail+0x10f) [0xb7d5a2df]
   #6 /usr/lib/liblber.so.2(ber_get_next+0xfd) [0xb7fa637d]
   #7 /usr/lib/libldap_r.so.2 [0xb7fbb096]
   #8 /usr/lib/libldap_r.so.2 [0xb7fbada5]
   #9 /lib/libnss_ldap.so.2 [0xb7a14f8a]
   #10 /lib/libnss_ldap.so.2 [0xb7a14b7a]
   #11 /lib/libnss_ldap.so.2 [0xb7a18507]
   #12 /lib/libnss_ldap.so.2 [0xb7a1836a]
   #13 /lib/libnss_ldap.so.2 [0xb7a15552]
   #14 /lib/libnss_ldap.so.2 [0xb7a16093]
   #15 /lib/libnss_ldap.so.2(_nss_ldap_initgroups_dyn+0x14c) [0xb7a186cc]
   #16 /lib/tls/libc.so.6 [0xb7ddeb54]
   #17 /lib/tls/libc.so.6(initgroups+0x6b) [0xb7ddea4b]
   #18 /usr/sbin/smbd [0x81cd7f4]
   #19 /usr/sbin/smbd [0x81cd9c4]
   #20 /usr/sbin/smbd(getgroups_user+0x46) [0x81cdb16]
   #21 /usr/sbin/smbd(pdb_default_enum_group_memberships+0x29) [0x81cdc59]
   #22 /usr/sbin/smbd [0x81c1765]
   #23 /usr/sbin/smbd [0x81b5864]
   #24 /usr/sbin/smbd(pdb_enum_group_memberships+0x4e) [0x81b70fe]
   #25 /usr/sbin/smbd [0x822b112]
   #26 /usr/sbin/smbd [0x822b26e]
   #27 /usr/sbin/smbd(make_server_info_sam+0x140) [0x822b560]
   #28 /usr/sbin/smbd [0x82262b4]
   #29 /usr/sbin/smbd [0x82265b1]
   #30 /usr/sbin/smbd [0x82239ff]
   #31 /usr/sbin/smbd(reply_sesssetup_and_X+0x689) [0x80b1559]
   #32 /usr/sbin/smbd [0x80d7a76]
   #33 /usr/sbin/smbd [0x80d7d00]
   #34 /usr/sbin/smbd(process_smb+0x8c) [0x80d7f0c]
   #35 /usr/sbin/smbd(smbd_process+0x168) [0x80d8c58]
   #36 /usr/sbin/smbd(main+0x505) [0x82655f5]
   #37 /lib/tls/libc.so.6(__libc_start_main+0xf4) [0xb7d4d974]
   #38 /usr/sbin/smbd [0x8079b01]


Seems a trouble with samba<->ldap interaction, but i was not able to
reproduce the bug, i've only note that crash the smbd instance used by
the same windows box/user, 3/5 time in sequence, and then nothing more.

I've no received complain at all, users seems not aware of this bug.


If some more help needed, please say me.

- -- 
dott. Marco Gaiarin                                 GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  gaio(at)sv.lnf.it             tel +39-0434-842711    fax +39-0434-842797

        Per favore, aiutate gli Stati Uniti a salvarsi dai brevetti sul
                 software, salvando innanzitutto voi stessi.
                http://punto-informatico.it/p.asp?i=52786&p=2
_______________________________________________
Samba-it mailing list
[EMAIL PROTECTED]
https://lists.xsec.it/mailman/listinfo/samba-it

----- End forwarded message -----

-- 
dott. Marco Gaiarin                                 GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  gaio(at)sv.lnf.it             tel +39-0434-842711    fax +39-0434-842797

        Per favore, aiutate gli Stati Uniti a salvarsi dai brevetti sul
                 software, salvando innanzitutto voi stessi.
                http://punto-informatico.it/p.asp?i=52786&p=2


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to