Re: execv() terminates a program
From: Anand Agrawal \(agrawala\) (agrawala_at_cisco.com)
Date: 06/27/03
- Next message: Alex Sisson: "Re: Why does my program change the characters in my shell"
- Previous message: Jens.Toerring_at_physik.fu-berlin.de: "Re: execv() terminates a program"
- In reply to: Evgeny Baskakov: "execv() terminates a program"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 27 Jun 2003 17:30:14 +0530
i guess due to some error in code the memory is getting overwritten and
hence program terminates.
as told, it will be good if you can paste part of the code.
"Evgeny Baskakov" <jek_bask@ngs.ru> wrote in message
news:6d6ae531.0306270328.3b1887cf@posting.google.com...
> I have a program that uses threads (Linux, pthread 0.10).
> One thread asks to another one, called "Forker", to execute an
> application, given by a filename. The Forker thread calls fork()
> function and then the child process calls execv() function.
>
> Regardless of expectation, the application not starts, and my
> program immediately terminates with 0 exitcode.
>
> I not understand a thing. Someone can explain me this strange
> bahavior?
>
> Excuse my English, please.
>
> I will be very grateful for any help.
- Next message: Alex Sisson: "Re: Why does my program change the characters in my shell"
- Previous message: Jens.Toerring_at_physik.fu-berlin.de: "Re: execv() terminates a program"
- In reply to: Evgeny Baskakov: "execv() terminates a program"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|