? boost-581850.patch
Index: boost.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.module,v
retrieving revision 1.3.2.2.2.5.2.150
diff -u -p -r1.3.2.2.2.5.2.150 boost.module
--- boost.module	27 Sep 2009 06:47:55 -0000	1.3.2.2.2.5.2.150
+++ boost.module	29 Sep 2009 08:25:58 -0000
@@ -2340,6 +2340,14 @@ function boost_crawler_run() {
       exit;
     }
 
+    // Kill this thread if it doesn't have a thread number assigned to it.
+    if (!isset($this_thread)) {
+      if (BOOST_VERBOSE >= 5) {
+        watchdog('boost', 'Crawler - Rogue thread killed.');
+      }
+      exit;
+    }
+
     // Try to prevent crawler from stalling.
     ini_set('max_execution_time', 600);
     // Return html so connection closes
