[dmd-internals] Random failures on Linux 64bit platforms
Brad Roberts
braddr at puremagic.com
Sun Oct 13 16:50:49 PDT 2013
This continues to be an issue. It's certainly not every test, but it's frequent enough that I
believe it constitutes a release blocker.
On 9/18/13 9:37 PM, Kenji Hara wrote:
> This is just a hand-made report of the git-head issue.
>
> ----
>
> From few weeks ago, dmd test suite sometimes fails on Linux 64bit platforms (both 32_64 and 64_64).
>
> It occurs with the combination of -O and -fPIC.
> http://d.puremagic.com/test-results/test_data.ghtml?projectid=1&runid=50369&logid=1
>
> Creating output directory: test_results
> Building d_do_test tool
> OS: posix
> Creating output directory: generated
> Building d_do_test tool
> OS: posix
> Running compilable tests
> Running runnable tests
> Running fail compilation tests
> ... fail_compilation/bug4283.d ()
>
> [snip]
>
> ... runnable/test42.d (-inline -release -gc -O -fPIC)
> Test failed. The logged output:
> ../src/dmd -m64 -Irunnable -odgenerated/runnable -ofgenerated/runnable/test42_0 runnable/test42.d
> ../src/dmd -m64 -Irunnable -inline -odgenerated/runnable -ofgenerated/runnable/test42_1
> runnable/test42.d
> ../src/dmd -m64 -Irunnable -release -odgenerated/runnable -ofgenerated/runnable/test42_2
> runnable/test42.d
> ../src/dmd -m64 -Irunnable -inline -release -odgenerated/runnable
> -ofgenerated/runnable/test42_3 runnable/test42.d
> ../src/dmd -m64 -Irunnable -gc -odgenerated/runnable -ofgenerated/runnable/test42_4
> runnable/test42.d
> ../src/dmd -m64 -Irunnable -inline -gc -odgenerated/runnable -ofgenerated/runnable/test42_5
> runnable/test42.d
> ../src/dmd -m64 -Irunnable -release -gc -odgenerated/runnable -ofgenerated/runnable/test42_6
> runnable/test42.d
> ../src/dmd -m64 -Irunnable -inline -release -gc -odgenerated/runnable
> -ofgenerated/runnable/test42_7 runnable/test42.d
> ../src/dmd -m64 -Irunnable -O -odgenerated/runnable -ofgenerated/runnable/test42_8
> runnable/test42.d
> ../src/dmd -m64 -Irunnable -inline -O -odgenerated/runnable -ofgenerated/runnable/test42_9
> runnable/test42.d
> ../src/dmd -m64 -Irunnable -release -O -odgenerated/runnable -ofgenerated/runnable/test42_10
> runnable/test42.d
> ../src/dmd -m64 -Irunnable -inline -release -O -odgenerated/runnable
> -ofgenerated/runnable/test42_11 runnable/test42.d
> ../src/dmd -m64 -Irunnable -gc -O -odgenerated/runnable -ofgenerated/runnable/test42_12
> runnable/test42.d
> ../src/dmd -m64 -Irunnable -inline -gc -O -odgenerated/runnable
> -ofgenerated/runnable/test42_13 runnable/test42.d
> ../src/dmd -m64 -Irunnable -release -gc -O -odgenerated/runnable
> -ofgenerated/runnable/test42_14 runnable/test42.d
> ../src/dmd -m64 -Irunnable -inline -release -gc -O -odgenerated/runnable
> -ofgenerated/runnable/test42_15 runnable/test42.d
> ../src/dmd -m64 -Irunnable -fPIC -odgenerated/runnable -ofgenerated/runnable/test42_16
> runnable/test42.d
> ../src/dmd -m64 -Irunnable -inline -fPIC -odgenerated/runnable -ofgenerated/runnable/test42_17
> runnable/test42.d
> ../src/dmd -m64 -Irunnable -release -fPIC -odgenerated/runnable
> -ofgenerated/runnable/test42_18 runnable/test42.d
> ../src/dmd -m64 -Irunnable -inline -release -fPIC -odgenerated/runnable
> -ofgenerated/runnable/test42_19 runnable/test42.d
> ../src/dmd -m64 -Irunnable -gc -fPIC -odgenerated/runnable -ofgenerated/runnable/test42_20
> runnable/test42.d
> ../src/dmd -m64 -Irunnable -inline -gc -fPIC -odgenerated/runnable
> -ofgenerated/runnable/test42_21 runnable/test42.d
> ../src/dmd -m64 -Irunnable -release -gc -fPIC -odgenerated/runnable
> -ofgenerated/runnable/test42_22 runnable/test42.d
> ../src/dmd -m64 -Irunnable -inline -release -gc -fPIC -odgenerated/runnable
> -ofgenerated/runnable/test42_23 runnable/test42.d
> ../src/dmd -m64 -Irunnable -O -fPIC -odgenerated/runnable -ofgenerated/runnable/test42_24
> runnable/test42.d
> success
> Not ported to x86-64 compatible varargs, yet.
> myInt int
> myBool bool
> i
> s
> C6test4211__T4T219TiZ1C
> C6test427test219FZv11__T4T219TiZ1C
> generated/runnable/test42_24
> core.exception.AssertError at test42(625): Assertion failure
> ----------------
> generated/runnable/test42_24(_d_assertm+0x26) [0x4ad8e2]
> generated/runnable/test42_24() [0x4aac23]
> generated/runnable/test42_24(void test42.test41()+0x41) [0x485b6d]
> generated/runnable/test42_24(_Dmain+0xc7) [0x48f0a3]
> generated/runnable/test42_24(extern (C) int rt.dmain2._d_run_main(int, char**, extern (C) int
> function(char[][])*).void runAll().void __lambda285()+0x18) [0x4b0520]
> generated/runnable/test42_24(extern (C) int rt.dmain2._d_run_main(int, char**, extern (C) int
> function(char[][])*).void tryExec(scope void delegate())+0x2a) [0x4afd42]
> generated/runnable/test42_24(extern (C) int rt.dmain2._d_run_main(int, char**, extern (C) int
> function(char[][])*).void runAll()+0x37) [0x4b04d7]
> generated/runnable/test42_24(extern (C) int rt.dmain2._d_run_main(int, char**, extern (C) int
> function(char[][])*).void tryExec(scope void delegate())+0x2a) [0x4afd42]
> generated/runnable/test42_24(_d_run_main+0x1a3) [0x4afcc3]
> generated/runnable/test42_24(main+0x14) [0x4917f8]
> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x2b84efe0e30d]
> ----------------
> one
> two
> 52
> 9223372036854775807L
> 18446744073709551615LU
> 3
> 0
> 1
> 2
> 3
> 4
> 5
> 6
> 7
> 8
> 9
> s = foo
> s = test42.S35
> s = test42.S35
> s = 4855B4
> &x = 0x7fef00
> &s = 0x7fef10
> ~one
> ~two
>
>
> ==============================
> Test failed: expected rc == 0, exited with rc == 1
>
> make[1]: *** [generated/runnable/test42.d.out] Error 1
> make[1]: *** Waiting for unfinished jobs....
> ... runnable/test8182.d (-inline -release -gc -O -fPIC)
> ... runnable/test7932.d (-inline -release -gc -O -fPIC)
> make: *** [start_runnable_tests] Error 2
>
>
>
> The earliest date of the occurrence is:
> http://d.puremagic.com/test-results/test_data.ghtml?projectid=1&runid=50328&logid=1
>
> Fetching updates to D-Programming-Language/dmd:
> Fetching origin
> From https://github.com/D-Programming-Language/dmd
> + 4cec471...2316b49 refs/pull/2502/head -> refs/pull/2502/head (forced update)
> + 3ef32f2...301d9e9 refs/pull/2502/merge -> refs/pull/2502/merge (forced update)
>
>
> Cloning source/D-Programming-Language/dmd.git into master-50328-Linux_32_64/dmd, branch master
> Cloning into /home/braddr/sandbox/d/d-tester/client/master-50328-Linux_32_64/dmd...
> done.
> Head commit:
> commit 66a38bb839f15d0744b603cc1484e223388644dd
> Merge: 2747184 9ddae72
> Author: Walter Bright <walter at walterbright.com <mailto:walter at walterbright.com>>
> Date: Wed Aug 28 00:28:43 2013 -0700
>
> Merge pull request #2500 from Ingrater/mslinker
> Fixed linker invocation when compiling dmd with visual studio
>
>
> Fetching updates to D-Programming-Language/druntime:
> Fetching origin
>
>
> Cloning source/D-Programming-Language/druntime.git into master-50328-Linux_32_64/druntime,
> branch master
> Cloning into /home/braddr/sandbox/d/d-tester/client/master-50328-Linux_32_64/druntime...
> done.
> Head commit:
> commit 7ad4524db2e83fc6dbca87fd82821c68a544b2d0
> Merge: 2c6c29b ae2c4df
> Author: Martin Nowak <code at dawg.eu <mailto:code at dawg.eu>>
> Date: Tue Aug 27 12:56:32 2013 -0700
>
> Merge pull request #586 from redstar/freebsd
> Add FreeBSD header sys/elf.h
>
>
> Fetching updates to D-Programming-Language/phobos:
> Fetching origin
> From https://github.com/D-Programming-Language/phobos
> + 25552a6...3ec7e02 refs/pull/1224/merge -> refs/pull/1224/merge (forced update)
> + 0e888d4...9ea5d97 refs/pull/1390/merge -> refs/pull/1390/merge (forced update)
>
>
> Cloning source/D-Programming-Language/phobos.git into master-50328-Linux_32_64/phobos, branch
> master
> Cloning into /home/braddr/sandbox/d/d-tester/client/master-50328-Linux_32_64/phobos...
> done.
> Head commit:
> commit 40c6760019d5fb8aee4c317f5d86881fdd2d6cd8
> Merge: ca9accd 52cadf9
> Author: David Nadlinger <code at klickverbot.at <mailto:code at klickverbot.at>>
> Date: Wed Aug 28 01:35:15 2013 -0700
>
> Merge pull request #1082 from monarchdodra/emplace
> Fix emplace
>
>
> Thanks.
>
> Kenji Hara.
>
>
> _______________________________________________
> dmd-internals mailing list
> dmd-internals at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-internals
>
More information about the dmd-internals
mailing list