bugGNU Octave - Bugs: bug #49501, [MXE] test publish.tst fails

 
 

bug #49501: [MXE] test publish.tst fails

Submitter:  Avinoam Kalma <avinoam>
Submitted:  Tue 01 Nov 2016 11:47:30 AM UTC
   
 
Category:  Test Suite Severity:  2 - Minor
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Avinoam Open/Closed:  * Closed
Release:  * 4.2.0-rc3 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Mon 07 Nov 2016 05:16:20 PM UTC, comment #7: 

I made a cset along the lines proposed and checked it in here (http://hg.savannah.gnu.org/hgweb/octave/rev/4560273d100c).  It fixes the issue for me on Windows.

Rik <rik5>
Group administrator
Wed 02 Nov 2016 07:13:51 PM UTC, comment #6: 

I think this bug report is "resolved" in spirit, someone who is interested in writing down the solution is encouraged to submit a patch to wrap the publish test code in an unwind_protect block and set the toolkit to gnuplot so it is not affected by problems with OSMesa.

Mike Miller <mtmiller>
Group Member
Tue 01 Nov 2016 09:51:59 PM UTC, comment #5: 

The reason this test did not fail until rc3 is because the test files were not being installed correctly by "make install", so they were not even part of the installer.  See bug #49151.

Mike Miller <mtmiller>
Group Member
Tue 01 Nov 2016 09:50:56 PM UTC, comment #4: 

No, but maybe we could add something like


toolkit = graphics_toolkit ();
unwind_protect
   if (ispc ())
     graphics_toolkit ("gnuplot")
   endif
   ... ## body of the test here
unwind_protect_cleanup
  graphics_toolkit (toolkit);
end_unwind_protect


Mike Miller <mtmiller>
Group Member
Tue 01 Nov 2016 09:28:54 PM UTC, comment #3: 

When I set the graphics_toolkit to gnuplot before this test, then it PASSes.

This might well be a duplicate of bug #44338, because I find this failing test "publish.tst" in my Windows installation folder only with Octave-4.2.0-rc3, it was not there in rc2 (but is already was in the Octave stable source with rc2, does someone understand this?) This would be an explanation why this failing test did not pop up earlier.

If the above speculation is correct, can we then make this test an "xtest" only for Windows (and not for linux)?

Hartmut <hardy>
Tue 01 Nov 2016 09:14:42 PM UTC, comment #2: 

Isn't this essentially a duplicate of bug #44338? Does the test pass if graphics_toolkit is set to gnuplot first?

Mike Miller <mtmiller>
Group Member
Tue 01 Nov 2016 12:01:07 PM UTC, comment #1: 

I also observe the same failing test (on Win7 with the "official" 32bit Win-installer of Octave 4.2.0-rc3.)

Hartmut <hardy>
Tue 01 Nov 2016 11:47:30 AM UTC, original submission:  



>> cd C:\Octave\Octave-4.2.0-rc3\share\octave\4.2.0-rc3\etc\tests\fixed\publish
>> test publish.tst
Mesa warning: couldn't open dxtn.dll, software DXTn compression/decompression unavailable
warning: opengl_renderer: Error 1282 occurred in init_gl_context
warning: opengl_renderer: Error 1282 occurred drawing 'text' object
warning: opengl_renderer: Error 1282 occurred drawing 'text' object
warning: opengl_renderer: Error 1282 occurred drawing 'text' object
warning: opengl_renderer: Error 1282 occurred drawing 'line' object
warning: gl2ps_renderer::draw_axes: empty feedback buffer and/or nothing else to print
warning: opengl_renderer: Error 1282 occurred drawing 'axes' object
GPL Ghostscript 9.16: Unrecoverable error, exit code 1
***** test
 visibility = get (0, "defaultfigurevisible");
 unwind_protect
   set (0, "defaultfigurevisible", "off");
   cases = dir ("test_script*.m");
   cases = strsplit (strrep ([cases.name], ".m", ".m\n"));
   for i = 1:length(cases)-1
     publish (cases{i});
   endfor
   confirm_recursive_rmdir (false, "local");
   rmdir ("html", "s");
 unwind_protect_cleanup
   set (0, "defaultfigurevisible", visibility);
 end_unwind_protect
!!!!! test failed
gl2ps_renderer::draw: internal pipe error


warning: opengl_renderer: Error 1282 occurred drawing 'figure' object
Error: /configurationerror in --setpagedevice--
Additional information: [/PageSize [-1139264767 -912161]]
Operand stack:
   --nostringval--   (%%BoundingBox: 1680678996 1095782222 541414229 1094870061)   --dict:1/2(ro)(G)--   --nostringv
al--   --nostringval--   (%%BoundingBox: 1680678996 1095782222 541414229 1094870061)   1   1680678996   1095782222
 false   --dict:1/1(L)--
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringva
l--   --nostringval--   --nostringval--   false   1   %stopped_push   1951   1   3   %oparray_pop   1950   1   3   %
oparray_pop   --nostringval--   1934   1   3   %oparray_pop   1820   1   3   %oparray_pop   --nostringval--   %error
exec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   %
ztokenexec_continue   (scanner state)   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --no
stringval--   --nostringval--   1913   10   3   %oparray_pop   --nostringval--   --nostringval--   --dict:1/10(L)--
  --nostringval--   16   %dict_continue
Dictionary stack:
   --dict:1189/1684(ro)(G)--   --dict:0/20(G)--   --dict:82/200(L)--
Current allocation mode is local

Avinoam Kalma <avinoam>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by hardy (Posted a comment)
  • -email is unavailable- added by avinoam (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-11-07 rik5 StatusNone Fixed
        Open/ClosedOpen Closed
    2016-11-02 mtmiller Severity3 - Normal 2 - Minor
        Item GroupNone Incorrect Result
    2016-11-02 mtmiller Dependencies- bugs #49517 is dependent

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code