| Summary: | BeagleBoard: rpm query package failed due to glibc realloc() error | ||
|---|---|---|---|
| Product: | [Yocto Project Subprojects] Kernel | Reporter: | Chen Qi <Qi.Chen> |
| Component: | linux-yocto | Assignee: | Bruce Ashfield <bruce.ashfield> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | dvhart, jessica.zhang, liang.li2, liezhi.yang, mark.hatle, sgw, yi.zhao, yp.kernel.watcher, yp.watcher, zhenfeng.zhao |
| Version: | 1.3 | ||
| Target Milestone: | 1.3 M5 | ||
| Hardware: | Beagleboard | ||
| OS: | arm | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Chen Qi
2012-09-27 03:27:45 UTC
All rpm commands failed due to the same error. root@beagleboard:~# rpm -e avahi *** glibc detected *** rpm: realloc(): invalid pointer: 0xb6fcb008 *** Aborted root@beagleboard:~# rpm *** glibc detected *** rpm: realloc(): invalid pointer: 0xb6f82008 *** Aborted The current status seems strange, the error occurs randomly, it may appear or not, once added a "strace" before the command, e.g.: "strace -o out.c rpm", it worked well, I suspect something is wrong with the image when downloading or copying, so try to get the image again and test it. I used an old kernel (version 3.0.32) from m5 rc1 20120919 build with the new rootfs to test it. This issue didn't happen. Re-route to the kernel team. From the WR kernel team (replying to this bug for Bruce)
> Anyway, here is some good news. I have found the issue and the fix. -stable
> broke it and -stable fixed it :).
>
> The offending commit is [ARM: 7478/1: errata: extend workaround for erratum
> #720789] which was added to v3.4.9.
>
> The commit which fixes it is [ARM: 7489/1: errata: fix workaround for erratum
> #720789 on UP systems] which was added to v3.4.11.
>
> I have tested just adding the fix commit to the tree and it works. So you can
> either go in with a pinpoint fix and use it, or update to base off of v3.4.11.
Fix in master: commit 292f79af44e2f583702197306c7070d09fcd8114 Author: Bruce Ashfield <bruce.ashfield@windriver.com> Date: Sun Oct 7 23:41:31 2012 -0400 linux-yocto-bsps: update hardware reference BSPs to v3.4.11 Verified. Git Branch: danny Git Hash: c9de24d3f4845251b01e2eab0aeeb7472badc5bb |