Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 5B949E00DEE; Wed, 14 Aug 2019 19:01:09 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, * medium trust * [147.11.1.11 listed in list.dnswl.org] Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 0A119E00DE6 for ; Wed, 14 Aug 2019 19:01:07 -0700 (PDT) Received: from ALA-HCA.corp.ad.wrs.com ([147.11.189.40]) by mail.windriver.com (8.15.2/8.15.1) with ESMTPS id x7F210Vm005233 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 14 Aug 2019 19:01:01 -0700 (PDT) Received: from [172.25.44.5] (172.25.44.5) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.3.468.0; Wed, 14 Aug 2019 19:01:00 -0700 To: , References: <279ea8172bf6d37d284e8d5cb4efb077@vivaldi.net> From: Randy MacLeod Message-ID: <1997fc5b-2e25-c56a-c423-dd2c62404971@windriver.com> Date: Wed, 14 Aug 2019 22:00:59 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <279ea8172bf6d37d284e8d5cb4efb077@vivaldi.net> X-Originating-IP: [172.25.44.5] Subject: Re: Segmentation fault | bitbake machine-image.bb | core dumped X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2019 02:01:09 -0000 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit On 8/12/19 10:42 AM, jaymin.dabhi@vivaldi.net wrote: > Hello All, > > Facing segmentation fault (core dumped) while doing bitbake. > I am using Yocto Jethro branch. Jethro isn't officially supported by the Yocto Project. The support cycle is ~ 1 year. https://wiki.yoctoproject.org/wiki/Releases Can you reproduce the issue on master or a newer supported branch? If so you could file a bug in: https://wiki.yoctoproject.org/wiki/Releases Also, see below for some tips. > > When I added python3-pip recipe (in local.conf) and started building > image, segmentation fault occurred. > Although, I am able to bitbake python3-pip individually (i.e. bitbake > python3-pip). > As per log my assumption is, core dumped is occurring at make_ext4fs > execution. > > Following are the error logs: > > ERROR: Function failed: do_makesystem (log file is located at > poky/build/tmp-glibc/work/apq8053-oe-linux/machine-image/1.0-r0/temp/log.do_makesystem.15059) > > ERROR: Logfile of failure stored in: > poky/build/tmp-glibc/work/apq8053-oe-linux/machine-image/1.0-r0/temp/log.do_makesystem.15059 > > Log data follows: > | DEBUG: Executing shell function do_makesystem > | > poky/build/tmp-glibc/work/apq8053-oe-linux/machine-image/1.0-r0/temp/run.do_makesystem.15059: > line 105: 15073 Segmentation fault      (core dumped) make_ext4fs -J -b > 1024 -s -a / -S Odd, I've never see that happen before. Is it reproducible? Can you adjust the core file limits using 'ulimit', generate a core file and get a backtrace? > poky/build/tmp-glibc/work/apq8053-oe-linux/machine-image/1.0-r0/rootfs/etc/selinux/mls/contexts/files/file_contexts > -l 768000000 > poky/build/tmp-glibc/deploy/images/apq8053-perf/apq8053-sysfs.ext4 > poky/build/tmp-glibc/work/apq8053-oe-linux/machine-image/1.0-r0/rootfs > | WARNING: > poky/build/tmp-glibc/work/apq8053-oe-linux/machine-image/1.0-r0/temp/run.do_makesystem.15059:1 > exit 139 from > |   make_ext4fs -J -b 1024 -s -a / -S > poky/build/tmp-glibc/work/apq8053-oe-linux/machine-image/1.0-r0/rootfs/etc/selinux/mls/contexts/files/file_contexts > -l 768000000 > poky/build/tmp-glibc/deploy/images/apq8053-perf/apq8053-sysfs.ext4 > poky/build/tmp-glibc/work/apq8053-oe-linux/machine-image/1.0-r0/rootfs > | ERROR: Function failed: do_makesystem (log file is located at > poky/build/tmp-glibc/work/apq8053-oe-linux/machine-image/1.0-r0/temp/log.do_makesystem.15059) > > ERROR: Task 11 ( > poky/meta-qti-bsp/recipes-products/images/machine-image.bb, > do_makesystem) failed with exit code '1' > > > Whether python3-pip recipe is creating an issue or something else? > (attached the python3-pip recipe file) What did you change in your conf/local.conf file? If you revert that change, then you are able to generate the image again? ../Randy > Please let me know. > Any suggestions are welcome. > > Regards, > Jaymin > -- # Randy MacLeod # Wind River Linux