[gvd-users] Problem debugging multi-process program

Levi Segev gvd-users@lists.act-europe.fr
Tue, 9 Jul 2002 13:19:22 +0300


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C22731.CB473A1E
Content-Type: text/plain;
	charset="windows-1255"

Hi all, 

Sorry about the HTML thing...

I'm working on Linux Red Hat 7.2 with gcc version 2.96. 
I'm trying to debug a multi-process (right now I managed to reduce it to two
processes only) program. 
When I try to debug it with gvd, the child process (I'm using fork) seems to
crash somehow and dump core in it first line (print to screen!).
I also tried to skip debugging the child process, so I tried gdb. The child
process still did not run, but did not create a core.
Why does the child process never manages to run when I debug it? 
Do I have to link a special library with it in order to be able to let it
run/debug it? 
Thanks in advance, 


Segev Levi 
MARS Open Platform Team Leader 
InCom Division, Comverse 
Tel: +972-3-7655497 
Fax: +972-3-6458923 
<mailto:Segev.Levi@comverse.com> 




------_=_NextPart_001_01C22731.CB473A1E
Content-Type: text/html;
	charset="windows-1255"
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=3Dwindows-1255">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2655.35">
<TITLE>Problem debugging multi-process program</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hi all, </FONT>
</P>

<P><FONT SIZE=3D2>Sorry about the HTML thing...</FONT>
</P>

<P><FONT SIZE=3D2>I'm working on Linux Red Hat 7.2 with gcc version =
2.96. </FONT>
<BR><FONT SIZE=3D2>I'm trying to debug a multi-process (right now I =
managed to reduce it to two processes only) program. </FONT>
<BR><FONT SIZE=3D2>When I try to debug it with gvd, the child process =
(I'm using fork) seems to crash somehow and dump core in it first line =
(print to screen!).</FONT></P>

<P><FONT SIZE=3D2>I also tried to skip debugging the child process, so =
I tried gdb. The child process still did not run, but did not create a =
core.</FONT></P>

<P><FONT SIZE=3D2>Why does the child process never manages to run when =
I debug it? </FONT>
<BR><FONT SIZE=3D2>Do I have to link a special library with it in order =
to be able to let it run/debug it? </FONT>
<BR><FONT SIZE=3D2>Thanks in advance, </FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Segev Levi </FONT>
<BR><FONT SIZE=3D2>MARS Open Platform Team Leader </FONT>
<BR><FONT SIZE=3D2>InCom Division, Comverse </FONT>
<BR><FONT SIZE=3D2>Tel: +972-3-7655497 </FONT>
<BR><FONT SIZE=3D2>Fax: +972-3-6458923 </FONT>
<BR><FONT SIZE=3D2>&lt;<A =
HREF=3D"mailto:Segev.Levi@comverse.com">mailto:Segev.Levi@comverse.com</=
A>&gt; </FONT>
</P>
<BR>
<BR>

</BODY>
</HTML>
------_=_NextPart_001_01C22731.CB473A1E--