[Tracker] Killing run-away child processes



Text filtering, metadata extraction, and thumbnail generation are all
handled out of process so they can't crash trackerd.  However these
processes are called with g_spawn_sync and there's no gaurentee they
will come back.

Here's a patch that will set SIGALRM for these external processes, it
uses the child_setup callback function, so there's no need for every
possible child process to set its own alarm.

Attachment: tracker-child-process-timeout.patch
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]