This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bus error sparc 64 bits


Frederico Faria wrote:

>  Could somebody gives me any hint/tip ?  Below is the
>stack trace.
>  
>
This mailing list is about libstdc++ development: for general help, you
should use gcc-help, otherwise file a regular (complete and
reproducible!) Bugzilla PR:

    http://gcc.gnu.org/bugs.html
    http://gcc.gnu.org/bugzilla/

That said, in your *other* message you mention that the problem occurs
in vector::push_back and that your application is multithreaded. If that
is the case, then probably the problem is easy to explain: all the
containers, in particular vector, are not MT safe, and acesses must be
serialized in application code (via mutexes, for example).

Really, however, consider this reply only as a vague hint: the
information that you provided is very, very, far from being sufficient
to properly diagnose and reproduce the problem.

Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]