[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

segmentation fault in multithreaded application with c++ stl



Title: segmentation fault in multithreaded application with c++ stl

hi all,

 i'm just wondering about the multithreaded capabilities (pthread) of the memory allocater within c++ stl (libstdc++.so) shipped with release of R2_1_0 of devboard_lx software. i experience a segmentation fault after a few hours somewhere in the vector template class after calling push_back(...) and new memory must be allocated to append the new element, see http://mhonarc.axis.se/dev-etrax/msg03293.html.

Does anybody know how libstdc++ was built or how the whole stl can be rebuilt to support multithreaded applications?

thanks a lot,
thomas