Steve Langasek <[EMAIL PROTECTED]> hit the keyboard.
Afterwards the following was on the screen:

> On Fri, Apr 01, 2005 at 10:16:28AM +0200, Rasmus Bøg Hansen wrote:
>> > If you run without -i, does this crash result in a crash entry being 
>> > written
>> > to your samba log files?  If so, can you send us a copy?  If not, can you
>> > run smbd under gdb instead of strace and send us the backtrace from there?
>
>> [2005/03/31 16:27:14, 0] lib/fault.c:fault_report(38)
>>   ===============================================================
>> [2005/03/31 16:27:14, 0] lib/fault.c:fault_report(39)
>>   INTERNAL ERROR: Signal 11 in pid 14164 (2.2.3a-14.2 for Debian)
>>   Please read the file BUGS.txt in the distribution
>> [2005/03/31 16:27:14, 0] lib/fault.c:fault_report(41)
>>   ===============================================================
>> [2005/03/31 16:27:14, 0] lib/util.c:smb_panic(1105)
>>   PANIC: internal error
>
>> Again, if you need more info, let me know and I wil try to send it!
>
> I'm afraid that the above doesn't actually count as a useful crash entry.
> Please run smbd under gdb instead (gdb smbd; run -i; bt) and send us the
> results.

I was afraid so.

The binary in the samba package is stripped, so I downloaded the
source (apt-get source samba), built it (debuild) and ran the
unstripped binary (samba-2.2.3a/source/bin/smbd):

--- gdb backtrace begin ---
[EMAIL PROTECTED]:~# gdb /tmp/samba-2.2.3a/source/bin/smbd 
GNU gdb 2002-04-01-cvs
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...(no debugging symbols found)...
(gdb) r -i
Starting program: /tmp/samba-2.2.3a/source/bin/smbd -i
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
smbd version 2.2.3a-14.2 for Debian started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
INFO: Debug class all level = 2   (pid 808 from pid 808)
Processing section "[homes]"
Processing section "[Public]"
Processing section "[Upload]"
Processing section "[itudvalg]"
Processing section "[bestyrelse]"
Processing section "[introudvalg]"
Processing section "[fest-kultur]"
Processing section "[centerledelse]"
added interface ip=172.16.0.3 bcast=172.31.255.255 nmask=255.240.0.0
waiting for a connection
(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x400bebd4 in free () from /lib/libc.so.6
(gdb) bt
#0  0x400bebd4 in free () from /lib/libc.so.6
#1  0x400beaa3 in free () from /lib/libc.so.6
#2  0x0811df7c in talloc_destroy ()
#3  0x08089455 in lp_talloc_free ()
#4  0x0804bd4d in open_sockets ()
#5  0x0804cc7b in main ()
#6  0x4006914f in __libc_start_main () from /lib/libc.so.6
(gdb) c
Continuing.
===============================================================
INTERNAL ERROR: Signal 11 in pid 808 (2.2.3a-14.2 for Debian)
Please read the file BUGS.txt in the distribution
===============================================================
PANIC: internal error

Program received signal SIGABRT, Aborted.
0x40079781 in kill () from /lib/libc.so.6
(gdb) bt
#0  0x40079781 in kill () from /lib/libc.so.6
#1  0x40079464 in raise () from /lib/libc.so.6
#2  0x4007abe1 in abort () from /lib/libc.so.6
#3  0x0811a42f in smb_panic ()
#4  0x08109e42 in fault_report ()
#5  0x08109e95 in sig_fault ()
#6  0x400796b8 in sigaction () from /lib/libc.so.6
#7  0x400beaa3 in free () from /lib/libc.so.6
#8  0x0811df7c in talloc_destroy ()
#9  0x08089455 in lp_talloc_free ()
#10 0x0804bd4d in open_sockets ()
#11 0x0804cc7b in main ()
#12 0x4006914f in __libc_start_main () from /lib/libc.so.6
(gdb)
--- gdb backtrace end ---

I hope this will help more!

Regards
/Rasmus

-- 
-- [ Rasmus "Møffe" Bøg Hansen ] ---------------------------------------
The reason we come up with new versions is not to fix bugs.
                                              -- Bill Gates
----------------------------------------------[ moffe at zz9 dot dk ] --


Reply via email to