[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    icecream/daemon
From:       Stephan Kulow <coolo () kde ! org>
Date:       2006-09-04 19:00:53
Message-ID: 1157396453.251547.22166.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 580888 by coolo:

managed to reproduce the crash. job_id was only set to 0
when the scheduler is there and then we hit the assert
in handle_end


 M  +2 -5      main.cpp  


--- trunk/icecream/daemon/main.cpp #580887:580888
@@ -744,11 +744,8 @@
         icecream_load += (m->user_msec + m->sys_msec) / num_cpus;
 
     assert(msg->job_id == cl->job_id);
-    if(send_scheduler( *msg )) {
-        cl->job_id = 0; // the scheduler doesn't have it anymore
-        return true;
-    }
-    return false;
+    cl->job_id = 0; // the scheduler doesn't have it anymore
+    return send_scheduler( *msg );
 }
 
 void Daemon::handle_old_request()
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic