From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 83279 invoked by alias); 12 Apr 2016 10:53:58 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 83263 invoked by uid 89); 12 Apr 2016 10:53:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Octave, panic, octave, plotting X-HELO: mail-wm0-f50.google.com Received: from mail-wm0-f50.google.com (HELO mail-wm0-f50.google.com) (74.125.82.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 12 Apr 2016 10:53:53 +0000 Received: by mail-wm0-f50.google.com with SMTP id v188so121831030wme.1 for ; Tue, 12 Apr 2016 03:53:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=4oKkMkaScL1jkgNQOIs7/3pw9RvsuiP41a0heHLZ9xo=; b=TEZVktWu2ivXxAEhEKOxTUuvIJg4OezRYQWFlOyCfSR0miXViwmUIlot/NBj9u379c xRE0fALGAX99VNRZg/utmXo8HizHTcdS8iRJPjR2Yu5c2m4Jz/R9g8wMf66NnS9KYKhU mbqOHJj9kIQ+MHK35Tf/IpR5tw+3pJMeS3yXdsZxIQHtPYzbEVrXnz/7WWvnf+NXikuk 9eJq/nj6QS9nsbnyNrcbwA0mk5SltjTCHCEGh2EdqZxwAvvU/mxKCUMFOeo5S8b+v70Q lu8P91Gx87RRxSYxpWJ07Q/lDTgFNoCEuLwnnWI+m9F0roohB+2Pjg4fpZa6wjkixFqN In8Q== X-Gm-Message-State: AOPr4FUmRj69DRkMjn2a2v0jTyFHOcr+Nin9Y/AvfYrfhXCjqwXqs8K5L38KWjZ0ABs0sA== X-Received: by 10.194.95.198 with SMTP id dm6mr3095310wjb.136.1460458431166; Tue, 12 Apr 2016 03:53:51 -0700 (PDT) Received: from [172.21.188.188] ([149.6.156.42]) by smtp.googlemail.com with ESMTPSA id o1sm26178212wjm.11.2016.04.12.03.53.50 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 12 Apr 2016 03:53:50 -0700 (PDT) Subject: Re: Octave segmentation fault when plotting graph To: cygwin@cygwin.com References: <2503-1460456791-643904@sneakemail.com> From: Marco Atzeri Message-ID: <570CD3BD.7090402@gmail.com> Date: Tue, 12 Apr 2016 10:53:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <2503-1460456791-643904@sneakemail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00239.txt.bz2 On 12/04/2016 12:26, Stephen Wilkinson wrote: > 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 > confirmed for 32bit only. 64 bit version seems to work normally. As workaround "graphics_toolkit gnuplot" does not crash, for what I see. Did you ever had any problem on 4.0.0 ? Regards Marco -- 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