VisualD: VisualDComServer.exe crashes frequently inside D_Parser.dll to stackoverflow.

Random D-user via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Sat May 9 04:45:41 PDT 2015


I did some quick testing and the crash seems to be gone.

Thanks a lot.

Also, while I was testing I noticed couple new minor bugs:

struct MyStruct(T)
{
     T foo()
     {
         return def;
     }

     void foo( T var )
     {
         def = var;
     }

     T def;
}

int fun()
{
     MyStruct!(float) a;
     auto b = a.foo;         // BUG: hover on b --> "auto b" 
should be "float b" (note it does work with when only getter is 
provided)
     auto c = a.foo();       // this works ok. above should be same

     foreach( i ; 0..1 )     // BUG: hover on i --> "i" should be 
"int i"
     {
         i = i;
     }

     return 0;
}

On Friday, 8 May 2015 at 21:10:58 UTC, Rainer Schuetze wrote:
>
>
> On 08.05.2015 11:23, Rainer Schuetze wrote:
>> Thanks for reducing it to a reproducible test case (I can 
>> confirm the
>> stack overflow). I've reported a bug here:
>> https://github.com/aBothe/D_Parser/issues/191
>>
>> Alex is usually very fast fixing these issues ;-)
>
> Indeed, he is. Should be fixed in the new pre-release:
>
> https://github.com/D-Programming-Language/visuald/releases/tag/v0.3.41-beta3
>
>
>>
>>
>> On 06.05.2015 16:57, Random D-user wrote:
>>> I went through hovering all the symbols and it turns out that 
>>> the
>>> bindings in Derelict lib actually trigger the crash.
>>> From there I managed to quickly do a small repro case that 
>>> crashes for
>>> me in completely new empty visuald project:
>>>
>>> module mytest;
>>>
>>> int function(uint) TestCase;
>>> TestCase test;
>>>
>>> class TestClass
>>> {
>>>     this()
>>>     {
>>>         test(); // <--- hover on this
>>>     }
>>> }



More information about the Digitalmars-d-ide mailing list