hai

i have an application running on AIX 5.2 in C++

when iam trying to execute the application, everything is going fine, but on exit its getting core dumped, and the stack trace is as shown below

Illegal instruction (illegal opcode) in . at 0x0 ($t1)
warning: Unable to access address 0x0 from core
(dbx) where
warning: Unable to access address 0xfffffffffffffffc from core
warning: Unable to access address 0xfffffffffffffffc from core
warning: Unable to access address 0xfffffffffffffffc from core
warning: Unable to access address 0xfffffffffffffffc from core
.() at 0x0
strstrea.__dt__Q2_3std6localeFv(??, ??) at 0xd0642894
__dt__Q2_3std13basic_filebufXTcTQ2_3std11char_traitsXTc__Fv(??, ??, ??) at 0xd0672828
abc_agent.vtbl.~CD_TraceFilebuf()(0xf0931c28, 0x2, 0x0), line 16 in "abc_agent.vtbl.cc"
abc_agent.vtbl.~CD_Trace()(0xf0931c18, 0x2, 0xf0734cb0), line 16 in "abc_agent.vtbl.cc"
abc_program.__srterm__0()(), line 36 in "abc_program.cc"
cuexit.on_exit(??) at 0xd02198b4

plz help me what exactly is the problem?

Regards
Vadan

Recommended Answers

All 5 Replies

i have checked it
no where in my main program, i have stepped off the end of an array

Try to imagine that I can't see your code.
Try to also imagine the 1000's of ways you can screw up.
Try to imagine that that was just a probable guess, not a guaranteed answer.

If you want any change of a real answer, post some real code.
Ideally, a complete program which crashes.

commented: Haha, nice post.. made me laugh +2

what does the line cuexit.on_exit(??) at 0xd02198b4 indicate?

A rough guess would be a function in the run-time library responsible for calling all the destructors for global objects.

Is abc_program.cc your code?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.