Bug 120430 - up2date crash downloading headers for RHSA-2004:120-08
Summary: up2date crash downloading headers for RHSA-2004:120-08
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: up2date
Version: 3.0
Hardware: athlon
OS: Linux
medium
high
Target Milestone: ---
Assignee: Adrian Likins
QA Contact: Fanny Augustin
URL:
Whiteboard:
Depends On:
Blocks: up2date-rhel3-u2
TreeView+ depends on / blocked
 
Reported: 2004-04-08 19:01 UTC by RMauger
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-04-09 11:41:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description RMauger 2004-04-08 19:01:13 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030922

Description of problem:
Running up2date-gnome since the release of RHSA-2004:120-08 results in
a crash with the following traceback:

SSL exception (104, 'Connection reset by peer')
SSL exception (-1, 'Unexpected EOF')
Traceback (most recent call last):
  File "/usr/share/rhn/up2date_client/gui.py", line 1361, in
onChannelsPageNext
    self.pkgList = self.pList.getPackagesToInstall()
  File "/usr/share/rhn/up2date_client/packageList.py", line 521, in
getPackagesToInstall
    result = self.__skipPackages(result)
  File "/usr/share/rhn/up2date_client/packageList.py", line 550, in
__skipPackages
    packageList = self.__skipFiles(packageList)
  File "/usr/share/rhn/up2date_client/packageList.py", line 571, in
__skipFiles
    ignoreMsgCallback = self.ignoreMsgCallback)
  File "/usr/share/rhn/up2date_client/packageList.py", line 610, in
buildHeaderList
    hdr = headerList[pkg]
  File "/usr/share/rhn/up2date_client/headers.py", line 37, in __getitem__
    self.__retrievePackage(item)
  File "/usr/share/rhn/up2date_client/headers.py", line 42, in
__retrievePackage
    hdr, sourceType = rpcServer.doCall(self.repos.getHeader, item)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 112, in doCall
    ret = apply(method, args, kwargs)
  File "/usr/share/rhn/up2date_client/repoDirector.py", line 31, in
getHeader
    return self.handlers[channel['type']].getHeader(pkg, msgCallback,
progressCallback)
  File "/usr/share/rhn/up2date_client/rpmSource.py", line 210, in
getHeader
    header = source.getHeader(pkg, progressCallback = progressCallback)
  File "/usr/share/rhn/up2date_client/repoBackends/up2dateRepo.py",
line 102, in getHeader
    rpmSourceUtils.saveHeader(hdr)
  File "/usr/share/rhn/up2date_client/rpmSourceUtils.py", line 31, in
saveHeader
    os.write(fd, hdr.unload())
rpm.error: can't unload bad header

//

The problem seems to occur with openssl-devel-0.9.7a-33.4.i386.hdr.


Version-Release number of selected component (if applicable):
up2date-4.2.5-1

How reproducible:
Always

Steps to Reproduce:
1. Run up2date-gnome.
2. Observe header download followed by crash.
3.

Additional info:

Comment 1 Adrian Likins 2004-04-08 22:07:10 UTC
Looks like a bad header is in the cache,
try:

rm -rf /var/spool/up2date/*.hdr 



Comment 2 RMauger 2004-04-09 11:36:38 UTC
Removal of relevant headers(openssl-0.9.7a-33.4.i686.hdr,
openssl-devel-0.9.7a-33.4.i386.hdr) from up2date cache has now
resolved this issue. I had previously tried this on a number of
occasions without success. Oh well.

Thank you Adrian.


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