DavidThi808

Hi;

Ok, while building my solution using nant vjc is throwing an exception. I told it to debug in VS 2005 and the error is at malloc.c:

void * __cdecl _malloc_base (size_t size)

{

void *res = NULL;

// validate size

if (size <= _HEAP_MAXREQ) {

for (;;) {

// allocate memory block

res = _heap_alloc(size);

where size = 0.

It throws the exception deep under that code but I think the size=0 may be the problem. The call stack is:

kernel32.dll!7c812a5b()
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
kernel32.dll!7c812a5b()
vjsc.dll!6d90d727()
vjsc.dll!6d930468()
vjsc.dll!6d930480()
vjsc.dll!6d8f53a6()
ntdll.dll!7c9118f1()
ntdll.dll!7c911902()
ntdll.dll!7c91056d()
mscorwks.dll!79e783ca()
mscorwks.dll!79e783e6()
rsaenh.dll!0ffde241()
mscorwks.dll!79e783e6()
mscorwks.dll!79e7839d()
mscorwks.dll!79e71862()
mscorwks.dll!79e782ed()
mscorwks.dll!79e782ed()
mscorwks.dll!7a0e4ffc()
mscorwks.dll!7a0e69a7()
mscorwks.dll!7a0e6775()
mscorwks.dll!7a0e6775()
mscorwks.dll!7a0e745b()
mscorwks.dll!7a0e7440()
mscorwks.dll!7a0e7440()
mscoree.dll!79019fec()
vjsc.dll!6d904771()
vjsc.dll!6d8e08cc()
vjsc.dll!6d8e08ef()
vjsc.dll!6d8a36fb()
kernel32.dll!7c844816()
ntdll.dll!7c913134()
kernel32.dll!7c812b9a()
kernel32.dll!7c812bad()
mscorwks.dll!79e7c19e()
ntdll.dll!7c910e91()
ntdll.dll!7c91056d()
vjsc.dll!6d8dc534()
vjsc.dll!6d8dc55f()
ntdll.dll!7c9106eb()
> msvcr80.dll!malloc(unsigned int size=0) Line 163 + 0x63 bytes C
vjsc.dll!6d946b21()
vjsc.dll!6d8dc4db()
msvcr80.dll!__wgetmainargs(int * pargc=0x00000004, unsigned short * * * pargv=0x0098bd90, unsigned short * * * penvp=0x004012d8, int dowildcard=4, _startupinfo * startinfo=0x0098bd90) Line 127 + 0x5 bytes C
vjc.exe!0040117d()
kernel32.dll!7c816fd7()

Any ideas

thanks - dave




Re: Visual J# General vjc error

Jaiprakash Sharma

Hi,

Is this issue same as reported in http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=999092&SiteID=1 If so then please continue there to help us resolve the issue.

Thanks.






Re: Visual J# General vjc error

DavidThi808

It might be - I will post additional info over there.

thanks - dave






Re: Visual J# General vjc error

Gaurav Seth

Hi David -

While the Product and the PSS team work with you seperately on this, I am locking this thread. We would track this via the master entry post by you - http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1003516&SiteID=1

Gaurav