Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
frequently_asked_questions [2011/04/04 02:03] michael [Frequently Asked Questions for Rosegarden Thorn and Later] |
frequently_asked_questions [2021/04/02 01:47] tedfelix [How to get a stack trace for a crash] |
| |
====How to get a stack trace for a crash==== | ====How to get a stack trace for a crash==== |
| |
| First, make sure you are running a version of rosegarden that was built with debugging turned on. |
| |
| <code> |
| -DCMAKE_BUILD_TYPE=Debug |
| </code> |
| |
| Without debugging, there will be no symbols in the binary, and the backtrace will be useless. You'll likely need to build rosegarden on your own to get a debug version. Instructions can be found here: [[dev:Building Rosegarden from Source]] |
| |
Open a terminal window, and check to ensure that applications will be able to produce core dumps. The exact command and syntax may vary from shell to shell, but for bash it is ''ulimit -a'': | Open a terminal window, and check to ensure that applications will be able to produce core dumps. The exact command and syntax may vary from shell to shell, but for bash it is ''ulimit -a'': |
| |
</code> | </code> |
| |
Now start rosegarden from the command line, and reproduce the crash. You should now have a core file in your current directory. The core file is either named **core** or **core.<//number//>**. | Now start a **debug version** of rosegarden from the command line, and reproduce the crash. You should now have a core file in your current directory. The core file is either named **core** or **core.<//number//>**. |
| |
Run ''gdb'': | Run ''gdb'': |
| |
This is a complicated example, but many more are much less complicated. For a list of shortcut key names see: [[http://doc.trolltech.com/4.6/qkeysequence.html]] | This is a complicated example, but many more are much less complicated. For a list of shortcut key names see: [[http://doc.trolltech.com/4.6/qkeysequence.html]] |
| |
| ====How do I prevent Rosegarden splitting long notes when recording?==== |
| |
| There is a setting for that: |
| |
| Edit -> Preferences -> Notation -> [ ] When ... split-and-tie long ... |
| |