title: IOS EXC_BAD_INSTRUCTION while "int y = 0;"
body: <p>I have this call in UIViewController-inheritor class context:</p>
  
  <pre><code>+ (void) smthPressed: (id) caller
  {
      // some code here
      // ...
  
      startTimers();
  }
  </code></pre>
  
  <p>startTimers declared as:</p>
  
  <pre><code>inline void startTimers()
  {
      NSString * x = @""; // falls here with EXC_BAD_INSTRUCTION
  
      // some other codes here
  }
  </code></pre>
  
  <p>What the HELL is going on?</p>
  
  <p>P.S.:</p>
  
  <pre><code>inline void startTimers()
  {
      int x = 0;
  
      int y = 0; // EXC_BAD_INSTRUCTION here. Stack couldn't end there!
  
      // ...
  </code></pre>
  
  <p>P.P.S.:</p>
  
  <p>Documentation says: "For most non-memory access exceptions (for example, EXC_BAD_INSTRUCTION ...)", so it is NOT mem-access fault.</p>
  
  <p>P.P.P.S.: arch is Standart (armv6 armv7). Nothing changes if I set Optimized (armv7).</p>