Home Bug Reports

Corrupted heap on AMD64 with g++ pre 4.2.3 -O2

fmoyafmoya Member Francisco MoyaOrganization: UCLMProject: Debian packages ✭✭
When Ice for C++ is compiled with optimizations enabled on AMD64 we get a core dump when trying to run icegridnode even on a completely empty database environment. I'm using Debian g++ 4.2.2-3 (4.2.3 prerelease 20071014).

Is this a known problem? I'm not sure to blame the compiler given the reasonably good results on the g++/libstdc++ testsuite.

Attached you will find a stack trace:

Comments

  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Hi Francisco.
    I compiled Ice-3.2.1 with optimizations enabled on AMD64 gcc-4.1.2 and works fine on my gentoo box.
  • fmoyafmoya Member Francisco MoyaOrganization: UCLMProject: Debian packages ✭✭
    Debian stable/testing branch distributes 4.1.x as the default compiler and Ice works fine on AMD64 with -O6. But this fact doesn't fix the bug and does not reveal whether the bug is in the compiler or Ice.
    I'll try to track this down next week. I'd just like to know whether this was a known issue or a platform-specific issue.
    Best regards,
    Paco
Sign In or Register to comment.