| Summary: | tasks can not start up with qemux86 | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | xianchao zhang <xianchao.zhang> |
| Component: | meta-yocto | Assignee: | Edwin Zhai <edwin.zhai> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | edwin.zhai, jessica.zhang, jiajun.xu, kevin.tian, poky.bs.watcher, poky.watcher, richard.purdie, sgw, xianchao.zhang |
| Version: | 0.9 | ||
| Target Milestone: | 0.9 M4 | ||
| Hardware: | x86 | ||
| OS: | x86 | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Program Management | Documentation change: | --- |
|
Description
xianchao zhang
2010-10-09 01:41:27 UTC
(In reply to comment #0) > Testing Env: > Host: Ubuntu 10.04 LTS > Kernel: 2.6.32-21-generic-pae > Image location: http://autobuilder.pokylinux.org/nightly/20101007-1/ > > 1. download sato/sdk image from the build server. > 2. boot up qemuarm with sato or sdk image > 3. click tasks with mouse and check the dmesg log > > > tasks[484]: segfault at 0 ip 453d6311 sp bff5ddbc error 4 in > libc-2.12.so[45366000+13d000] the step 2 should be: boot up qemux86 with sato or sdk image The bug still exists in build 20101011. Root cause is the zone.tab file is missing under /usr/share/zoneinfo. Both dates and tasks rely on libical, where icaltimezone_get_utc_timezone get called. It will try to find the "zone.tab" file, and get NULL if missing zone.tab. Then strlen(NULL) cause segfault. I'm not sure why zone.tab is missing, seems no changes related libical & tzdata recently. Anyway, patch will be out soon. This bug is arising with the milestone build 10/11 with non-x86 arch(qemuarm/qemuppc). For example: qemuarm root@qemuarm:~# tasks Segmentation fault The reason of zone.tab missing is that libc-package.bbclass remove them. Tricky part is that libical has its own builtin timezone data. If finding no timezone data in /usr/share/zoneinfo, libical will use its own. So if libical got built before tzdata, this bug is probably covered. have sent out the fix. Verify the bug with 20101018 build, the bug is fixed. |