From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.ppc-ag.de ([212.65.2.129]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jZUxi-0001vm-GN for ptxdist@pengutronix.de; Fri, 15 May 2020 09:40:58 +0200 Received: from [10.40.4.2] (port=53588 helo=masv00063.ppc-ag.de) by mail.ppc-ag.de with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1jZUxf-0005p8-2o for ptxdist@pengutronix.de; Fri, 15 May 2020 09:40:51 +0200 Received: from localhost (localhost [127.0.0.1]) by masv00063.ppc-ag.de (Postfix) with ESMTP id C3B613249420 for ; Fri, 15 May 2020 09:40:51 +0200 (CEST) Received: from masv00063.ppc-ag.de ([127.0.0.1]) by localhost (masv00063.ppc-ag.de [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 6C4m03N5EnL9 for ; Fri, 15 May 2020 09:40:46 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by masv00063.ppc-ag.de (Postfix) with ESMTP id 22FE23249424 for ; Fri, 15 May 2020 09:40:46 +0200 (CEST) Received: from masv00063.ppc-ag.de ([127.0.0.1]) by localhost (masv00063.ppc-ag.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id W0Cd1Rhv0pit for ; Fri, 15 May 2020 09:40:46 +0200 (CEST) Received: from [192.168.247.235] (unknown [192.168.247.235]) by masv00063.ppc-ag.de (Postfix) with ESMTPSA id 0B3A53249420 for ; Fri, 15 May 2020 09:40:46 +0200 (CEST) References: <83b41b28-4b4a-5c1b-f10a-da3753cecfa5@ppc-ag.de> From: Mircea Ciocan Message-ID: <8c33ac40-7757-d006-80d9-725f6536b3a6@ppc-ag.de> Date: Fri, 15 May 2020 09:40:45 +0200 MIME-Version: 1.0 In-Reply-To: <83b41b28-4b4a-5c1b-f10a-da3753cecfa5@ppc-ag.de> Content-Language: en-US Subject: Re: [ptxdist] Segmentation fault with ptxdist-2020.05.0 List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="windows-1252"; Format="flowed" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de More information about the subject: I've repeated the compilation with all releases since 2020.02.0, the = same config and machine as described under (sorry for top posting): - 2020.02.0 - works OK -2020.03.0 - works OK -2020.04.0 - crashes, bash segfault. -2020.05.0 - crashes, same bash segfault, in the same place. So the regression is between 2020.03.0 and 2020.04.0, I'll try a diff, = maybe I can spot what went wrong, but I could use your kind help. The main problem is that the older releases as 2020.05.0 doesn't compile = the toolchain correctly. Best regards, Mircea On 14.05.20 15:36, Mircea Ciocan wrote: > Hello list, > > I have the most strange error with the ptxdist-2020.05.0 while trying = > to compile a simple image for the iMX6ULL EVK, the shell segfaults !!! > > Here are some information, that you could find useful: > > Distribution: Ubuntu 18.04 LTS, 8GB RAM, current updates. > > System shell set to bash. > > The compilation of everything goes perfectly OK, but while building = > the root filesystem image it crashes, always in the same place (100% = > reproducible), when adding the net-dns-perl package, with the = > following message; > > info: selected ptxconfig: > =A0=A0=A0=A0=A0 'configs/platform-mcimx6ull-evk/ptxconfig.tiny' > ptxdist: warning: No dev packages found in = > 'Firmware/packages-MCIMX6ULL-EVK' > > ...[snip]... > > [compilation goes OK] > > ---------------- > target: root.tgz > ---------------- > ...[snip]... > > Configuring readline. > Configuring net-dns-perl. > environment: line 1: 31523 Done=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 { echo "cd = > '${work_dir}' || exit"; ptxd_dopermissions = > "${ptxd_reply_perm_files[@]}"; echo ":"; } > =A0=A0=A0=A0 31524 Segmentation fault=A0=A0=A0=A0=A0 (core dumped) | sh > ./Software/ptxdist-2020.05.0/rules/image-root-tgz.make:29: recipe for = > target './Software/Firmware/platform-MCIMX6ULL-EVK/images/root.tgz' = > failed > > make: *** [./Software/Firmware/platform-MCIMX6ULL-EVK/images/root.tgz] = > Error 139 > > > In the system log I get something like: > > "vmunix: [132753.581596] sh[10747]: segfault at 7ffe5bdf1fe8 ip = > 00007fdb0b04930e sp 00007ffe5bdf1fe0 error 6 in = > libc-2.27.so[7fdb0afb5000+1e7000]" > > > I have to say that I rarely, if ever, see this type of crash, and the = > build finishes OK with ptxdist-2020.02.0. Any pointer on how can I fix = > or debug this are greatly appreciated. > > > =A0Best regards, > > =A0Mircea _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de