public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: Octave segmentation fault when plotting graph
@ 2016-04-12 11:53 Stephen Wilkinson
  2016-04-12 12:24 ` Marco Atzeri
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Wilkinson @ 2016-04-12 11:53 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-12 12:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-12 11:53 Octave segmentation fault when plotting graph Stephen Wilkinson
2016-04-12 12:24 ` Marco Atzeri
2016-04-12 12:52   ` Octave segmentation fault when plotting graph -- dri-drivers Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).