Archived
Occurs heap space in previously successful code after the build under Ice 3.7.3
Sorry my English, it's not very good.
Occurs heap space in previously successful C++98 Ice 3.4.2 (centos 6) code after the build (with std::share_ptr changes) under C++11 Ice 3.7.3
The error emanate from deep inside the Ice framework, it comes from another thread (not program main). Something changed when switching to the new Ice version. At the same time, another project was translated to Ice 3.7.3 without similar problems.
*** Error in `/home/oracle/ice_ca/TracerIceCA': double free or corruption (out): 0x00007f9004003b30 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x81679)[0x7f9010992679]
/lib64/libIce++11.so.37(_ZNSt14_Function_base13_Base_managerIZN11IceInternal14OutgoingAsyncTISsE6invokeERKSsN3Ice13OperationModeENS6_10FormatTypeERKSt3mapISsSsSt4lessISsESaISt4pairIS4_SsEEESt
8functionIFvPNS6_12OutputStreamEEESI_IFvRKNS6_13UserExceptionEEEEUlPNS6_11InputStreamEE_E10_M_managerERSt9_Any_dataRKSW_St18_Manager_operation+0x1d)[0x7f90148e280d]
/home/oracle/ice_ca/TracerIceCA(_ZNSt14_Function_baseD1Ev+0x33)[0x4378c1]
/home/oracle/ice_ca/TracerIceCA(_ZNSt8functionIFSsPN3Ice11InputStreamEEED1Ev+0x18)[0x442e70]
/home/oracle/ice_ca/TracerIceCA[0x442f78]
/home/oracle/ice_ca/TracerIceCA[0x44437d]
/home/oracle/ice_ca/TracerIceCA[0x4464c3]
/home/oracle/ice_ca/TracerIceCA[0x4460ff]
/home/oracle/ice_ca/TracerIceCA[0x444905]
/home/oracle/ice_ca/TracerIceCA(_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_releaseEv+0x42)[0x43c560]
/lib64/libIce++11.so.37(+0x144611)[0x7f901493a611]
/lib64/libIce++11.so.37(+0x14ad10)[0x7f9014940d10]
/lib64/libIce++11.so.37(+0x22cf35)[0x7f9014a22f35]
/lib64/libIce++11.so.37(+0x22d60c)[0x7f9014a2360c]
/lib64/libIce++11.so.37(+0x1712cd)[0x7f90149672cd]
/lib64/libpthread.so.0(+0x7e65)[0x7f9010ce6e65]
/lib64/libc.so.6(clone+0x6d)[0x7f9010a0f88d]
What parts of source code needs for problem check?
Comments
-
I'm afraid this stack doesn't provide a lot of information. Which Linux operating system do you use? Could you install the debug files? Can you easily reproduce the problem with a debugger?
To install the debug files:
- on Debian systems:
sudo apt-get install libzeroc-ice3.7-dbgsym
- on RPM systems:
sudo yum install ice-debuginfo
Cheers,
Benoit5 - on Debian systems: