Re: Question regarding debugging with gdb

2021-12-28 Thread Mamoru TASAKA
JT wrote on 2021/12/28 23:22: I didn't find the BT that helpful... Although it's possible I've completely forgotten everything I previously knew about gdb and I need to relearn everything from the ground up. I'm perplexed by the BT because the first of the steps it shows on the way to the segfaul

Re: Question regarding debugging with gdb

2021-12-28 Thread JT
I didn't find the BT that helpful... Although it's possible I've completely forgotten everything I previously knew about gdb and I need to relearn everything from the ground up. I'm perplexed by the BT because the first of the steps it shows on the way to the segfault is for main.cpp:79. > (gdb) b

Re: Question regarding debugging with gdb

2021-12-28 Thread Ben Beasley
Is the backtrace not helpful in figuring out where to set up breakpoints? As in, “gdb foo”, then “run”, wait for the crash, and type “bt”? The darktable development documentation suggests[1] the following to log useful backtraces: |$ gdb darktable ... crash dt here ... (gdb) set paginatio