bugGNU Octave - Bugs: bug #48081, qt graphics toolkit plotting...

 
 

bug #48081: qt graphics toolkit plotting error: octave_base_value::convert_to_str_internal (): wrong type argument '<unknown type>'

Submitter:  None
Submitted:  Wed 01 Jun 2016 06:42:15 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  3 - Low Item Group:  None
Status:  Duplicate Assigned to:  None
Originator Name:  Lemmata Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.0.2
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 06 Jun 2016 05:00:19 PM UTC, comment #5: 

Closing this report as a duplicate and keeping the original open.

Rik <rik5>
Group administrator
Thu 02 Jun 2016 04:10:56 PM UTC, comment #4: 

I pushed a small patch to stable that seems to work for me (http://hg.savannah.gnu.org/hgweb/octave/rev/4950810ce605). I'm marking this bug as Ready for Test.

Rik <rik5>
Group administrator
Thu 02 Jun 2016 03:40:09 PM UTC, comment #3: 

Definitely related to bug #46466.  I'm marking this as a duplicate.  I think I have a fix for this which I will post on the other report.

Rik <rik5>
Group administrator
Thu 02 Jun 2016 04:54:44 AM UTC, comment #2: 

Is it related to bug #46466?

Avinoam Kalma <avinoam>
Group Member
Wed 01 Jun 2016 08:31:45 PM UTC, comment #1: 

Confirmed.  I'm attaching a slightly modified version of the script (plot_string_error2.m) which runs the whole thing 10 times.  I rarely get above 4 loop iterations before the error surfaces.  The error occurs only with the qt toolkit--the others are tested and run fine.

This appears to have been fixed on the development branch.  I can't reproduce it after running the test script multiple times.  I'm lowering the priority because, absent an idea of where the problem is, it will be easier to just move to the 4.2 release of Octave rather than discover exactly why this is failing.  Also, there are workarounds just by switching to a different toolkit.

(file #37345)

Rik <rik5>
Group administrator
Wed 01 Jun 2016 06:42:15 PM UTC, original submission:  

When plotting using the qt graphics toolkit I occasionally get the following error:


error: octave_base_value::convert_to_str_internal (): wrong type argument '<unknown type>'
error: called from
    __line__ at line 117 column 21
    line at line 56 column 8
    __plt__>__plt2vv__ at line 500 column 10
    __plt__>__plt2__ at line 246 column 14
    __plt__ at line 113 column 17
    plot at line 222 column 10
    plot_string_error at line 29 column 5


The error is hit or miss, and so I've just been re-running my scripts to get around it. Of course this is untenable for larger programs generating many plots. My guess is that this is some threading error due to generating multiple plots.

I've attached a script which frequently reproduces the error.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #37345:  plot_string_error2.m added by rik5 (1KiB - d2l/unknowntype)
file #37339:  plot_string_error.m added by None (1KiB - text/x-objcsrc - script for reproducing error)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by avinoam (Posted a comment)
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by None (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 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-06 rik5 StatusReady For Test Duplicate
        Open/ClosedOpen Closed
    2016-06-02 rik5 StatusConfirmed Ready For Test
    2016-06-02 rik5 Dependencies- Depends on bugs #46466
    2016-06-01 rik5 Attached File- Added plot_string_error2.m, #37345
        CategoryPlotting Plotting with OpenGL
        Priority5 - Normal 3 - Low
        StatusNone Confirmed
    2016-06-01 None Attached File- Added plot_string_error.m, #37339

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code