Hi,

Hm. It's either:

* A bug in vbnc which creates a weird construct that Cecil doesn't
handle properly (but then Cecil should probably do some checking
before going into a stack overflow :)
* A plain and simple bug in Cecil

Anyway, we need a way to reproduce this.

Can you try to isolate what causes this? From the stack trace it looks
related to custom attribute, so as tedious as is it, you could try to
comment out custom attributes until the error doesn't appear, and
report the kind of custom attribute it was that was causing the issue.

Jb

On Mon, Jun 16, 2014 at 5:07 AM, Asm khn <[email protected]> wrote:
> i am converting my existing .net 2 project written in vb.net to mono
>
> i am getting the below issue , what can cause this ? and where to look at ?
>
>
> vbnc : Command line : error VBNC99999: Unexpected error: The requested
> operation caused a stack overflow.
>   at Mono.Cecil.SignatureWriter.WriteCustomAttributeFieldOrPropType
> (Mono.Cecil.TypeReference type) [0x00001] in
> /Volumes/build-root-ramdisk/mono-mono-basic-a74642a/vbnc/cecil/Mono.Cecil/AssemblyWriter.cs:2348
>   at Mono.Cecil.SignatureWriter.WriteCustomAttributeElement
> (Mono.Cecil.TypeReference type, CustomAttributeArgument argument) [0x00035]
> in
> /Volumes/build-root-ramdisk/mono-mono-basic-a74642a/vbnc/cecil/Mono.Cecil/AssemblyWriter.cs:2261
>   at Mono.Cecil.SignatureWriter.WriteCustomAttributeElement
> (Mono.Cecil.TypeReference type, CustomAttributeArgument argument) [0x00043]
> in
> /Volumes/build-root-ramdisk/mono-mono-basic-a74642a/vbnc/cecil/Mono.Cecil/AssemblyWriter.cs:2262
>   at Mono.Cecil.SignatureWriter.WriteCustomAttributeElement
> (Mono.Cecil.TypeReference type, CustomAttributeArgument argument) [0x00043]
> in
> /Volumes/build-root-ramdisk/mono-mono-basic-a74642a/vbnc/cecil/Mono.Cecil/AssemblyWriter.cs:2262
>
> --
> --
> --
> mono-cecil
> ---
> You received this message because you are subscribed to the Google Groups
> "mono-cecil" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
--
mono-cecil
--- 
You received this message because you are subscribed to the Google Groups 
"mono-cecil" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to