13.07.2015 Views

Qtractor - An Audio/MIDI multi-track sequencer - rncbc.org

Qtractor - An Audio/MIDI multi-track sequencer - rncbc.org

Qtractor - An Audio/MIDI multi-track sequencer - rncbc.org

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

27. Appendix I: Debugging <strong>Qtractor</strong>Although <strong>Qtractor</strong> is a mostly stable program, there could be problems that eventually showup. This short guide will explain to you how to build <strong>Qtractor</strong> with debugging code built in,making it easier to locate where the code exhibits problems.Rebuild it all from scratch, with:./configure ­­enable­debug && makeEnable core dumps in a shell session:ulimit ­c unlimitedFrom the same shell comman line, run the program until it crashes. You'll seesomething like this in the output when it happens:Segmentation fault (core dumped)Locate the dumped core file. Depending on your environmental settings it might bejust named core or something like core.1234 (1234 is the process­id number ofthe crashing program) located on the last directory the program was current.Load the core dump file into gdbgdb ./qtractor /path/to/coreat the gdb prompt just enter:gdb> bt<strong>org</strong>db> thread apply all btqtractor­0.1.3­user­manual 27 of 38

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!