Bug 2282299
| Summary: | [abrt] glances: display_popup(): glances_curses.py:976:display_popup:_curses.error: addnwstr() returned ERR | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | kevinleroy | ||||||||||||||||
| Component: | glances | Assignee: | Ali Erdinc Koroglu <aekoroglu> | ||||||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||
| Version: | 40 | CC: | aekoroglu, dolfandringa, jonathan, kevinleroy | ||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/af8b28898aada1bc0f22e2173738f15c0ecaa7c | ||||||||||||||||||
| Whiteboard: | abrt_hash:8f11f52dc03e1ed329b6f4b6f4a66f68f1719651;VARIANT_ID=kde; | ||||||||||||||||||
| Fixed In Version: | glances-4.0.5-2.fc40 glances-4.0.5-2.fc39 | Doc Type: | --- | ||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||
| Last Closed: | 2024-06-02 01:22:03 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 2034557 [details]
File: mountinfo
Created attachment 2034558 [details]
File: backtrace
Created attachment 2034559 [details]
File: open_fds
Created attachment 2034560 [details]
File: environ
Created attachment 2034561 [details]
File: os_info
Created attachment 2034562 [details]
File: cpuinfo
Created attachment 2034563 [details]
File: namespaces
Not sure why this happened. reporter: libreport-2.17.15 kernel: 6.8.9-300.fc40.x86_64 cmdline: /usr/bin/python3 -sP /bin/glances cgroup: 0::/user.slice/user-1001.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-7d6ddffa-d97f-4c7c-8914-a27da1b20879.scope uid: 1001 reason: glances_curses.py:976:display_popup:_curses.error: addnwstr() returned ERR executable: /bin/glances type: Python3 package: glances-3.4.0-5.fc40 runlevel: N 5 exception_type: _curses.error crash_function: display_popup interpreter: python3-3.12.3-2.fc40.x86_64 comment: Not sure why this happened. FEDORA-2024-af1f06c79c (glances-4.0.5-2.fc39) has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-af1f06c79c FEDORA-2024-b8e474fbd3 (glances-4.0.5-2.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-b8e474fbd3 FEDORA-2024-af1f06c79c has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-af1f06c79c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-af1f06c79c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2024-b8e474fbd3 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-b8e474fbd3` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-b8e474fbd3 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2024-b8e474fbd3 (glances-4.0.5-2.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2024-af1f06c79c (glances-4.0.5-2.fc39) has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. I am having this issue with glances-4.0.5-2.fc40.noarch still when trying to kill a process in glances with a slightly different stack trace (had to manually restore formatting, sorry if its a bit messed up still):
```
Traceback (most recent call last):
2024-06-17 10:41:36 CEST File "/usr/bin/glances", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/lib/python3.12/site-packages/glances/__init__.py", line 173, in main
start(config=core.get_config(), args=core.get_args())
File "/usr/lib/python3.12/site-packages/glances/__init__.py", line 121, in start
mode.serve_forever()
File "/usr/lib/python3.12/site-packages/glances/standalone.py", line 181, in serve_forever
while self.__serve_once():
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/glances/standalone.py", line 153, in __serve_once
ret = not self.screen.update(self.stats, duration=adapted_refresh)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/glances/outputs/glances_curses.py", line 1221, in update
self.flush(stats, cs_status=cs_status)
File "/usr/lib/python3.12/site-packages/glances/outputs/glances_curses.py", line 1167, in flush
self.display(stats, cs_status=cs_status)
File "/usr/lib/python3.12/site-packages/glances/outputs/glances_curses.py", line 708, in display
self.kill(stats.get_plugin('processlist').get_raw()[self.args.cursor_position])
File "/usr/lib/python3.12/site-packages/glances/outputs/glances_curses.py", line 742, in kill
confirm = self.display_popup(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/glances/outputs/glances_curses.py", line 1025, in display_popup
sub_pop.addnstr(0, 0, '', 0)
_curses.error: addnwstr() returned ERR
```
|
Version-Release number of selected component: glances-3.4.0-5.fc40 Additional info: reporter: libreport-2.17.15 cmdline: /usr/bin/python3 -sP /usr/bin/glances executable: /usr/bin/glances exception_type: _curses.error runlevel: N 5 reason: glances_curses.py:976:display_popup:_curses.error: addnwstr() returned ERR package: glances-3.4.0-5.fc40 kernel: 6.7.11-200.fc39.x86_64 uid: 0 type: Python3 interpreter: python3-3.12.3-2.fc40.x86_64 cgroup: 0::/user.slice/user-1333.slice/user/app.slice/app-org.kde.konsole-3cfa023e06d5446588959cc9cdc77d86.scope crash_function: display_popup Truncated backtrace: glances_curses.py:976:display_popup:_curses.error: addnwstr() returned ERR Traceback (most recent call last): File "/usr/bin/glances", line 8, in <module> sys.exit(main()) ^^^^^^ File "/usr/lib/python3.12/site-packages/glances/__init__.py", line 180, in main start(config=core.get_config(), args=core.get_args()) File "/usr/lib/python3.12/site-packages/glances/__init__.py", line 131, in start mode.serve_forever() File "/usr/lib/python3.12/site-packages/glances/standalone.py", line 168, in serve_forever while self.__serve_once(): ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/glances/standalone.py", line 152, in __serve_once ret = not self.screen.update(self.stats, duration=adapted_refresh) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/glances/outputs/glances_curses.py", line 1186, in update self.flush(stats, cs_status=cs_status) File "/usr/lib/python3.12/site-packages/glances/outputs/glances_curses.py", line 1133, in flush self.display(stats, cs_status=cs_status) File "/usr/lib/python3.12/site-packages/glances/outputs/glances_curses.py", line 714, in display self.kill(stats.get_plugin('processlist').get_raw()[self.args.cursor_position]) File "/usr/lib/python3.12/site-packages/glances/outputs/glances_curses.py", line 748, in kill confirm = self.display_popup( ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/glances/outputs/glances_curses.py", line 976, in display_popup popup.addnstr(2 + y, 2, m, len(m)) _curses.error: addnwstr() returned ERR Local variables in innermost frame: self: <glances.outputs.glances_curses.GlancesCursesStandalone object at 0x7fc4a8410b00> message: 'Kill process: VBoxSVC (pid: 7149) ?\n\nConfirm ([y]es/[n]o): ' size_x: 39 size_y: 7 duration: 3 popup_type: 'yesno' input_size: 30 input_value: None sentence_list: ['Kill process: VBoxSVC (pid: 7149) ?', '', 'Confirm ([y]es/[n]o): '] screen_x: 116 screen_y: 51 pos_x: 38 pos_y: 22 popup: <_curses.window object at 0x7fc4a6313ef0> y: 1 m: ''