crash when run out of memory
From: jy (jy_austin_at_yahoo.com)
Date: 10/29/04
- Next message: DaKoadMunky: "Re: Don't no whether to laugh"
- Previous message: Alex Vinokur: "Casting struct to char array (was: Linked List problem)"
- Next in thread: Artie Gold: "Re: crash when run out of memory"
- Reply: Artie Gold: "Re: crash when run out of memory"
- Reply: Karthik Kumar: "Re: crash when run out of memory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Oct 2004 14:11:44 -0700
I have a C++ program which is "purify" clean, but crashes (called terminate)
when run out of memory on linux 2.4.27. From the core file, the crashes happen
after I throw an exception (after malloc returns null), and the stack winding
was calling the destructor of a large object. What's the genearl guidlines for
debugging, fixing, or at least making it a graceful exit than a crash?
Thanks,
-jy
- Next message: DaKoadMunky: "Re: Don't no whether to laugh"
- Previous message: Alex Vinokur: "Casting struct to char array (was: Linked List problem)"
- Next in thread: Artie Gold: "Re: crash when run out of memory"
- Reply: Artie Gold: "Re: crash when run out of memory"
- Reply: Karthik Kumar: "Re: crash when run out of memory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|