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
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 enabledebug && 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 processid 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 btqtractor0.1.3usermanual 27 of 38