[Cbc] problem in debugging Cbc
Dogan Bilguvar
dxb at icrontech.com
Wed Jul 16 11:01:59 EDT 2008
Hi,
thank you for your response. The stack trace is below.
ntdll.dll!7c901230()
[Frames below may be incorrect and/or missing, no symbols loaded for
ntdll.dll]
> msvcr80d.dll!_CrtDbgBreak() Line 89 C
msvcr80d.dll!_VCrtDbgReportA(int nRptType=2, const char *
szFile=0x781d54e0, int nLine=979, const char * szModule=0x00000000, const
char * szFormat=0x00000000, char * arglist=0x03fcd788) Line 290 C
msvcr80d.dll!_CrtDbgReportV(int nRptType=2, const char *
szFile=0x781d54e0, int nLine=979, const char * szModule=0x00000000, const
char * szFormat=0x00000000, char * arglist=0x03fcd788) Line 300 + 0x1d
bytes C
msvcr80d.dll!_CrtDbgReport(int nRptType=2, const char * szFile=0x781d54e0,
int nLine=979, const char * szModule=0x00000000, const char *
szFormat=0x00000000, ...) Line 317 + 0x1d bytes C
mfc80d.dll!AfxAssertFailedLine(const char * lpszFileName=0x781d54e0, int
nLine=979) Line 25 + 0x14 bytes C++
mfc80d.dll!CWnd::DestroyWindow() Line 979 + 0x21 bytes C++
mfc80d.dll!CToolTipCtrl::DestroyToolTipCtrl() Line 76 C++
mfc80d.dll!AFX_MODULE_THREAD_STATE::~AFX_MODULE_THREAD_STATE() Line 363
C++
mfc80d.dll!AFX_MODULE_THREAD_STATE::`scalar deleting destructor'() + 0xf
bytes C++
mfc80d.dll!CThreadSlotData::DeleteValues(CThreadData * pData=0x00157460,
HINSTANCE__ * hInst=0x00000000) Line 353 + 0x29 bytes C++
mfc80d.dll!CThreadSlotData::DeleteValues(HINSTANCE__ * hInst=0x00000000,
int bAll=1) Line 395 C++
mfc80d.dll!AfxTermLocalData(HINSTANCE__ * hInst=0x00000000, int bAll=1)
Line 493 C++
mfc80d.dll!DllMain(HINSTANCE__ * hInstance=0x781d0000, unsigned long
dwReason=0, void * __formal=0x00000001) Line 563 + 0x9 bytes C++
mfc80d.dll!__DllMainCRTStartup(void * hDllHandle=0x781d0000, unsigned long
dwReason=0, void * lpreserved=0x00000001) Line 498 + 0x11 bytes C
mfc80d.dll!_DllMainCRTStartup(void * hDllHandle=0x781d0000, unsigned long
dwReason=0, void * lpreserved=0x00000001) Line 462 + 0x11 bytes C
ntdll.dll!7c9011a7()
ntdll.dll!7c923f31()
ntdll.dll!7c910945()
ntdll.dll!7c91094e()
ntdll.dll!7c914481()
kernel32.dll!7c81cd76()
ntdll.dll!7c910895()
ntdll.dll!7c919a9c()
ntdll.dll!7c919b3f()
ntdll.dll!7c919aeb()
ntdll.dll!7c90f0aa()
kernel32.dll!7c80e62b()
kernel32.dll!7c80e45c()
kernel32.dll!7c81cdee()
msvcr80d.dll!__crtExitProcess(int status=3) Line 684 C
msvcr80d.dll!doexit(int code=3, int quick=1, int retcaller=0) Line 596 +
0x9 bytes C
msvcr80d.dll!_exit(int code=3) Line 406 + 0xd bytes C
msvcr80d.dll!raise(int signum=22) Line 527 C
msvcr80d.dll!__crtMessageWindowW(int nRptType=2, const wchar_t *
szFile=0x07836b68, const wchar_t * szLine=0x03fd2f14, const wchar_t *
szModule=0x00000000, const wchar_t * szUserMessage=0x03fd0f14) Line 430 +
0x7 bytes C++
msvcr80d.dll!_VCrtDbgReportW(int nRptType=2, const wchar_t *
szFile=0x07836b68, int nLine=1122, const wchar_t * szModule=0x00000000,
const wchar_t * szFormat=0x07836ec8, char * arglist=0x03fdafb4) Line 670 +
0x28 bytes C
msvcr80d.dll!_CrtDbgReportWV(int nRptType=2, const wchar_t *
szFile=0x07836b68, int nLine=1122, const wchar_t * szModule=0x00000000,
const wchar_t * szFormat=0x07836ec8, char * arglist=0x03fdafb4) Line 300 +
0x1d bytes C++
msvcr80d.dll!_CrtDbgReportW(int nRptType=2, const wchar_t *
szFile=0x07836b68, int nLine=1122, const wchar_t * szModule=0x00000000,
const wchar_t * szFormat=0x07836ec8, ...) Line 317 + 0x1d bytes C++
msvcp80d.dll!std::_Debug_message(const wchar_t * message=0x07836ec8, const
wchar_t * file=0x07836b68, unsigned int line=1122) Line 22 + 0x16 bytes C++
iclcoin.dll!std::vector<double,std::allocator<double>
>::_Insert_n(std::_Vector_iterator<double,std::allocator<double> >
_Where=..., unsigned int _Count=1, const double & _Val=-0.00000000000000000)
Line 1122 + 0x17 bytes C++
iclcoin.dll!std::vector<double,std::allocator<double>
>::insert(std::_Vector_iterator<double,std::allocator<double> > _Where=...,
const double & _Val=-0.00000000000000000) Line 855 C++
iclcoin.dll!std::vector<double,std::allocator<double> >::push_back(const
double & _Val=-0.00000000000000000) Line 800 + 0x2d bytes C++
iclcoin.dll!CoinMessageHandler::operator<<(double
doublevalue=-0.00000000000000000) Line 696 C++
iclcoin.dll!ClpSimplexDual::statusOfProblemInDual(int & lastCleaned=0, int
type=0, double * givenDuals=0x00000000, ClpDataSave & saveData={...}, int
ifValuesPass=0) Line 3672 C++
iclcoin.dll!ClpSimplexDual::gutsOfDual(int ifValuesPass=0, double * &
saveDuals=0x00000000, int initialStatus=-1, ClpDataSave & data={...}) Line
427 C++
iclcoin.dll!ClpSimplexDual::dual(int ifValuesPass=0, int
startFinishOptions=0) Line 495 C++
iclcoin.dll!ClpSimplex::dual(int ifValuesPass=0, int startFinishOptions=0)
Line 5255 + 0x10 bytes C++
iclcoin.dll!ClpSimplex::initialSolve(ClpSolve & options={...}) Line 998
C++
iclcoin.dll!OsiClpSolverInterface::initialSolve() Line 356 C++
iclcoin.dll!CbcModel::initialSolve() Line 3394 + 0x14 bytes C++
----- Original Message -----
From: "Stefan Vigerske" <stefan at math.hu-berlin.de>
To: "Dogan Bilguvar" <dxb at icrontech.com>
Cc: <cbc at list.coin-or.org>; "Ali Tamer Unal" <tamer.unal at icrontech.com>
Sent: Wednesday, July 16, 2008 4:36 PM
Subject: Re: [Cbc] problem in debugging Cbc
> Hi,
>
>> in my Cbc implementation, I receive an error during debugging when I call
>> the "initialSolve()" function. This error occurs in the following
>> function.
>> CoinMessageHandler::operator<< (double doublevalue)
>> After "doubleValue_.push_back(doublevalue)" line , it gives "vector
>> insert iterator outside range" error.
>> Could you please help me?
>
> Can you send the sequence of function calls that led to this problem? That
> is, a stack trace?
> Or if you are in Linux, can you run valgrind and send the first error
> message it produces?
> Of course, best would be a sample program or mps to reproduce the problem.
>
> Stefan
>
> --
> Stefan Vigerske
> Humboldt University Berlin, Numerical Mathematics
> http://www.math.hu-berlin.de/~stefan
More information about the Cbc
mailing list