octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #63700] Octave GUI freezes during unit test "j


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #63700] Octave GUI freezes during unit test "jupyter-notebook.tst" with system opengl drivers
Date: Thu, 25 Apr 2024 14:33:04 -0400 (EDT)

Update of bug #63700 (group octave):

                 Summary: Octave GUI (8.0.90) freezes during unit test
"jupyter-notebook.tst" => Octave GUI freezes during unit test
"jupyter-notebook.tst" with system opengl drivers

    _______________________________________________________

Follow-up Comment #20:

just updating that this problem persists in octave 9.1.0, testing on w64 with
'system' opengl drivers.  tests pass with software drivers. with the comment
#18 tests, it hangs on the n.run_all (); line.  stepping through the test, the
hang occurs on 

obj.run (i); when i = 8

that particular cell contains:


nbcell = obj.notebook.cells{cell_index};

nbcell
nbcell =

  scalar structure containing the fields:

    cell_type = code
    execution_count = 6
    metadata =

      scalar structure containing the fields:


    outputs =
    {
      [1,1] =

        scalar structure containing the fields:

          data =

            scalar structure containing the fields:

              image/svg+xml: 434x1 cell
              text/plain: 1x1 cell

          metadata =

            scalar structure containing the fields:


          output_type = display_data

    }

    source =
    {
      [1,1] = %plot -f svg -w 600

      [2,1] =

      [3,1] = % butterworth filter, order 2, cutoff pi/2 radians

      [4,1] = b = [0.292893218813452  0.585786437626905  0.292893218813452];

      [5,1] = a = [1  0  0.171572875253810];

      [6,1] = freqz(b, a, 32);
    }


the code hangs when it dives dives down to calling the embed_svg_image
subfunction, calling the line 664:


print (figHandle, image_path, "-dsvg", ["-r" printOptions.resolution]);


the values of those inputs when it hangs are:


debug> figHandle
figHandle = 1
debug> image_path
image_path = c:\Octave\Temp\oct-TlU1aN\temp.svg
debug> printOptions
printOptions =

  scalar structure containing the fields:

    imageFormat = svg
    resolution = 0
    width = 600
    height = 480


the is no obvious issue with the figure.  if I do a Save As from the figure
menu, it saves fine as raster images, but when I try to save it as a SVG, it
hangs the same way.

So, based on the print -dsvg hanging the same way as Save As SVG, it seems
like this bug should be able to be narrowed down to that issue, and it likely
has nothing specific to do with jupyter notebook.


Are there any current bugs related to hangs/crashes when printing to SVG and
using the hardware OpenGL drivers?



    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]