[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help - SEGV_MAPERR
From: |
Paul Pluzhnikov |
Subject: |
Re: help - SEGV_MAPERR |
Date: |
Mon, 13 Mar 2006 23:49:00 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux) |
santhi.guntupalli@gmail.com writes:
> (gdb) r
> Starting program: /home/test/src/Server ../examples/test
> warning: Load module
> /usr/local/lib/gcc/ia64-hp-hpux11.23/4.0.2/../../../hpux64/libstdc++.so has
> been stripped.
This is your first clue.
Who built this version of g++, and did he strip libstdc++.so "by hand"
(I believe it should not be stripped, or you'll crash upon
the first exception).
BTW, does your program use exceptions?
You may also wish to find out if this crash is happening shortly
after an exception: set a break point on __cxa_throw (but you'll
probably have to get a non-stripped libstdc++ first).
> (gdb) x/20i $pc-40
> 0x9fffffffef7bce00:9 <unwind_rp+0x29>: (p16) illegalOp 0x8e002c0010
> 0x9fffffffef7bce00:10 <unwind_rp+0x2a>: (p8) dep r72=r125,r3,3,1
Oh, joy. This looks like garbage. Try again like this:
x/20i (unsigned long)($pc-40) & (~0xF)
It looks like you are having a tool-chain issue rather than an
app issue. Unfortunately you usually need a platform expert to
resolve these. If you built gcc "in house", you may want to try
using pre-built gcc binaries from HP instead:
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,7663,00.html
Good luck,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
- help - SEGV_MAPERR, Guntupalli Santhi, 2006/03/13
- Re: help - SEGV_MAPERR, Guntupalli Santhi, 2006/03/13
- Message not available
- Re: help - SEGV_MAPERR, Paul Pluzhnikov, 2006/03/14
- Re: help - SEGV_MAPERR, santhi . guntupalli, 2006/03/14
- Re: help - SEGV_MAPERR,
Paul Pluzhnikov <=
- Re: help - SEGV_MAPERR, santhi . guntupalli, 2006/03/14
- Re: help - SEGV_MAPERR, Paul Pluzhnikov, 2006/03/15
- Re: help - SEGV_MAPERR, santhi . guntupalli, 2006/03/15
- Re: help - SEGV_MAPERR, santhi . guntupalli, 2006/03/27
- Re: help - SEGV_MAPERR, Paul Pluzhnikov, 2006/03/23