SIGSEGV with QT6 on command line export if shell-escape

Scott Kostyshak skostysh at lyx.org
Sat Sep 23 02:50:25 UTC 2023


On Thu, Sep 21, 2023 at 11:20:04PM +0200, Enrico Forestieri wrote:
> On Wed, Sep 20, 2023 at 09:19:31PM -0400, Scott Kostyshak wrote:
> > 
> > For the ctests, we put the following into preferences:
> > 
> >  \converter "pdflatex" "pdf2" "pdflatex -shell-escape $$i" "latex=pdflatex,hyperref-driver=pdftex"
> > 
> > If I export on the GUI, I get a reasonable warning. But if I export on
> > the command-line something goes wrong with Qt6, but not Qt5 for some
> > reason. Presumably the issue is that LyX tries to give the warning but
> > there's no GUI since it's a command-line export.
> > 
> > Attached is the backtrace.
> > 
> > Can anyone reproduce with Qt6? To reproduce, put the above \coverter
> > command in the user directory preferences file, then do a command line
> > export (e.g., "-e pdf2 <file.lyx>").
> 
> This might be a Qt6 bug. The attached patch works for me.

Thanks! Tested and it does appear to fix the issue.

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/20230922/686007f6/attachment.asc>


More information about the lyx-devel mailing list