New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segfault for release build #599
Comments
If latest with latest LDC this is fine then it has to be a problem of bad codegen in DMD backend. Could you provide an accurate reproduction procedure ? |
Sure, when I get to the computer. I’ll try to run dustmite as well to get a reduced test case. |
In a first time i would just like to see if the crash happens on linux too so if the repro is not reduced that's not an issue. Other things you can do are
|
I does not happen on Linux.
Still occurs with 2.086.0
If you refer to
|
Here are the steps to reproduce: ~/development/d/dcd/bin/dcd-server \
-I ~/.dvm/compilers/dmd-2.086.0/src/druntime/import \
-I ~/.dvm/compilers/dmd-2.086.0/src/phobos &
git clone https://github.com/jacob-carlborg/dlp
cd dlp
git checkout -b dev origin/dev
git submodule update --init
~/development/d/dcd/bin/dcd-client -I source -I vendor/dmd/src
~/development/d/dcd/bin/dcd-client --symbolLocation -c 2361 source/dlp/commands/leaf_functions.d |
Still crashing with most recent D version ? |
I can give it a try. |
I don't have a reduced test case for this, but I get a segmentation fault when invoking got-to-definition when I compiled DCD as a release build (just invoking
make
). If I do a debug build (make dub
) the issue does not occur. I'm compiling with DMD 2.085.1 on macOS. The issue does not occur when I'm building using LDC 1.15.0.Here's the stacktrace from the debugger:
The text was updated successfully, but these errors were encountered: