digitalmars.D.bugs - [Issue 6687] New: [64bit] error in GC on FreeBSD (amd64), so any program does not work
- d-bugmail puremagic.com (66/66) Sep 17 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6687
- d-bugmail puremagic.com (13/13) Apr 28 2012 http://d.puremagic.com/issues/show_bug.cgi?id=6687
http://d.puremagic.com/issues/show_bug.cgi?id=6687 Summary: [64bit] error in GC on FreeBSD (amd64), so any program does not work Product: D Version: D1 Platform: x86_64 OS/Version: FreeBSD Status: NEW Severity: critical Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: sohgo sohgo.dyndns.org JST --- I wrote a "hello world" program, and compiled it using DMD1 on FreeBSD(amd64) 8.2R. When I run it, the program exits with segmentation fault. % ./hello [5] 195 segmentation fault ./hello Sep 18 13:02:56 maroon kernel: pid 195 (hello), uid 10103: exited on signal 11 I run the program with gdb. % gdb ./hello GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... (gdb) r Starting program: /home/sohgo/work/d/d-freebsd-amd64-current/phobos1/hello [New LWP 100186] [New Thread 800c041c0 (LWP 100186)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 800c041c0 (LWP 100186)] 0x000000000041c427 in _D3gcx3Gcx4markMFPvPvZv (this=0x800c0e100, ptop=0x533c48, pbot=0x422c42) at gcx.d:1781 1781 byte *p = cast(byte *)(*p1); (gdb) bt ptop=0x533c48, pbot=0x422c42) at gcx.d:1781 stackTop=0x0) at gcx.d:2050 at gcx.d:1885 size=112) at gcx.d:374 at gcx.d:318 std/thread.d:1094 at internal/dmain2.d:109 internal/dmain2.d:59 (gdb) p p1 $1 = (void **) 0x428ffa (gdb) p *p1 Error accessing memory address 0x428ffa: Bad address. (gdb) Therefore, unittest for phobos1 exit with segmentation fault too. Any unittest does not pass. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 17 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6687 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |WORKSFORME 01:52:31 PDT --- D1 does not support 64 bit programs on FreeBSD. It does support 32 bit programs, and hello world does work on it. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 28 2012