Re: core files (was Re: 2.1.131: some quality thoughts)

Albert D. Cahalan (acahalan@cs.uml.edu)
Mon, 28 Dec 1998 17:37:44 -0500 (EST)


>> So use a debugger that just logs the error.
>> Other people could certainly use a bit more
>> ease-of-use than a dumb core file.
>
> I would absolutely hate this. I personally like core files and find them
> very useful. I would be upset if I had to go through the overhead of
> starting any debugger when a program dropped core.

ROTFL! Most people need a debugger to analyse a core file.
If you just want the core file:
dd if=/dev/null or=/core bs=1k count=42

> I don't understand the comment about ease of use of a core file.
> A core file on its own is not something you use, you use a tool

Most people don't know what tool to use, wouldn't be able to use
the tool anyway, wouldn't know what a core file is, and wouldn't
even know that a core file gets dumped.

Developers don't get very good bug reports from such people.
With a user-oriented crash info tool, normal humans could provide
decent bug reports. Obviously a serious developer would start ddd
instead of the crash info tool. Tech support would want a tool that
sends email.

Core files are just not good. Once a program cores, all the file
descriptors are closed. All the interprocess relationships are
destroyed. You can't debug as well after all the connections
are severed.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/