Re: [Bacula-users] Fix for directory shutdown crash

2007-02-01 Thread jaustin
I don't have a non-Solaris box to compare right now so I'm not sure why it only showed up only on Solaris. It occurred identically on a dual CPU sparc, single CPU sparc, and a single CPU AMD64 box. I did notice right after the "delete jcrs", the memory was immediately filled with a 10 bit patter

[Bacula-users] Fix for directory shutdown crash

2007-02-01 Thread jaustin
I traced down that crash during director shutdown. In terminate_dird(), term_msg() is freeing up a structure referenced in the watchdog queue, so it crashes in stop_watchdog(). I moved stop_watchdog() in front of term_msg() but am not familiar enough with this code to know if that's a good idea.