2 This patch can be applied to version 3.0.1 and fixes a
3 a race condition that causes the SD to hang. This should
6 Apply it to version 3.0.1 with:
9 patch -p0 <3.0.1-sd-hang.patch
10 ./configure <your-options>
18 ===================================================================
19 --- src/lib/jcr.c (revision 8840)
20 +++ src/lib/jcr.c (working copy)
22 jcr->JobId, jcr->use_count(), jcr->Job);
24 remove_jcr(jcr); /* remove Jcr from chain */
27 dequeue_messages(jcr);
28 job_end_pop(jcr); /* pop and call hooked routines */
30 jcr->daemon_free_jcr(jcr); /* call daemon free routine */
35 close_msg(NULL); /* flush any daemon messages */
36 garbage_collect_memory_pool();