Public bug reported: I put together a script called reproduce-bug.sh that does all the work for you.
This script doesn't require sudo or other enhanced proviledges to run. Basically you run the script in an empty directory writeable by you, and it will git clone v3c and treedb into their own folders and create a "sandbox" folder to install them to. Then it will "make && make install" the packages into the sandbox. You run it as sh reproduce-bug.sh treedb These packages aren't large and with a 1-2GHz machine with broadband you should get to the "problem" prompt in < 2 minutes. The problem stage is running "make check" in treedb, so there's a prompt asking you to <Ctrl>-C to abort, enter to proceed. If you can reproduce the bug it will note the test failures for you to compare. Running the tests on Debian/Squeeze's gcc/g++ 4.4.5 succeeds, as it does with gcc/g++ 4.5.2 on ubuntu (I built it from source). This may lead to the cause of the following more serious problems: linux-image-2.6.32-5-amd64: kernel freeze http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=607495 and system instability caused by unpriviledged program https://bugs.launchpad.net/ubuntu/+source/linux/+bug/692100 ProblemType: Bug DistroRelease: Ubuntu 10.10 Package: g++ 4:4.4.4-1ubuntu2 ProcVersionSignature: Ubuntu 2.6.32-26.48-generic 2.6.32.24+drm33.11 Uname: Linux 2.6.32-26-generic x86_64 Architecture: amd64 Date: Sun Dec 19 03:23:14 2010 ProcEnviron: LANGUAGE= LANG=en_IE.utf8 SHELL=/bin/bash SourcePackage: gcc-defaults ** Affects: gcc-defaults (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug maverick -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/692104 Title: g++ generates bad code -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs