digitalmars.D - Need help to recognize DMD issue
- Denis Feklushkin (4/4) Apr 25 2018 Recently I filled this bug report:
- Denis Feklushkin (42/46) Apr 25 2018 Compilation with dmd -v:
- Jonathan M Davis (6/9) Apr 25 2018 The compiler itself should never crash. So, that part of the problem sho...
- Denis Feklushkin (4/13) Apr 25 2018 Of course! But I can not reduce crashing code. It is just library
- Steven Schveighoffer (5/20) Apr 25 2018 Have you ever tried using dustmite? It can reduce automatically your
- Denis Feklushkin (9/28) Apr 25 2018 My code is fine (I hope), bug is anywhere else. Library
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
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
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
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:Of course! But I can not reduce crashing code. It is just library from DUB registry that causes crash if included.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
Apr 25 2018
On 4/25/18 9:15 AM, Denis Feklushkin wrote:On Wednesday, 25 April 2018 at 11:32:39 UTC, Jonathan M Davis wrote:Have you ever tried using dustmite? It can reduce automatically your code to something that crashes. https://github.com/CyberShadow/DustMite/wiki -SteveOn Wednesday, April 25, 2018 10:03:44 Denis Feklushkin via Digitalmars-d wrote:Of course! But I can not reduce crashing code. It is just library from DUB registry that causes crash if included.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
Apr 25 2018
On Wednesday, 25 April 2018 at 14:22:04 UTC, Steven Schveighoffer wrote:On 4/25/18 9:15 AM, Denis Feklushkin wrote: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.On Wednesday, 25 April 2018 at 11:32:39 UTC, Jonathan M Davis wrote:Have you ever tried using dustmite? It can reduce automatically your code to something that crashes.On Wednesday, April 25, 2018 10:03:44 Denis Feklushkin via Digitalmars-d wrote:Of course! But I can not reduce crashing code. It is just library from DUB registry that causes crash if included.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
Apr 25 2018