Jarno, just from looking at it, I think your patch is wrong. You passed an uninitialized pointer to g_spawn_command_line_sync(). This function will write to whatever address was passed. That's a memory corruption and probably the source of the error message in comment #47.
Please try the attached patch. ** Patch added: "xfsm-systemd.c.patch" https://bugs.launchpad.net/ubuntu/+source/xfce4-session/+bug/1054299/+attachment/5258038/+files/xfsm-systemd.c.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1054299 Title: Race condition in suspend scripts reveals desktop To manage notifications about this bug go to: https://bugs.launchpad.net/unity/+bug/1054299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs