fatemeh.mirjani wrote: > Dear all; > > I have envisaged a problem in my program and many a time I worked on > it but I couldn't find the mistake. When I call the subroutine, the > program runs until end of subroutine, but it cannot comes out of the > subroutine. (the next command after calling the subroutine in the main > program doesn't run.) you can see the error of run at below. > Have you ever seen this error? Yes. Go to http://valgrind.org/ Andrew.