Problem with fixhdr

Required Information
Contact Name: 
Zhaohui
Email Address: 
zyang@passcal.nmt.edu
Having a problem with: 
PASSOFT
Problem specifically with (optional): 
FIXHDR
Request Type: 
Bug Report
Description: 
Every time I click "Build Trace db" button in fixhdr window, the program freezes. I tried to use ctrl+C to stop the program but it does not work , there is still a process hanging "opt/passcal/otherbin/picpython /opt/passcal/ib/pyth". Using "kill -9 xx" would kill the process and the window of fixhdr will be closed. I wonder what is the problem. I have over 6000 miniseed traces in the data folder, would it be a problem?
Priority: 
High
platform: 
All platforms
Status: 
Fixed
Fixed in revision: 
1123
Progress: 

**Fixed**

Problem was that the functions used as targets for the threads were not thread/Tk safe, but it didn't matter since after the definition of the threads they were always immediately started and then joined, so I just replaced the threading with just the function calls.

Assigned To: 
jayson