www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Need help to recognize DMD issue

reply Denis Feklushkin <feklushkin.denis gmail.com> writes:
Recently I filled this bug report: 
https://github.com/etcimon/botan/issues/45

But it is, probably, DMD issue too, because compiler crashes.

Please help!
Apr 25 2018
next sibling parent Denis Feklushkin <feklushkin.denis gmail.com> writes:
On Wednesday, 25 April 2018 at 10:03:44 UTC, Denis Feklushkin 
wrote:
 Recently I filled this bug report: 
 https://github.com/etcimon/botan/issues/45

 But it is, probably, DMD issue too, because compiler crashes.

 Please help!
Compilation with dmd -v: [...] import core.cpuid (/usr/include/dmd/druntime/import/core/cpuid.d) import botan.engine.core_engine (../../.dub/packages/botan-1.12.9/botan/source/botan/engine/core_engine.d) import botan.filters.transform_filter (../../.dub/packages/botan-1.12.9/botan/source/botan/filters/transform_filter.d) import botan.math.numbertheory.def_powm (../../.dub/packages/botan-1.12.9/botan/source/botan/math/numbertheory/def_powm.d) import memutils.scoped (../../.dub/packages/memutils-0.4.10/memutils/source/memutils/scoped.d) Enhanced memory security is enabled. import memutils.securepool (../../.dub/packages/memutils-0.4.10/memutils/source/memutils/securepool.d) Memory debugger enabled import core.bitop (/usr/include/dmd/druntime/import/core/bitop.d) import std.typetuple (/usr/include/dmd/phobos/std/typetuple.d) import std.algorithm.internal (/usr/include/dmd/phobos/std/algorithm/internal.d) import core.checkedint (/usr/include/dmd/druntime/import/core/checkedint.d) import std.file (/usr/include/dmd/phobos/std/file.d) import std.internal.cstring (/usr/include/dmd/phobos/std/internal/cstring.d) import core.sys.posix.dirent (/usr/include/dmd/druntime/import/core/sys/posix/dirent.d) import core.sys.posix.fcntl (/usr/include/dmd/druntime/import/core/sys/posix/fcntl.d) import core.sys.posix.sys.stat (/usr/include/dmd/druntime/import/core/sys/posix/sys/stat.d) import core.sys.posix.utime (/usr/include/dmd/druntime/import/core/sys/posix/utime.d) import std.path (/usr/include/dmd/phobos/std/path.d) import memutils.rbtree (../../.dub/packages/memutils-0.4.10/memutils/source/memutils/rbtree.d) import std.utf (/usr/include/dmd/phobos/std/utf.d) fish: '/usr/bin/dmd -v -c -of.dub/buil…' terminated by signal SIGSEGV (Address boundary error)
Apr 25 2018
prev sibling parent reply Jonathan M Davis <newsgroup.d jmdavisprog.com> writes:
On Wednesday, April 25, 2018 10:03:44 Denis Feklushkin via Digitalmars-d 
wrote:
 Recently I filled this bug report:
 https://github.com/etcimon/botan/issues/45

 But it is, probably, DMD issue too, because compiler crashes.
The compiler itself should never crash. So, that part of the problem should be reported via https://issues.dlang.org - Jonathan M Davis
Apr 25 2018
parent reply Denis Feklushkin <feklushkin.denis gmail.com> writes:
On Wednesday, 25 April 2018 at 11:32:39 UTC, Jonathan M Davis 
wrote:
 On Wednesday, April 25, 2018 10:03:44 Denis Feklushkin via 
 Digitalmars-d wrote:
 Recently I filled this bug report: 
 https://github.com/etcimon/botan/issues/45

 But it is, probably, DMD issue too, because compiler crashes.
The compiler itself should never crash. So, that part of the problem should be reported via https://issues.dlang.org
Of course! But I can not reduce crashing code. It is just library from DUB registry that causes crash if included.
Apr 25 2018
parent reply Steven Schveighoffer <schveiguy yahoo.com> writes:
On 4/25/18 9:15 AM, Denis Feklushkin wrote:
 On Wednesday, 25 April 2018 at 11:32:39 UTC, Jonathan M Davis wrote:
 On Wednesday, April 25, 2018 10:03:44 Denis Feklushkin via 
 Digitalmars-d wrote:
 Recently I filled this bug report: 
 https://github.com/etcimon/botan/issues/45

 But it is, probably, DMD issue too, because compiler crashes.
The compiler itself should never crash. So, that part of the problem should be reported via https://issues.dlang.org
Of course! But I can not reduce crashing code. It is just library from DUB registry that causes crash if included.
Have you ever tried using dustmite? It can reduce automatically your code to something that crashes. https://github.com/CyberShadow/DustMite/wiki -Steve
Apr 25 2018
parent Denis Feklushkin <feklushkin.denis gmail.com> writes:
On Wednesday, 25 April 2018 at 14:22:04 UTC, Steven Schveighoffer 
wrote:
 On 4/25/18 9:15 AM, Denis Feklushkin wrote:
 On Wednesday, 25 April 2018 at 11:32:39 UTC, Jonathan M Davis 
 wrote:
 On Wednesday, April 25, 2018 10:03:44 Denis Feklushkin via 
 Digitalmars-d wrote:
 Recently I filled this bug report: 
 https://github.com/etcimon/botan/issues/45

 But it is, probably, DMD issue too, because compiler crashes.
The compiler itself should never crash. So, that part of the problem should be reported via https://issues.dlang.org
Of course! But I can not reduce crashing code. It is just library from DUB registry that causes crash if included.
Have you ever tried using dustmite? It can reduce automatically your code to something that crashes.
My code is fine (I hope), bug is anywhere else. Library downloaded, included and passed to DMD by DUB. dustmite itself can call DUB? I know about dub dustmite but it just not work for me: $dub dustmite ../clean --single botan_bug.d Expected destination path. I am isn't understand what it is need.
Apr 25 2018