Issue 15458 - when i input "." to show expansion,it crashed.
Summary: when i input "." to show expansion,it crashed.
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: visuald (show other issues)
Version: D2
Hardware: x86_64 Windows
: P1 enhancement
Assignee: No Owner
URL:
Keywords:
: 15522 (view as issue list)
Depends on:
Blocks:
 
Reported: 2015-12-17 02:34 UTC by magicdmer
Modified: 2016-01-19 02:41 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description magicdmer 2015-12-17 02:34:04 UTC
I use visualD 0.3.43 in vs2013.

when i code like follow,it will crashed and the error msg is :
"COM Server for DParser is stop work"
the event name is "CLR20r3"
====================================================
import std.stdio;

import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Button;

void main ()
{
    auto display = new Display;
    auto shell = new Shell;
    auto button = new Button(shell,0);
    
    shell.  (here not crashed,work well)
    button.  (here will crashed)


    shell.open();


    while (!shell.isDisposed)
        if (!display.readAndDispatch())
            display.sleep();

    display.dispose();
}
=======================================================
I set visualD "show expansion when writing an identifier"
Comment 1 Thomas 2016-01-06 23:34:13 UTC
*** Issue 15522 has been marked as a duplicate of this issue. ***
Comment 2 Rainer Schuetze 2016-01-13 22:10:45 UTC
Please try replacing $(ProgrmFiles(x86)\VisualD\DParser\D_Parser.dll with this one https://gist.github.com/rainers/6cdf73b48837defb9f88#file-d_parser-dll. It hopefully fixes the problem.
Comment 3 Thomas 2016-01-16 08:15:01 UTC
Yes. The new dll fixes the problem, in issue 15522 example at least.
Comment 4 magicdmer 2016-01-19 02:41:51 UTC
I test the dll Rainer Schuetze comment,  and it works well!