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 OpenGLSeverity: 4 - Important
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: FixedAssigned to: None
Originator Name: BovazOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 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 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)

(file #34207)

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:

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 File(s):
   
   
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
  • -unavailable- added by philipnienhuis
  • -unavailable- added by rik5 (Updated the item)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 02 Jul 2016 08:39:51 PM UTCrik5StatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
    Fri 01 Jul 2016 06:50:52 PM UTCphilipnienhuisCarbon-Copy-=>Added philipnienhuis
    Fri 01 Jul 2016 05:28:57 PM UTCrik5Severity3 - Normal=>4 - Important
    Mon 15 Jun 2015 07:19:04 PM UTCrik5Carbon-CopyRemoved 72865=>-
    Mon 15 Jun 2015 07:18:54 PM UTCrik5SummaryGUI crash when calling scatter (x, y, [], color)=>GUI crash when calling scatter (x, y, [], color) with Windows 8.1
    Thu 11 Jun 2015 08:37:45 PM UTCphilipnienhuisAttached File-=>Added bug_45297_A.png, #34207
    Wed 10 Jun 2015 09:31:53 PM UTCmtmillerCategoryGUI=>Plotting with OpenGL
      StatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1