title: Segmentation fault in unix ,but working fine in Windows
body: <pre><code>classa classa::_var
  
  classa::classa() {
  
  }
  </code></pre>
  
  <p><code>_var</code> is a static object for <code>classa</code>.At the  time of loading of dll ,the control comes to static object initializati.At this point the control goes to constructor and  after executing code inside constructor it breaks with Segmentation fault.
  This is working fine in windows,only in unix I am getting this problem.</p>
  
  <p>On checking the value of <code>_var</code> using print command from dbx debugger it goes into infinite loop.</p>