aBothe / Mono-D

D Add-In for MonoDevelop
http://wiki.dlang.org/Mono-D
Other
113 stars 26 forks source link

Infinite recursion in go to definition causes Stack Overflow #577

Open Orvid opened 9 years ago

Orvid commented 9 years ago

How to reproduce:

Using git HEAD versions of Phobos, and druntime, open std\regex\package.d, and find line 343. Once there, tell Xamarin Studio to go to the definition of StaticRegex. It will go to the definition, but wait a couple of seconds, and it will crash due to a stack overflow.

aBothe commented 9 years ago

I just had such a case, but due to my 8 GB of installed Ram, it wasn't crashing but just leaking 5GB :D

aBothe commented 9 years ago

Okay, that issue was just a small inifiniloop, so probably not the actual issue. Can't reproduce it though.