Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| apps:xfburn:start [2024/12/11 10:27] – kevinbowen | apps:xfburn:start [2026/11/13 12:31] (current) – [Debugging] Sync Debugging section with project's README.md epetriglia | ||
|---|---|---|---|
| Line 18: | Line 18: | ||
| ===== Introduction ===== | ===== Introduction ===== | ||
| - | Xfburn is a simple CD/ | + | Xfburn is a simple CD/ |
| For more detailed information, | For more detailed information, | ||
| Line 123: | Line 122: | ||
| ===== Debugging ===== | ===== Debugging ===== | ||
| - | If xfburn crashes, freezes, or somehow makes no progress for you, then you can | + | If xfburn crashes, freezes, or somehow makes no progress for you, then you can help greatly in debugging the problem. It does require you to build xfburn from the sources, and to install gdb. If you can handle that, here are the exact instructions: |
| - | help greatly in debugging the problem. It does require you to build xfburn from | + | |
| - | the sources, and to install gdb. If you can handle that, here are the exact | + | 1. Rebuild xfburn with debugging support - grab the sources, and run: |
| - | instructions: | + | |
| + | $ meson setup build | ||
| + | $ meson compile -C build | ||
| - | 1. Rebuild xfburn with debugging support - grab the sources, and run (you can update | ||
| - | `-j4` to match your core count): | ||
| - | ``` | ||
| - | $ autoconf | ||
| - | $ ./configure && make clean all -j4 | ||
| - | ``` | ||
| 2. Enable core dumps, then run xfburn until it hangs, or crashes: | 2. Enable core dumps, then run xfburn until it hangs, or crashes: | ||
| - | ``` | + | |
| $ ulimit -c unlimited; xfburn/ | $ ulimit -c unlimited; xfburn/ | ||
| - | ``` | + | |
| - | 3. From another terminal, kill xfburn (only if it hasn't crashed already, of coures) | + | 3. From another terminal, kill xfburn (only if it hasn't crashed already, of course) |
| - | ``` | + | |
| $ kill -SEGV `pidof xfburn` | $ kill -SEGV `pidof xfburn` | ||
| - | ``` | + | |
| - | 4. Get a backtrace from the coredump: | + | 4. Get a backtrace from the coredump |
| - | ``` | + | |
| $ gdb xfburn/ | $ gdb xfburn/ | ||
| - | ``` | + | |
| - | (Note that sometimes the core.xxxxxx file is just called core, and that 32270 is | + | |
| - | just an arbitrary number which was the process id - yours will be different) | + | 5. Open up a bug report at our [[: |
| - | 5. Open up a bug report at our [[: | + | |
| - | both the xfburn.output and the xfburn.backtrace files to it. Done! | + | |
| - | There is no need to attach the core dump, as it is heavily system dependent. | + | |
| [[|Back to Top]] | [[|Back to Top]] | ||