On Thu, Jan 14, 2021 at 12:13:10PM +0100, alberto fuentes wrote: > (gdb) run anki > Starting program: /usr/bin/python3 anki > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". > /usr/bin/python3: can't open file '/home/birdperson/anki': [Errno 2] No > such file or directory
Oh, I am sorry again. It should be "/usr/bin/anki", not just "anki". Please try this: - gdb python3 - (in gdb) run /usr/bin/anki - wait until anki exits (this run is needed for gdb to pick up Gdk symbols) - (in gdb) b gdk_x_io_error - (in gdb) run /usr/bin/anki - wait until the breakpoint is activated - (in gdb) bt - attach the output here This time I have actually tested that the breakpoint is set successfully :) I am not promising this will be the last experiment. If the error turns out to be related to some other libraries like Qt, I will ask you to install debug symbols for these libraries and obtain the backtrace again. -- Dmitry Shachnev
signature.asc
Description: PGP signature