[Samba] internal error: signal 11

jra at dp.samba.org jra at dp.samba.org
Fri Nov 1 18:15:01 GMT 2002


On Fri, Nov 01, 2002 at 01:46:30PM +0000, Gerhard Vögel wrote:
> >>>>>>>>>>>>>>>>>> Ursprüngliche Nachricht <<<<<<<<<<<<<<<<<<
> 
> Am 30.10.02, 17:56:54, schrieb jra at dp.samba.org zum Thema Re: [Samba] 
> internal error: signal 11:
> 
> > On Wed, Oct 30, 2002 at 11:35:42AM +0000, Gerhard Vögel wrote:
> > > Hello,
> > >
> > > we got the following error in the samba logs:
> > >
> > > Oct 30 06:29:01 hornbill smbd[12783]: [2002/10/30 06:29:01, 0]
> > > lib/fault.c:fault_report(38)
> > > Oct 30 06:29:01 hornbill smbd[12783]:
> > > ===============================================================
> > > Oct 30 06:29:01 hornbill smbd[12783]: [2002/10/30 06:29:01, 0]
> > > lib/fault.c:fault_report(39)
> > > Oct 30 06:29:01 hornbill smbd[12783]:   INTERNAL ERROR: Signal 11 in pid
> > > 12783 (2.2.6-SuSE)
> > > Oct 30 06:29:01 hornbill smbd[12783]:   Please read the file BUGS.txt in
> > > the distribution
> > > Oct 30 06:29:01 hornbill smbd[12783]: [2002/10/30 06:29:01, 0]
> 
> > Can you add the following to the smb.conf file :
> > In the [global] section add :
> 
> > panic action = /bin/sleep 99999
> 
> > and then when this occurs attach to the frozen smbd process
> > with gdb. Once attached, type "bt" (backtrace) at the gdb
> > prompt and then mail in the backtrace. Please ensure smbd is
> > built with symbols.
> 
> > This will help us track down and fix the bug.
> 
> I followed Renés suggestion to produce a signal 11 internal error with 
> rpcclient (Thanks). It worked, but I'm not shure it's the same reason 
> causing this error. Backtrace is appended. Panic action is still set to 
> catch the original error.
> 
> I also rebuild samba from source without suse patches and tried the same 
> action. It produced the same error.

Thanks for this. I already fixed this bug in the Samba CVS. Here is the
patch if you'd like to test it.

Thanks,

	Jeremy.


--- printing/nt_printing.c.orig Fri Nov  1 10:12:25 2002
+++ printing/nt_printing.c      Fri Nov  1 10:12:35 2002
@@ -664,6 +664,12 @@
        int i=-1;

        DEBUG(107,("Getting architecture dependant directory\n"));
+
+       if (long_archi == NULL) {
+               DEBUGADD(107,("Bad long_archi param.!\n"));
+               return False;
+       }
+
        do {
                i++;
        } while ( (archi_table[i].long_archi!=NULL ) &&




More information about the samba mailing list