Issue Details (XML | Word | Printable)

Key: CORE-1558
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Alexander Peshkov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Help people get core files in case of abort() on BUGCHECK

Created: 02/Nov/07 08:24 AM   Updated: 26/Dec/07 12:49 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 2.1 RC1, 2.0.4

Time Tracking:
Not Specified

Environment: unix


 Description  « Hide
We have config parameter BugcheckAbort, making it possible not to try to continue server operation after bugcheck (which is hardly possible in most cases), but abort() at once, providing useful debug information - core file. But in many cases system is setup by default not to dump core at all. Users often have troubles, moreover setup using OS tools may differ for classic/super cases.

In order to avoid such problems, it's better to make firebird to as much as possible to create core file on BUGCHECK.


 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alexander Peshkov added a comment - 05/Nov/07 08:28 AM
Added code, making firebird server to change working directory to (as for the rule) writable location (/tmp) and setting soft core file size limit equal to hard limit. In release version it's done only when BugcheckAbort is true. In devel version it's done always.