System.Globalization.CompareInfo.Compare stack overflow exception

T

Tommaso Caldarola

Randomly I got the following exception:

00000050 push dword ptr [esp+10h]
00000054 mov edx,edi
00000056 mov ecx,ebx
00000058 call dword ptr ds:[79C03DB8h]
0000005e mov ecx,ebx
00000060 call dword ptr ds:[79CC0158h]
00000066 mov edi,dword ptr [esi+4]
00000069 mov ebx,dword ptr [esi+8]
0000006c push ebp
0000006d push dword ptr [esp+30h]
00000071 push dword ptr [esp+30h]
00000075 push dword ptr [esp+30h]
00000079 push dword ptr [esp+30h]
0000007d push dword ptr [esp+30h]
00000081 push dword ptr [esp+30h]
00000085 mov ecx,edi
00000087 mov edx,ebx
00000089 call dword ptr ds:[79C154C4h]
0000008f mov edi,eax *** stack overflow exception....

what's happen?
 
W

Willy Denoyette [MVP]

Tommaso Caldarola said:
Randomly I got the following exception:

00000050 push dword ptr [esp+10h]
00000054 mov edx,edi
00000056 mov ecx,ebx
00000058 call dword ptr ds:[79C03DB8h]
0000005e mov ecx,ebx
00000060 call dword ptr ds:[79CC0158h]
00000066 mov edi,dword ptr [esi+4]
00000069 mov ebx,dword ptr [esi+8]
0000006c push ebp
0000006d push dword ptr [esp+30h]
00000071 push dword ptr [esp+30h]
00000075 push dword ptr [esp+30h]
00000079 push dword ptr [esp+30h]
0000007d push dword ptr [esp+30h]
00000081 push dword ptr [esp+30h]
00000085 mov ecx,edi
00000087 mov edx,ebx
00000089 call dword ptr ds:[79C154C4h]
0000008f mov edi,eax *** stack overflow exception....

what's happen?



Do you really want us to investigate some piece of (probably incorrect) native machine code,
especially when you have got an stack overflow? All I can say is check your code for deep
or endless recursion and you will find the reason for the stack overflow, the native code
you posted can't be used for this.

Willy.
 
T

Tommaso Caldarola

Willy said:
Do you really want us to investigate some piece of (probably incorrect)
native machine code, especially when you have got an stack overflow? All
I can say is check your code for deep or endless recursion and you will
find the reason for the stack overflow, the native code you posted can't
be used for this.

Clear, I've just post these rows 'cause I'm going crazy...

The real problem there is no recursion but just a lot of data to load.
 
W

Willy Denoyette [MVP]

| Willy Denoyette [MVP] wrote:
|
| > Do you really want us to investigate some piece of (probably incorrect)
| > native machine code, especially when you have got an stack overflow? All
| > I can say is check your code for deep or endless recursion and you will
| > find the reason for the stack overflow, the native code you posted can't
| > be used for this.
|
| Clear, I've just post these rows 'cause I'm going crazy...
|
| The real problem there is no recursion but just a lot of data to load.
|

To load where,in the stack?

Willy.
 
T

Tommaso Caldarola

Willy said:
| Clear, I've just post these rows 'cause I'm going crazy...
|
| The real problem there is no recursion but just a lot of data to load.
|

To load where,in the stack?

No no, via ado.net in the dataset.
 
W

Willy Denoyette [MVP]

Tommaso Caldarola said:
No no, via ado.net in the dataset.

These are not loaded in the stack, they are stored in the managed heap, so they can't be a
source of a stack overflow!

Willy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top