[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #46466] random error messages in qt plots
From: |
Hartmut |
Subject: |
[Octave-bug-tracker] [bug #46466] random error messages in qt plots |
Date: |
Tue, 17 Nov 2015 19:03:43 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 |
URL:
<http://savannah.gnu.org/bugs/?46466>
Summary: random error messages in qt plots
Project: GNU Octave
Submitted by: hardy
Submitted on: Di 17 Nov 2015 19:03:42 GMT
Category: Plotting with OpenGL
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.0.0
Operating System: Any
_______________________________________________________
Details:
Here is a little script to (quasi reproducibly) show the behavior:
clear;
close all;
graphics_toolkit('qt');
for k = 1:100
disp(k)
close all;
plot(1:10);
xlabel('a');
ylabel('b');
figure;
plot(1:10)
xlabel('d');
endfor
Observation: If you run this script, then there will sometimes be error
messages.
This sound kind of non-reproducible, but I had a real application script that
produced errors in around 90% of the runs. The above simple demo script only
produces errors in around 5% to 10% of the runs, that's why it has the for
loop now to better show the bug. This demo script (including the loop) nearly
always throws errors on two computers I tested.
This happens with Octave 4.0 under Linux (Ubuntu 14.04) as well as Windows
(7). It happens with the CLI version as well as with the GUI. But it only
happens with QT plots, FLTK plots and gnuplot plots are fine.
In the following verbatim boxes I will paste some of the error messages I
observed. I randomly get different error messages, that's why there are
multiple boxes. The script was saved as "bug_plot.m", when those error
messages popped up. And maybe the line numbers changed a bit, with respect to
the above demo script. But I think it was always a "plot" command in
bug_plot.m that triggered the error. Here a some resulting error messages:
error message 1:
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__>__plt1__ at line 205 column 10
__plt__ at line 119 column 17
plot at line 220 column 10
bug_plot at line 11 column 1
error message 2:
__plt__ at line 119 column 17
plot at line 220 column 10
bug_plot at line 11 column 1
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__>__plt1__ at line 205 column 10
__plt__ at line 119 column 17
plot at line 220 column 10
bug_plot at line 11 column 1
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__>__plt1__ at line 205 column 10
__plt__ at line 119 column 17
plot at line 220 column 10
bug_plot at line 11 column 1
error: octave_base_value::convert_to_str_internal (): wrong type argument
'<unknown type>'
error: octave_base_value::convert_to_str_internal (): wrong type argument
'<unknown type>'
error: octave_base_value::convert_to_str_internal (): wrong type argument
'<unknown type>'
error: octave_base_value::matrix_value(): wrong type argument '<unknown
type>'
error: drawnow: A(I,J): row index out of bounds; value 1 out of bound 0
error message 3:
__plt__>__plt2__ at line 246 column 14
__plt__>__plt1__ at line 205 column 10
__plt__ at line 119 column 17
plot at line 220 column 10
bug_plot at line 11 column 1
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__>__plt1__ at line 205 column 10
__plt__ at line 119 column 17
plot at line 220 column 10
bug_plot at line 11 column 1
error message 4:
__plt__>__plt2__ at line 246 column 14
__plt__>__plt1__ at line 205 column 10
__plt__ at line 119 column 17
plot at line 220 column 10
bug_plot at line 11 column 1
error message 5:
__plt__ at line 119 column 17
plot at line 220 column 10
bug_plot at line 13 column 1
__plt__ at line 119 column 17
plot at line 220 column 10
bug_plot at line 13 column 1
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__>__plt1__ at line 205 column 10
__plt__ at line 119 column 17
plot at line 220 column 10
bug_plot at line 13 column 1
error message 6:
__plt__>__plt2__ at line 246 column 14
__plt__>__plt1__ at line 205 column 10
__plt__ at line 119 column 17
plot at line 220 column 10
bug_plot at line 16 column 5
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__>__plt1__ at line 205 column 10
__plt__ at line 119 column 17
plot at line 220 column 10
bug_plot at line 16 column 5
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__>__plt1__ at line 205 column 10
__plt__ at line 119 column 17
plot at line 220 column 10
bug_plot at line 16 column 5
error: octave_base_value::double_value (): wrong type argument '<unknown
type>'
error: called from
__plt__ at line 119 column 17
plot at line 220 column 10
bug_plot at line 16 column 5
error message 7:
__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__>__plt1__ at line 205 column 10
__plt__ at line 119 column 17
plot at line 220 column 10
bug_plot at line 16 column 5
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__>__plt1__ at line 205 column 10
__plt__ at line 119 column 17
plot at line 220 column 10
bug_plot at line 16 column 5
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46466>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #46466] random error messages in qt plots,
Hartmut <=