Red Hat Bugzilla – Bug 1007841
Leak 16 MB of memory per connection opened
Last modified: 2015-03-05 08:40:36 EST
spice-gtk copied the gtk-vnc coroutine_ucontext.c so suffers from this same flaw
+++ This bug was initially created as a clone of Bug #1007837 +++
Description of problem:
The ucontext coroutine implementation mmap()s 16 MB of memory for the coroutine stack, but fails to ever unmap it. This causes the stack to leak for each coroutine started
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run demo program in https://bugzilla.gnome.org/show_bug.cgi?id=705827 it will consume memory until exhausted, then crash.
Two patches for this sent upstream:
please QA ack, this is included in rebase
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.