C++ construction weird uninitialized pointer
<pre><code>AlertEvent::AlertEvent(const std::string&amp; text) :
    IMEvent(kIMEventAlert, alertText.c_str()),
    alertText(text)
{
    //inspection at time of crash shows alertText is a valid string
}


IMEvent::IMEvent(long eventID, const char* details)
{
    //during construction, details==0xcccccccc
}
</code></pre>

<p>on a related note, the monospace font looks really terrible in chrome, whats up with that?</p>
