Bug 2248802

Summary: [abrt] glances: end(): glances_curses.py:514:end:_curses.error: nocbreak() returned ERR
Product: [Fedora] Fedora Reporter: kalgecin <kalgecin>
Component: glancesAssignee: Ali Erdinc Koroglu <aekoroglu>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 39CC: aekoroglu, jonathan, kalgecin
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/a8cc17e8a407dbe35e094869e738a1ed1954be8
Whiteboard: abrt_hash:5d60db885ffbe47e3bb223cf3142e3a71f45f4fc;VARIANT_ID=workstation;
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:21:54 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
File: environ
none
File: mountinfo
none
File: os_info
none
File: cpuinfo
none
File: namespaces
none
File: open_fds none

Description kalgecin 2023-11-09 04:49:44 UTC
Version-Release number of selected component:
glances-3.4.0-3.fc39

Additional info:
reporter:       libreport-2.17.11
cmdline:        /usr/bin/python3 -sP /usr/bin/glances
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/vte-spawn-b45c6144-979b-451d-98b4-f39a07f32222.scope
exception_type: _curses.error
runlevel:       N 5
kernel:         6.5.10-300.fc39.x86_64
reason:         glances_curses.py:514:end:_curses.error: nocbreak() returned ERR
executable:     /usr/bin/glances
uid:            1000
package:        glances-3.4.0-3.fc39
type:           Python3
interpreter:    python3-3.12.0-1.fc39.x86_64
crash_function: end

Truncated backtrace:
glances_curses.py:514:end:_curses.error: nocbreak() 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 1166, in update
    pressedkey = self.__catch_key(return_to_browser=return_to_browser)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/glances/outputs/glances_curses.py", line 356, in __catch_key
    self.pressedkey = self.get_key(self.term_window)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/glances/outputs/glances_curses.py", line 351, in get_key
    ret = window.getch()
          ^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/glances/__init__.py", line 65, in __signal_handler
    end()
  File "/usr/lib/python3.12/site-packages/glances/__init__.py", line 71, in end
    mode.end()
  File "/usr/lib/python3.12/site-packages/glances/standalone.py", line 182, in end
    self.screen.end()
  File "/usr/lib/python3.12/site-packages/glances/outputs/glances_curses.py", line 514, in end
    curses.nocbreak()
_curses.error: nocbreak() returned ERR

Local variables in innermost frame:
self: <glances.outputs.glances_curses.GlancesCursesStandalone object at 0x7f78bd4ec800>

Comment 1 kalgecin 2023-11-09 04:49:49 UTC
Created attachment 1998003 [details]
File: backtrace

Comment 2 kalgecin 2023-11-09 04:49:51 UTC
Created attachment 1998004 [details]
File: environ

Comment 3 kalgecin 2023-11-09 04:49:53 UTC
Created attachment 1998005 [details]
File: mountinfo

Comment 4 kalgecin 2023-11-09 04:49:55 UTC
Created attachment 1998006 [details]
File: os_info

Comment 5 kalgecin 2023-11-09 04:49:57 UTC
Created attachment 1998007 [details]
File: cpuinfo

Comment 6 kalgecin 2023-11-09 04:49:59 UTC
Created attachment 1998008 [details]
File: namespaces

Comment 7 kalgecin 2023-11-09 04:50:02 UTC
Created attachment 1998009 [details]
File: open_fds

Comment 8 kevinleroy 2024-04-15 09:45:44 UTC
L'ordinateur est sorti de veille avec un écran supplémentaire connecté.
plasma a été arrêté


reporter:       libreport-2.17.11
cmdline:        /usr/bin/python3 -sP /usr/bin/glances
executable:     /usr/bin/glances
exception_type: _curses.error
runlevel:       N 5
reason:         glances_curses.py:514:end:_curses.error: nocbreak() returned ERR
package:        glances-3.4.0-3.fc39
kernel:         6.5.6-300.fc39.x86_64
uid:            0
type:           Python3
interpreter:    python3-3.12.2-2.fc39.x86_64
cgroup:         0::/user.slice/user-1333.slice/user/app.slice/app-org.kde.konsole-1ec8bc0d98c045cda5fde8a727e7fd87.scope
crash_function: end

Comment 9 kevinleroy 2024-04-15 09:45:54 UTC
L'ordinateur est sorti de veille avec un écran supplémentaire connecté.
plasma a été arrêté


reporter:       libreport-2.17.11
cmdline:        /usr/bin/python3 -sP /usr/bin/glances
executable:     /usr/bin/glances
exception_type: _curses.error
runlevel:       N 5
reason:         glances_curses.py:514:end:_curses.error: nocbreak() returned ERR
package:        glances-3.4.0-3.fc39
kernel:         6.5.6-300.fc39.x86_64
uid:            0
type:           Python3
interpreter:    python3-3.12.2-2.fc39.x86_64
cgroup:         0::/user.slice/user-1333.slice/user/app.slice/app-org.kde.konsole-0113408c83f546c39afe607b68ce97f2.scope
crash_function: end

Comment 10 Fedora Update System 2024-05-24 15:04:14 UTC
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

Comment 11 Fedora Update System 2024-05-24 15:04:22 UTC
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

Comment 12 Fedora Update System 2024-05-25 01:48:38 UTC
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.

Comment 13 Fedora Update System 2024-05-25 01:56:52 UTC
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.

Comment 14 Fedora Update System 2024-06-02 01:21:54 UTC
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.

Comment 15 Fedora Update System 2024-06-02 03:37:40 UTC
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.