Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2006-07-19 07:53:57


bernhard.maeder_at_[hidden] wrote:
>> Hello everybody
>> The program aborts when exiting test_func(), during deallocation of
>> match_results. The error occurs somewhere in _M_deallocate of
>> stl_vector.h.
>>
>> Can anybody help me with this problem? What could possibly go wrong
>> here?

In theory not much :-(

>> One thing I noted: python is compiled using GCC3.3 on our system,
>> while we are using GCC3.4, is this a problem? (But, trying the same
>> on a system with GCC 4 for both, python and our app, also fails, so
>> it seems like the problem is to be sought elsewhere).

It does sound like the std::vector is allocating with one one allocator and
deallocating with another. But I know nothing about python extension
modules and what can go wrong there.

John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net