activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: Unhandeled exception when producer sending message in free.c at HeapFree after sending large ammount of messages
Date Tue, 01 Apr 2008 12:50:22 GMT

I don't really know what the problem is you are seeing from the
description.

Please provide a sample app and description of how the problem can be
reproduced.

Regards
Tim.

On Tue, 2008-04-01 at 05:45 -0700, narts wrote:
> For my application what i am dong is once iam connecting to actimq then, i am
> generating messages to send by one by one. After generating each message iam
> forwarding to appropriate destnation through activemq.
> Ahen i run Stackwalker for this application it is showing stack over flow in
> activemq cpp
> and the log message is.............
> 
> ######## EXCEPTION: 0xC00000FD at address: 0x004D6789: STACK OVERFLOW 
> 1: 04/01/08 17:33:43
> 
> 1:   0     MyAllocHook +9 bytes
> 1:     Decl: MyAllocHook
> 1:     Line:
> e:\working\latest\winevtcollect\winevtcollect\stackwalker.cpp(1260) +9 bytes
> 1:     Mod:  WinEvtCollect, base: 00400000h
> 
> 1:   1     _heap_alloc_dbg +241 bytes
> 1:     Decl: _heap_alloc_dbg
> 1:     Line: f:\rtm\vctools\crt_bld\self_x86\crt\src\dbgheap.c(372) +39
> bytes
> 1:     Mod:  MSVCR80D, base: 10200000h
> 
> 1:   2     _nh_malloc_dbg +25 bytes
> 1:     Decl: _nh_malloc_dbg
> 1:     Line: f:\rtm\vctools\crt_bld\self_x86\crt\src\dbgheap.c(266) +21
> bytes
> 1:     Mod:  MSVCR80D, base: 10200000h
> 
> 1:   3     _malloc_dbg +31 bytes
> 1:     Decl: _malloc_dbg
> 1:     Line: f:\rtm\vctools\crt_bld\self_x86\crt\src\dbgheap.c(189) +27
> bytes
> 1:     Mod:  MSVCR80D, base: 10200000h
> 
> 1:   4     _calloc_dbg +150 bytes
> 1:     Decl: _calloc_dbg
> 1:     Line: f:\rtm\vctools\crt_bld\self_x86\crt\src\dbgheap.c(561) +21
> bytes
> 1:     Mod:  MSVCR80D, base: 10200000h
> 
> 1:   5     calloc +23 bytes
> 1:     Decl: calloc
> 1:     Line: f:\rtm\vctools\crt_bld\self_x86\crt\src\dbgheap.c(506) +19
> bytes
> 1:     Mod:  MSVCR80D, base: 10200000h
> 
> 1:   6     AllocHashInsert +205 bytes
> 1:     Decl: AllocHashInsert
> 1:     Line:
> e:\working\latest\winevtcollect\winevtcollect\stackwalker.cpp(947) +15 bytes
> 1:     Mod:  WinEvtCollect, base: 00400000h
> 
> 1:   7     MyAllocHook +1463 bytes
> 1:     Decl: MyAllocHook
> 1:     Line:
> e:\working\latest\winevtcollect\winevtcollect\stackwalker.cpp(1433) +20
> bytes
> 1:     Mod:  WinEvtCollect, base: 00400000h
> 
> 1:   8     _heap_alloc_dbg +241 bytes
> 1:     Decl: _heap_alloc_dbg
> 1:     Line: f:\rtm\vctools\crt_bld\self_x86\crt\src\dbgheap.c(372) +39
> bytes
> 1:     Mod:  MSVCR80D, base: 10200000h
> 
> 1:   9     _nh_malloc_dbg +25 bytes
> 1:     Decl: _nh_malloc_dbg
> 1:     Line: f:\rtm\vctools\crt_bld\self_x86\crt\src\dbgheap.c(266) +21
> bytes
> 1:     Mod:  MSVCR80D, base: 10200000h
> 
> 1:  10     malloc +25 bytes
> 1:     Decl: malloc
> 1:     Line: f:\rtm\vctools\crt_bld\self_x86\crt\src\dbgheap.c(152) +21
> bytes
> 1:     Mod:  MSVCR80D, base: 10200000h
> 
> 1:  11     operator new +15 bytes
> 1:     Decl: operator new
> 1:     Line: f:\rtm\vctools\crt_bld\self_x86\crt\src\new.cpp(59) +9 bytes
> 1:     Mod:  MSVCR80D, base: 10200000h
> 
> 1:  12     cms::BytesMessage::BytesMessage +112800 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  13     cms::BytesMessage::BytesMessage +95039 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  14     cms::BytesMessage::BytesMessage +271609 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  15     cms::BytesMessage::BytesMessage +270524 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  16     cms::BytesMessage::BytesMessage +269700 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  17     cms::BytesMessage::BytesMessage +294739 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  18     cms::BytesMessage::BytesMessage +294374 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  19     cms::BytesMessage::BytesMessage +294070 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  20     cms::BytesMessage::BytesMessage +1750515 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  21     cms::BytesMessage::BytesMessage +1768781 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  22     cms::BytesMessage::BytesMessage +1773173 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  23     cms::BytesMessage::BytesMessage +665984 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  24     cms::BytesMessage::BytesMessage +940548 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  25     cms::BytesMessage::BytesMessage +632496 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  26     cms::BytesMessage::BytesMessage +661644 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  27     cms::BytesMessage::BytesMessage +910545 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  28     cms::BytesMessage::BytesMessage +632496 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  29     cms::BytesMessage::BytesMessage +663852 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  30     cms::BytesMessage::BytesMessage +921461 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  31     cms::BytesMessage::BytesMessage +732065 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  32     cms::BytesMessage::BytesMessage +626271 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  33     cms::BytesMessage::BytesMessage +545123 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  34     cms::BytesMessage::BytesMessage +1828594 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  35     cms::BytesMessage::BytesMessage +1881339 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  36     cms::BytesMessage::BytesMessage +1892562 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  37     cms::BytesMessage::BytesMessage +646347 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  38     cms::BytesMessage::BytesMessage +571177 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  39     cms::BytesMessage::BytesMessage +561655 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  40     cms::BytesMessage::BytesMessage +1604362 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  41     cms::BytesMessage::BytesMessage +1590692 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  42     cms::BytesMessage::BytesMessage +1590086 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  43     cms::BytesMessage::BytesMessage +1589331 bytes
> 1:     Decl: public: __thiscall cms::BytesMessage::BytesMessage(class
> cms::BytesMessage const &)
> 1:     Mod:  activemq-cppd, base: 008a0000h
> 
> 1:  44     CEventProducer::run +161 bytes
> 1:     Decl: CEventProducer::run
> 1:     Line:
> e:\working\latest\winevtcollect\winevtcollect\eventproducer.cpp(80) +25
> bytes
> 1:     Mod:  WinEvtCollect, base: 00400000h
> 
> 1:  45     CEventCollect::convertToTextMessage +231 bytes
> 1:     Decl: CEventCollect::convertToTextMessage
> 1:     Line:
> e:\working\latest\winevtcollect\winevtcollect\eventcollect.cpp(910) +21
> bytes
> 1:     Mod:  WinEvtCollect, base: 00400000h
> 
> 1:  46     CEventCollect::getEvents +4783 bytes
> 1:     Decl: CEventCollect::getEvents
> 1:     Line:
> e:\working\latest\winevtcollect\winevtcollect\eventcollect.cpp(379) +15
> bytes
> 1:     Mod:  WinEvtCollect, base: 00400000h
> 
> 1:  47     wmain +1291 bytes
> 1:     Decl: wmain
> 1:     Line:
> e:\working\latest\winevtcollect\winevtcollect\winevtcollect.cpp(133) +22
> bytes
> 1:     Mod:  WinEvtCollect, base: 00400000h
> 
> 1:  48     __tmainCRTStartup +422 bytes
> 1:     Decl: __tmainCRTStartup
> 1:     Line: f:\rtm\vctools\crt_bld\self_x86\crt\src\crtexe.c(583) +25 bytes
> 1:     Mod:  WinEvtCollect, base: 00400000h
> 
> 1:  49     wmainCRTStartup +13 bytes
> 1:     Decl: wmainCRTStartup
> 1:     Line: f:\rtm\vctools\crt_bld\self_x86\crt\src\crtexe.c(403) +0 bytes
> 1:     Mod:  WinEvtCollect, base: 00400000h
> 
> 1:  50     ProcessIdToSessionId +521 bytes
> 1:     Decl: ProcessIdToSessionId
> 1:     Mod:  kernel32, base: 77e40000h
> 
> above information may be usefull. Please any sugesstions................
> 
> 
> Thanks,
> narts
> 
> 
>     
>  
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 


Mime
View raw message