ldconfig freaks out with bus error [was: lh_build woes]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat, Mar 29, 2008 at 01:44:40AM -0400, Justin Pryzby wrote:
> On Sat, Mar 29, 2008 at 05:12:01AM +0000, tomas at tuxteam.de wrote:
[...]
> > Good point. How do I run ldconfig manually whithin an lh instance? Is a
> > chroot enough?
> Yes, I think sudo chroot ./chroot then strace ldconfig.
Thanks. Trying that now. Might take some time since strace is not there
and I expect some catch-22 when installing it without functioning
ldconfig.
> Are you using a debian.org kernel or a custom one?
It's this one:
ii linux-image-2.6-686 2.6.18+6etch3 Linux kernel 2.6 image on PPro/Celeron/PII/PIII/P4
(more or less current Etch).
Here are some more data you asked: the build box is an IBM Thinkpad X31
with a Pentium M CPU @ 1.4 GHz, 1 GB of RAM. I'm sitting on a crypt FS
(which makes sense for a laptop, but I guess slows down disk intensive
things, as lh_build probably is!).
Ah. Install of strace succeeded :-)
Ah-hah: It goes about opening a lib, mmapping it, closing it -- for many
libs in the system (kinda makes sense, no?). This are the last two
cycles:
[... mucho deleto... ]
| open("/usr/lib/libexchange-storage-1.2.so.1.0.1", O_RDONLY) = 4
| fstat64(4, {st_mode=S_IFREG|0644, st_size=266012, ...}) = 0
| mmap2(NULL, 266012, PROT_READ, MAP_SHARED, 4, 0) = 0xb7efa000
| munmap(0xb7efa000, 266012) = 0
| close(4) = 0
| open("/usr/lib/libgimpcolor-2.0.so.0.200.13", O_RDONLY) = 4
| fstat64(4, {st_mode=S_IFREG|0644, st_size=33892, ...}) = 0
| mmap2(NULL, 33892, PROT_READ, MAP_SHARED, 4, 0) = 0xb7f32000
| --- SIGBUS (Bus error) @ 0 (0) ---
| +++ killed by SIGBUS +++
Now I'm off to see what could be possibly wrong with libgimpcolor.
Thanks a bunch for your help!
Regards
- -- tom?s
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFH7f7mBcgs9XrR2kYRApOuAJ9ffs4MNbi/ipJiSsLKAp1kqy8/cACfU/EQ
/5ujDJ9ELp8j0OIN7YBmgqc=
=hnOe
-----END PGP SIGNATURE-----
Reply to: