bugGNU Octave - Bugs: bug #45297, GUI crash when calling scatter (x,...

 
 

bug #45297: GUI crash when calling scatter (x, y, [], color) with Windows 8.1

Submitted by:  None
Submitted on:  Wed 10 Jun 2015 07:14:18 PM UTC  
 
Category:  Plotting with OpenGL Severity:  4 - Important
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Fixed Assigned to:  None
Originator Name:  Bovaz Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  4.0.0
Operating System:  Microsoft Windows

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

( Jump to the original submission)

Sat 02 Jul 2016 08:39:51 PM UTC, comment #11: 

Great.  Marking as fixed and closing report.

Rik <rik5>
Project Administrator
Sat 02 Jul 2016 08:20:09 PM UTC, comment #10: 

Works fine with 64-b Octave-4.1.0+ on Win 10 (64bit)

Philip Nienhuis <philipnienhuis>
Project Member
Fri 01 Jul 2016 06:50:52 PM UTC, comment #9: 

I'll try to test in Windows 10.
I suppose (hope) that if it works there, it'll work in Win8.1 as well.

Philip Nienhuis <philipnienhuis>
Project Member
Fri 12 Jun 2015 07:32:16 AM UTC, comment #8: 

@comment #7:
Maybe so.
See this thread where other issues with Win8.1 have been reported:
http://octave.1599824.n4.nabble.com/Octave-tt4670815.html

Philip Nienhuis <philipnienhuis>
Project Member
Thu 11 Jun 2015 08:40:15 PM UTC, comment #7: 

Could be an issue specific to win8.1 then, I guess....

Anonymous
Thu 11 Jun 2015 08:37:45 PM UTC, comment #6: 

@comments 2 & 3:
Tried the script from my comment #1 with 3000 point; works fine, but takes a while (1 min 41 s).
Octave uses 224 Kb of RAM then (from Task Mgr).

With 10,000 points it also works fine; with tic; ... ; toc around it: "Elapsed time is 292.357 seconds", RAM usage ~290 Kb.
(Pic attached)


Philip Nienhuis <philipnienhuis>
Project Member
Wed 10 Jun 2015 09:47:12 PM UTC, comment #5: 

Again from the GUI:
x = [1:N];
y=sin(x);
scatter(x,y,[],sqrt(x))

works with N=1200, but crashes with N=1300.

demo scatter works fine.

using
graphics_toolkit gnuplot
octave still crashes, giving the same error.

Anonymous
Wed 10 Jun 2015 09:32:50 PM UTC, comment #4: 

A further update:
I called the same from the CLI, rather than the GUI. It still crashes, but it provides the following message:

panic: Segmentation violation -- stopping myself...
attempting to save variables to 'octave-workspace'...
save to 'octave-workspace' complete

The data is the same as per my last comment:
x = [1:2304];

Anonymous
Wed 10 Jun 2015 09:31:53 PM UTC, comment #3: 

The number of points is what I was going to ask about.

For example does "demo scatter" work fine for you? What is the minimum N size of x, y, and color that causes the crash?

Can you also try with "graphics_toolkit gnuplot" and see if there is still a crash?

Mike Miller <mtmiller>
Project Administrator
Wed 10 Jun 2015 09:29:35 PM UTC, comment #2: 

Please, try that with more points.
I tried using
x = [1:2304];
and that caused the system to crash.

Anonymous
Wed 10 Jun 2015 09:22:19 PM UTC, comment #1: 

On my Win7 64-bit box the following works for me with octave-4.0.0 (as released of ftp.gnu.org) and 64-bit 4.1.0+ (development version), with fltk and qt toolkits:

x = 1:10
y = sin(x)
scatter (x, y, [], sqrt (x))

So if it is a bug at all, it looks to be something specific for Win 8.

Philip Nienhuis <philipnienhuis>
Project Member
Wed 10 Jun 2015 07:14:18 PM UTC, original submission:  

Running on windows 8. Whenever I call the method
scatter(x, y, [], color)
The GUI hangs for a while and then crashes and closes. Starting a debug session with Visual Studio 2008 reports:

Unhandled exception at 0x6b3f5a41 in octave-gui.exe: 0xC0000005: Access violation reading location 0x00000010.

If I call scatter(x,y) or even scatter(x,y, color) I get no error. Of course in these options I am not actually using the color.

Note that x, y and color are all a 1byN arrays of floating point value. The same error happens for any value I pass as third parameter.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #34207:  bug_45297_A.png added by philipnienhuis (646KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-07-02 rik5 StatusNeed Info => Fixed
        Open/ClosedOpen => Closed
    2016-07-01 philipnienhuis Carbon-Copy- => Added philipnienhuis
    2016-07-01 rik5 Severity3 - Normal => 4 - Important
    2015-06-15 rik5 Carbon-CopyRemoved 72865 => -
    2015-06-15 rik5 SummaryGUI crash when calling scatter (x, y, [], color) => GUI crash when calling scatter (x, y, [], color) with Windows 8.1
    2015-06-11 philipnienhuis Attached File- => Added bug_45297_A.png, #34207
    2015-06-10 mtmiller CategoryGUI => Plotting with OpenGL
        StatusNone => Need Info

    Back to the top


    Powered by Savane 3.5