Bug 8915 - Extensible SDK: SDK installation segmentation fault
Summary: Extensible SDK: SDK installation segmentation fault
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 2.0
Hardware: x86 Multiple
: Medium+ critical
Target Milestone: 2.1 M2
Assignee: Paul Eggleton
QA Contact: Bogdan Alexandru Voiculescu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-01-13 01:39 UTC by Lei Yang
Modified: 2016-02-12 12:49 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lei Yang 2016-01-13 01:39:43 UTC
when installing extensible SDK for edison, intel-quark and beagletone, the segmentation fault raised and exit installation process during preparing build system. 
the log shows like this:
| echo timestamp > s-gtyp-input
| build/gengtype  \
|                     -S /home/iottest/workspace/edison/iot-os_sdk/tmp-glibc/work-shared/gcc-5.3.0-r0/gcc-5.3.0/gcc -I gtyp-input.list -w tmp-gtype.state
| Makefile:2409: recipe for target 's-gtype' failed
| make[1]: *** [s-gtype] Segmentation fault (core dumped)
| make[1]: Leaving directory '/home/iottest/workspace/edison/iot-os_sdk/tmp-glibc/work/x86_64-linux/gcc-cross-initial-x86_64/5.3.0-r0/gcc-5.3.0/build.x86_64-linux.x86_64-iotos-linux/gcc'
| Makefile:4105: recipe for target 'all-gcc' failed
| make: *** [all-gcc] Error 2
| WARNING: exit code 1 from a shell command.
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /home/iottest/workspace/edison/iot-os_sdk/tmp-glibc/work/x86_64-linux/gcc-cross-initial-x86_64/5.3.0-r0/temp/log.do_compile.490)
NOTE: recipe gcc-cross-initial-x86_64-5.3.0-r0: task do_compile: Failed
Comment 1 Paul Eggleton 2016-01-22 12:06:07 UTC
As of the following commits it is no longer possible for the task that failed here to run during installation:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=0269219fbebd4e92b9505b3d76d593dbf4e2c539
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=2e620a4785bf3f3c787e4005911513d9474b9904

Therefore I'm going to mark this fixed.
Comment 2 Bogdan Alexandru Voiculescu 2016-02-08 12:18:32 UTC
Hi Paul, 
I got another error when installing beaglebone build
NOTE: Tasks Summary: Attempted 665 tasks of which 91 didn't need to be rerun and all succeeded.
ERROR: Unexpected tasks left over to be executed:
   task 642 of 1900 (ID: 1321, /home/yocto/poky_sdk_beaglebone/layers/poky/meta/recipes-core/dbus/dbus_1.10.6.bb, do_fetch)
   task 952 of 1900 (ID: 1843, virtual:native:/home/yocto/poky_sdk_beaglebone/layers/poky/meta/recipes-core/dbus/dbus_1.10.6.bb, do_fetch)
   task 1045 of 1900 (ID: 1317, /home/yocto/poky_sdk_beaglebone/layers/poky/meta/recipes-core/dbus/dbus_1.10.6.bb, do_unpack)
   task 1404 of 1900 (ID: 1318, /home/yocto/poky_sdk_beaglebone/layers/poky/meta/recipes-core/dbus/dbus_1.10.6.bb, do_patch)
   task 1449 of 1900 (ID: 1839, virtual:native:/home/yocto/poky_sdk_beaglebone/layers/poky/meta/recipes-core/dbus/dbus_1.10.6.bb, do_unpack)
   task 1835 of 1900 (ID: 1324, /home/yocto/poky_sdk_beaglebone/layers/poky/meta/recipes-core/dbus/dbus_1.10.6.bb, do_populate_lic)
   task 1854 of 1900 (ID: 1840, virtual:native:/home/yocto/poky_sdk_beaglebone/layers/poky/meta/recipes-core/dbus/dbus_1.10.6.bb, do_patch)
   task 1877 of 1900 (ID: 1846, virtual:native:/home/yocto/poky_sdk_beaglebone/layers/poky/meta/recipes-core/dbus/dbus_1.10.6.bb, do_populate_lic)

Could you advise?
Comment 3 Paul Eggleton 2016-02-09 01:32:27 UTC
Off the top of my head I don't know - I don't see that issue here. Could you please file a separate bug?
Comment 4 Bogdan Alexandru Voiculescu 2016-02-09 15:27:06 UTC
The error described does not reproduce.