R: Re: libstc++ (?) problem on CURRENT?





* Barbara <barbara.xxx1975@xxxxxxxxx>, 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.


I'm sure you're not worse than me! :)
Anyway that's what I was thinking when I wrote the patch.

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.


So you think that the problem is really in the original source code, but
exposed only on CURRENT.
That could be an option.

Thanks
Barbara

_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: libstc++ (?) problem on CURRENT?
    ... it's segfaulting on CURRENT, considering also that AFAIK the gcc ... This may crash on HEAD and not on 8-STABLE for various reasons. ...
    (freebsd-current)
  • Re: Macro var args
    ... i'm using the following macro to automatically add ... > informations to exceptions: ... > but AFAIK, it's gcc specific. ...
    (comp.lang.cpp)
  • Re: ISO C++ console support -was Re: Progress!-
    ... We are talking about the popular compilers, one of which ersatz ... probably uses (probably gcc). ... AFAIK the standard library is very often ...
    (rec.games.roguelike.development)
  • Re: [PATCH] Export current_is_keventd() for libphy
    ... On Wed, 6 Dec 2006, David Howells wrote: ... Gcc should do it for us, afaik. ... Yeah, that's a worthy cleanup. ...
    (Linux-Kernel)
  • c++filt
    ... The above program (from gcc) doesn't exist in base system, and AFAIK no ... ports installs it. ...
    (freebsd-questions)