what's the possible reason for these core dump?

E

eaglejyjh

HI,
What's the possbile reason for the following core?
They were from the same process, but the cord place was not the same
each time there was core dump.

OS:SUN5.8, ACE5.3+TAO

Regards







core1 --------------------------------




(gdb) back

#0 0xfe9c1c98 in _smalloc () from /usr/lib/libc.so.1

#1 0xfe9c1ce0 in malloc () from /usr/lib/libc.so.1

#2 0xfe9d37e8 in tzcpy () from /usr/lib/libc.so.1

#3 0xfe9d3554 in _ltzset_u () from /usr/lib/libc.so.1

#4 0xfe9d23fc in localtime_u () from /usr/lib/libc.so.1

#5 0xee9a67c0 in __1cKGetSysTime6Fpc_v_ () from

/tellin/smp/corba/CorbaAgent/lib/libmml_operation.so

#6 0xee9a600c in __1cIWriteLog6FpkcpnNTOperationlog__i_ () from

/tellin/smp/corba/CorbaAgent/lib/libmml_operation.so

#7 0xee9b05e0 in handleMSB () from

/tellin/smp/corba/CorbaAgent/lib/libmml_operation.so

#8 0xeed2316c in

__1cJMTSCAImplXModifySubscriberBalance6Mriirpc3dipkcinQCORBA_String_out_rd6661163_i_

()

from /tellin/smp/corba/CorbaAgent/lib/libmtscaS.so

#9 0xeeafeda8 in

__1cPPOA_MTSCAModuleFMTSCAbCModifySubscriberBalance_skel6FrnRTAO_ServerRequest_pv4_v_

()

from /tellin/smp/corba/CorbaAgent/lib/libmtscaSkel.so

#10 0xfddb7678 in

__1cPTAO_ServantBasebBsynchronous_upcall_dispatch6MrnRTAO_ServerRequest_pv3_v_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO_PortableServer.so.
1.3.0

#11 0xeeb13d9c in

__1cPPOA_MTSCAModuleFMTSCAJ_dispatch6MrnRTAO_ServerRequest_pv_v_ ()

from /tellin/smp/corba/CorbaAgent/lib/libmtscaSkel.so

#12 0xfdd4a4e4 in

__1cSTAO_Object_AdapterQdispatch_servant6MrknNTAO_ObjectKey_rnRTAO_ServerRequest_nQCORBA_Object_out__i_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO_PortableServer.so.
1.3.0

#13 0xfdd4b90c in

__1cSTAO_Object_AdapterIdispatch6MrnNTAO_ObjectKey_rnRTAO_ServerRequest_nQCORBA_Object_out__i_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO_PortableServer.so.
1.3.0

#14 0xfe5f4f48 in

__1cUTAO_Adapter_RegistryIdispatch6MrnNTAO_ObjectKey_rnRTAO_ServerRequest_nQCORBA_Object_out__v_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#15 0xfe704ba0 in

__1cWTAO_Request_DispatcherIdispatch6MpnMTAO_ORB_Core_rnRTAO_ServerRequest_nQCORBA_Object_out__v_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#16 0xfe74c770 in

__1cVTAO_GIOP_Message_BasePprocess_request6MpnNTAO_Transport_rnMTAO_InputCDR_rnNTAO_OutputCDR_pnbHTAO_GIOP_Message_Generator_Parser__i_

() from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#17 0xfe74be94 in

__1cVTAO_GIOP_Message_BaseXprocess_request_message6MpnNTAO_Transport_pnPTAO_QdDueued_Data__i_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#18 0xfe1dbb68 in

__1cNTAO_TransportXprocess_parsed_messages6MpnPTAO_QdDueued_Data_rnRTAO_Resume_Handle__i_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#19 0xfe1da3f4 in

__1cNTAO_TransportOhandle_input_i6MrnRTAO_Resume_Handle_pnOACE_Time_Value_i_i_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#20 0xfe20dd28 in

__1cWTAO_Connection_HandlerPhandle_input_eh6MipnRACE_Event_Handler__i_
()

from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#21 0xfe27695c in
__1cbBTAO_IIOP_Connection_HandlerMhandle_input6Mi_i_

() from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#22 0xfee6e880 in

__1cOACE_TP_ReactorVdispatch_socket_event6MrnUACE_EH_Dispatch_Info__i_
()

from /tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

#23 0xfee6deb0 in

__1cOACE_TP_ReactorUhandle_socket_events6MrirnSACE_TP_Token_Guard__i_
()

from /tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

#24 0xfee6da50 in

__1cOACE_TP_ReactorKdispatch_i6MpnOACE_Time_Value_rnSACE_TP_Token_Guard__i_

()

from /tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

#25 0xfee6d014 in

__1cOACE_TP_ReactorNhandle_events6MpnOACE_Time_Value__i_ () from

/tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

#26 0xfee4ee84 in
__1cLACE_ReactorNhandle_events6MpnOACE_Time_Value__i_

() from /tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

#27 0xfe4b418c in __1cMTAO_ORB_CoreDrun6MpnOACE_Time_Value_i_i_ ()
from

/tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#28 0xfe33b390 in __1cJCORBA_ORBDrun6MpnOACE_Time_Value__v_ () from

/tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#29 0xfe33b2bc in __1cJCORBA_ORBDrun6M_v_ () from

/tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#30 0xff2a2218 in __1cLAgentWorkerDsvc6M_i_ () from

/tellin/smp/corba/CorbaAgent/lib/libcorba_envd.so

---Type <return> to continue, or q <return> to quit---

#31 0xff051360 in __1cNACE_Task_BaseHsvc_run6Fpv_1_ () from

/tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

#32 0xfee037a4 in __1cSACE_Thread_AdapterIinvoke_i6M_pv_ () from

/tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

#33 0xfee0365c in __1cSACE_Thread_AdapterGinvoke6M_pv_ () from

/tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

#34 0xfecf894c in ace_thread_adapter () from

/tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

#35 0xfebdb124 in _thread_start () from /usr/lib/libthread.so.1

#36 0xfebdb124 in _thread_start () from /usr/lib/libthread.so.1

Backtrace stopped: previous frame identical to this frame (corrupt
stack?)

(gdb)










core2---------------------------------------------------

(gdb) back

#0 0xfe9c1c98 in _smalloc () from /usr/lib/libc.so.1

#1 0xfe9c1ce0 in malloc () from /usr/lib/libc.so.1

#2 0xff1f71c0 in c::c () from /usr/lib/libCrun.so.1

#3 0xfe34e804 in __1cFCORBAMstring_alloc6FI_pc_ () from

/tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#4 0xfe34e29c in __1cFCORBAKstring_dup6Fpkc_pc_ () from

/tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#5 0xeed29234 in

__1cJMTSCAImplbGActivateandDeductForSMSorRoaming6Mriirpcpkcd5inQCORBA_String_out_rd66163_i_

()

from /tellin/smp/corba/CorbaAgent/lib/libmtscaS.so

#6 0xeeb1090c in

__1cPPOA_MTSCAModuleFMTSCAbLActivateandDeductForSMSorRoaming_skel6FrnRTAO_ServerRequest_pv4_v_

()

from /tellin/smp/corba/CorbaAgent/lib/libmtscaSkel.so

#7 0xfddb7678 in

__1cPTAO_ServantBasebBsynchronous_upcall_dispatch6MrnRTAO_ServerRequest_pv3_v_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO_PortableServer.so.
1.3.0

#8 0xeeb13d9c in

__1cPPOA_MTSCAModuleFMTSCAJ_dispatch6MrnRTAO_ServerRequest_pv_v_ ()

from /tellin/smp/corba/CorbaAgent/lib/libmtscaSkel.so

#9 0xfdd4a4e4 in

__1cSTAO_Object_AdapterQdispatch_servant6MrknNTAO_ObjectKey_rnRTAO_ServerRequest_nQCORBA_Object_out__i_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO_PortableServer.so.
1.3.0

#10 0xfdd4b90c in

__1cSTAO_Object_AdapterIdispatch6MrnNTAO_ObjectKey_rnRTAO_ServerRequest_nQCORBA_Object_out__i_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO_PortableServer.so.
1.3.0

#11 0xfe5f4f48 in

__1cUTAO_Adapter_RegistryIdispatch6MrnNTAO_ObjectKey_rnRTAO_ServerRequest_nQCORBA_Object_out__v_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#12 0xfe704ba0 in

__1cWTAO_Request_DispatcherIdispatch6MpnMTAO_ORB_Core_rnRTAO_ServerRequest_nQCORBA_Object_out__v_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#13 0xfe74c770 in

__1cVTAO_GIOP_Message_BasePprocess_request6MpnNTAO_Transport_rnMTAO_InputCDR_rnNTAO_OutputCDR_pnbHTAO_GIOP_Message_Generator_Parser__i_

() from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#14 0xfe74be94 in

__1cVTAO_GIOP_Message_BaseXprocess_request_message6MpnNTAO_Transport_pnPTAO_QdDueued_Data__i_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#15 0xfe1dbb68 in

__1cNTAO_TransportXprocess_parsed_messages6MpnPTAO_QdDueued_Data_rnRTAO_Resume_Handle__i_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#16 0xfe1da3f4 in

__1cNTAO_TransportOhandle_input_i6MrnRTAO_Resume_Handle_pnOACE_Time_Value_i_i_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#17 0xfe20dd28 in

__1cWTAO_Connection_HandlerPhandle_input_eh6MipnRACE_Event_Handler__i_
()

from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#18 0xfe27695c in
__1cbBTAO_IIOP_Connection_HandlerMhandle_input6Mi_i_

() from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#19 0xfee6e880 in

__1cOACE_TP_ReactorVdispatch_socket_event6MrnUACE_EH_Dispatch_Info__i_
()

from /tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

#20 0xfee6deb0 in

__1cOACE_TP_ReactorUhandle_socket_events6MrirnSACE_TP_Token_Guard__i_
()

from /tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

#21 0xfee6da50 in

__1cOACE_TP_ReactorKdispatch_i6MpnOACE_Time_Value_rnSACE_TP_Token_Guard__i_

()

from /tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

#22 0xfee6d014 in

__1cOACE_TP_ReactorNhandle_events6MpnOACE_Time_Value__i_ () from

/tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

#23 0xfee4ee84 in
__1cLACE_ReactorNhandle_events6MpnOACE_Time_Value__i_

() from /tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

#24 0xfe4b418c in __1cMTAO_ORB_CoreDrun6MpnOACE_Time_Value_i_i_ ()
from

/tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#25 0xfe33b390 in __1cJCORBA_ORBDrun6MpnOACE_Time_Value__v_ () from

/tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#26 0xfe33b2bc in __1cJCORBA_ORBDrun6M_v_ () from

/tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#27 0xff2a2218 in __1cLAgentWorkerDsvc6M_i_ () from

/tellin/smp/corba/CorbaAgent/lib/libcorba_envd.so

#28 0xff051360 in __1cNACE_Task_BaseHsvc_run6Fpv_1_ () from

/tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

#29 0xfee037a4 in __1cSACE_Thread_AdapterIinvoke_i6M_pv_ () from

/tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

#30 0xfee0365c in __1cSACE_Thread_AdapterGinvoke6M_pv_ () from

/tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

---Type <return> to continue, or q <return> to quit---

#31 0xfecf894c in ace_thread_adapter () from

/tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

#32 0xfebdb124 in _thread_start () from /usr/lib/libthread.so.1

#33 0xfebdb124 in _thread_start () from /usr/lib/libthread.so.1

Backtrace stopped: previous frame identical to this frame (corrupt
stack?)

(gdb)







core3------------------------------------------------

(gdb) back

#0 0xfe9c1c98 in _smalloc () from /usr/lib/libc.so.1

#1 0xfe9c1ce0 in malloc () from /usr/lib/libc.so.1

#2 0xff1f71c0 in c::c () from /usr/lib/libCrun.so.1

#3 0xfe34e804 in __1cFCORBAMstring_alloc6FI_pc_ () from

/tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#4 0xfe34e29c in __1cFCORBAKstring_dup6Fpkc_pc_ () from

/tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#5 0xeed29234 in

__1cJMTSCAImplbGActivateandDeductForSMSorRoaming6Mriirpcpkcd5inQCORBA_String_out_rd66163_i_

()

from /tellin/smp/corba/CorbaAgent/lib/libmtscaS.so

#6 0xeeb1090c in

__1cPPOA_MTSCAModuleFMTSCAbLActivateandDeductForSMSorRoaming_skel6FrnRTAO_ServerRequest_pv4_v_

()

from /tellin/smp/corba/CorbaAgent/lib/libmtscaSkel.so

#7 0xfddb7678 in

__1cPTAO_ServantBasebBsynchronous_upcall_dispatch6MrnRTAO_ServerRequest_pv3_v_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO_PortableServer.so.
1.3.0

#8 0xeeb13d9c in

__1cPPOA_MTSCAModuleFMTSCAJ_dispatch6MrnRTAO_ServerRequest_pv_v_ ()

from /tellin/smp/corba/CorbaAgent/lib/libmtscaSkel.so

#9 0xfdd4a4e4 in

__1cSTAO_Object_AdapterQdispatch_servant6MrknNTAO_ObjectKey_rnRTAO_ServerRequest_nQCORBA_Object_out__i_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO_PortableServer.so.
1.3.0

#10 0xfdd4b90c in

__1cSTAO_Object_AdapterIdispatch6MrnNTAO_ObjectKey_rnRTAO_ServerRequest_nQCORBA_Object_out__i_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO_PortableServer.so.
1.3.0

#11 0xfe5f4f48 in

__1cUTAO_Adapter_RegistryIdispatch6MrnNTAO_ObjectKey_rnRTAO_ServerRequest_nQCORBA_Object_out__v_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#12 0xfe704ba0 in

__1cWTAO_Request_DispatcherIdispatch6MpnMTAO_ORB_Core_rnRTAO_ServerRequest_nQCORBA_Object_out__v_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#13 0xfe74c770 in

__1cVTAO_GIOP_Message_BasePprocess_request6MpnNTAO_Transport_rnMTAO_InputCDR_rnNTAO_OutputCDR_pnbHTAO_GIOP_Message_Generator_Parser__i_

() from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#14 0xfe74be94 in

__1cVTAO_GIOP_Message_BaseXprocess_request_message6MpnNTAO_Transport_pnPTAO_QdDueued_Data__i_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#15 0xfe1dbb68 in

__1cNTAO_TransportXprocess_parsed_messages6MpnPTAO_QdDueued_Data_rnRTAO_Resume_Handle__i_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#16 0xfe1dc4ec in

__1cNTAO_TransportSprocess_queue_head6MrnRTAO_Resume_Handle__i_ ()

from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#17 0xfe1db644 in

__1cNTAO_TransportZconsolidate_message_queue6MrnRACE_Message_Block_irnRTAO_Resume_Handle_pnOACE_Time_Value__i_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#18 0xfe1da874 in

__1cNTAO_TransportTconsolidate_message6MrnRACE_Message_Block_irnRTAO_Resume_Handle_pnOACE_Time_Value__i_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#19 0xfe1da570 in

__1cNTAO_TransportbAparse_consolidate_messages6MrnRACE_Message_Block_rnRTAO_Resume_Handle_pnOACE_Time_Value__i_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#20 0xfe1da1b0 in

__1cNTAO_TransportOhandle_input_i6MrnRTAO_Resume_Handle_pnOACE_Time_Value_i_i_

()

from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#21 0xfe20dd28 in

__1cWTAO_Connection_HandlerPhandle_input_eh6MipnRACE_Event_Handler__i_
()

from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#22 0xfe27695c in
__1cbBTAO_IIOP_Connection_HandlerMhandle_input6Mi_i_

() from /tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#23 0xfee6e880 in

__1cOACE_TP_ReactorVdispatch_socket_event6MrnUACE_EH_Dispatch_Info__i_
()

from /tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

#24 0xfee6deb0 in

__1cOACE_TP_ReactorUhandle_socket_events6MrirnSACE_TP_Token_Guard__i_
()

from /tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

#25 0xfee6da50 in

__1cOACE_TP_ReactorKdispatch_i6MpnOACE_Time_Value_rnSACE_TP_Token_Guard__i_

()

from /tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

#26 0xfee6d014 in

__1cOACE_TP_ReactorNhandle_events6MpnOACE_Time_Value__i_ () from

/tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

---Type <return> to continue, or q <return> to quit---

#27 0xfee4ee84 in
__1cLACE_ReactorNhandle_events6MpnOACE_Time_Value__i_

() from /tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

#28 0xfe4b418c in __1cMTAO_ORB_CoreDrun6MpnOACE_Time_Value_i_i_ ()
from

/tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#29 0xfe33b390 in __1cJCORBA_ORBDrun6MpnOACE_Time_Value__v_ () from

/tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#30 0xfe33b2bc in __1cJCORBA_ORBDrun6M_v_ () from

/tellin/smp/corba/CorbaAgent/lib/libTAO.so.1.3.0

#31 0xff2a2218 in __1cLAgentWorkerDsvc6M_i_ () from

/tellin/smp/corba/CorbaAgent/lib/libcorba_envd.so

#32 0xff051360 in __1cNACE_Task_BaseHsvc_run6Fpv_1_ () from

/tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

#33 0xfee037a4 in __1cSACE_Thread_AdapterIinvoke_i6M_pv_ () from

/tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

#34 0xfee0365c in __1cSACE_Thread_AdapterGinvoke6M_pv_ () from

/tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

#35 0xfecf894c in ace_thread_adapter () from

/tellin/smp/corba/CorbaAgent/lib/libACE.so.5.3.0

#36 0xfebdb124 in _thread_start () from /usr/lib/libthread.so.1

#37 0xfebdb124 in _thread_start () from /usr/lib/libthread.so.1

Backtrace stopped: previous frame identical to this frame (corrupt
stack?)





******************************************************************************************
This email and its attachments contain confidential information from
HUAWEI, which is intended only for the person or entity whose address
is listed above. Any use of the information contained herein in any
way (including, but not limited to, total or partial disclosure,
reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error,
please notify the sender by phone or em
ail immediately and delete it!

*****************************************************************************************
 
L

Lionel B

HI,
What's the possbile reason for the following core? They were from the
same process, but the cord place was not the same each time there was
core dump.

Your program has a bug at line 42.

[snip huge core dump and illegal disclaimer]
 
J

Jim Langston

HI,
What's the possbile reason for the following core?
They were from the same process, but the cord place was not the same
each time there was core dump.

OS:SUN5.8, ACE5.3+TAO

Regards







core1 --------------------------------




(gdb) back

#0 0xfe9c1c98 in _smalloc () from /usr/lib/libc.so.1

#1 0xfe9c1ce0 in malloc () from /usr/lib/libc.so.1

[Snip rest]

Looks like malloc is throwing. Maybe out of memory error?
 
D

Default User

Jim said:
HI,
What's the possbile reason for the following core?
They were from the same process, but the cord place was not the same
each time there was core dump.

OS:SUN5.8, ACE5.3+TAO

Regards







core1 --------------------------------




(gdb) back

#0 0xfe9c1c98 in _smalloc () from /usr/lib/libc.so.1

#1 0xfe9c1ce0 in malloc () from /usr/lib/libc.so.1

[Snip rest]

Looks like malloc is throwing. Maybe out of memory error?

malloc() doesn't throw, period. It's an inherited C function, and
returns NULL on failure to allocate. If it's crashing during a malloc()
call, then the likely reason is that the free store was corrupted,
often from overrunning a dynamic array.

Without the code, it's hard to say.





Brian
 
F

faceman28208

HI,
What's the possbile reason for the following core?
They were from the same process, but the cord place was not the same
each time there was core dump.

I would wager that you have deallocated something twice.

malloc () crashes suggest the heap is corrupted. The best way to to
that is to dealloc things multiple times.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,906
Latest member
SkinfixSkintag

Latest Threads

Top