Thread overview
Visual D dmdserver
Dec 23
kiwe
Jan 03
frame
Jan 05
frame
5 days ago
Rainer Schuetze
May 03

Anyone else have problems with dmdserver not working in Visual D?

https://gfycat.com/creamyclassicdwarfrabbit

The result is no code navigation and no highlighting is working.

May 08

On 03/05/2021 16:55, Imperatorn wrote:
> Anyone else have problems with dmdserver not working in Visual D?
> 
> https://gfycat.com/creamyclassicdwarfrabbit
> 
> The result is no code navigation and no highlighting is working.

Is this happening with the new version 1.1.1, but not before? I don't see any problems with it, but it didn't receive a lot of testing after the update of the frontend to 2.096.

I suspect there might be some wicked code that causes it to crash. Do you find crashdumps in %LOCALAPPDATA%\CrashDumps ?
May 08
On Saturday, 8 May 2021 at 14:41:58 UTC, Rainer Schuetze wrote:
>
>
> On 03/05/2021 16:55, Imperatorn wrote:
>> Anyone else have problems with dmdserver not working in Visual D?
>> 
>> https://gfycat.com/creamyclassicdwarfrabbit
>> 
>> The result is no code navigation and no highlighting is working.
>
> Is this happening with the new version 1.1.1, but not before? I don't see any problems with it, but it didn't receive a lot of testing after the update of the frontend to 2.096.
>
> I suspect there might be some wicked code that causes it to crash. Do you find crashdumps in %LOCALAPPDATA%\CrashDumps ?

I think I had it before also, 90% sure. I'll take a look in the crashdump folder when I get home
December 23
On Saturday, 8 May 2021 at 15:14:40 UTC, Imperatorn wrote:
> On Saturday, 8 May 2021 at 14:41:58 UTC, Rainer Schuetze wrote:
>>
>>
>> On 03/05/2021 16:55, Imperatorn wrote:
>>> Anyone else have problems with dmdserver not working in Visual D?
>>> 
>>> https://gfycat.com/creamyclassicdwarfrabbit
>>> 
>>> The result is no code navigation and no highlighting is working.
>>
>> Is this happening with the new version 1.1.1, but not before? I don't see any problems with it, but it didn't receive a lot of testing after the update of the frontend to 2.096. https://cinemahd.to/
>>
>> I suspect there might be some wicked code that causes it to crash. Do you find crashdumps in %LOCALAPPDATA%\CrashDumps ?
>
> I think I had it before also, 90% sure. I'll take a look in the crashdump folder when I get home

same here.
December 24
On 23/12/2021 17:30, kiwe wrote:
> On Saturday, 8 May 2021 at 15:14:40 UTC, Imperatorn wrote:
>> On Saturday, 8 May 2021 at 14:41:58 UTC, Rainer Schuetze wrote:
>>>
>>>
>>> On 03/05/2021 16:55, Imperatorn wrote:
>>>> Anyone else have problems with dmdserver not working in Visual D?
>>>>
>>>> https://gfycat.com/creamyclassicdwarfrabbit
>>>>
>>>> The result is no code navigation and no highlighting is working.
>>>
>>> Is this happening with the new version 1.1.1, but not before? I don't see any problems with it, but it didn't receive a lot of testing after the update of the frontend to 2.096. https://cinemahd.to/
>>>
>>> I suspect there might be some wicked code that causes it to crash. Do you find crashdumps in %LOCALAPPDATA%\CrashDumps ?
>>
>> I think I had it before also, 90% sure. I'll take a look in the crashdump folder when I get home
> 
> same here.

do you find crashdumps for dmdserver.exe in %LOCALAPPDATA%\CrashDumps, i.e. usually c:\Users\name\AppData\Local\CrashDumps ?
January 03

On Friday, 24 December 2021 at 10:45:44 UTC, Rainer Schuetze wrote:

>

do you find crashdumps for dmdserver.exe in %LOCALAPPDATA%\CrashDumps, i.e. usually c:\Users\name\AppData\Local\CrashDumps ?

I got one. Some null pointer access violation. It not only crashes, sometimes it uses high amount of memory. Had to kill it at 17GB for a litte debugger session in VS - but not related to this issue I think.

:000> .exr -1
ExceptionAddress: 00007ff7df0c59d6 (dmdserver+0x00000000001559d6)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 0000000000000000
   Parameter[1]: 0000000000000000
Attempt to read from address 0000000000000000

Would be nice if you could ship symbols with your package or make them accessible somehow.

January 05

On 03/01/2022 12:52, frame wrote:
> On Friday, 24 December 2021 at 10:45:44 UTC, Rainer Schuetze wrote:
> 
>> do you find crashdumps for dmdserver.exe in %LOCALAPPDATA%\CrashDumps, i.e. usually c:\Users\name\AppData\Local\CrashDumps ?
> 
> I got one. Some null pointer access violation. It not only crashes, sometimes it uses high amount of memory. Had to kill it at 17GB for a litte debugger session in VS - but not related to this issue I think.

There is now an option to reinit semantic analysis when some memory threshold is exceeded, see Tools->Options->Text Editor->D->Intellisense->Restart parsing engine...

> 
> ```
> :000> .exr -1
> ExceptionAddress: 00007ff7df0c59d6 (dmdserver+0x00000000001559d6)
>     ExceptionCode: c0000005 (Access violation)
>    ExceptionFlags: 00000000
> NumberParameters: 2
>     Parameter[0]: 0000000000000000
>     Parameter[1]: 0000000000000000
> Attempt to read from address 0000000000000000

Please attach the crash dump to a bug report at https://issues.dlang.org/ .

> ```
> Would be nice if you could ship symbols with your package or make them accessible somehow.

I've done this in the past, but never got a helpful bug report as a result. I guess it's just as well to keep the symbols locally.
January 05

On Wednesday, 5 January 2022 at 07:21:49 UTC, Rainer Schuetze wrote:

>

There is now an option to reinit semantic analysis when some memory threshold is exceeded, see Tools->Options->Text Editor->D->Intellisense->Restart parsing engine...

I don't have this option.

>

Please attach the crash dump to a bug report at https://issues.dlang.org/ .

I'm not allowed to :\

But interesting, scanning for strings revealed that:

"dmd.ctfeexpr......instantiated from here: `createUUID!()`.ypeInfo, string, const(char)[], void*, ulong)`.ring, const(char)[], void*, ulong)` error instantiating.cified twice on the command line.function with the same name?

So it seems it crashed on a CTFE exception.

> >
Would be nice if you could ship symbols with your package or make them accessible somehow.

I've done this in the past, but never got a helpful bug report as a result. I guess it's just as well to keep the symbols locally.

Please rethink that. I don't want to build visualD for myself, I just want / allowed to use it but if there is any problem me or anyone else could quick give you a hint.

5 days ago

On 05/01/2022 10:23, frame wrote:
> On Wednesday, 5 January 2022 at 07:21:49 UTC, Rainer Schuetze wrote:
> 
>> There is now an option to reinit semantic analysis when some memory threshold is exceeded, see Tools->Options->Text Editor->D->Intellisense->Restart parsing engine...
> 
> I don't have this option.
> 
> 
>> Please attach the crash dump to a bug report at https://issues.dlang.org/ .
> 
> I'm not allowed to :\
> 
> But interesting, scanning for strings revealed that:
> ```
> "dmd.ctfeexpr......instantiated from here: `createUUID!()`.ypeInfo, string, const(char)[], void*, ulong)`.ring, const(char)[], void*, ulong)` error instantiating.cified twice on the command line.function with the same name?
> ```
> 
> So it seems it crashed on a CTFE exception.
> 
>>> ```
>>> Would be nice if you could ship symbols with your package or make them accessible somehow.
>>
>> I've done this in the past, but never got a helpful bug report as a result. I guess it's just as well to keep the symbols locally.
> 
> Please rethink that. I don't want to build visualD for myself, I just want / allowed to use it but if there is any problem me or anyone else could quick give you a hint.

So let's give it another try: you can find the symbols of the new release here: https://github.com/dlang/visuald/releases/tag/v1.2.0