Hi all,
I am using Pardus(Linux) and gcc 4.
I have static QHash member .I can compile my code correctly but when i want to run my code and insert any data it gives segmentation fault error.My Code is like that:

//initializer.h
Qt Code:
  1. class initializer
  2. {
  3. public:
  4. static QHash<QString,QString> myHash;
  5. void insertToHash(QString str1,QString str2);
  6. }
To copy to clipboard, switch view to plain text mode 
//initializer.cpp
Qt Code:
  1. QHah<QString,QString> initializer::myHash;
  2. initializer::insertToHash(QString str1,QString str2)
  3. {
  4. myHash.insert(str1,str2);
  5. }
To copy to clipboard, switch view to plain text mode 


It gives runtime segmentation fault error.is anybody know where is the problem?
Thanks in advance
Ramazan