Hi,

Have you tried running your program with Valgrind yet?

-- emery
 

> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of
> singh_dhirendra_kumar
> Sent: Tuesday, December 13, 2005 1:14 PM
> To: [email protected]
> Subject: [hoard] Process crash with signal SIGSEGV
> 
> Hi,
> I have a multithreaded C++ program which crashed with signal SIGSEGV.
> call stack in dbx shows it was in function hoardLock when it
> received the signal.
> below is the call stack in dbx.
> 
> detected a multithreaded program
> [EMAIL PROTECTED] ([EMAIL PROTECTED]) terminated by signal SEGV (access to 
> address exceeded
> protections)
> 0xff32194c: hoardLock+0x002c:   swap    [%i0], %o0
> Current function is PIEntity::~PIEntity
>    83                   delete [] m_pPreviousBlob;
> (/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) where
> current thread: [EMAIL PROTECTED]
>   [1] hoardLock(0x24, 0x0, 0xff335384, 0x0, 0x3b, 0x1), at 0xff32194c
>   [2] free__11processHeapPv(0xfd590008, 0x8003e8e0, 0xff3359a0, 0xf,
> 0xfd590008, 0x0), at 0xff321f40
>   [3] free(0x8003e8e0, 0xfd5bdb98, 0xff3359a0, 0x8fe7d7e8,
> 0x8fe7d7d8, 0x0), at 0xff3225a4
>   [4] operator delete(0x8003e8e0, 0x2128e28, 0x8fe7d924, 0x8fe7d920,
> 0xfd590008, 0xfddd368c), at 0xfe87b40c
> =>[5] PIEntity::~PIEntity(this = 0x3b2c9d0), line 83
> in "PIEntity.cpp"
>   [6] __SLIP.DELETER__C(0x3b2c9d0, 0x1, 0x745f917, 0xc7b034bd,
> 0xc7b034bd, 0xf1eddf39), at 0xfe5ad290
>   [7] PricingContext::releasePis(this = 0x2138e88), line 486
> in "PricingContext.cpp"
>   [8] PricingEngine::releaseContextEntities(), line 926
> in "PricingEngine.cpp"
>   [9] PricingEngine::process(i_eventContext = 0x1ba09d8,
> i_customerContext = 0x1ba09d8, io_pEvent = 0x2126d98, i_pCallback =
> (nil), io_pCookie = (nil), i_persistWork = true), line 1254
> in "PricingEngine.cpp"
>   [10] pps::RaterImpl::rate(this = 0x1bde750, io_impContainer =
> 0x8fe7ebb8), line 322 in "PPSIMP_RaterImpl.cpp"
>   [11] pps::BODebitUnits::doRating(this = 0x732960, i_pImplContainer
> = 0x8fe7ebb8), line 126 in "PPSVC_BODebitUnits.cpp"
>   [12] pps::BasicBusinessObject::process(this = 0x732960,
> i_pImplContainer = 0x8fe7ebb8), line 122
> in "PPSVC_BasicBusinessObject.cpp"
>   [13] pps::NEBasicServiceObject::doExecute(this = 0x6f7a28,
> i_pReqCtx = 0x22e60f8, i_pImplContainer = 0x8fe7ebb8), line 138
> in "PPSVC_NEBasicServiceObject.cpp"
>   [14] pps::ServiceObject::execute(this = 0x6f7a28, i_pReqContext =
> 0x22e60f8, i_pImplContainer = 0x8fe7ebb8), line 310
> in "PPSVC_ServiceObject.cpp"
>   [15] pps::LocalEventHandlingStrategy::dispatch(this = 0x7577e8,
> i_pCtx = 0x22e60f8, i_pImplContainer = 0x8fe7ebb8), line 108
> in "PPSEH_LocalEventHandlingStrategy.cpp"
>   [16] pps::PPSEventHandler::handleEvent(this = 0x757718), line 441
> in "PPSEH_EventHandler.cpp"
>   [17] pps::PPSEventHandler::svc(this = 0x757718), line 375
> in "PPSEH_EventHandler.cpp"
>   [18] ACE_Task_Base::svc_run(args = 0x757718), line 203
> in "Task.cpp"
>   [19] ACE_Thread_Adapter::invoke_i(this = 0xf68cb8), line 148
> in "Thread_Adapter.cpp"
>   [20] ACE_Thread_Adapter::invoke(this = 0xf68cb8), line 91
> in "Thread_Adapter.cpp"
>   [21] ace_thread_adapter(args = 0xf68cb8), line 127
> in "Base_Thread_Adapter.cpp"
> 
> I do not see anything wrong with the delete operation.
> can someone figure out what happened ?
> 
> 
> 
> 
> 
> ------------------------ Yahoo! Groups Sponsor
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/EbFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/hoard/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to