[Xitami] Xitami crashing after FTP
Ewen McNeill
xitami@lists.xitami.org
Wed, 10 Jul 2002 11:53:44 +1200
In message <3.0.6.32.20020709090519.00a5c4c8@mail.shininglightpro.com>, "Thomas
J. Hruska" writes:
>>Clean-memory assertion failed - xitami.c (208)
>
>This is (strangely) located at the end of Xitami's execution in main().
>I'm surprised the program got that far. However, it is due to Xitami
>attempting to use or access memory it doesn't own or no longer owns.
FWIW, no, what it means is that the memory usage tracking in the
library that Xitami uses (SFL) has detected that not all the memory
allocated has been freed up. Typically this means that not all the
"free my memory" logic has been run, which often happens in a crash
situation. This is primarily present in the code for the benefit of
developers, because if not all memory gets given back each time it is
taken, then eventually the program will take all the memory in the
system! (It's enabled in the "user" versions as well to try to catch
those hard-to-find situations that occur only for real users.)
>>Abnormal program termination
>
>It looks like the program exited but then the CPU took over and realized a
>memory fault took place during the clean-memory scan.
>
>>core dumped
>
>Hence, the core dump. So much for avoiding it...
These two are actually _caused_ by the clean memory assertion failing;
the state of the program in that situation is saved to help in tracking
down where things might have gone astray. This is mostly only of use to
developers though, who can match it up with their source code.
Ewen
--
Ewen McNeill, Technical Consultant, iMatix Corporation www.imatix.com