iombench.exe crash

10 views
Skip to first unread message

lark

unread,
Oct 28, 2011, 12:23:05 AM10/28/11
to Mordor Users
Hi Cody,
on my computer ,when up to 512 connectios ,sample iombench.exe
crashed. some is wrong? help
os windows 7, 4G ram , i7 2620 CPU

Cody Cutrer

unread,
Oct 28, 2011, 12:44:11 AM10/28/11
to mordor...@googlegroups.com
The exact error message would be helpful. Are you compiling for 32-bit
or 64-bit? You might be running out of address space if it is 32-bit.
You may also be hitting an artificial limitation that Microsoft puts
in client versions of Windows that prevent a single process from
accepting too many connections.

Cody Cutrer

lark

unread,
Oct 28, 2011, 1:10:26 AM10/28/11
to Mordor Users
thanks Codey, i complied for 32-bit ,debug stack is here.
> iombench.exe!Mordor::debugBreak() Line 60 C++
iombench.exe!Mordor::FiberCondition::~FiberCondition() Line 133 +
0x364 bytes C++
iombench.exe!IOMBenchClient::~IOMBenchClient() + 0x63 bytes C++
iombench.exe!_CallSettingFrame(unsigned long funclet=3210360,
unsigned long pRN=259, unsigned long dwInCode=910854200) Line 73 Asm
iombench.exe!__FrameUnwindToState(EHRegistrationNode *
pRN=0x0030fc78, void * pDC=0x002fe5d0, const _s_FuncInfo *
pFuncInfo=0x0190968c, int targetState=0) Line 1145 C++
iombench.exe!CatchIt(EHExceptionRecord * pExcept=0x002fe5fc,
EHRegistrationNode * pRN=0x0030fc78, _CONTEXT * pContext=0x002fe61c,
void * pDC=0x002fe5d0, const _s_FuncInfo * pFuncInfo=0x0190968c, const
_s_HandlerType * pCatch=0x01909668, const _s_CatchableType *
pConv=0x01931fb8, const _s_TryBlockMapEntry * pEntry=0x01909678, int
CatchDepth=0, EHRegistrationNode * pMarkerRN=0x00000000, unsigned char
IsRethrow=0) Line 1255 + 0x17 bytes C++
iombench.exe!FindHandler(EHExceptionRecord * pExcept=0x002fe5fc,
EHRegistrationNode * pRN=0x0030fc78, _CONTEXT * pContext=0x002fe61c,
void * pDC=0x002fe5d0, const _s_FuncInfo * pFuncInfo=0x0190968c,
unsigned char recursive=0, int CatchDepth=0, EHRegistrationNode *
pMarkerRN=0x00000000) Line 766 + 0x32 bytes C++
iombench.exe!__InternalCxxFrameHandler(EHExceptionRecord *
pExcept=0x002fe5fc, EHRegistrationNode * pRN=0x0030fc78, _CONTEXT *
pContext=0x002fe61c, void * pDC=0x002fe5d0, const _s_FuncInfo *
pFuncInfo=0x0190968c, int CatchDepth=0, EHRegistrationNode *
pMarkerRN=0x00000000, unsigned char recursive=0) Line 516 + 0x26
bytes C++
iombench.exe!__CxxFrameHandler3(EHExceptionRecord *
pExcept=0x0030fc78, EHRegistrationNode * pRN=0x002fe61c, void *
pContext=0x002fe5d0, void * pDC=0x0030fc78) Line 361 + 0x1f bytes C++
ntdll.dll!772d71b9()
[Frames below may be incorrect and/or missing, no symbols loaded for
ntdll.dll]
ntdll.dll!772d718b()
ntdll.dll!772af96f()
ntdll.dll!772d7017()
KernelBase.dll!751cd36f()
KernelBase.dll!751cd36f()
iombench.exe!Mordor::Fiber::yieldTo(bool
yieldToCallerOnTerminate=false, Mordor::Fiber::State
targetState=HOLD) Line 294 + 0x11 bytes C++
iombench.exe!Mordor::Fiber::yieldTo(bool
yieldToCallerOnTerminate=false) Line 229 + 0x13 bytes C++
iombench.exe!Mordor::Scheduler::yieldTo(bool
yieldToCallerOnTerminate=false) Line 299 + 0x1d bytes C++
iombench.exe!Mordor::Scheduler::yieldTo() Line 249 C++
iombench.exe!Mordor::FiberMutex::lock() Line 39 C++
iombench.exe!
Mordor::FiberMutex::ScopedLock::ScopedLock(Mordor::FiberMutex &
mutex={...}) Line 35 C++
iombench.exe!IOMBenchClient::prepClientsForNextRound(unsigned int
newClients=512, unsigned int newActive=0, unsigned int iters=9,
boost::function<void __cdecl(void)> done={...}) Line 190 + 0xf bytes C
++
iombench.exe!NetBench::initRound() Line 130 C++
iombench.exe!NetBench::roundDone(unsigned int actualOps=9728) Line
199 C++
iombench.exe!boost::_mfi::mf1<void,NetBench,unsigned int>::operator()
(NetBench * p=0x0030fc0c, unsigned int a1=9728) Line 165 + 0x10 bytes
C++
iombench.exe!boost::_bi::list2<boost::_bi::value<NetBench
*>,boost::arg<1> >::operator()<boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list1<unsigned int &> >(boost::_bi::type<void>
__formal={...}, boost::_mfi::mf1<void,NetBench,unsigned int> &
f={...}, boost::_bi::list1<unsigned int &> & a={...},
boost::_bi::type<void> __formal={...}) Line 314 C++
iombench.exe!
boost::_bi::bind_t<void,boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list2<boost::_bi::value<NetBench *>,boost::arg<1> >
>::operator()<unsigned int>(unsigned int & a1=9728) Line 33 C++
iombench.exe!
boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void,boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list2<boost::_bi::value<NetBench *>,boost::arg<1> >
>,void,unsigned int>::invoke(boost::detail::function::function_buffer
& function_obj_ptr={...}, unsigned int a0=9728) Line 154 C++
iombench.exe!boost::function1<void,unsigned int>::operator()
(unsigned int a0=9728) Line 1013 + 0x1a bytes C++
iombench.exe!IOMBenchClient::startRound(boost::function<void
__cdecl(unsigned int)> done={...}) Line 222 C++
iombench.exe!NetBench::clientsReady() Line 137 C++
iombench.exe!boost::_mfi::mf0<void,NetBench>::operator()(NetBench *
p=0x0030fc0c) Line 49 + 0xc bytes C++
iombench.exe!boost::_bi::list1<boost::_bi::value<NetBench *>
>::operator()<boost::_mfi::mf0<void,NetBench>,boost::_bi::list0>(boost::_bi::type<void>
__formal={...}, boost::_mfi::mf0<void,NetBench> & f={...},
boost::_bi::list0 & a={...}, boost::_bi::type<void> __formal={...})
Line 254 C++
iombench.exe!
boost::_bi::bind_t<void,boost::_mfi::mf0<void,NetBench>,boost::_bi::list1<boost::_bi::value<NetBench
*> > >::operator()() Line 21 C++
iombench.exe!
boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void,boost::_mfi::mf0<void,NetBench>,boost::_bi::list1<boost::_bi::value<NetBench
*> > >,void>::invoke(boost::detail::function::function_buffer &
function_obj_ptr={...}) Line 154 C++
iombench.exe!boost::function0<void>::operator()() Line 1013 + 0x16
bytes C++
iombench.exe!IOMBenchClient::prepClientsForNextRound(unsigned int
newClients=256, unsigned int newActive=0, unsigned int iters=19,
boost::function<void __cdecl(void)> done={...}) Line 197 C++
iombench.exe!NetBench::initRound() Line 130 C++
iombench.exe!NetBench::roundDone(unsigned int actualOps=10496) Line
199 C++
iombench.exe!boost::_mfi::mf1<void,NetBench,unsigned int>::operator()
(NetBench * p=0x0030fc0c, unsigned int a1=10496) Line 165 + 0x10
bytes C++
iombench.exe!boost::_bi::list2<boost::_bi::value<NetBench
*>,boost::arg<1> >::operator()<boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list1<unsigned int &> >(boost::_bi::type<void>
__formal={...}, boost::_mfi::mf1<void,NetBench,unsigned int> &
f={...}, boost::_bi::list1<unsigned int &> & a={...},
boost::_bi::type<void> __formal={...}) Line 314 C++
iombench.exe!
boost::_bi::bind_t<void,boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list2<boost::_bi::value<NetBench *>,boost::arg<1> >
>::operator()<unsigned int>(unsigned int & a1=10496) Line 33 C++
iombench.exe!
boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void,boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list2<boost::_bi::value<NetBench *>,boost::arg<1> >
>,void,unsigned int>::invoke(boost::detail::function::function_buffer
& function_obj_ptr={...}, unsigned int a0=10496) Line 154 C++
iombench.exe!boost::function1<void,unsigned int>::operator()
(unsigned int a0=10496) Line 1013 + 0x1a bytes C++
iombench.exe!IOMBenchClient::startRound(boost::function<void
__cdecl(unsigned int)> done={...}) Line 222 C++
iombench.exe!NetBench::clientsReady() Line 137 C++
iombench.exe!boost::_mfi::mf0<void,NetBench>::operator()(NetBench *
p=0x0030fc0c) Line 49 + 0xc bytes C++
iombench.exe!boost::_bi::list1<boost::_bi::value<NetBench *>
>::operator()<boost::_mfi::mf0<void,NetBench>,boost::_bi::list0>(boost::_bi::type<void>
__formal={...}, boost::_mfi::mf0<void,NetBench> & f={...},
boost::_bi::list0 & a={...}, boost::_bi::type<void> __formal={...})
Line 254 C++
iombench.exe!
boost::_bi::bind_t<void,boost::_mfi::mf0<void,NetBench>,boost::_bi::list1<boost::_bi::value<NetBench
*> > >::operator()() Line 21 C++
iombench.exe!
boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void,boost::_mfi::mf0<void,NetBench>,boost::_bi::list1<boost::_bi::value<NetBench
*> > >,void>::invoke(boost::detail::function::function_buffer &
function_obj_ptr={...}) Line 154 C++
iombench.exe!boost::function0<void>::operator()() Line 1013 + 0x16
bytes C++
iombench.exe!IOMBenchClient::prepClientsForNextRound(unsigned int
newClients=128, unsigned int newActive=0, unsigned int iters=41,
boost::function<void __cdecl(void)> done={...}) Line 197 C++
iombench.exe!NetBench::initRound() Line 130 C++
iombench.exe!NetBench::roundDone(unsigned int actualOps=11008) Line
199 C++
iombench.exe!boost::_mfi::mf1<void,NetBench,unsigned int>::operator()
(NetBench * p=0x0030fc0c, unsigned int a1=11008) Line 165 + 0x10
bytes C++
iombench.exe!boost::_bi::list2<boost::_bi::value<NetBench
*>,boost::arg<1> >::operator()<boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list1<unsigned int &> >(boost::_bi::type<void>
__formal={...}, boost::_mfi::mf1<void,NetBench,unsigned int> &
f={...}, boost::_bi::list1<unsigned int &> & a={...},
boost::_bi::type<void> __formal={...}) Line 314 C++
iombench.exe!
boost::_bi::bind_t<void,boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list2<boost::_bi::value<NetBench *>,boost::arg<1> >
>::operator()<unsigned int>(unsigned int & a1=11008) Line 33 C++
iombench.exe!
boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void,boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list2<boost::_bi::value<NetBench *>,boost::arg<1> >
>,void,unsigned int>::invoke(boost::detail::function::function_buffer
& function_obj_ptr={...}, unsigned int a0=11008) Line 154 C++
iombench.exe!boost::function1<void,unsigned int>::operator()
(unsigned int a0=11008) Line 1013 + 0x1a bytes C++
iombench.exe!IOMBenchClient::startRound(boost::function<void
__cdecl(unsigned int)> done={...}) Line 222 C++
iombench.exe!NetBench::clientsReady() Line 137 C++
iombench.exe!boost::_mfi::mf0<void,NetBench>::operator()(NetBench *
p=0x0030fc0c) Line 49 + 0xc bytes C++
iombench.exe!boost::_bi::list1<boost::_bi::value<NetBench *>
>::operator()<boost::_mfi::mf0<void,NetBench>,boost::_bi::list0>(boost::_bi::type<void>
__formal={...}, boost::_mfi::mf0<void,NetBench> & f={...},
boost::_bi::list0 & a={...}, boost::_bi::type<void> __formal={...})
Line 254 C++
iombench.exe!
boost::_bi::bind_t<void,boost::_mfi::mf0<void,NetBench>,boost::_bi::list1<boost::_bi::value<NetBench
*> > >::operator()() Line 21 C++
iombench.exe!
boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void,boost::_mfi::mf0<void,NetBench>,boost::_bi::list1<boost::_bi::value<NetBench
*> > >,void>::invoke(boost::detail::function::function_buffer &
function_obj_ptr={...}) Line 154 C++
iombench.exe!boost::function0<void>::operator()() Line 1013 + 0x16
bytes C++
iombench.exe!IOMBenchClient::prepClientsForNextRound(unsigned int
newClients=64, unsigned int newActive=0, unsigned int iters=86,
boost::function<void __cdecl(void)> done={...}) Line 197 C++
iombench.exe!NetBench::initRound() Line 130 C++
iombench.exe!NetBench::roundDone(unsigned int actualOps=11200) Line
199 C++
iombench.exe!boost::_mfi::mf1<void,NetBench,unsigned int>::operator()
(NetBench * p=0x0030fc0c, unsigned int a1=11200) Line 165 + 0x10
bytes C++
iombench.exe!boost::_bi::list2<boost::_bi::value<NetBench
*>,boost::arg<1> >::operator()<boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list1<unsigned int &> >(boost::_bi::type<void>
__formal={...}, boost::_mfi::mf1<void,NetBench,unsigned int> &
f={...}, boost::_bi::list1<unsigned int &> & a={...},
boost::_bi::type<void> __formal={...}) Line 314 C++
iombench.exe!
boost::_bi::bind_t<void,boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list2<boost::_bi::value<NetBench *>,boost::arg<1> >
>::operator()<unsigned int>(unsigned int & a1=11200) Line 33 C++
iombench.exe!
boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void,boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list2<boost::_bi::value<NetBench *>,boost::arg<1> >
>,void,unsigned int>::invoke(boost::detail::function::function_buffer
& function_obj_ptr={...}, unsigned int a0=11200) Line 154 C++
iombench.exe!boost::function1<void,unsigned int>::operator()
(unsigned int a0=11200) Line 1013 + 0x1a bytes C++
iombench.exe!IOMBenchClient::startRound(boost::function<void
__cdecl(unsigned int)> done={...}) Line 222 C++
iombench.exe!NetBench::clientsReady() Line 137 C++
iombench.exe!boost::_mfi::mf0<void,NetBench>::operator()(NetBench *
p=0x0030fc0c) Line 49 + 0xc bytes C++
iombench.exe!boost::_bi::list1<boost::_bi::value<NetBench *>
>::operator()<boost::_mfi::mf0<void,NetBench>,boost::_bi::list0>(boost::_bi::type<void>
__formal={...}, boost::_mfi::mf0<void,NetBench> & f={...},
boost::_bi::list0 & a={...}, boost::_bi::type<void> __formal={...})
Line 254 C++
iombench.exe!
boost::_bi::bind_t<void,boost::_mfi::mf0<void,NetBench>,boost::_bi::list1<boost::_bi::value<NetBench
*> > >::operator()() Line 21 C++
iombench.exe!
boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void,boost::_mfi::mf0<void,NetBench>,boost::_bi::list1<boost::_bi::value<NetBench
*> > >,void>::invoke(boost::detail::function::function_buffer &
function_obj_ptr={...}) Line 154 C++
iombench.exe!boost::function0<void>::operator()() Line 1013 + 0x16
bytes C++
iombench.exe!IOMBenchClient::prepClientsForNextRound(unsigned int
newClients=32, unsigned int newActive=0, unsigned int iters=175,
boost::function<void __cdecl(void)> done={...}) Line 197 C++
iombench.exe!NetBench::initRound() Line 130 C++
iombench.exe!NetBench::roundDone(unsigned int actualOps=11392) Line
199 C++
iombench.exe!boost::_mfi::mf1<void,NetBench,unsigned int>::operator()
(NetBench * p=0x0030fc0c, unsigned int a1=11392) Line 165 + 0x10
bytes C++
iombench.exe!boost::_bi::list2<boost::_bi::value<NetBench
*>,boost::arg<1> >::operator()<boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list1<unsigned int &> >(boost::_bi::type<void>
__formal={...}, boost::_mfi::mf1<void,NetBench,unsigned int> &
f={...}, boost::_bi::list1<unsigned int &> & a={...},
boost::_bi::type<void> __formal={...}) Line 314 C++
iombench.exe!
boost::_bi::bind_t<void,boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list2<boost::_bi::value<NetBench *>,boost::arg<1> >
>::operator()<unsigned int>(unsigned int & a1=11392) Line 33 C++
iombench.exe!
boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void,boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list2<boost::_bi::value<NetBench *>,boost::arg<1> >
>,void,unsigned int>::invoke(boost::detail::function::function_buffer
& function_obj_ptr={...}, unsigned int a0=11392) Line 154 C++
iombench.exe!boost::function1<void,unsigned int>::operator()
(unsigned int a0=11392) Line 1013 + 0x1a bytes C++
iombench.exe!IOMBenchClient::startRound(boost::function<void
__cdecl(unsigned int)> done={...}) Line 222 C++
iombench.exe!NetBench::clientsReady() Line 137 C++
iombench.exe!boost::_mfi::mf0<void,NetBench>::operator()(NetBench *
p=0x0030fc0c) Line 49 + 0xc bytes C++
iombench.exe!boost::_bi::list1<boost::_bi::value<NetBench *>
>::operator()<boost::_mfi::mf0<void,NetBench>,boost::_bi::list0>(boost::_bi::type<void>
__formal={...}, boost::_mfi::mf0<void,NetBench> & f={...},
boost::_bi::list0 & a={...}, boost::_bi::type<void> __formal={...})
Line 254 C++
iombench.exe!
boost::_bi::bind_t<void,boost::_mfi::mf0<void,NetBench>,boost::_bi::list1<boost::_bi::value<NetBench
*> > >::operator()() Line 21 C++
iombench.exe!
boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void,boost::_mfi::mf0<void,NetBench>,boost::_bi::list1<boost::_bi::value<NetBench
*> > >,void>::invoke(boost::detail::function::function_buffer &
function_obj_ptr={...}) Line 154 C++
iombench.exe!boost::function0<void>::operator()() Line 1013 + 0x16
bytes C++
iombench.exe!IOMBenchClient::prepClientsForNextRound(unsigned int
newClients=16, unsigned int newActive=0, unsigned int iters=356,
boost::function<void __cdecl(void)> done={...}) Line 197 C++
iombench.exe!NetBench::initRound() Line 130 C++
iombench.exe!NetBench::roundDone(unsigned int actualOps=11328) Line
199 C++
iombench.exe!boost::_mfi::mf1<void,NetBench,unsigned int>::operator()
(NetBench * p=0x0030fc0c, unsigned int a1=11328) Line 165 + 0x10
bytes C++
iombench.exe!boost::_bi::list2<boost::_bi::value<NetBench
*>,boost::arg<1> >::operator()<boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list1<unsigned int &> >(boost::_bi::type<void>
__formal={...}, boost::_mfi::mf1<void,NetBench,unsigned int> &
f={...}, boost::_bi::list1<unsigned int &> & a={...},
boost::_bi::type<void> __formal={...}) Line 314 C++
iombench.exe!
boost::_bi::bind_t<void,boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list2<boost::_bi::value<NetBench *>,boost::arg<1> >
>::operator()<unsigned int>(unsigned int & a1=11328) Line 33 C++
iombench.exe!
boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void,boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list2<boost::_bi::value<NetBench *>,boost::arg<1> >
>,void,unsigned int>::invoke(boost::detail::function::function_buffer
& function_obj_ptr={...}, unsigned int a0=11328) Line 154 C++
iombench.exe!boost::function1<void,unsigned int>::operator()
(unsigned int a0=11328) Line 1013 + 0x1a bytes C++
iombench.exe!IOMBenchClient::startRound(boost::function<void
__cdecl(unsigned int)> done={...}) Line 222 C++
iombench.exe!NetBench::clientsReady() Line 137 C++
iombench.exe!boost::_mfi::mf0<void,NetBench>::operator()(NetBench *
p=0x0030fc0c) Line 49 + 0xc bytes C++
iombench.exe!boost::_bi::list1<boost::_bi::value<NetBench *>
>::operator()<boost::_mfi::mf0<void,NetBench>,boost::_bi::list0>(boost::_bi::type<void>
__formal={...}, boost::_mfi::mf0<void,NetBench> & f={...},
boost::_bi::list0 & a={...}, boost::_bi::type<void> __formal={...})
Line 254 C++
iombench.exe!
boost::_bi::bind_t<void,boost::_mfi::mf0<void,NetBench>,boost::_bi::list1<boost::_bi::value<NetBench
*> > >::operator()() Line 21 C++
iombench.exe!
boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void,boost::_mfi::mf0<void,NetBench>,boost::_bi::list1<boost::_bi::value<NetBench
*> > >,void>::invoke(boost::detail::function::function_buffer &
function_obj_ptr={...}) Line 154 C++
iombench.exe!boost::function0<void>::operator()() Line 1013 + 0x16
bytes C++
iombench.exe!IOMBenchClient::prepClientsForNextRound(unsigned int
newClients=8, unsigned int newActive=0, unsigned int iters=708,
boost::function<void __cdecl(void)> done={...}) Line 197 C++
iombench.exe!NetBench::initRound() Line 130 C++
iombench.exe!NetBench::roundDone(unsigned int actualOps=10984) Line
199 C++
iombench.exe!boost::_mfi::mf1<void,NetBench,unsigned int>::operator()
(NetBench * p=0x0030fc0c, unsigned int a1=10984) Line 165 + 0x10
bytes C++
iombench.exe!boost::_bi::list2<boost::_bi::value<NetBench
*>,boost::arg<1> >::operator()<boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list1<unsigned int &> >(boost::_bi::type<void>
__formal={...}, boost::_mfi::mf1<void,NetBench,unsigned int> &
f={...}, boost::_bi::list1<unsigned int &> & a={...},
boost::_bi::type<void> __formal={...}) Line 314 C++
iombench.exe!
boost::_bi::bind_t<void,boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list2<boost::_bi::value<NetBench *>,boost::arg<1> >
>::operator()<unsigned int>(unsigned int & a1=10984) Line 33 C++
iombench.exe!
boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void,boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list2<boost::_bi::value<NetBench *>,boost::arg<1> >
>,void,unsigned int>::invoke(boost::detail::function::function_buffer
& function_obj_ptr={...}, unsigned int a0=10984) Line 154 C++
iombench.exe!boost::function1<void,unsigned int>::operator()
(unsigned int a0=10984) Line 1013 + 0x1a bytes C++
iombench.exe!IOMBenchClient::startRound(boost::function<void
__cdecl(unsigned int)> done={...}) Line 222 C++
iombench.exe!NetBench::clientsReady() Line 137 C++
iombench.exe!boost::_mfi::mf0<void,NetBench>::operator()(NetBench *
p=0x0030fc0c) Line 49 + 0xc bytes C++
iombench.exe!boost::_bi::list1<boost::_bi::value<NetBench *>
>::operator()<boost::_mfi::mf0<void,NetBench>,boost::_bi::list0>(boost::_bi::type<void>
__formal={...}, boost::_mfi::mf0<void,NetBench> & f={...},
boost::_bi::list0 & a={...}, boost::_bi::type<void> __formal={...})
Line 254 C++
iombench.exe!
boost::_bi::bind_t<void,boost::_mfi::mf0<void,NetBench>,boost::_bi::list1<boost::_bi::value<NetBench
*> > >::operator()() Line 21 C++
iombench.exe!
boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void,boost::_mfi::mf0<void,NetBench>,boost::_bi::list1<boost::_bi::value<NetBench
*> > >,void>::invoke(boost::detail::function::function_buffer &
function_obj_ptr={...}) Line 154 C++
iombench.exe!boost::function0<void>::operator()() Line 1013 + 0x16
bytes C++
iombench.exe!IOMBenchClient::prepClientsForNextRound(unsigned int
newClients=4, unsigned int newActive=0, unsigned int iters=1373,
boost::function<void __cdecl(void)> done={...}) Line 197 C++
iombench.exe!NetBench::initRound() Line 130 C++
iombench.exe!NetBench::roundDone(unsigned int actualOps=10484) Line
199 C++
iombench.exe!boost::_mfi::mf1<void,NetBench,unsigned int>::operator()
(NetBench * p=0x0030fc0c, unsigned int a1=10484) Line 165 + 0x10
bytes C++
iombench.exe!boost::_bi::list2<boost::_bi::value<NetBench
*>,boost::arg<1> >::operator()<boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list1<unsigned int &> >(boost::_bi::type<void>
__formal={...}, boost::_mfi::mf1<void,NetBench,unsigned int> &
f={...}, boost::_bi::list1<unsigned int &> & a={...},
boost::_bi::type<void> __formal={...}) Line 314 C++
iombench.exe!
boost::_bi::bind_t<void,boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list2<boost::_bi::value<NetBench *>,boost::arg<1> >
>::operator()<unsigned int>(unsigned int & a1=10484) Line 33 C++
iombench.exe!
boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void,boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list2<boost::_bi::value<NetBench *>,boost::arg<1> >
>,void,unsigned int>::invoke(boost::detail::function::function_buffer
& function_obj_ptr={...}, unsigned int a0=10484) Line 154 C++
iombench.exe!boost::function1<void,unsigned int>::operator()
(unsigned int a0=10484) Line 1013 + 0x1a bytes C++
iombench.exe!IOMBenchClient::startRound(boost::function<void
__cdecl(unsigned int)> done={...}) Line 222 C++
iombench.exe!NetBench::clientsReady() Line 137 C++
iombench.exe!boost::_mfi::mf0<void,NetBench>::operator()(NetBench *
p=0x0030fc0c) Line 49 + 0xc bytes C++
iombench.exe!boost::_bi::list1<boost::_bi::value<NetBench *>
>::operator()<boost::_mfi::mf0<void,NetBench>,boost::_bi::list0>(boost::_bi::type<void>
__formal={...}, boost::_mfi::mf0<void,NetBench> & f={...},
boost::_bi::list0 & a={...}, boost::_bi::type<void> __formal={...})
Line 254 C++
iombench.exe!
boost::_bi::bind_t<void,boost::_mfi::mf0<void,NetBench>,boost::_bi::list1<boost::_bi::value<NetBench
*> > >::operator()() Line 21 C++
iombench.exe!
boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void,boost::_mfi::mf0<void,NetBench>,boost::_bi::list1<boost::_bi::value<NetBench
*> > >,void>::invoke(boost::detail::function::function_buffer &
function_obj_ptr={...}) Line 154 C++
iombench.exe!boost::function0<void>::operator()() Line 1013 + 0x16
bytes C++
iombench.exe!IOMBenchClient::prepClientsForNextRound(unsigned int
newClients=2, unsigned int newActive=0, unsigned int iters=2621,
boost::function<void __cdecl(void)> done={...}) Line 197 C++
iombench.exe!NetBench::initRound() Line 130 C++
iombench.exe!NetBench::roundDone(unsigned int actualOps=9620) Line
199 C++
iombench.exe!boost::_mfi::mf1<void,NetBench,unsigned int>::operator()
(NetBench * p=0x0030fc0c, unsigned int a1=9620) Line 165 + 0x10 bytes
C++
iombench.exe!boost::_bi::list2<boost::_bi::value<NetBench
*>,boost::arg<1> >::operator()<boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list1<unsigned int &> >(boost::_bi::type<void>
__formal={...}, boost::_mfi::mf1<void,NetBench,unsigned int> &
f={...}, boost::_bi::list1<unsigned int &> & a={...},
boost::_bi::type<void> __formal={...}) Line 314 C++
iombench.exe!
boost::_bi::bind_t<void,boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list2<boost::_bi::value<NetBench *>,boost::arg<1> >
>::operator()<unsigned int>(unsigned int & a1=9620) Line 33 C++
iombench.exe!
boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void,boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list2<boost::_bi::value<NetBench *>,boost::arg<1> >
>,void,unsigned int>::invoke(boost::detail::function::function_buffer
& function_obj_ptr={...}, unsigned int a0=9620) Line 154 C++
iombench.exe!boost::function1<void,unsigned int>::operator()
(unsigned int a0=9620) Line 1013 + 0x1a bytes C++
iombench.exe!IOMBenchClient::startRound(boost::function<void
__cdecl(unsigned int)> done={...}) Line 222 C++
iombench.exe!NetBench::clientsReady() Line 137 C++
iombench.exe!boost::_mfi::mf0<void,NetBench>::operator()(NetBench *
p=0x0030fc0c) Line 49 + 0xc bytes C++
iombench.exe!boost::_bi::list1<boost::_bi::value<NetBench *>
>::operator()<boost::_mfi::mf0<void,NetBench>,boost::_bi::list0>(boost::_bi::type<void>
__formal={...}, boost::_mfi::mf0<void,NetBench> & f={...},
boost::_bi::list0 & a={...}, boost::_bi::type<void> __formal={...})
Line 254 C++
iombench.exe!
boost::_bi::bind_t<void,boost::_mfi::mf0<void,NetBench>,boost::_bi::list1<boost::_bi::value<NetBench
*> > >::operator()() Line 21 C++
iombench.exe!
boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void,boost::_mfi::mf0<void,NetBench>,boost::_bi::list1<boost::_bi::value<NetBench
*> > >,void>::invoke(boost::detail::function::function_buffer &
function_obj_ptr={...}) Line 154 C++
iombench.exe!boost::function0<void>::operator()() Line 1013 + 0x16
bytes C++
iombench.exe!IOMBenchClient::prepClientsForNextRound(unsigned int
newClients=1, unsigned int newActive=0, unsigned int iters=4810,
boost::function<void __cdecl(void)> done={...}) Line 197 C++
iombench.exe!NetBench::initRound() Line 130 C++
iombench.exe!NetBench::roundDone(unsigned int actualOps=10000) Line
199 C++
iombench.exe!boost::_mfi::mf1<void,NetBench,unsigned int>::operator()
(NetBench * p=0x0030fc0c, unsigned int a1=10000) Line 165 + 0x10
bytes C++
iombench.exe!boost::_bi::list2<boost::_bi::value<NetBench
*>,boost::arg<1> >::operator()<boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list1<unsigned int &> >(boost::_bi::type<void>
__formal={...}, boost::_mfi::mf1<void,NetBench,unsigned int> &
f={...}, boost::_bi::list1<unsigned int &> & a={...},
boost::_bi::type<void> __formal={...}) Line 314 C++
iombench.exe!
boost::_bi::bind_t<void,boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list2<boost::_bi::value<NetBench *>,boost::arg<1> >
>::operator()<unsigned int>(unsigned int & a1=10000) Line 33 C++
iombench.exe!
boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void,boost::_mfi::mf1<void,NetBench,unsigned
int>,boost::_bi::list2<boost::_bi::value<NetBench *>,boost::arg<1> >
>,void,unsigned int>::invoke(boost::detail::function::function_buffer
& function_obj_ptr={...}, unsigned int a0=10000) Line 154 C++
iombench.exe!boost::function1<void,unsigned int>::operator()
(unsigned int a0=10000) Line 1013 + 0x1a bytes C++
iombench.exe!IOMBenchClient::startRound(boost::function<void
__cdecl(unsigned int)> done={...}) Line 222 C++
iombench.exe!NetBench::clientsReady() Line 137 C++
iombench.exe!boost::_mfi::mf0<void,NetBench>::operator()(NetBench *
p=0x0030fc0c) Line 49 + 0xc bytes C++
iombench.exe!boost::_bi::list1<boost::_bi::value<NetBench *>
>::operator()<boost::_mfi::mf0<void,NetBench>,boost::_bi::list0>(boost::_bi::type<void>
__formal={...}, boost::_mfi::mf0<void,NetBench> & f={...},
boost::_bi::list0 & a={...}, boost::_bi::type<void> __formal={...})
Line 254 C++
iombench.exe!
boost::_bi::bind_t<void,boost::_mfi::mf0<void,NetBench>,boost::_bi::list1<boost::_bi::value<NetBench
*> > >::operator()() Line 21 C++
iombench.exe!
boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void,boost::_mfi::mf0<void,NetBench>,boost::_bi::list1<boost::_bi::value<NetBench
*> > >,void>::invoke(boost::detail::function::function_buffer &
function_obj_ptr={...}) Line 154 C++
iombench.exe!boost::function0<void>::operator()() Line 1013 + 0x16
bytes C++
iombench.exe!IOMBenchClient::prepClientsForNextRound(unsigned int
newClients=1, unsigned int newActive=0, unsigned int iters=10000,
boost::function<void __cdecl(void)> done={...}) Line 197 C++
iombench.exe!NetBench::initRound() Line 130 C++
iombench.exe!boost::_mfi::mf0<void,NetBench>::operator()(NetBench *
p=0x0030fc0c) Line 49 + 0xc bytes C++
iombench.exe!boost::_bi::list1<boost::_bi::value<NetBench *>
>::operator()<boost::_mfi::mf0<void,NetBench>,boost::_bi::list0>(boost::_bi::type<void>
__formal={...}, boost::_mfi::mf0<void,NetBench> & f={...},
boost::_bi::list0 & a={...}, boost::_bi::type<void> __formal={...})
Line 254 C++
iombench.exe!
boost::_bi::bind_t<void,boost::_mfi::mf0<void,NetBench>,boost::_bi::list1<boost::_bi::value<NetBench
*> > >::operator()() Line 21 C++
iombench.exe!
boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void,boost::_mfi::mf0<void,NetBench>,boost::_bi::list1<boost::_bi::value<NetBench
*> > >,void>::invoke(boost::detail::function::function_buffer &
function_obj_ptr={...}) Line 154 C++
iombench.exe!boost::function0<void>::operator()() Line 1013 + 0x16
bytes C++
iombench.exe!
IOMBenchClient::init(std::basic_string<char,std::char_traits<char>,std::allocator<char>
> & host="127.0.0.1:8000", unsigned int perConnToRead=1, unsigned int
perConnToWrite=1, boost::function<void __cdecl(void)> done={...})
Line 163 C++
iombench.exe!NetBench::runClient() Line 122 C++
iombench.exe!NetBench::serverRunning() Line 102 C++
iombench.exe!boost::_mfi::mf0<void,NetBench>::operator()(NetBench *
p=0x0030fc0c) Line 49 + 0xc bytes C++
iombench.exe!boost::_bi::list1<boost::_bi::value<NetBench *>
>::operator()<boost::_mfi::mf0<void,NetBench>,boost::_bi::list0>(boost::_bi::type<void>
__formal={...}, boost::_mfi::mf0<void,NetBench> & f={...},
boost::_bi::list0 & a={...}, boost::_bi::type<void> __formal={...})
Line 254 C++
iombench.exe!
boost::_bi::bind_t<void,boost::_mfi::mf0<void,NetBench>,boost::_bi::list1<boost::_bi::value<NetBench
*> > >::operator()() Line 21 C++
iombench.exe!
boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void,boost::_mfi::mf0<void,NetBench>,boost::_bi::list1<boost::_bi::value<NetBench
*> > >,void>::invoke(boost::detail::function::function_buffer &
function_obj_ptr={...}) Line 154 C++
iombench.exe!boost::function0<void>::operator()() Line 1013 + 0x16
bytes C++
iombench.exe!
IOMBenchServer::run(std::basic_string<char,std::char_traits<char>,std::allocator<char>
> & host="127.0.0.1:8000", unsigned int perConnToRead=1, unsigned int
perConnToWrite=1, boost::function<void __cdecl(void)> done={...})
Line 45 C++
iombench.exe!NetBench::run(NetBenchServer * server=0x0030fb28,
NetBenchClient * client=0x0030fa70) Line 91 C++
iombench.exe!utf8main(int argc=2, char * * argv=0x000acc70) Line
340 C++
iombench.exe!main(int argc=2, char * * argv=0x024721c0) Line 328 +
0xb2 bytes C++
iombench.exe!__tmainCRTStartup() Line 278 + 0x19 bytes C
iombench.exe!mainCRTStartup() Line 189 C
kernel32.dll!7684ed6c()
ntdll.dll!772f37f5()
ntdll.dll!772f37c8()

thanks.

lark

unread,
Oct 28, 2011, 4:00:08 AM10/28/11
to Mordor Users
in sample iombench.exe is fiber-per-connection,so there are 512
connections , 1024 fibers(512 client+512 server) in it. these fiber
need 1024 * 1M (fiber stack size) user space.

is that right?
Cody help

Cody Cutrer

unread,
Oct 28, 2011, 11:14:50 AM10/28/11
to mordor...@googlegroups.com
Yup, that's correct.  So unless you've modified iombench, you should be doing okay with virtual memory (by default, a 32-bit process gets 2GB of address space with 2GB reserved for the kernel).  That leaves artificial OS constraints.  Or, looking at your stack, you may have overrun it.  I've never actually run iombench (another developer ported it from another I/O framework in an attempt to compare it to Mordor), but it kind of looks like it's non-tail-recursive, and your stack is very large.  The top frames could also point to some other exception being thrown, that triggered an assert, and thus a double fault immediately terminating the process.  The log output showing errors would probably be useful (set LOG_STDOUT=1 in the environment prior to running).

Cody

lark

unread,
Oct 31, 2011, 1:58:32 AM10/31/11
to Mordor Users
thanks Cody.

i'm a MMORPG programer, if i use mordor as my project's io layer, can
have some suggestions?
Reply all
Reply to author
Forward
0 new messages