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:message-id:from:to:references:in-reply-to :subject:date:mime-version:content-type; q=dns; s=default; b=Hv+ 6/7xWAG+R6qexKCezo1I3xsi7iGt3ZE0GUzm224o+0PTL+db5LkUzyzIr5qXuTf+ yppNVebyBx6JaX4K3b5WXEWgG4INj35sCxjEJkYhdn0yBbOPK455TlkOZU6a1iqZ v67FphHcnja92qd45f52pguSF0sCVkxKqBLYolZs= 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:message-id:from:to:references:in-reply-to :subject:date:mime-version:content-type; s=default; bh=MIYut3hSQ 42p57If+PJS4ffZlVM=; b=R+VmplqbM6+1asDhikLFmtXWIIfnsrZ/ow2E8L6ej 3zLYv+eq6cMz2UIMxHUIjGd6rqyaoxL3A2UUuLa+xZntoxXFQ6pWkIKtb3T+cqKk OkDFmB9nzE0zAuyOvcYPl6/yQ3d+/4xOSQSPFFClXOiFoTMG20qH9JIwgsBZPQK0 wQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=1.2 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: BAY004-OMC1S14.hotmail.com X-TMN: [fdFPDIb3Z9mEbzVVGNklRnVvBbfy7axI] Message-ID: From: "Tony Kelman" To: References: <5652B582 DOT 20405 AT gmail DOT com> In-Reply-To: <5652B582.20405@gmail.com> Subject: Re: Octave 4.0.0-3 x86_64 segfault (suspect openblas) Date: Mon, 23 Nov 2015 00:59:54 -0800 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0145_01D1258A.43CA6FF0" X-IsSubscribed: yes ------=_NextPart_000_0145_01D1258A.43CA6FF0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=response Content-Transfer-Encoding: 7bit > To test without openblas , you can renable netlib blas > $ mv /usr/bin/cygblas-0.dll /usr/bin/cygblas-0.dll_bk Yep, works fine with netlib blas. Pure C repro case is attached, gcc -g 5728.c -o 5728 -llapack && gdb ./5728 I can submit upstream, unless you'd like to. -Tony ------=_NextPart_000_0145_01D1258A.43CA6FF0 Content-Type: text/plain; format=flowed; name="5728.c"; reply-type=response Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="5728.c" #include #include #include #define BLASINT int32_t void dgeev_(char*, char*, BLASINT*, double*, BLASINT*, double*, double*, double*, BLASINT*, double*, BLASINT*, double*, BLASINT*, BLASINT*); int main() { char jobvl =3D 'N'; char jobvr =3D 'N'; BLASINT n =3D 1000; double *A =3D malloc(n*n*sizeof(double)); BLASINT lda =3D n; double *WR =3D malloc(n*sizeof(double)); double *WI =3D malloc(n*sizeof(double)); double *VL; BLASINT ldvl =3D n; double *VR; BLASINT ldvr =3D n; double *work =3D malloc(1*sizeof(double)); BLASINT lwork =3D -1; BLASINT info[1]; BLASINT i, j; for (i=3D0; i