Terminal messages on recent master

Jean-Marc Lasgouttes lasgouttes at lyx.org
Fri Feb 25 13:53:04 UTC 2022


Le 22/02/2022 à 20:20, Scott Kostyshak a écrit :
> On recent master (starting in the past week or so), I've seen the
> following terminal messages on two different occasions:
> 
>    Unsupported return type 65 QPixmap in method "grab"
>    Unsupported return type 65 QPixmap in method "grab"
>    Unsupported return type 1087 QAction* in method "addAction"
>    Skipped method "setDefaultShortcuts" : Pointers are not supported: QAction*
> 
> I don't know what triggers them, as I usually see terminal messages
> after I quit LyX. Is there any way to have LyX assert on them so I can
> try to figure out how to reproduce? If not, any way to break on them
> while running through gdb?

I did some searching and it turns out that you can do
(gdb) break write if 2==$rdi

https://stackoverflow.com/questions/1538463/how-can-i-put-a-breakpoint-on-something-is-printed-to-the-terminal-in-gdb

This breaks on the write() syscall on the condition that $rdi is equal 
to 2 (the descriptor associated to stderr). And no, I do not know what 
$rdi contains.

Hope this helps.
JMarc


More information about the lyx-devel mailing list