Bug 756127 - RHN_REGISTER Segfault
Summary: RHN_REGISTER Segfault
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: rhn-client-tools
Version: 5.5
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Milan Zázrivec
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-22 18:46 UTC by Ovi
Modified: 2012-04-26 12:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-26 12:59:38 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Ovi 2011-11-22 18:46:32 UTC
Description of problem:

Whenever I attempt to do a rhn_register and enter my RHN information I get a segfault. When I enter faulty credentials I get a message that my credentials are not valid. Looking at the logs all I see is segfault, no other helpful information

How reproducible:
Every single time

Steps to Reproduce:
1. rhn_register

Comment 1 Jiří Mikulka 2011-11-23 08:12:36 UTC
Hi Ovi,
which version of rhn-client-tools are you using?

Comment 2 Jiří Mikulka 2011-11-23 08:14:47 UTC
Also version of rhn-setup.

(In reply to comment #1)
> Hi Ovi,
> which version of rhn-client-tools are you using?

Comment 3 Milan Zázrivec 2011-11-23 12:32:27 UTC
What does your logs (/var/log/up2date) look like? What does the segfault
look like?

Comment 4 Ovi 2011-11-23 13:39:46 UTC
Hi Jiri & Milan, 

I'm using: rhn-client-tools-0.4.20-33.el5_5.4 and rhn-setup-0.4.20-33.el5_5.4. Up2date just has the following:

[Tue Nov 22 12:34:52 2011] rhn_register
Traceback (most recent call last):
  File "/usr/sbin/rhn_register", line 82, in ?
    app.run()
  File "/usr/share/rhn/up2date_client/rhncli.py", line 65, in run
    sys.exit(self.main() or 0)
  File "/usr/sbin/rhn_register", line 64, in main
    ui.main()
  File "/usr/share/rhn/up2date_client/tui.py", line 1717, in main
    tui.run()
  File "/usr/share/rhn/up2date_client/tui.py", line 1619, in run
    result = win.run()
  File "/usr/share/rhn/up2date_client/tui.py", line 457, in run
    self.passwordEntry.value())
  File "/usr/share/rhn/up2date_client/tui.py", line 66, in tui_call_wrapper
    results = func(*params)
  File "/usr/share/rhn/up2date_client/rhnreg.py", line 881, in getPossibleOrgs
    orgsFromServer = s.registration.get_possible_orgs(username, password)
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 52, in __call__
    raise self.__exception_from_fault(f)
up2date_client.up2dateErrors.AuthenticationOrAccountCreationError: Error validating data at server:

Comment 5 Clifford Perry 2012-04-26 12:59:38 UTC
Hi, can you please contact Red Hat Support. They can assist in
debugging and troubleshooting via our support portal. If a fault is determined to be contained within our product, a new bugzilla on your behalf will be opened, requesting fix in the code causing this. 

Typically though, segfaults are bad memory/cpu/hardware, or a subtle bug within maybe python or another core component of the OS, vs the python script we provide within the registration client. 

Regards,
Cliff.


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