On Mon, 11 Jan 2021 at 18:20, Dmitry Shachnev <mity...@debian.org> wrote:

> Control: tags -1 + moreinfo
>
> Hi Alberto!
>
> On Sun, Jan 10, 2021 at 10:17:16PM +0100, alberto fuentes wrote:
> > Kontact is failing with the same error too
> >
> > It seems to be related with pyqt5, which i checked and was among the
> > packages updated today. Can you help me reassign and reopen bug?
>
> I do not understand how this is related to pyqt5. Can you please clarify?
> The description mentions file not found error, but which file is not found?
>

Sorry, i changed the description as the mantainer of anki suggested

I think is qt related because every program that uses it, exits with the
same error


>
> Also can you please try to obtain a proper stacktrace? That would be more
> useful than strace output.
>

Problem is that the programs dont crash, but exit with failure

Short instruction:
>
> - sudo apt install gdb python3-pyqt5-dbg
> - gdb anki
> - (in gdb) run
> - (in gdb, after anki crashes) bt
> - attach the output here
>

$ gdb /usr/bin/anki
For help, type "help".
Type "apropos word" to search for commands related to "word"...
"0x7ffc5965ab10s": not in executable format: file format not recognized
quit)

$ gdb kontact
Reading symbols from kontact...
(No debugging symbols found in kontact)
(gdb) Quit
(gdb) run
Starting program: /usr/bin/kontact
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe1ba9700 (LWP 6362)]
Gdk-Message: 19:38:25.175: kontact: Fatal IO error 2 (No such file or
directory) on X server :0.0.

[Thread 0x7fffe22bc440 (LWP 6293) exited]
[Inferior 1 (process 6293) exited with code 01]
(gdb) bt
No stack.
(gdb)



> Also it may be useful to run "python3 -X faulthandler /usr/bin/anki",
> wait until anki crashes, and paste the output of that command (it will
> print the Python stacktrace).
>

$ python3 -X faulthandler /usr/bin/anki
Gdk-Message: 19:44:02.305: python3: Fatal IO error 2 (No such file or
directory) on X server :0.0.

$

Is there any other way?

Thanks for the help!

Reply via email to