RejectedSoftware Forums

Sign up

Pages: 1 2

Cannot compile template in release mode

This might be a vibe bug: http://forum.dlang.org/thread/bdubuzwynseedkadzfxk@forum.dlang.org

Re: Cannot compile template in release mode

Am 14.09.2013 16:47, schrieb simendsjo:

This might be a vibe bug: http://forum.dlang.org/thread/bdubuzwynseedkadzfxk@forum.dlang.org

DMD HEAD yields "Internal error: backend\symbol.c 1036" - pretty sure
it's a DMD bug. I'll see if there is a good workaround, though.

Re: Cannot compile template in release mode

On Sat, 14 Sep 2013 19:37:44 +0200, Sönke Ludwig wrote:

Am 14.09.2013 16:47, schrieb simendsjo:

This might be a vibe bug: http://forum.dlang.org/thread/bdubuzwynseedkadzfxk@forum.dlang.org

DMD HEAD yields "Internal error: backend\symbol.c 1036" - pretty sure
it's a DMD bug. I'll see if there is a good workaround, though.

Btw, I get the same error in linux

Re: Cannot compile template in release mode

Am 15.09.2013 11:37, schrieb simendsjo:

On Sat, 14 Sep 2013 19:37:44 +0200, Sönke Ludwig wrote:

Am 14.09.2013 16:47, schrieb simendsjo:

This might be a vibe bug: http://forum.dlang.org/thread/bdubuzwynseedkadzfxk@forum.dlang.org

DMD HEAD yields "Internal error: backend\symbol.c 1036" - pretty sure
it's a DMD bug. I'll see if there is a good workaround, though.

Btw, I get the same error in linux

I've committed a workaround now using formattedWrite instead of
sformat. My brief attempts to reproduce this in a minimal app have
failed so far, I'm gonna need Dustmite for that.

https://github.com/rejectedsoftware/vibe.d/commit/3b3956f6e14c81045cbe272192104036a1c437f1

Re: Cannot compile template in release mode

On Sun, 15 Sep 2013 15:10:21 +0200, Sönke Ludwig wrote:

Am 15.09.2013 11:37, schrieb simendsjo:

On Sat, 14 Sep 2013 19:37:44 +0200, Sönke Ludwig wrote:

Am 14.09.2013 16:47, schrieb simendsjo:

This might be a vibe bug: http://forum.dlang.org/thread/bdubuzwynseedkadzfxk@forum.dlang.org

DMD HEAD yields "Internal error: backend\symbol.c 1036" - pretty sure
it's a DMD bug. I'll see if there is a good workaround, though.

Btw, I get the same error in linux

I've committed a workaround now using formattedWrite instead of
sformat. My brief attempts to reproduce this in a minimal app have
failed so far, I'm gonna need Dustmite for that.

https://github.com/rejectedsoftware/vibe.d/commit/3b3956f6e14c81045cbe272192104036a1c437f1

The code compiles now, but the output is all blank. Not even an <html> tag.

Re: Cannot compile template in release mode

Am 15.09.2013 16:17, schrieb simendsjo:

On Sun, 15 Sep 2013 15:10:21 +0200, Sönke Ludwig wrote:

Am 15.09.2013 11:37, schrieb simendsjo:

On Sat, 14 Sep 2013 19:37:44 +0200, Sönke Ludwig wrote:

Am 14.09.2013 16:47, schrieb simendsjo:

This might be a vibe bug: http://forum.dlang.org/thread/bdubuzwynseedkadzfxk@forum.dlang.org

DMD HEAD yields "Internal error: backend\symbol.c 1036" - pretty sure
it's a DMD bug. I'll see if there is a good workaround, though.

Btw, I get the same error in linux

I've committed a workaround now using formattedWrite instead of
sformat. My brief attempts to reproduce this in a minimal app have
failed so far, I'm gonna need Dustmite for that.

https://github.com/rejectedsoftware/vibe.d/commit/3b3956f6e14c81045cbe272192104036a1c437f1

The code compiles now, but the output is all blank. Not even an <html> tag.

Doh! Fixed now, but I still need to investigate what exactly happened
there. The code should definitely have been right, too.

Re: Cannot compile template in release mode

On Sun, 15 Sep 2013 16:48:09 +0200, Sönke Ludwig wrote:

Am 15.09.2013 16:17, schrieb simendsjo:

On Sun, 15 Sep 2013 15:10:21 +0200, Sönke Ludwig wrote:

Am 15.09.2013 11:37, schrieb simendsjo:

On Sat, 14 Sep 2013 19:37:44 +0200, Sönke Ludwig wrote:

Am 14.09.2013 16:47, schrieb simendsjo:

This might be a vibe bug: http://forum.dlang.org/thread/bdubuzwynseedkadzfxk@forum.dlang.org

DMD HEAD yields "Internal error: backend\symbol.c 1036" - pretty sure
it's a DMD bug. I'll see if there is a good workaround, though.

Btw, I get the same error in linux

I've committed a workaround now using formattedWrite instead of
sformat. My brief attempts to reproduce this in a minimal app have
failed so far, I'm gonna need Dustmite for that.

https://github.com/rejectedsoftware/vibe.d/commit/3b3956f6e14c81045cbe272192104036a1c437f1

The code compiles now, but the output is all blank. Not even an <html> tag.

Doh! Fixed now, but I still need to investigate what exactly happened
there. The code should definitely have been right, too.

I haven't reported this as a bug anywhere. Only forum posts here and at dlang.

Re: Cannot compile template in release mode

This make recent vibe.d release technically unusable despite the effort :( (simple writeBody is enough to trigger it as far as I can see)

Re: Cannot compile template in release mode

On Wed, 18 Sep 2013 20:16:26 GMT, Dicebot wrote:

This make recent vibe.d release technically unusable despite the effort :( (simple writeBody is enough to trigger it as far as I can see)

Just in case, triggered assert is:

assert(s->Ssymnum == -1);

in

/****************************
 * Free up the symbol table, from symbols n1 through n2, not
 * including n2.
 */
 
 void freesymtab(symbol **stab,SYMIDX n1,SYMIDX n2)

I am trying to reduce a test case.

Re: Cannot compile template in release mode

Am 19.09.2013 01:05, schrieb Dicebot:

On Wed, 18 Sep 2013 20:16:26 GMT, Dicebot wrote:

This make recent vibe.d release technically unusable despite the effort :( (simple writeBody is enough to trigger it as far as I can see)

Just in case, triggered assert is:

assert(s->Ssymnum == -1);

in

/****************************
  * Free up the symbol table, from symbols n1 through n2, not
  * including n2.
  */

  void freesymtab(symbol **stab,SYMIDX n1,SYMIDX n2)

I am trying to reduce a test case.

Thanks a bunch for digging a bit deeper! To improve the immediate
situation, since master contains also some important fixes, I'll do a
small maintenance release shortly containing the formattedWrite
workaround.

Pages: 1 2