www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14776] New: shared library test - loadDR - segfaults on

https://issues.dlang.org/show_bug.cgi?id=14776

          Issue ID: 14776
           Summary: shared library test - loadDR - segfaults on FreeBSD 10
                    when not building with -release
           Product: D
           Version: D2
          Hardware: x86_64
                OS: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: issues.dlang jmdavisProg.com


built and run with -release. However, if you build them without -release and
run them on FreeBSD 10, then you get this failure:

Testing link
Testing load
Testing linkD
Testing linkDR
Testing loadDR
Makefile:28: recipe for target 'obj/freebsd/64/loadDR.done' failed
gmake[1]: *** [obj/freebsd/64/loadDR.done] Segmentation fault
gmake[1]: Leaving directory
'/usr/home/jmdavis/Programming/github/druntime/test/shared'
posix.mak:206: recipe for target 'test/shared/.run' failed
gmake: *** [test/shared/.run] Error 2

I don't know for sure that this is FreeBSD-10 specific, since I haven't run the
druntime unit tests without -release on anything else, but I expect that it's

FreeBSD, which is why I'm marking this as FreeBSD-only. I suppose that I could

they're the same bug, so I figured that I'd list this one separately just in
case.

--
Jul 06 2015