[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-devtools
Subject:    Re: HPUX-DEVTOOLS: Any useful info out of Call stack
From:       mahesha <mahesha () india ! hp ! com>
Date:       2003-09-29 10:45:57
[Download RAW message or body]

>
>
>I need help to see if I can get any useful info that is more concrete
>than knowing approximate location where the problem happenneed based on
>a call stack like the one I listed below:  The information I am really
>looking at is what call really bombed on me.  Stack item 9 seems to be
>the culprit but what exactly is it?
>
Function at stack frame 10 is the culprit. It has thrown an exception which
does not match the declared throw specification for that function.

>1) Isthere a formal way to look at it?
>

If you seee terminate() being called, then it means that exception was 
not caught
(i.e., no matching catch was found).
When you see unexpected() being called. it means that function has thrown
an exception which is different from what was declared with throw() 
specification.

>3) I also observed some times, when I throw exception, this type of
>behavior happens?  What causes this?
>

Read the answers above.

I see that you have installed a terminate handler
BooException::terminationHandler()
which is being called on frame 6.

Check your code to see why a different exception is being thrown,

You can also attempt to find out the exception thrown by setting
a break point in  __throw__FPvT1 and using following gdb command:


(gdb) p  *(*(*(char****)$r26+2)+1)

-mahesha


>
>Using aCC HP ANSI C++ B3910b X.03.32
>Thanks
>Srinivas
>
> ( 0)  0x400000000272c6e0   terminateHandler + 0xb8
>[/afs/fm.intel.com/proj/tejas/setup/prd/utils/tool_utils/abc/v3_1/bin/hp
>_ux110/debug64/abc]
>( 1)  0xc000000000299a90   _sigreturn  [/usr/lib/pa20_64/libc.2]
>( 2)  0xc00000000029b19c   _kill + 0x2c  [/usr/lib/pa20_64/libc.2]
>( 3)  0xc00000000024f67c   _raise + 0x2c  [/usr/lib/pa20_64/libc.2]
>( 4)  0xc0000000002826a0   abort_C + 0xc0  [/usr/lib/pa20_64/libc.2]
>( 5)  0xc0000000002827c4   abort + 0x1c  [/usr/lib/pa20_64/libc.2]
>( 6)  0x4000000001751088   terminationHandler__12BooExceptionSFv + 0x650
>[/afs/fm.intel.com/proj/tejas/setup/prd/utils/tool_utils/abc/v3_1/bin/hp
>_ux110/debug64/abc]
>( 7)  0xc0000000000e35f4   terminate__Fv + 0x3c
>[/usr/lib/pa20_64/libCsup.2]
>( 8)  0xc0000000000e4a2c   unexpected__Fv + 0x24
>[/usr/lib/pa20_64/libCsup.2]
>( 9)  0xc0000000000e49ac   __CallUnexpected + 0x14
>[/usr/lib/pa20_64/libCsup.2]
>(10)  0x0000000014fa2d0
>countLCES__10LCBTopCellFR9LCBClkNetRQ2_4_STL3mapXTQ2_
>4_STL12basic_stringXTcTQ2_4_STL11char_traitsXTc_TQ2_4_STL9allocatorXTc__
>TQ2_4_STL6vectorXTP11UdmCellInstTQ2_4_STL9allocatorXTP11UdmCellInst__TQ2
>_4_STL4lessXTQ2_4_STL12basic_stringXTcTQ2_4_STL11char_trai + 0xe470
>[/afs/fm.intel.com/proj/tejas/setup/prd/utils/tool_utils/lcbpostopt/v3_1
>/bin/hp_ux110/debug64/lcbpostopt]
>(11)  0x40000000014eb15c   traceClkNetChain__10LCBTopCellFR9LCBClkNet +
>0x8bc  [
>/afs/fm.intel.com/proj/tejas/setup/prd/utils/tool_utils/abc/v3_1/bin/hp_
>u
>x110/debug64/abc]
>(12)  0x40000000014e718c   makeClkNetsBasedOnClkNets__10LCBTopCellFv +
>0x8ac
>[/afs/fm.intel.com/proj/tejas/setup/prd/utils/tool_utils/abc/v3_1/bin/hp
>_ux
>110/debug64/abc]
>(13)  0x40000000014e8bd8   makeClkNets__10LCBTopCellFv + 0xd8
>[/afs/fm.intel.com/proj/tejas/setup/prd/utils/tool_utils/abc/v3_1/bin/hp
>_ux110/debug64/abc]
>(14)  0x400000000141ad28   main + 0xbe60
>[/afs/fm.intel.com/proj/tejas/setup/prd/utils/tool_utils/abc/v3_1/bin/hp
>_ux110/debug64/abc]
>(15)  0xc000000000028a90   $START$ + 0xa0  [/usr/lib/pa20_64/dld.sl]
>Application: Terminating because of 6 signal
> _________________________________________________________________
> To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
>    with the message UNSUBSCRIBE hpux-devtools
> _________________________________________________________________
>
>
>  
>
 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE hpux-devtools
 _________________________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic