[oclug] rpm seg fault

Brenda J. Butler bjb at istop.com
Fri Jun 13 22:44:37 EDT 2003


On Fri, Jun 13, 2003 at 08:53:21PM -0400, Dana Webber wrote:
>  Can anyone suggest what to do here?
> 
> [root at dunrobin backup]# rpm -i ViaVoice_TTS_rtk-5.1-1.2.i386.rpm
> Segmentation fault
> 
> [root at dunrobin backup]# rpm --version
> RPM version 4.1
> [root at dunrobin backup]# rpm -V ViaVoice_TTS_rtk-5.1-1.2.i386.rpm
> package ViaVoice_TTS_rtk-5.1-1.2.i386.rpm is not installed
> [root at dunrobin backup]# rpm -checksig ViaVoice_TTS_rtk-5.1-1.2.i386.rpm
> ViaVoice_TTS_rtk-5.1-1.2.i386.rpm: md5 OK
> [root at dunrobin backup]#
> 
> [root at dunrobin backup]# uname -a
> Linux dunrobin.dyn.dhs.org 2.4.20-18.8 #1 Thu May 29 07:20:39 EDT 2003 i686 
> athlon i386 GNU/Linux

My first thought was perhaps the ViaVoice rpm was not good,
but you seem to have covered that possibility in your tests above
(checksig).  It's still possible that it's a bad rpm, with a
checksum that matches the bad contents (ie, rpm not "corrupted",
but bad stuff packed into a well-packaged rpm).  Maybe one of the
install scripts is segfaulting, not rpm.

Suggestion, for if you have time to fiddle:
Try running the rpm -i session under strace and see where it
dies.

strace rpm -i ViaVoice_ITS_rtk-5.1-1.2.i386.rpm

strace will notice every time rpm does a system call and will
report it on stdout with the arguments passed to the system
call and the return status.  It produces a lot of output,
let it scroll by and then check the last few calls to see
if there's anything failing that shouldn't be, or system
calls being made with invalid arguments.

-- 
bjb at istop dot com
Welcome to the GNU age!   http://www.gnu.org
5F82 9855 E247 1F8A 49CD  053E FB03 E77F 2A19 D707



More information about the OCLUG mailing list