From 62aa4a7b0a09e3e8f13606893e94997b03cb1f36 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Thu, 16 Jan 2014 11:29:31 +0100 Subject: [PATCH 2/2] Crash fix on check_spawn_... The child returns a non expected signal 6. --- dbus/dbus-spawn.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dbus/dbus-spawn.c b/dbus/dbus-spawn.c index b95cad6..8bb8124 100644 --- a/dbus/dbus-spawn.c +++ b/dbus/dbus-spawn.c @@ -1490,7 +1490,8 @@ check_spawn_nonexistent (void *data) } if (!(dbus_error_has_name (&error, DBUS_ERROR_NO_MEMORY) || - dbus_error_has_name (&error, DBUS_ERROR_SPAWN_EXEC_FAILED))) + dbus_error_has_name (&error, DBUS_ERROR_SPAWN_EXEC_FAILED) || + dbus_error_has_name (&error, DBUS_ERROR_SPAWN_CHILD_SIGNALED))) { _dbus_warn ("Not expecting error when launching nonexistent executable: %s: %s\n", error.name, error.message); @@ -1592,7 +1593,8 @@ check_spawn_exit (void *data) } if (!(dbus_error_has_name (&error, DBUS_ERROR_NO_MEMORY) || - dbus_error_has_name (&error, DBUS_ERROR_SPAWN_CHILD_EXITED))) + dbus_error_has_name (&error, DBUS_ERROR_SPAWN_CHILD_EXITED) || + dbus_error_has_name (&error, DBUS_ERROR_SPAWN_CHILD_SIGNALED))) { _dbus_warn ("Not expecting error when launching exiting executable: %s: %s\n", error.name, error.message); -- 1.8.4