bugGNU Octave - Bugs: bug #35769, [Windows] Segmentation fault on...

 
 

bug #35769: [Windows] Segmentation fault on subplot

Submitted by:  Dik Dirk <dikdirk>
Submitted on:  Fri Mar 9 12:26:07 2012  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Crash
Status: Works For MeAssigned to: None
Originator Name: dikdirkOpen/Closed: Closed
Release: 3.6.1Operating System: Microsoft Windows

Add a New Comment (Rich MarkupRich 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)

Sun Aug 5 04:06:53 2012, comment #6:

I also experienced trouble with the preinstalled libblas.dll not being compatible with my hardware, and experienced crashes. I realize the default version (libblas.dll.OpenBLAS-v0.1.0-0-09f74f6_dynamicarch in my install) is supposed to do some autodetection, but it fails to detect the appropriate instruction set for my hardware (AMD E-350 APU).

While I was able to figure out what to do, I imagine most people who just try out octave and run into this problem will just give up, since the solution isn't obvious. So, I'd like to help fix this problem, if possible! Is there any information I can submit that would help someone else find the problem? Or alternatively, if you have any pointers as to how I can begin to contribute to fixing this problem with autodetection myself, I'd be glad to look into it.

Gregory <cha5on>
Tue Mar 13 13:16:34 2012, comment #5:

Switching to libblas.dll.atlas-3.8.4_ht-pentium solved the problem! When new related problem come up I'll submit them.

Dik Dirk <dikdirk>
Sun Mar 11 16:30:57 2012, comment #4:

I suggest you'd better experiment with the various libblas.dll versions found in /bin. See the README which is in the octave-3.6.1-.......7z archive.

E.g., on my Windows boxes a simple

demo plotyy

can reliably crash Octave, depending on which libblas.dll is in place.

(Admittedly this libblas.dll affair is a little sneaky.... the effects (crashes) can pop up in many unexpected situations. Sorry for that.)

The latest Octave-3.6.1 MinGW version (dated March 3, 2012) is much more stable, yet offers a few more libblas.dll versions to try (9) than the earlier 3.6.1 one (just 5 or so IIRC).

On my box your example works OK (I tried it several times) with MinGW Octave 3.6.1, both fltk & gnuplot.
On MSVC it works OK as well (gnuplot, fltk and qt).

I'll close this bug with a "Works for me".
It can always be reopened if you report that your example code crashes with all 9 (nine) libblas.dll versions in /bin in the latest octave-3.6.1-MinGW drop.

Philip Nienhuis <philipnienhuis>
Project Member
Sat Mar 10 14:44:51 2012, comment #3:

I can't reproduce this either... I even ran with valgrind looking for possible sources of error and found none.

Jordi GutiƩrrez Hermoso <jordigh>
Project Administrator
Sat Mar 10 09:19:38 2012, comment #2:

My other windows machine also repreduces this bug on second run of the code. It's unclear to my why it did run without segmentation fault the first time.
By the way: I used the MINGW version and not the visual studio version.

Dik Dirk <dikdirk>
Fri Mar 9 17:01:07 2012, comment #1:

I'm marking the bug title with Windows to make this more specific. Octave operates correctly on the sample code in a Linux environment.

Rik <rik5>
Project Administrator
Fri Mar 9 12:26:07 2012, original submission:

The following code generates a segmenation fault (both with fltk and gnuplot backend)

figure()
for m=1:16
subplot(2,8,m)
fplot(@sin,[-1 1])
end

The cause could probably be related to a strange size of the first graph in the subplot, see attatched figure.

Dik Dirk <dikdirk>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #25308:  subplotsegfault.png added by dikdirk (14kB - image/png)
file #25304:  octave-core added by dikdirk (98kB - application/octet-stream)
file #25305:  SubplotSegfault.m added by dikdirk (71B - text/x-objective-c)

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by cha5on (Posted a comment)
  • -unavailable- added by philipnienhuis (Posted a comment)
  • -unavailable- added by jordigh (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by dikdirk (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 12 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Apr 11 13:41:02 2013jordighDependencies-=>bugs #38688 is dependent
    Thu Feb 28 15:28:16 2013jordighDependencies-=>bugs #38440 is dependent
    Fri Nov 30 21:49:20 2012jordighDependencies-=>bugs #35933 is dependent
    Fri Nov 30 21:49:01 2012jordighDependencies-=>bugs #37839 is dependent
    Fri Nov 30 21:46:54 2012jordighDependencies-=>bugs #37231 is dependent
    Fri Nov 30 21:46:23 2012jordighDependencies-=>bugs #34822 is dependent
    Sun Mar 11 16:30:57 2012philipnienhuisStatusNone=>Works For Me
      Open/ClosedOpen=>Closed
    Fri Mar 9 17:01:07 2012rik5SummarySegmentation fault on subplot=>[Windows] Segmentation fault on subplot
    Fri Mar 9 14:08:24 2012dikdirkAttached File-=>Added subplotsegfault.png, #25308
    Fri Mar 9 12:26:07 2012dikdirkAttached File-=>Added octave-core, #25304
      Attached File-=>Added SubplotSegfault.m, #25305

    Back to the top


    Powered by Savane 3.1-cleanup