[bug #68456] print as svg freezes and as pdf crashes Octave 11.1 and 11.3 on windows

Markus Pristovsek <[email protected]> Thu, 18 Jun 2026 03:35:35 -0400 (EDT)
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <[email protected]>
Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only notification stream.  Info posted to this mailing list address won't appear in the tracker database where it is most useful.

URL:
  <https://savannah.gnu.org/bugs/?68456>

                 Summary: print as svg freezes and as pdf crashes Octave 11.1
and 11.3 on windows
                   Group: GNU Octave
               Submitter: prissi
               Submitted: Do 18 Jun 2026 07:35:32 UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: Markus Pristovsek
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Unlocked
                 Release: 11.1.0
        Operating System: Microsoft Windows
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Do 18 Jun 2026 07:35:32 UTC    By: Markus Pristovsek <prissi>
Octave 11.1 and 11.3 test on windows 11 with all toolkits (qt, gnuplot, ftlk)

Saving as svg like
print( [pathname,filename,".svg"], "-dsvg");
freezes and
print( [pathname,filename,"_2.pdf"], "-dpdf" );
crashes octave or freeze it.
Using instead
print( [pathname,filename,"_2.pdf"], "-dpdf","-S800,600" );
always only freezes octave forever.

Any 2D plot does this for me, se below

clear all;
close all;

% wafer circle
t = linspace(0.25-pi/2,2*pi-0.25-pi/2,100);
circsx = 25.2.*cos(t);
circsy = 25.2.*sin(t);
circsx(end+1)=circsx(1);
circsy(end+1)=circsy(1);

plot(circsx,circsy,"k");
hold on;

% show it
hcb=colorbar;
colormap(flipud(rainbow));
hold on;
grid off;
axis("off");
shading flat;
axis([-25.21 25.21 -25.21 25.21]);


% save png
%print( [pathname,filename,".png"], "-dpng","-S640,500" );
print( "test.pdf", "-dpdf" );









    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68456>

_______________________________________________
Nachricht gesendet über Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCajOfxwAKCRCqLAuaBUf3
TlgKAP9qw1hRZIPbENKxR91rb0cexcgHuB0DGO7eQ8xTLbihDwEA5aswvYX/ABFV
89YwD1sjkC6Rwezd3AAwVwpqczkWFQc=
=o0fA
-----END PGP SIGNATURE-----