Summary: | Memory corruption using Boehm GC in C++ application | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | jeek <junk> |
Component: | [OLD] Development | Assignee: | Mamoru KOMACHI (RETIRED) <usata> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
jeek
2004-05-13 03:40:58 UTC
I've just committed the latest snapshot of boehm-gc, 6.3-alpha5. If that doesn't solve the problem, please report it to gc@linux.hpl.hp.com. See http://www.hpl.hp.com/personal/Hans_Boehm/gc/ for how to subscribe the list. I've discovered that the problem was provoked by allocating a particular object from the regular C++ heap rather than from the garbage collected pool. Changing this particlar allocations causes the corruption to go away. I suspect it's still a bug though as I expect to be able to mix allocations from regular g++ new and Boehm GC_malloc in the same process. -- jeek Oops - didn't spot your suggestion to upgrade - will check out the new version and let you know. Thanks, -- jeek Please take it to upstream if the problem still persists with boehm-gc-6.4. |