Bug 2371 - [Hob]Handle out of memory exception in HOB
Summary: [Hob]Handle out of memory exception in HOB
Status: RESOLVED FIXED
Alias: None
Product: Hob
Classification: Build System, Metadata & Runtime
Component: hob (show other bugs)
Version: 1.2
Hardware: x86 Multiple
: Low normal
Target Milestone: 1.2.1
Assignee: Dongxiao Xu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-04-26 05:34 UTC by Hongna Xu
Modified: 2012-05-08 01:06 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
imcompatible-host (42.40 KB, image/png)
2012-04-26 05:34 UTC, Hongna Xu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hongna Xu 2012-04-26 05:34:50 UTC
Created attachment 496 [details]
imcompatible-host

When building image encounter insufficient memory, we got "can't allocate memory" error from hob, then close the popup it return to main menu, select MACHINE=qemuarm, after parsing i got "Nothing PROVIDERS syslinux" error as attachment, because we don't handle the status of hob when meet out of memory exception.
Poky/denzil: d20a24310eb43fed9a3f3e75752c9ad45a18cbe4
Comment 1 Shane Wang 2012-04-26 06:06:54 UTC
Hongna's machine doesn't have swap partition, and she is running ADT testing and Hob testing at the same time, so her machine runs out of memory.

When Hob is doing build and exception happens, only "command failed" event comes, "build failed" event doesn't come. One of the Hob flag self.building is not cleared. So, the internal state is not correct.