[PLUG] Running RPM -Uvh gives segmentation fault

Michael Luevane mikel at quantecllc.com
Wed Jul 23 09:41:01 UTC 2003


Okay, I took another look. This is the last section of the rpm-trace file:

open("/lib/ld-linux.so.2", O_RDONLY)    = 13
read(13, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\n\0\000"...,
1024) = 1024
fstat64(13, {st_mode=S_IFREG|0755, st_size=621127, ...}) = 0
old_mmap(NULL, 77300, PROT_READ|PROT_EXEC, MAP_PRIVATE, 13, 0) = 0x4064b000
mprotect(0x4065d000, 3572, PROT_NONE)   = 0
old_mmap(0x4065d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 13,
0x11000) = 0x4065d000
close(13)                               = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

So, I looked for /lib/ld-linux.so.2 and it's there. It's a pointer to
ld-2.3.1.so. Now what? I'm not even sure that the error occurred on the
close - or did it?
 /================================================\
| Michael Luevane      | Systems Administrator     |
| mikel at quantecllc.com | Quantec, LLC              |
| 503-228-2992         | http://www.quantecllc.com |
 \================================================/

-----Original Message-----
From: plug-admin at lists.pdxlinux.org
[mailto:plug-admin at lists.pdxlinux.org]On Behalf Of Paul Heinlein
Sent: Wednesday, July 23, 2003 9:05 AM
To: plug at lists.pdxlinux.org
Subject: Re: [PLUG] Running RPM -Uvh gives segmentation fault


On Wed, 23 Jul 2003, Michael Luevane wrote:

> The actual issue is when I get to an RPM that doesn't have any
> dependency issues (i.e., it should install just fine). It goes
> through the install, I watch the hash marks go across the screen
> then I get a Segmentation fault. Every time. Happens with two
> different packages right now, libdbtcl3.3-3.3.11-13mdk.i586.rpm and
> libintl2-0.11.5-2mdk.i586.rpm RPM version is 4.0.3

Michael,

I don't have any Mandrake-specific experience, but you might try
wrapping strace around rpm to see where the failure is really taking
place, e.g.,

  strace -o /tmp/rpm-trace rpm -Uvh libintl2-0.11.5-2mdk.i586.rpm

Toward the end of the rpm-trace file, you should get some hints as to
what system calls are leading to the segfault.

--Paul Heinlein <heinlein at madboa.com>

_______________________________________________
PLUG mailing list
PLUG at lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug






More information about the PLUG mailing list