cancel
Showing results for 
Search instead for 
Did you mean: 

Core dump on HP-PA RISC

porwaa
Advisor

Core dump on HP-PA RISC

I'm having a core dump on HP-PA RISC for which I'm attaching the back trace.
The code which produces this is as below and the crash occurs at the line object.insertKeyAndValue.
(1) Do we have to have some necessary pathces.
(2) Is this a memory issue. How to find if this is so?

int IR_rawMessage::init()
{

// Populate a hash table of message types

try
{

static Lock critSection;

{
AutoLock auto_lock (critSection);

if (o_msgDictionary.isEmpty())
{

object.insertKeyAndValue(new String(IR_M),
new IR_m_A());
2 REPLIES
Dennis Handly
Acclaimed Contributor

Re: Core dump on HP-PA RISC

Without disassembly and a register dump, there isn't much we can tell from your stack trace.
(gdb) info reg
(gdb) disas $pc-4*16 $pc+4*4

You could have a thread stack overflow. You can check by:
(gdb) p /x $sp_save = $sp
(gdb) frame 11
(gdb) p $sp - $sp_save

(What version of gdb are you using?)
Dennis Handly
Acclaimed Contributor

Re: Core dump on HP-PA RISC

Instead of creating a new thread, you should copy your new info and attachment to your existing thread:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1327087