This is a discussion on Error when allocating memory within the AIX Operating System forums, part of the Unix Operating Systems category; --> I'm keep getting core dump, here are the info in core: 1. Segmentation fault in malloc_y.splint [/usr/lib/libc.a] at 0xd01f9238 ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I'm keep getting core dump, here are the info in core: 1. Segmentation fault in malloc_y.splint [/usr/lib/libc.a] at 0xd01f9238 ($t1) 0xd01f9238 (splint+0x21c) 7caa85aa stswi r5,r10,0x10 (dbx) where malloc_y.splint(??, ??) at 0xd01f9238 malloc_y.malloc_y(??, ??, ??) at 0xd01fb98c malloc_y.malloc_y_heap(??) at 0xd01fb1e8 _Fancy_malloc__FUl(??) at 0xd01c93d0 __nw__FUl(??) at 0xd01c9004 udbi._Allocate__3stdHc_UlPc_Pc() at 0x2000f014 udbi._Copy__Q2_3std12basic_stringXTcTQ2_3std11char _traitsXTc_TQ2_3std9allocatorXTc__FUl() at 0x2000eec0 JField.assign__Q2_3std12basic_stringXTcTQ2_3std11c har_traitsXTc_TQ2_3std9allocatorXTc__FPCcUl() at 0x20036988 __ct__Q2_4UDBI6JFieldFP8OCIParamP8OCIErrorUsi() at 0x20036098 __ct__Q2_4UDBI12JFieldStringFP8OCIParamP8OCIErrorU si() at 0x20048900 init__Q2_4UDBI7JRecordFP7OCIStmtP8OCIErrori() at 0x20013b64 ExecSelect__Q2_4UDBI6TTableFRCQ2_3std12basic_strin gXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc __() at 0x20066940 TradeGeneTrade.ExecSelect(const std::basic_string<char,std::char_traits<char>,std: :allocator<char> >&)(0x2ff16908, 0x2ff16a80), line 99 in "MTable.h" 2. Segmentation fault in JRecord._Erase__Q2_3std5_TreeXTQ2_3std12_Tmap_trai tsXTQ2_3std12basic_stringXTcTQ2_3std11char_traitsX Tc_TQ2_3std9allocatorXTc__TiTQ2_3std4lessXTQ2_3std 12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std 9allocatorXTc___TQ2_3std9allocatorXTQ2_3std4pairXT CQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_ TQ2_3std9allocatorXTc__Ti__SP0__FPQ3_3std9_Tree_no dXTQ2_3std12_Tmap_traitsXTQ2_3std12basic_stringXTc TQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__Ti TQ2_3std4lessXTQ2_3std12basic_stringXTcTQ2_3std11c har_traitsXTc_TQ2_3std9allocatorXTc___TQ2_3std9all ocatorXTQ2_3std4pairXTCQ2_3std12basic_stringXTcTQ2 _3std11char_traitsXTc_TQ2_3std9allocatorXTc__Ti__S P0__5_Node at 0x2001fb14 ($t1) 0x2001fb14 (_Erase__Q2_3std5_TreeXTQ2_3std12_Tmap_traitsXTQ2_ 3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_ 3std9allocatorXTc__TiTQ2_3std4lessXTQ2_3std12basic _stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9alloca torXTc___TQ2_3std9allocatorXTQ2_3std4pairXTCQ2_3st d12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3st d9allocatorXTc__Ti__SP0__FPQ3_3std9_Tree_nodXTQ2_3 std12_Tmap_traitsXTQ2_3std12basic_stringXTcTQ2_3st d11char_traitsXTc_TQ2_3std9allocatorXTc__TiTQ2_3st d4lessXTQ2_3std12basic_stringXTcTQ2_3std11char_tra itsXTc_TQ2_3std9allocatorXTc___TQ2_3std9allocatorX TQ2_3std4pairXTCQ2_3std12basic_stringXTcTQ2_3std11 char_traitsXTc_TQ2_3std9allocatorXTc__Ti__SP0__5_N ode+0x10) 9421ffa0 stwu r1,-96(r1) Any suggestions? Thanks in advance Best regards Yixin Cao msn: yixin.cao@hotmail.com http://yixincao.spaces.live.com Calendar: http://calendar.msn.com/yixin.cao@hotmail.com Senior Test Engineer| Lianchuang Inc./Wireless Software Division| http://www.lianchuang.com |
| |||
| I forgot to mention that we use AIX5200-06 and vacpp6 with the latest patch installed. Yixin Cao wrote: > I'm keep getting core dump, here are the info in core: > > 1. > Segmentation fault in malloc_y.splint [/usr/lib/libc.a] at 0xd01f9238 ($t1) > 0xd01f9238 (splint+0x21c) 7caa85aa stswi r5,r10,0x10 > (dbx) where > malloc_y.splint(??, ??) at 0xd01f9238 > malloc_y.malloc_y(??, ??, ??) at 0xd01fb98c > malloc_y.malloc_y_heap(??) at 0xd01fb1e8 > _Fancy_malloc__FUl(??) at 0xd01c93d0 > __nw__FUl(??) at 0xd01c9004 > udbi._Allocate__3stdHc_UlPc_Pc() at 0x2000f014 > udbi._Copy__Q2_3std12basic_stringXTcTQ2_3std11char _traitsXTc_TQ2_3std9allocatorXTc__FUl() > at 0x2000eec0 > JField.assign__Q2_3std12basic_stringXTcTQ2_3std11c har_traitsXTc_TQ2_3std9allocatorXTc__FPCcUl() > at 0x20036988 > __ct__Q2_4UDBI6JFieldFP8OCIParamP8OCIErrorUsi() at 0x20036098 > __ct__Q2_4UDBI12JFieldStringFP8OCIParamP8OCIErrorU si() at 0x20048900 > init__Q2_4UDBI7JRecordFP7OCIStmtP8OCIErrori() at 0x20013b64 > ExecSelect__Q2_4UDBI6TTableFRCQ2_3std12basic_strin gXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc __() > at 0x20066940 > TradeGeneTrade.ExecSelect(const > std::basic_string<char,std::char_traits<char>,std: :allocator<char> > >&)(0x2ff16908, 0x2ff16a80), line 99 in "MTable.h" > > > 2. > Segmentation fault in > JRecord._Erase__Q2_3std5_TreeXTQ2_3std12_Tmap_trai tsXTQ2_3std12basic_stringXTcTQ2_3std11char_traitsX Tc_TQ2_3std9allocatorXTc__TiTQ2_3std4lessXTQ2_3std 12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std 9allocatorXTc___TQ2_3std9allocatorXTQ2_3std4pairXT CQ2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_ TQ2_3std9allocatorXTc__Ti__SP0__FPQ3_3std9_Tree_no dXTQ2_3std12_Tmap_traitsXTQ2_3std12basic_stringXTc TQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc__Ti TQ2_3std4lessXTQ2_3std12basic_stringXTcTQ2_3std11c har_traitsXTc_TQ2_3std9allocatorXTc___TQ2_3std9all ocatorXTQ2_3std4pairXTCQ2_3std12basic_stringXTcTQ2 _3std11char_traitsXTc_TQ2_3std9allocatorXTc__Ti__S P0__5_Node > at 0x2001fb14 ($t1) > 0x2001fb14 > (_Erase__Q2_3std5_TreeXTQ2_3std12_Tmap_traitsXTQ2_ 3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_ 3std9allocatorXTc__TiTQ2_3std4lessXTQ2_3std12basic _stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9alloca torXTc___TQ2_3std9allocatorXTQ2_3std4pairXTCQ2_3st d12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3st d9allocatorXTc__Ti__SP0__FPQ3_3std9_Tree_nodXTQ2_3 std12_Tmap_traitsXTQ2_3std12basic_stringXTcTQ2_3st d11char_traitsXTc_TQ2_3std9allocatorXTc__TiTQ2_3st d4lessXTQ2_3std12basic_stringXTcTQ2_3std11char_tra itsXTc_TQ2_3std9allocatorXTc___TQ2_3std9allocatorX TQ2_3std4pairXTCQ2_3std12basic_stringXTcTQ2_3std11 char_traitsXTc_TQ2_3std9allocatorXTc__Ti__SP0__5_N ode+0x10) > 9421ffa0 stwu r1,-96(r1) > > > Any suggestions? Thanks in advance > > > Best regards > Yixin Cao > > msn: yixin.cao@hotmail.com http://yixincao.spaces.live.com > Calendar: http://calendar.msn.com/yixin.cao@hotmail.com > Senior Test Engineer| Lianchuang Inc./Wireless Software Division| > http://www.lianchuang.com |
| ||||
| Yixin Cao <yixin.cao@hotmail.com> writes: > I'm keep getting core dump, here are the info in core: Any coredump inside malloc() is usually indicative of a heap corruption problem in your code. Use -qheapdebug switch and/or MALLOCTYPE and MALLOCDEBUG environment variables to find it. More info here: http://publib.boulder.ibm.com/infoce...bug_malloc.htm Cheers, -- In order to understand recursion you must first understand recursion. Remove /-nsp/ for email. |
| Thread Tools | |
| Display Modes | |
|
|