No subject
Tue Dec 2 04:10:01 GMT 2003
dumps on smb_panic regardless of platform since it skips exit_server
(I'm still confused on when exactly exit_server _is_ called
if smb_panic does the abort() itself, but that's probably just me).
I still haven't figured out where exactly someone tells the system
'don't core dump on me', I'm guessing it's just done using a setrlimit
for the core size to 0 somewhere, but I still haven't found it.
Nir.
--
Nir Soffer -=- Software Engineer, Exanet Inc. -=-
"Father, why are all the children weeping? / They are merely crying son
O, are they merely crying, father? / Yes, true weeping is yet to come"
-- Nick Cave and the Bad Seeds, The Weeping Song>
------_=_NextPart_001_01C23732.886307B0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>RE: [Samba] Strange crashes and disconnection from PDC?</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>Maybe the core dump is done by the OS by default when =
the SIGSEGV signal is not handled by the process. Because Samba handles =
the signal to do the panic action, the system doesn't fall into the =
core dumping routine. Perhaps if, at the end of the exit routine, Samba =
dropped the handler for the SIGSEGV signal handler, and re-sent the =
same signal to itself, the core file would be dumped after the =
exit.</FONT></P>
<P><FONT SIZE=3D2>To set the core file size, use "ulimit -c =
size". Read it with "ulimit -c". Setting it to zero =
prevents core dumps. Note that I don't get core dumps from Samba, but I =
do from other programs, so this is probably not the issue.</FONT></P>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Nir Soffer [<A =
HREF=3D"mailto:nirs at exanet.com">mailto:nirs at exanet.com</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Monday, July 29, 2002 2:49 AM</FONT>
<BR><FONT SIZE=3D2>To: Richard Sharpe</FONT>
<BR><FONT SIZE=3D2>Cc: Andrew Bartlett; =
samba-technical at samba.org</FONT>
<BR><FONT SIZE=3D2>Subject: RE: [Samba] Strange crashes and =
disconnection from PDC?</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> On Sun, 28 Jul 2002, Nir Soffer wrote:</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> Hmmm, so you do not get core files on your =
platform either? Is this </FONT>
<BR><FONT SIZE=3D2>> FreeBSD or something else? </FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> I am experiencing the same on FreeBSD, and =
</FONT>
<BR><FONT SIZE=3D2>> haven't had time to look into this, as other =
techniques could </FONT>
<BR><FONT SIZE=3D2>> give me the </FONT>
<BR><FONT SIZE=3D2>> info I wanted, but corefiles will be needed for =
customer installs.</FONT>
</P>
<P><FONT SIZE=3D2>I'm using Linux here...</FONT>
</P>
<P><FONT SIZE=3D2>From the little I have understood of the code - there =
are never core</FONT>
<BR><FONT SIZE=3D2>dumps on smb_panic regardless of platform since it =
skips exit_server</FONT>
<BR><FONT SIZE=3D2>(I'm still confused on when exactly exit_server _is_ =
called </FONT>
<BR><FONT SIZE=3D2>if smb_panic does the abort() itself, but that's =
probably just me). </FONT>
<BR><FONT SIZE=3D2>I still haven't figured out where exactly someone =
tells the system </FONT>
<BR><FONT SIZE=3D2>'don't core dump on me', I'm guessing it's just done =
using a setrlimit</FONT>
<BR><FONT SIZE=3D2>for the core size to 0 somewhere, but I still =
haven't found it.</FONT>
</P>
<P><FONT SIZE=3D2>Nir.</FONT>
</P>
<P><FONT SIZE=3D2>--</FONT>
<BR><FONT SIZE=3D2>Nir Soffer -=3D- Software Engineer, Exanet Inc. =
-=3D-</FONT>
<BR><FONT SIZE=3D2>"Father, why are all the children weeping? / =
They are merely crying son</FONT>
<BR><FONT SIZE=3D2> O, are they merely crying, father? / Yes, true =
weeping is yet to come"</FONT>
<BR><FONT SIZE=3D2> -- Nick =
Cave and the Bad Seeds, The Weeping Song> </FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C23732.886307B0--
More information about the samba-technical
mailing list