From dev-return-3020-archive-asf-public=cust-asf.ponee.io@mxnet.incubator.apache.org Wed Jun 6 15:48:01 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 391A4180671 for ; Wed, 6 Jun 2018 15:48:01 +0200 (CEST) Received: (qmail 81812 invoked by uid 500); 6 Jun 2018 13:48:00 -0000 Mailing-List: contact dev-help@mxnet.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mxnet.incubator.apache.org Delivered-To: mailing list dev@mxnet.incubator.apache.org Received: (qmail 81772 invoked by uid 99); 6 Jun 2018 13:47:59 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2018 13:47:59 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 3AA1618045C for ; Wed, 6 Jun 2018 13:47:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id YgQAMeA4vE4k for ; Wed, 6 Jun 2018 13:47:57 +0000 (UTC) Received: from mail-yb0-f195.google.com (mail-yb0-f195.google.com [209.85.213.195]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id AA6055FBA7 for ; Wed, 6 Jun 2018 13:47:56 +0000 (UTC) Received: by mail-yb0-f195.google.com with SMTP id q62-v6so1995299ybg.5 for ; Wed, 06 Jun 2018 06:47:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=NCdw6Ej2qFvVZ3gK7fcPUSucyysLkPLY3kxnPmptnDE=; b=dTq7Wbej41wewFQhC+7TZTEdnzL2yxmUv00EwsY+j1VHQUrQbzx7Pp65IzRoJ8ChL8 rNEaqqVBpJFJxseTafXn5rqpM3jRjZvwykgVouvglCE3E6yrAzXP2MFyxMgsO+QhOqKs 0jrKIv9UAsGkLpwdFzLgZEOP7SGtyzTydX+BWEa+Gr1ZHgxVpVplfE/xZyK4gatCyJAI 8tHMolcNJu/Zu3xhLsqtXSnemGwQgGI+osffHv99dRQ/QgAnhAvDK7/RTQa9wvujerW3 P+YWEV4O0OFQveEIOUUHUNq+UUPYz+iS5q3jueZZruxJn4218gJ7oBotQ18jFf5G6ZKY mLMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=NCdw6Ej2qFvVZ3gK7fcPUSucyysLkPLY3kxnPmptnDE=; b=NZvwJVkezfmexWudIT+lWzW19BlGS62EO2SCiyK1RJPcAuUW5K4WfWxVB3W2z+EVbO seaqivtcItI+QddXPi8csLyS5NfMMG+6IY5uoNLxPTMbtPoA+Z+DJaGFLice/jbPvHZP OSYTtsbKDAQ9FbSubieq0ECqa+Lo7KrkowvCM238GAjIDzgTnX+XfPMuEshglgOSZ2we 2OPKy0af/PrUFSQBKGGfOkOmQWJWHMZUDyGCgngSe2HaHdufZIKwquvpoSwqx7MQTsQb MJheMOYNCBmjMEVIBc+d9PE/V8kX1sHO+64Ddqaj7g669TJB/VlrfoNF/4WcvRtsNH3r kj1A== X-Gm-Message-State: APt69E3PZ8E9bXqjkL9eVyJBkW4CGqnovXw4egmbhgZOIFNEgZYz2vb6 DlzS8I4SpcPH3W0ZiRHZ/FLU7Kl8+qCgAouUI88= X-Google-Smtp-Source: ADUXVKLWJFrCOfufvoqh1E0ixp+p2t38T07W+ti+W4YuwKbSDpO2Ms6hgd535cyXeaMWyDOZHlHmaSNGoN057yhlysQ= X-Received: by 2002:a25:f442:: with SMTP id p2-v6mr1552721ybe.394.1528292875177; Wed, 06 Jun 2018 06:47:55 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a0d:d1c1:0:0:0:0:0 with HTTP; Wed, 6 Jun 2018 06:47:54 -0700 (PDT) In-Reply-To: <69937BAD-3E18-4BE6-BCD8-E653C46860FA@gmail.com> References: <69937BAD-3E18-4BE6-BCD8-E653C46860FA@gmail.com> From: Anton Chernov Date: Wed, 6 Jun 2018 15:47:54 +0200 Message-ID: Subject: Re: Make scalapkg fails if USE_BLAS is set to openblas/mkl/apple To: dev@mxnet.incubator.apache.org Content-Type: multipart/alternative; boundary="000000000000f0165f056df96966" --000000000000f0165f056df96966 Content-Type: text/plain; charset="UTF-8" Yes, we have checked that as well, but did not help in our case. I've checked out a commit close to 1.1 where it was still working and built it with the new ci scripts (using cmake build for armv7) and it failed very similar. It seems that the problem might be in the way we are building the library. Are you using cmake or make for builds? 2018-06-06 14:47 GMT+02:00 Naveen Swamy : > By the way it turned out the problem was when we used USE_SIGNAL_HANDLER > along with a combination of flags, try removing signal handler and see if > it works > > > On Jun 6, 2018, at 12:28 AM, Anton Chernov wrote: > > > > Unfortunately, I think this is the same behaviour that we're observing on > > Raspberry Pi's. Currently we are bisecting the release to find the > breaking > > commit to have an idea what exactly is broken. > > > > What I can say for now that this failure is not deterministic (on RPi's) > > and the library import to python passes in 1 of 4 times. The creation of > > NDArray's in this case fails though in all cases with similar message > that > > the stack is corrupted. > > > > Will update on findings. > > > > -- Anton > > > > > > 2018-06-05 16:19 GMT+02:00 Pedro Larroy : > > > >> Could you compile with debug symbols or get a core file? From this > output > >> is not clear why the crash is happening. > >> > >>> On Sun, May 27, 2018 at 10:04 AM, Naveen Swamy > wrote: > >>> > >>> Hi, > >>> I am working to publish MXNet-Scala package to maven and encountering > an > >>> issue when trying to build with openblas/mkl/apple. This is on both the > >>> master and the 1.2.0 branch? Can some one help with this. > >>> make scalapkg fails when it calls the MXNet backend to get all the > APIs ? > >>> can someone help here? should I publish with blas disabled? I have > >> already > >>> quite a bit of time on this/ > >>> > >>> [INFO] > >>> [INFO] Segmentation fault: 11 > >>> [INFO] > >>> [INFO] Stack trace returned 10 entries: > >>> [INFO] [bt] (0) > >>> /home/ubuntu/mxnet-master/scala-package/init-native/ > >>> linux-x86_64/target/libmxnet-init-scala-linux-x86_64.so( > >>> dmlc::StackTrace[abi:cxx11]()+0x1bc) > >>> [0x7f2f04ca58ec] > >>> [INFO] [bt] (1) > >>> /home/ubuntu/mxnet-master/scala-package/init-native/ > >>> linux-x86_64/target/libmxnet-init-scala-linux-x86_64.so(+0x31d7a4f) > >>> [0x7f2f07971a4f] > >>> [INFO] [bt] (2) /lib/x86_64-linux-gnu/libc.so.6(+0x354b0) > >> [0x7f3096cd24b0] > >>> [INFO] [bt] (3) > >>> /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/ > >>> libjvm.so(+0x3e4afc) > >>> [0x7f3093e0aafc] > >>> [INFO] [bt] (4) > >>> /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/ > >>> libjvm.so(+0xa239d6) > >>> [0x7f30944499d6] > >>> [INFO] [bt] (5) > >>> /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/ > >>> libjvm.so(+0xa24cdc) > >>> [0x7f309444acdc] > >>> [INFO] [bt] (6) > >>> /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/ > >>> libjvm.so(+0xa24e4c) > >>> [0x7f309444ae4c] > >>> [INFO] [bt] (7) > >>> /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/ > >>> libjvm.so(+0x7c3252) > >>> [0x7f30941e9252] > >>> [INFO] [bt] (8) > >>> /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/ > >>> libjvm.so(+0x5b00d6) > >>> [0x7f3093fd60d6] > >>> [INFO] [bt] (9) > >>> /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/ > >>> libjvm.so(+0x5b2c44) > >>> [0x7f3093fd8c44] > >>> [INFO] > >>> ------------------------------------------------------------ > ------------ > >>> > >>> [INFO] MXNet Scala Package - Parent ....................... SUCCESS [ > >>> 1.265 s] > >>> [INFO] MXNet Scala Package - Initializer .................. SUCCESS [ > >>> 2.215 s] > >>> [INFO] MXNet Scala Package - Initializer Native Parent .... SUCCESS [ > >>> 0.017 s] > >>> [INFO] MXNet Scala Package - Initializer Native Linux-x86_64 SUCCESS [ > >>> 4.417 s] > >>> [INFO] MXNet Scala Package - Macros ....................... SUCCESS [ > >>> 7.083 s] > >>> [INFO] MXNet Scala Package - Core ......................... FAILURE [ > >>> 4.341 s] > >>> [INFO] MXNet Scala Package - Native Parent ................ SKIPPED > >>> [INFO] MXNet Scala Package - Native Linux-x86_64 CPU-only . SKIPPED > >>> [INFO] MXNet Scala Package - Inference .................... SKIPPED > >>> [INFO] MXNet Scala Package - Examples ..................... SKIPPED > >>> [INFO] MXNet Scala Package - Spark ML ..................... SKIPPED > >>> [INFO] MXNet Scala Package - Full Parent .................. SKIPPED > >>> [INFO] MXNet Scala Package - Full Linux-x86_64 CPU-only ... SKIPPED > >>> > >>> -Naveen > >>> > >> > --000000000000f0165f056df96966--