libstc++ (?) problem on CURRENT?

Ed Schouten ed at 80386.nl
Sat Nov 6 10:09:26 UTC 2010


* Barbara <barbara.xxx1975 at libero.it>, 20101106 10:57:
> Just to be clear, I'm not looking for a solution about the port here,
> I'm just wondering why the same c++ code is working on 8_STABLE and
> it's segfaulting on CURRENT, considering also that AFAIK the gcc
> version in both the base systems is the same.

I am a real STL newbie, so I could be wrong. Maybe it's not allowed to
remove an element in the map you're currently iterating. Therefore
you're accessing memory which has been deallocated.

This may crash on HEAD and not on 8-STABLE for various reasons. For
example, malloc() in HEAD has all sorts of debugging options enabled,
while 8-STABLE does not.

Greetings,
-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20101106/902e66a3/attachment.pgp


More information about the freebsd-current mailing list