Bug 41089 - RPM seg fault
Summary: RPM seg fault
Status: CLOSED DUPLICATE of bug 36641
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 7.1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2001-05-17 12:15 UTC by Paul Johnson
Modified: 2007-04-18 16:33 UTC (History)
0 users

Clone Of:
Last Closed: 2001-05-20 15:19:46 UTC

Attachments (Terms of Use)
Paul JOhnson's rpm database, as Jeff Johnson asked (deleted)
2001-05-17 12:20 UTC, Paul Johnson
no flags Details

Description Paul Johnson 2001-05-17 12:15:49 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.2-2 i686)

Description of problem:
RPM mysteriously started seg faulting. 

[pauljohn@dv209s44 SPECS]$ rpm -ba swarm-hdf5-jdk-RH7-2.1.69.spec
--target=i686 &> buildswarm69.txt
Segmentation fault (core dumped)
[pauljohn@dv209s44 SPECS]$ rpm -ba swarm-hdf5-jdk-RH7-2.1.69.spec
Building target platforms: i686
Building for target i686
Segmentation fault (core dumped)
[pauljohn@dv209s44 SPECS]$ rpm -ba
Segmentation fault (core dumped)

How reproducible:

Steps to Reproduce:
1. I had this same seg fault problem on a RedHat 7.0 system, and because of
it I installed RH 7.1 in a clean partition.
2. RPM worked fine, I thought I had escaped the problem.
3. After about one month, how RH 7.1 has the same problem.

In the RPM list, Jeff Johnson said "post a bugzilla report and I'll figure
it out.  Well, here it is!"

Actual Results:  RPM doesn't work anymore

Expected Results:  ?

Additional info:

I can submit the rpm database in an attachment

Comment 1 Paul Johnson 2001-05-17 12:33:39 UTC
I tried to attach the rpm database, but got a cgi error from the server:Software

DBD::Oracle::st execute failed: ORA-01691: unable to extend lob segment
BUGZILLA.SYS_LOB0000003839C00008$$ by 715 in tablespace ENG_DATA02 (DBD ERROR:
OCILobTrim/OCILobWrite/LOB refetch) at
line 124. 

So I've taken the RPM data and put it on my web page


Comment 2 Jeff Johnson 2001-05-20 13:37:57 UTC
This is a build problem, you can disable rpmdb access during
build by adding --nodeps.

Can you send a pointer to the src rpm you are building so I can
try to reproduce?

Comment 3 Paul Johnson 2001-05-20 15:19:41 UTC
Dear Jeff:

I can't build the srpm, but I did package the source code, icon, and spec file
and put them here for you to see:


I tried building with --nodeps. Got no progress.

$ rpm -ba swarm-hdf5-jdk-RH7-2.1.69.spec --target=i686 --nodeps
Building target platforms: i686
Building for target i686
Segmentation fault (core dumped)

After all this, I find RPM can still do a --rebuild without any errors and rpm
-qa still seems to work fine.  I have installed one RPM package from somebody
else and that was OK too.

Comment 4 Jeff Johnson 2001-05-20 17:14:48 UTC
OK, I've reproduced the segfault, same problem as bugzilla #36641. AFAIK, the
problem is fixed in rpm-4.0.3-0.6, availiable at
probably through Raw Hide as well.

*** This bug has been marked as a duplicate of 36641 ***

Note You need to log in before you can comment on or make changes to this bug.