[m-dev.] hang-up in C-code in asm_fast.gc.prof

Zoltan Somogyi zs at csse.unimelb.edu.au
Fri May 25 13:58:12 AEST 2007


On 24-May-2007, Ondrej Bojar <bojar at csse.unimelb.edu.au> wrote:
> 
> 2-grams: reading 638323 entries
> 
> Breakpoint 1, removefile (filePath=@0x7fffd8a71840) at util.cpp:51
> 51        sprintf(cmd,"rm %s",filePath.c_str());
> Current language:  auto; currently c++
> (gdb) step
> 52        system(cmd);
> (gdb) step
> <hangs forever>

Are you sure rm isn't simply waiting for confirmation? You can check
by replacing rm with rm -f.

Zoltan.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at csse.unimelb.edu.au
Administrative Queries: owner-mercury-developers at csse.unimelb.edu.au
Subscriptions:          mercury-developers-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the developers mailing list