std::map problem on gcc 3.4, crashes in std::less<unsigned> when using find
<p>Definition:</p>

<pre><code>std::map&lt;unsigned, CItem*&gt; m_map;

void RegisterEvent(unsigned eventID) {
  std::map&lt;unsigned, CItem*&gt;::iterator it = m_map.find(eventID); &lt;&lt;&lt; crashes
  if (it == m_map.end()) {
    m_map[eventID] = new CItem();
  }
  else {
    ...
  }
}
</code></pre>

<p>The marked row crashes in std::less on <em>second</em> call, the first call works.
When watching callstack, the __x argument seems WAY off (as the # of events is &lt; 40, but __x is like 2354918952 (or something else big))...</p>

<p>Ideas?</p>

<p>TIA
/R</p>
