delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/11/23/01:43:43

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=wSv+GhtZ/TVGuaUE
pXa73eNhH+F7QQc2/lPhmN1sS2DAKZJQd4bksqZ+TaTo70dHmdR8hWzgwW524uTc
GlMoDajMXV9h1Wj3BnZ4Vry+CHQr7qm+9qpD5L4uxEusihJUowpySI1/njKg6NS/
q1FohJttSHOcfFuNqQ87bVG34Yo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=Hg29Vomuo93ngq3IPa0ofZ
Y2qrU=; b=x14fi/LaBnl0C1Dc/m04ggh7vcpiC22IPmyiWVvSf+WyTHId5Wa/a8
wQB7+AGELPUOBf2iypFBcVftaBCuTrb2Pk7F+Pp9NfJPM0QcpYMnGfATDHWOFPnn
S86EsrOc55KVVn5rZnk6nvUJtVnfV6OYxRAZ5URWl4YfWctJaTKMc=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wm0-f54.google.com
X-Received: by 10.194.20.164 with SMTP id o4mr11565534wje.105.1448261003896; Sun, 22 Nov 2015 22:43:23 -0800 (PST)
Subject: Re: Octave 4.0.0-3 x86_64 segfault (suspect openblas)
To: cygwin AT cygwin DOT com
References: <BAY169-DS260B02A7A24CFA816E17BA7070 AT phx DOT gbl>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <5652B582.20405@gmail.com>
Date: Mon, 23 Nov 2015 07:43:14 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <BAY169-DS260B02A7A24CFA816E17BA7070@phx.gbl>
X-IsSubscribed: yes

On 23/11/2015 04:33, Tony Kelman wrote:
> The following works fine on 32 bit, but segfaults reliably on 64 bit:
>
> $ octave
[cut]
>
> octave:1> D = 1000*(rand(1000,1000)-0.5);
> octave:2> [E,F] = eig(D)
> panic: Segmentation fault -- stopping myself...
> attempting to save variables to 'octave-workspace'...
> save to 'octave-workspace' complete
> Segmentation fault (core dumped)

likely openblas or its iteration with lapack

To test without openblas , you can renable netlib blas
$ mv /usr/bin/cygblas-0.dll  /usr/bin/cygblas-0.dll_bk


> I see the same when I call a mingw-w64 build of openblas 0.2.15 through
> Julia (which isn't packaged in Cygwin but shares many common
> dependencies with Octave), so this is mostly to let Marco know about the
> issue. I'll have to reduce this to the corresponding Lapack call and
> come up with a standalone C or Fortran test case to report upstream. My
> processor is a Sandy Bridge i7-2630QM.
>
> -Tony
>

Same with i5-3320M
The bug seems not present in openblas 0.2.14

As latest octave and openblas now have a debuginfo package:

Program received signal SIGSEGV, Segmentation fault.
0x00000003c866ad50 in cygblas-0!blas_memory_free () from 
/usr/bin/cygblas-0.dll
(gdb) bt
#0  0x00000003c866ad50 in cygblas-0!blas_memory_free () from 
/usr/bin/cygblas-0.dll
#1  0x00000003c841eff8 in dgemv_ () from /usr/bin/cygblas-0.dll
#2  0x00000003aa785fae in dlahr2_ () from /usr/lib/lapack/cyglapack-0.dll
#3  0x00000003aa73f8ec in dgehrd_ () from /usr/lib/lapack/cyglapack-0.dll
#4  0x00000003aa73c1f3 in dgeev_ () from /usr/lib/lapack/cyglapack-0.dll


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019