Bug 542306

Summary: [abrt] crash detected in tuned-0.2.5-0.1.fc12
Product: [Fedora] Fedora Reporter: mt229
Component: tunedAssignee: Jan Vcelak <jvcelak>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: jvcelak, mmaslano, pknirsch, plautrba, tsmetana
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard: abrt_hash:023490eb
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-21 14:33:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description mt229 2009-11-29 08:31:20 UTC
abrt 1.0.0 detected a crash.

backtrace
-----
Summary: TB023490eb tuned_nettool.py:162:update:AttributeError: 'NoneType' object has no attribute 'group'

Traceback (most recent call last):
  File "/usr/sbin/tuned", line 80, in <module>
    tuned.init(TUNEDDIR, cfgfile)
  File "/usr/share/tuned/tuned.py", line 60, in init
    self.__initplugins__(path, "monitorplugins", self.mp)
  File "/usr/share/tuned/tuned.py", line 38, in __initplugins__
    exec _cmd
  File "<string>", line 1, in <module>
  File "/usr/share/tuned/monitorplugins/net.py", line 108, in <module>
    _plugin = NetMonitor()
  File "/usr/share/tuned/monitorplugins/net.py", line 36, in __init__
    max_speed = self.__calcspeed__( ethcard(d).get_max_speed() );
  File "/usr/share/tuned/tuned_nettool.py", line 201, in ethcard
    ethcard.list[interface] = Tuned_nettool(interface)
  File "/usr/share/tuned/tuned_nettool.py", line 35, in __init__
    self.update()
  File "/usr/share/tuned/tuned_nettool.py", line 162, in update
    self.speed = re_speed.match(line).group(1)
AttributeError: 'NoneType' object has no attribute 'group'

Local variables in innermost frame:
errors: 
self: <tuned_nettool.Tuned_nettool instance at 0xb77ddb8c>
p_filter: <subprocess.Popen object at 0xb77ddccc>
state: speed
p_ethtool: <subprocess.Popen object at 0xb77ddd8c>
re_mode: <_sre.SRE_Pattern object at 0x953fa40>
output: Settings for eth0:

Supported ports:
[ TP ]
Supported link modes:
10baseT/Half 10baseT/Full 
100baseT/Half 100baseT/Full 
Supports auto-negotiation:
Yes
Advertised link modes:
Not reported
Advertised auto-negotiation:
Yes
Speed:
Unknown!
Duplex:
Unknown! (255)
Port:
Twisted Pair
PHYAD:
0
Transceiver:
internal
Auto-negotiation:
on
Supports Wake-on:
pg
Wake-on:
d
Current message level:
0x0000003f (63)
Link detected:
no

line: Unknown!
re_speed: <_sre.SRE_Pattern object at 0xb7850620>

cmdline: /usr/bin/python /usr/sbin/tuned -d -c /etc/tuned.conf 
component: tuned
executable: /usr/sbin/tuned
kernel: 2.6.32-0.55.rc8.git1.fc13.i686.PAE
package: tuned-0.2.5-0.1.fc12
uuid: 023490eb

Comment 1 mt229 2009-11-29 08:31:22 UTC
Created attachment 374526 [details]
File: backtrace

Comment 2 Marcela Mašláňová 2009-11-30 07:14:54 UTC

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

Comment 3 Jan Vcelak 2009-12-02 10:43:04 UTC
Not a duplicate. This is a bit different problem.

Comment 4 Jan Vcelak 2009-12-21 14:33:29 UTC
Was fixed in tuned-0.2.7-1.