This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Octave segmentation fault when plotting graph
- From: "Stephen Wilkinson" <307cdqf02 at sneakemail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 12 Apr 2016 11:53:29 +0000
- Subject: RE: Octave segmentation fault when plotting graph
- Authentication-results: sourceware.org; auth=none
Tatsuro: I tried to roll back to earlier version of Cygwin (all packages) but that broke several other things.
Marco: I confirm that was broken for 32-bit. I've just installed Cygwin 64-bit and Octave works as expected. I got crashes with fltk and qt graphic toolkits, but I admit I didn't try gnuplot. All was working fine until I updated -- I can't remember what version of Octave I was running but 4.0.0 sounds about right.
Regards,
Steve
P.S. apologies for the poorly formatted initial e-mail
-----Original Message-----
From: Wilkinson, Stephen (GE Aviation)
Sent: 12 April 2016 11:27
To: 'cygwin-at-cygwin.com'
Subject: Octave segmentation fault when plotting graph
Following a recent Cygwin update, I get segmentation faults when I try to plot graphs in Octave. Creating the figure window works (i.e. issuing the command "figure" doesn't cause the crash, it is only when plotting within the figure that I get a crash). I use the Octave command "sombrero" to test the plotting of data, but even simpler commands ("plot(1:10,1:10);") cause the crash. The crash occurs whether using the fltk or qt graphics toolkit.
I'm using:
Octave: GNU Octave, version 4.0.1
Cygwin: CYGWIN_NT-6.1-WOW OEM-9D7L362 2.5.0(0.297/5/3) 2016-04-11 09:55 i686 Cygwin
The command I issue in Octave is:
>> sombrero
And I get this error message:
>> panic: Segmentation fault -- stopping myself...
attempting to save variables to 'octave-workspace'...
save to 'octave-workspace' complete
I ran strace to try to debug the problem. The strace output is too large (MB) to attach, but comparing strace for a normal termination of octave (run octave, create a figure but without plotting) and a segmentation fault termination of octave (run octave, issue command "sombrero"), I see that a segmentation fault causes "threads exited with status 0xc0000005". However I don't know how to debug this any further.
I attach the output of cygcheck -s -v -r
Any suggestions on how to debug this further or how to fix it would be very welcome! I have tried downgrading octave and qt but to no avail.
Regards,
Steve
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple