Sometimes it happen that some application crash without give no output error (conky in my case, probably is one of my configuration that is incorrect).
Is there somewhere a error log that I can check to understand why it is crashed?
|
Sometimes it happen that some application crash without give no output error (conky in my case, probably is one of my configuration that is incorrect). Is there somewhere a error log that I can check to understand why it is crashed? |
||||
|
|
|
Depends on the application. Different applications have different logging systems; there's no one central log that contains all the output from all the programs that run on your system. That being said, a lot of programs do put their log files in the directory |
|||
|
|
|
crash files go into This is all assuming you're a programmer. If you're not...well, you can't fix the crash anyway! |
|||||||||||||
|
|
you can go to |
|||
|
|
|
Some applications have flags that can be used to turn on debugging, such as -d, -D, --debug, etc. Check the application's man page ( Many GUI apps write into $HOME/.xsession-errors so that's a good place to check for output. maco's right that apport is probably the most sure-fire way to get good debug info. Sometimes it doesn't capture the crash, though. If all else fails, you can also force the info out of it by running the app in gdb. It'd be something like:
... do whatever is needed to get it to crash ...
and go from there. If you go the gdb route you'll also want to install symbols, as mentioned previously. See https://wiki.ubuntu.com/DebuggingProgramCrash for handholding advice. |
||||
|
|