Bug 471923 - ESC can crash when connecting to an invalid or down TPS
Summary: ESC can crash when connecting to an invalid or down TPS
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: esc
Version: 5.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Jack Magne
QA Contact: Suzanne Hillman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-17 17:51 UTC by Jack Magne
Modified: 2009-01-20 20:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-20 20:51:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:0085 0 normal SHIPPED_LIVE esc bug fix and enhancement update 2009-01-20 16:04:23 UTC

Description Jack Magne 2008-11-17 17:51:42 UTC
Description of problem:

If ESC attempts to perform an operation such as a Format against a TPS host that happens to be down, ESC can crash. If the user's profile is configured to point to a host that does not exist, the problem can happen as well. This is a timing issue.


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

esc-1.0.0-37.el5

How reproducible:

Always on my local machine.

Steps to Reproduce:
1. Start ESC.
2. Enter a token.
3. Bring the TPS down or manually edit the user's profile to point to a TPS host that does not exist. (Profile found in ~/.redhat/esc/*default/prefs.js)
4. Attempt to perform a Format operation on the token.
  
Actual results:

ESC can crash under these conditions.

Expected results:

ESC should simply complain about a lost connection and continue.

Additional info:

I have already figured out the problem and have a patch in hand.

Comment 1 Suzanne Hillman 2008-11-17 20:30:33 UTC
Devel is easily able to reproduce and thus verify this bug; I am unable to reproduce, but as it is both an easy fix and a nasty thing to have ESC crash, think this should get into 5.3.

Comment 3 Jack Magne 2008-11-20 18:08:32 UTC
Will respin as soon as possible. Thanks..

Comment 5 Jack Magne 2008-11-27 01:47:52 UTC
Resolved in esc-1.0.0.0-38.

Comment 7 Jack Magne 2008-12-18 21:25:25 UTC
1. I manually loaded a version of ESC before the crash fix (37).
2. I brought down the TPS being pointed to by my token.
3. Tried a Format and the Bug Buddy crash reporter thing showed up.

4. I then manually reloaded the latest ESC (39) on the system.
5. Tried the Format again and it gave me the usual, "lost connection"
message.
6. I repeated the test 3 or 4 times without incident.

Comment 8 Jack Magne 2008-12-20 01:32:24 UTC
I attempted to duplicate on the X86_64 platform and could not. No problems encountered when trying the fix though.

Bug is VERIFIED for i386.

Comment 9 Suzanne Hillman 2008-12-22 20:25:18 UTC
Thank you Jack. :)

Moving bug to VERIFIED.

Comment 11 errata-xmlrpc 2009-01-20 20:51:25 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-0085.html


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