Bug#781246: desktop item launcher is flawed

Vlad Orlov monsta at inbox.ru
Thu Mar 26 13:32:30 UTC 2015

Source: mate-desktop
Version: 1.8.1+dfsg1-2
Severity: normal

As stated in GLib docs [1], running g_spawn_async with
G_SPAWN_DO_NOT_REAP_CHILD flag requires adding
a child watch function like g_child_watch_add afterwards
to prevent the child from becoming a zombie.

Current desktop item launcher does not do that. It even
ignores the child PID completely, regardless of the result
of the function call.

The upstream pull request [2] fixes the issue.

[1] https://developer.gnome.org/glib/stable/glib-Spawning-Processes.html#GSpawnFlags
[2] https://github.com/mate-desktop/mate-desktop/pull/167

More information about the pkg-mate-team mailing list