Terminal messages on recent master

Scott Kostyshak skostysh at lyx.org
Mon Mar 7 16:26:48 UTC 2022


On Fri, Feb 25, 2022 at 09:40:33AM -0500, Scott Kostyshak wrote:
> 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.

The messages actually come from Okular, not LyX. They are triggered when
I lock the screen and unlock. I'm not planning to look into them more.
If I had more time, I would report this upstream but I think I will let
this go.

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/20220307/d41ea0a4/attachment.asc>


More information about the lyx-devel mailing list