Greetings,
I have a small C program that creates a window (Using GTK+) and uses that window to play files using gstreamer. It plays some videos, and puts images between videos for a few seconds. Kind of media player, but very simple. Since I wanted it to be respawned if it failed (If some video is not found, for the moment, C program simply fails, respawns, and play the next file -Plays a list of movies-) I put the C program inside a while in a bash script. The bash script calls the C program, and when this exits, waits 5 seconds and respawns the program. Usually, this works like a charm. But I have found a problem, since with some videos I get some errors with MemMgr_Free. This seems to be a sign of memory leakage (Sorry if I am being terribly wrong, still a newbie with just windows experience). Well, point is, I tried to kill the process, since with this fault, program does not end, just freeze. But when I kill the program after this has happened, it stays "zombie" (Seems to be the usual word for defunct processes). Googling it points to the father as the one to blame, but... Since it works when C program behaves normally... I am not sure.
The machine running this program is far away, so I can only access via SSH. Any hint, pointers, anything else? As I have already said, I am just a windows newbie, and electronics engineer, not I.T. guy, so this scares me a lot. Specially when involving zombies
Oh, setup of the system:
Hardware: Pandaboard (I know that I should ask there, but does not seem to me as hardware-related)
Software: Ubuntu 11.10 (Kernel 3.1.0)
Lastly, cat /proc/meminfo shows "MemFree: 289664 kB", so the memory leakage (If it's that) has not left the system without any memory.
As with my other posts, please forgive the mistakes in the written text. Feel free to point anything that is wrongly said, as I am not english speaker, but always want to improve my skills.
Thanks in advance!