title: SIGSEGV on dynamic_cast
body: <p>I am trying to dynamic_cast, one virtual class, to another:</p>
  
  <pre><code>SomeClass::SomeFunc(_AListner&amp; listner)
  _BListner* listner = dynamic_cast&lt;_BListner*&gt;(&amp;listner) 
  </code></pre>
  
  <p>Please note that class _BListner is derived from class _AListner.</p>
  
  <p>But I get this error on debugging:</p>
  
  <pre><code>SIGSEGV, Segmentaion fault.
  
  &lt;some address&gt; in  __dynamic_cast () from /usr/lib/libstdc++
  </code></pre>