Bug 591019 - [abrt] crash in system-config-kdump-2.0.2.1-11.el6: system-config-kdump.py:1510:cmdline_changed:ValueError: invalid literal for float(): aut
Summary: [abrt] crash in system-config-kdump-2.0.2.1-11.el6: system-config-kdump.py:15...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: system-config-kdump
Version: 6.0
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Roman Rakus
QA Contact: Michal Nowak
URL:
Whiteboard: abrt_hash:45d88776
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-05-11 08:45 UTC by Michal Nowak
Modified: 2014-01-13 00:11 UTC (History)
4 users (show)

Fixed In Version: system-config-kdump-2.0.2.1-14.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-07-02 19:52:48 UTC
Target Upstream Version:


Attachments (Terms of Use)
File: backtrace (637 bytes, text/plain)
2010-05-11 08:45 UTC, Michal Nowak
no flags Details

Description Michal Nowak 2010-05-11 08:45:32 UTC
abrt 1.1.0 detected a crash.

architecture: x86_64
cmdline: python /usr/share/system-config-kdump/system-config-kdump.py
component: system-config-kdump
executable: /usr/share/system-config-kdump/system-config-kdump.py
kernel: 2.6.32-22.el6.x86_64
package: system-config-kdump-2.0.2.1-11.el6
reason: system-config-kdump.py:1510:cmdline_changed:ValueError: invalid literal for float(): aut
release: Red Hat Enterprise Linux release 6.0 Beta (Santiago)

backtrace
-----
system-config-kdump.py:1510:cmdline_changed:ValueError: invalid literal for float(): aut

Traceback (most recent call last):
  File "/usr/share/system-config-kdump/system-config-kdump.py", line 1523, in reset_cmdline
    self.cmdline_changed(self.command_line_entry)
  File "/usr/share/system-config-kdump/system-config-kdump.py", line 1510, in cmdline_changed
    self.kdump_mem_spin_button.set_value(float(value))
ValueError: invalid literal for float(): aut

Local variables in innermost frame:
gtk_entry: <gtk.Entry object at 0x1d454b0 (GtkEntry at 0x1e60510)>
self: <__main__.MainWindow instance at 0x1c4b7a0>
args: ()
value: 'aut'

How to reproduce
-----
1.refreshed frub kernel line
2.Apply
3.inserter 3-4 times password

I thought s-c-kdump is closed but this crash appeared after few seconds.

Comment 1 Michal Nowak 2010-05-11 08:45:35 UTC
Created attachment 413070 [details]
File: backtrace

Comment 3 RHEL Program Management 2010-05-11 10:33:02 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 4 Radek Novacek 2010-05-14 15:04:19 UTC
I'm not able to reproduce the bug with step from comment #1. But I reproduced similar issue when I manually changed command line options on Expert settings card. I changed from "crashkernel=192M" to "crashkernel=aa192M" and change focus to another widget, then the error appears in terminal (no crash). 

How should s-c-kdump react on that? Error message? Silently change that to some valid value? Something else?

Comment 5 Roman Rakus 2010-05-19 15:05:00 UTC
Possible values are
1) auto
2) X@Y
3) X

where auto is string
X is numeric value with optional M suffix
Y is optional value with optional M suffix

I will add check for the above possibilities.

Comment 7 Roman Rakus 2010-05-19 19:04:38 UTC
Should be fixed in system-config-kdump-2.0.2.1-14.el6

Comment 10 releng-rhel@redhat.com 2010-07-02 19:52:48 UTC
Red Hat Enterprise Linux Beta 2 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.


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