On Wednesday, 17 בMay 2006 08:44, Michael Sternberg wrote:
How can I manage core dump files ? I'm looking for some way to name them
differently, so next one will not be written over the previous
$ echo 1 /proc/sys/kernel/core_uses_pid
Will make corefiles named 'core.12345' where 12345 is
On 5/17/06, Michael Sternberg [EMAIL PROTECTED] wrote:
How can I manage core dump files ? I'm looking for some way to name them
differently, so next one will not be written over the previous and maybe
to give some information in core dump file name (version of application,
You can get the
Michael Sternberg wrote:
Thanks.
P.S. There IS a way to do this in M$ Windows :)
Do tell!
I was looking for a way to dump core on Windows.
All I know is the annoying GPF dialogs, that contain a subset of the
information available in a core, and from which you cannot even
copy/paste the
Michael Sternberg wrote:
How can I manage core dump files ? I'm looking for some way to name them
differently, so next one will not be written over the previous and maybe
to give some information in core dump file name (version of application,
date of core dump creation, etc..). It can be
Thanks everybody. The correct solutions was to use
/proc/sys/kernel/core_pattern as Gilad has suggested. Still, it affects
whole system and does not allows to change core dump file name for a
single application only. Also, as far as I know, it does not works in
2.4.xx kernels.
If anybody
Michael Sternberg wrote:
In Windows you can use MiniDumpWriteDump() API together with __try and
__catch M$ proprietary operators.. Read more in
http://www.codeproject.com/debug/XCrashReportPt3.asp or
http://www.debuginfo.com/examples/src/effminidumps/MiniDump.cpp
So it's VisualStudio.Net
No, its not a VisualStudio.Net extension. I'm using it happily in VS 6.0
and gather core dump files in W2K.
All you need - is supply dbghelp.dll with your application and to get
pointer to MiniDumpWriteDump from there with LoadLibrary and
GetProcAddress..
But we're WAY OUT OFF TOPIC for
How can I manage core dump files ? I'm looking for some way to name them
differently, so next one will not be written over the previous and maybe
to give some information in core dump file name (version of application,
date of core dump creation, etc..). It can be from crashing application