Hello,
when building current trunk from SVN (revision 53601) on Linux (x86_64
OpenSuSE Factory but the same was observed on i586 SLES 11 SP1 as well),
the command
gfix -write async security.tmp
sometimes segfaults (not always, in about half of the attempts).
Analysis of the core dump showed that in function garbage_collector()
(src/jrd/vio.cpp), destructor of GarbageCollector created via AutoPtr on
line 4267 is called with this pointing to invalid memory. Some other
pointers, e.g. jAtt, point to invalid memory as well.
I got a bit lost in the classes but my guess is the problem is caused by
commit 53582 (Refactored the tdbb initialization, especially in AST and
BG threads) which changed the gc cleanup from explicit delete to use of
AutoPtr so that it is deleted when AutoPtr goes out of scope which is
later than before.
Michal Kubeček
------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook
in minutes. BlackBerry App World™ now supports Android™ Apps
for the BlackBerry® PlayBook™. Discover just how easy and simple
it is! http://p.sf.net/sfu/android-dev2dev
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel