November 13, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8596



--- Comment #19 from Walter Bright <bugzilla@digitalmars.com> 2012-11-13 13:32:12 PST ---
Ok, the next step is to compile your app without -g. The reason is because hash tables are used in the dwarf debug generation, and I want to see if that one is the problem or other uses.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 14, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8596



--- Comment #20 from deadalnix <deadalnix@gmail.com> 2012-11-14 04:40:08 PST ---
(In reply to comment #19)
> Ok, the next step is to compile your app without -g. The reason is because hash tables are used in the dwarf debug generation, and I want to see if that one is the problem or other uses.

Tested with flags : -m64 -w -debug -unittest (removing the -gc flag I usually
use).

I « successfully » triggered the error as well.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 15, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8596



--- Comment #21 from Walter Bright <bugzilla@digitalmars.com> 2012-11-14 16:59:25 PST ---
I've tried various schemes to induce it to fail, and done a code review. I can't find anything wrong. I need a test case.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 26, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8596



--- Comment #22 from deadalnix <deadalnix@gmail.com> 2012-11-25 21:56:49 PST ---
(In reply to comment #21)
> I've tried various schemes to induce it to fail, and done a code review. I can't find anything wrong. I need a test case.

Sorry for being unavailable the past few days, I was moving from France to USA.

I can trigger the error on a regular basis with the following codebase :

git clone git://github.com/deadalnix/SDC.git
cd SDC
git checkout aa_assert
make

the program is made to be compiled on linux. My computer is a dual core athlon with 4Gb of RAM.

I can't come up with a simple test case that trigger the error, because it seems that size matter here.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 10, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8596



--- Comment #23 from Walter Bright <bugzilla@digitalmars.com> 2012-12-10 04:58:03 PST ---
When I try your instructions, I get:


make
~/cbx/mars/dmd -ofbin/sdc src/sdc/*.d src/sdc/ast/*.d src/sdc/pass/*.d
src/d/ast/*.d src/d/backend/*.d src/d/parser/*.d src/d/pass/*.d src/util/*.d
src/etc/linux/*.d import/llvm/c/target.d -m64 -w -debug -gc -unittest -Iimport
-L-L`llvm-config-3.1 --libdir` `llvm-config-3.1 --libs | sed 's/-l/-L-l/g'`
-L-lstdc++ -L-ldl -L-lffi
/bin/sh: llvm-config-3.1: not found
/bin/sh: llvm-config-3.1: not found
src/sdc/compilererror.d(188): Warning: statement is not reachable
dmd: func.c:1200: virtual void FuncDeclaration::semantic3(Scope*): Assertion
`type == f' failed.
Aborted
make: *** [bin/sdc] Error 134


which is not the error you reported.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 02, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=8596


Rene Zwanenburg <renezwanenburg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |renezwanenburg@gmail.com


--- Comment #24 from Rene Zwanenburg <renezwanenburg@gmail.com> 2013-04-01 18:25:08 PDT ---
Running into this issue since today. I'm developing on a 64 bit windows machine targeting 32 bit, production machine is running 64 bit debian. Using DMD 2.062 on both boxes.

The bug pops up at the strangest moments. I can confirm it's indeterministic, but so far the production box never failed to build. That said, I don't build very often on production, esp. if the build failed on the dev box ;). For the sake of completeness I've just tried compiling a version of the project on the production box which almost always fails on the dev box. So far it keeps succeeding.

On the windows box I recently flipped the LARGE_ADDRESS_AWARE bit on dmd.exe to work around issue 6498, perhaps this has something to do with it?

As an indication of project size, the project is medium sized: vibe.d + 1937 lines, but it's very CTFE heavy: we're using vibe.d's diet template parser to generate 21 rather large web pages. Compilation requires a little over two GB of memory.

Is there any additional info I can provide?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 02, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=8596


Maxim Fomin <maxim@maxim-fomin.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maxim@maxim-fomin.ru


--- Comment #25 from Maxim Fomin <maxim@maxim-fomin.ru> 2013-04-02 07:13:47 PDT ---
I think somebody should provide a (snapshot of) project to compile to investigate the problem, deadalnix's link is outdated and guessing based on valgrind output is not a very good idea.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 02, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=8596



--- Comment #26 from Rene Zwanenburg <renezwanenburg@gmail.com> 2013-04-02 07:24:10 PDT ---
Yeah I was afraid of that :)

I'd have to take it up with the PHB's, not sure what the answer will be. TBH I doubt I can make the code public. Not that there's anything of value in it, but you know how it is...

I'll report back when I've got an answer.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
1 2 3
Next ›   Last »