Go Back   ZeroC Forums > Bug Reports

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 10-19-2007
fmoya fmoya is offline
Registered User
 
Name: Francisco Moya
Organization: UCLM
Project: Debian packages
 
Join Date: Oct 2004
Posts: 46
Corrupted heap on AMD64 with g++ pre 4.2.3 -O2

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:
Attached Files
File Type: txt backtrace.txt (11.2 KB, 89 views)
__________________
Francisco Moya Fernandez
Computer Architecture and Tecnology Group
University of Castilla-La Mancha

Debian Maintainer of ZeroC Ice packages.
Reply With Quote
  #2 (permalink)  
Old 10-22-2007
xdm's Avatar
xdm xdm is offline
ZeroC Staff
 
Name: José Gutíerrez de la Concha Martínez
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Sep 2003
Location: La Coruña, Spain
Posts: 291
Hi Francisco.
I compiled Ice-3.2.1 with optimizations enabled on AMD64 gcc-4.1.2 and works fine on my gentoo box.
Reply With Quote
  #3 (permalink)  
Old 10-23-2007
fmoya fmoya is offline
Registered User
 
Name: Francisco Moya
Organization: UCLM
Project: Debian packages
 
Join Date: Oct 2004
Posts: 46
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
__________________
Francisco Moya Fernandez
Computer Architecture and Tecnology Group
University of Castilla-La Mancha

Debian Maintainer of ZeroC Ice packages.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
AMD64 java-1.5 xdm Help Center 1 05-31-2006 06:33 PM
Pre-Compiled Headers mario Help Center 9 11-10-2005 04:22 AM
Ice on AMD64 dkey Comments 1 03-01-2005 12:37 PM
Pre-Build needs no spaces! Wayetender Bug Reports 6 08-17-2004 07:40 PM
Pre-Build Failure Wayetender Help Center 8 08-07-2004 08:06 PM


All times are GMT -4. The time now is 08:50 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.