Skip to main content

when specifying dump-file there is several options:
1 The run-time system produces a core file when any exception is received that would normally produce a core file on the host system; for example, a run-time system error COBRT114, and so on.
2 The run-time system produces a core file when any run-time system error occurs. After writing out the core file the process terminates immediately.
3 The run-time system produces a snap shot core file when any run-time system error occurs. After writing out the core file the process continues as normal; for example, to display an RTS error message.

1 will rts continue or stop?
2 I saw a note that this can corrupt files, any more info on this? This is default value with cblcored when choose dump-file with prompt
3 difference between snapshot core and core (2 or 1)?


#coredump

when specifying dump-file there is several options:
1 The run-time system produces a core file when any exception is received that would normally produce a core file on the host system; for example, a run-time system error COBRT114, and so on.
2 The run-time system produces a core file when any run-time system error occurs. After writing out the core file the process terminates immediately.
3 The run-time system produces a snap shot core file when any run-time system error occurs. After writing out the core file the process continues as normal; for example, to display an RTS error message.

1 will rts continue or stop?
2 I saw a note that this can corrupt files, any more info on this? This is default value with cblcored when choose dump-file with prompt
3 difference between snapshot core and core (2 or 1)?


#coredump

Taking the questions in turn.

1. When using option 1 or option 2, the rts stops immediately after creating the the core file.  Using option 3, the rts continues processing as best it can after creating the core file.

2. I'm not familiar with the note to which you refer: my interpretation would be that it's simply pointing out that if a runtime error occurs in the middle of file operations, it is possible that files can end up in an inconsistent states.  After all, the program has crashed, so it is not surprising that bad things have happened!

3. The core files produced are the same.  The word "snapshot" is only used to indicate that, under option 3, processing continues after creating the core file.