Terminal messages on recent master
Scott Kostyshak
skostysh at lyx.org
Fri Feb 25 14:40:33 UTC 2022
On Fri, Feb 25, 2022 at 02:53:04PM +0100, Jean-Marc Lasgouttes wrote:
>
> 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.
Cool, thanks. I will try this.
Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220225/2cd541b2/attachment-0001.asc>
More information about the lyx-devel
mailing list