Forum > Windows
sources with Orcas
Simon:
Hallo Heinz,
have you managed to run some WUs successfully with the apps you compiled on VS Orcas/2008?
Regards,
Simon.
_heinz:
Hi Simon,
answering your question: no till now.
In both applications the program runs into the same error with the allocation during retval = seti_parse_wu_header( f ); in seti.cpp
-------------
seti_header.cpp
254 wu = new workunit( buffer ); //seti_britta:here I have a problem
--------------
if we left xml_matchtag the last time, s is filled with the complete WU inclusive </workunit_header> means the wu is complete.
then we switch to xstring.c
__CLR_OR_THIS_CALL basic_string(const _Elem *_Ptr)
: _Mybase()
{ // construct from [_Ptr, <null>)
_Tidy();
assign(_Ptr);
}
and _Ptr points to the beginning of the wu.
--------------------------------------------------------------
then to xstring
1074 if (_Grow(_Count))
{ // make room and assign new stuff
_Traits_helper::copy_s<_Traits>(_Myptr(), _Myres, _Ptr, _Count);
_Eos(_Count);
}
_Count shows:
_Count 7232 unsigned int
-----------------------------------------------------------------------------------
then to xstring
2123 _Copy(_Newsize, _Mysize); // reallocate to grow
_Newsize shows:
_Newsize 7232 unsigned int
-----------------------------------------------------------------------------------
then to xstring
2093 _Ptr = _Mybase::_Alval.allocate(_Newres + 1);
_Newres shows:
_Newres 7247 unsigned int
-----------------------------------------------------------------------------------
then to xmemory 145
143 pointer allocate(size_type _Count)
144 { // allocate array of _Count elements
145 return (_Allocate(_Count, (pointer)0));
146 }
_Count shows:
_Count 7248 unsigned int
---------------------------------------------------------------------------------
then to xmemory 43
// allocate storage for _Count elements of type _Ty
43 return ((_Ty _FARQ *)::operator new(_Count * sizeof (_Ty)));
_Count 7248 unsigned int
--------------------------------------------------------------------------------------
then to new.cpp 59
59 while ((p = malloc(size)) == 0)
size 7248 unsigned int
p 0x0003195c void *
---------------------------------------------------------------------------------------
then to dbgmalloc 56
56 void *res = _nh_malloc_dbg(nSize, _newmode, _NORMAL_BLOCK, NULL, 0);
nSize 7248 unsigned int
res 0x00031a74 void *
-----------------------------------------------------------------------------------------
then to dbgheap.c 296
296 void * pvBlk = _nh_malloc_dbg_impl(nSize, nhFlag, nBlockUse, szFileName, nLine, &errno_tmp);
nSize 7248 unsigned int
nhFlag 0 int
nBlockUse 1 int
+ szFileName 0x00000000 <Bad Ptr> const char *
nLine 0 int
pvBlk 0x0062d2a8 void *
errno_tmp 0 int
--------------------------------------------------------------------------------------------
then to dbgheap.c 239
239 pvBlk = _heap_alloc_dbg_impl(nSize, nBlockUse, szFileName, nLine, errno_tmp);
nSize 7248 unsigned int
nhFlag 0 int
nBlockUse 1 int
+ szFileName 0x00000000 <Bad Ptr> const char *
nLine 0 int
pvBlk 0x00000000 void *
+ errno_tmp 0x000317a4 int *
----------------------------------------------------------------------------------------
then to dbgheap.c 429
429 pHead = (_CrtMemBlockHeader *)_heap_alloc_base(blockSize);
nSize 7248 unsigned int
nBlockUse 1 int
+ szFileName 0x00000000 <Bad Ptr> const char *
nLine 0 int
+ errno_tmp 0x000317a4 int *
blockSize 7284 unsigned int
lRequest 7306 long
+ pHead 0x00000000 {pBlockHeaderNext=??? pBlockHeaderPrev=??? szFileName=??? ...} _CrtMemBlockHeader *
retval 0x00000000 void *
fIgnore 0 int
-----------------------------------------------------------------------------------------
then to malloc.c 129
129 return HeapAlloc(_crtheap, 0, size ? size : 1); <------problem app crashes
size 7284 unsigned int
pvReturn 0x00000001 void *
Unhandled exception at 0x7c91eddd in seti_boinc.exe: 0xC0000005: Access violation writing location 0x00030ffc.
the errors from output:
First-chance exception at 0x7c93a321 in seti_boinc.exe: 0xC00000FD: Stack overflow.
First-chance exception at 0x7c812a7b in seti_boinc.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x000337e4..
First-chance exception at 0x7c91eddd in seti_boinc.exe: 0xC0000005: Access violation writing location 0x00030ffc.
Unhandled exception at 0x7c91eddd in seti_boinc.exe: 0xC0000005: Access violation writing location 0x00030ffc.
---------------------------------------------------
I did read the hints from Urs, but till now I did not found a solution of this problem...
----------------------------------------------------------------------------------------------------------------------
regards heinz
_heinz:
Hi all,
At the moment I´m testing the mmx client.
be patient, work is going on.
regards heinz
Gecko_R7:
--- Quote from: seti_britta on 30 Jul 2007, 05:05:21 pm ---Hi all,
At the moment I╢m testing the mmx client.
be patient, work is going on.
regards heinz
--- End quote ---
Very cool Heinz! Good luck!
_heinz:
Hi folks,
the summer and the vacations are over so I am back.
my diskless dual 200MMX is now in the case and running again.
pulsefind.cpp ---> its necessary to have a look on it to make some optimizations.
regards heinz~seti_britta
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version