Public bug reported:
# GNOME Console freezes after Ctrl+Shift+C on X11
## Summary
GNOME Console becomes unresponsive after copying selected
terminal output using Ctrl+Shift+C.
The main thread remains blocked inside GTK4 during
synchronous GIO output stream closure triggered by
asynchronous task finalization.
## Environment
- Ubuntu 24.04.5 LTS (Noble Numbat)
- Architecture: x86_64
- Desktop: GNOME
- Display server: X11
- Kernel: 7.0.0-43-generic
- GNOME Console: 46.0-1build1
- GTK4: 4.14.5+ds-0ubuntu0.10
- GLib: 2.80.0-6ubuntu3.10
- VTE GTK4: 0.76.0-1ubuntu0.1
- Application uptime: approximately seven days
- Incident date: November 26, 2026
## Observed circumstances
1. GNOME Console had been running for approximately seven days.
2. System packages were updated while the application remained open.
3. Multiple terminal tabs and two windows were active.
4. Terminal output was selected.
5. Ctrl+Shift+C was pressed.
6. Both GNOME Console windows became unresponsive.
These are observed circumstances, not a verified
reproduction procedure.
## Expected behavior
Copying selected terminal output should not block the
graphical interface or affect unrelated terminal sessions.
## Actual behavior
Both windows became unresponsive.
GNOME displayed an application-not-responding dialog.
Four SSH client processes remained alive, but their
terminal interfaces became inaccessible.
## Technical findings
Two GDB inspections were performed approximately
nine minutes apart.
The main thread remained blocked in the same call chain.
The symbolized backtrace identified:
g_main_dispatch
g_source_destroy_internal
g_source_callback_unref
g_object_unref
g_task_finalize
g_object_unref
g_filter_output_stream_dispose
g_output_stream_dispose
g_output_stream_close
g_output_stream_internal_close
g_output_stream_close
g_output_stream_internal_close
[unresolved internal GTK4 function]
g_cond_wait
syscall
The synchronous output stream closure received NULL
cancellable and NULL error parameters.
GTK4 Build ID:
538868135b1d5ae24f72b913daadd011a577db72
Debug symbols for the relevant GTK4 build were not
available locally or obtained during the debuginfod
inspection.
Both GDB inspections completed successfully.
The debugger detached correctly.
## Clipboard recovery attempts
Both X11 CLIPBOARD and PRIMARY selections responded
successfully to xclip queries.
Replacing both selections did not restore the application.
## Recent package updates
System updates were recorded on November 25, 2026.
Several replaced shared libraries remained mapped in
the running application, including Mesa/Gallium and libssh.
GTK4, GLib, GIO and VTE were not identified as replaced
in the process memory mappings.
A causal relationship between package updates and the
application hang has not been established.
## Potentially related issue
https://github.com/Keruspe/GPaste/issues/498
The reported stack appears similar to the observed
GTK4/GIO output stream closure sequence.
A common root cause has not been established.
## Operational impact
A clipboard operation in one terminal tab rendered
both windows of the application unresponsive.
Force-closing the application would risk interrupting
multiple unrelated terminal and SSH sessions.
## Suggested investigation
Please investigate whether synchronous GTK4/GIO output
stream closure during asynchronous task finalization
can cause an indefinite condition-variable wait on X11.
Potential regression test scenarios include:
- Long-running terminal applications.
- Package updates while applications remain active.
- Clipboard operations under X11.
- Multiple windows sharing a single application process.
- Cancellation and recovery of blocked clipboard transfers.
- Isolation of unrelated terminal sessions.
## Limitations
The exact internal GTK4 function remains unresolved.
Reliable reproduction has not yet been established.
The root cause has not yet been established.
The relationship with package updates remains unproven.
## Attachments
- 03_environment.txt
- 04_gdb_backtrace.txt
- 05_package_updates.txt
- 06_diagnostic_findings.txt
- 07_related_issue.txt
The attachments contain sanitized technical information.
Thank you for your work and for investigating this issue.
** Affects: gnome-console (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "Sanitized GDB backtrace of all six threads, showing the
main thread blocked during synchronous GTK4/GIO output stream closure."
https://bugs.launchpad.net/bugs/2177253/+attachment/6021347/+files/04_gdb_backtrace.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2177253
Title:
GNOME Console freezes after Ctrl+Shift+C on X11 — main thread blocked
in GTK4/GIO output stream closure
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-console/+bug/2177253/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs