|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
||||
how can I get a core file out of this program
I've taken an interest in a Qt/Webkit based browser called Arora, the only major problems being it loads pages slow as crap and occasionally crashes (without core file). It has a great restore-last-session feature, but I'd rather know what causes the crash. The only way I can think of to go about it, compile it with debugging information and do a postmortem on it after a crash.
My shell session and default login class are granted unlimited size on core file sizes, but how do I actually make the process dump core whenever it crashs?
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
||||
Compiling it with debugging information is the easy part ;-)
attaching gdb to it at run time though, I don't think is something I want to do. The crashes happen intermitently as if for know reason, and I've yet to get enough data to try and track down what causes it based on input. Attaching GDB seems to "lock" the program so to speak; killing the ability to run Arora interactively, which would make it trickier to debug without having to generate a simulation by scripting gdb.
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
||||
Ahh, found it.
# sysctl kern.core=1 core dumps on, thanks.
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
Tags |
browser crash, core files |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PHP read file contents - Maximum file size | cksraj | Programming | 1 | 21st September 2009 11:38 AM |
Sftp Bus error: 10 (core dumped) | smokem | FreeBSD General | 0 | 21st April 2009 12:45 PM |
PHP Dumping Core Every 15 seconds?? | Michael | FreeBSD General | 2 | 21st June 2008 08:17 PM |
mc core dump in root | sheriff26 | FreeBSD General | 4 | 21st June 2008 07:56 PM |
Dual core and FreeBSD | ViperChief | FreeBSD General | 13 | 2nd June 2008 08:30 PM |