Bug 556186
| Summary: | [abrt] crash in iotop-0.3-2.fc12 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Martin Nyhus <martin.nyhus> | ||||
| Component: | iotop | Assignee: | Adel Gadllah <adel.gadllah> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 12 | CC: | adel.gadllah | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | abrt_hash:6e391949 | ||||||
| Fixed In Version: | 0.4-1.fc11 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2010-01-19 19:33:26 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: |
|
||||||
Created attachment 384872 [details]
File: backtrace
(In reply to comment #0) > abrt 1.0.3 detected a crash. > > How to reproduce > ----- > 1. Launch iotop -P > 2. Sort on PRIO column (which should contain processes with PRIO ?) > > Comment: Change to sort on column PRIO when it contains processes with PRIO > "?". Does not crash when -P is turned off. It should contain the io prio (that can be set/read using ionice) not the same prio used by the cpu scheduler (the one that can be set using nice). I cannot reproduce this. Could you please try with 0.4 from updates-tesing? yum --enablerepo=updates-testing update iotop Thanks 0.4 from updates-testing doesn't crash. Not sure what to close it as so I'll leave that to you :) Thanks iotop-0.4-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. iotop-0.4-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. |
abrt 1.0.3 detected a crash. How to reproduce ----- 1. Launch iotop -P 2. Sort on PRIO column (which should contain processes with PRIO ?) Comment: Change to sort on column PRIO when it contains processes with PRIO "?". Does not crash when -P is turned off. backtrace ----- Summary: TB6e391949 ioprio.py:75:sort_key:IndexError: string index out of range Traceback (most recent call last): File "/usr/bin/iotop", line 16, in <module> main() File "/usr/lib/python2.6/site-packages/iotop/ui.py", line 361, in main main_loop() File "/usr/lib/python2.6/site-packages/iotop/ui.py", line 351, in <lambda> main_loop = lambda: run_iotop(options) File "/usr/lib/python2.6/site-packages/iotop/ui.py", line 267, in run_iotop return curses.wrapper(run_iotop_window, options) File "/usr/lib64/python2.6/curses/wrapper.py", line 44, in wrapper return func(stdscr, *args, **kwds) File "/usr/lib/python2.6/site-packages/iotop/ui.py", line 261, in run_iotop_window ui.run() File "/usr/lib/python2.6/site-packages/iotop/ui.py", line 112, in run self.process_list.duration) File "/usr/lib/python2.6/site-packages/iotop/ui.py", line 220, in refresh_display lines = self.get_data() File "/usr/lib/python2.6/site-packages/iotop/ui.py", line 205, in get_data processes.sort(key=key, reverse=self.sorting_reverse) File "/usr/lib/python2.6/site-packages/iotop/ui.py", line 68, in <lambda> (lambda p: p.ioprio_sort_key(), False), File "/usr/lib/python2.6/site-packages/iotop/data.py", line 275, in ioprio_sort_key return ioprio.sort_key(self.get_ioprio()) File "/usr/lib/python2.6/site-packages/iotop/ioprio.py", line 75, in sort_key return -ord(key[1]) IndexError: string index out of range Local variables in innermost frame: key: ? cmdline: /usr/bin/python /usr/bin/iotop -o component: iotop executable: /usr/bin/iotop kernel: 2.6.31.9-174.fc12.x86_64 package: iotop-0.3-2.fc12 uuid: 6e391949