[Issue 7978] UTF exception (memory corruption?) using std.range.chain (behavior changes with -g)

2013-03-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7978


Andrej Mitrovic  changed:

   What|Removed |Added

 CC||andrej.mitrov...@gmail.com
 Resolution|FIXED   |WORKSFORME


--- Comment #7 from Andrej Mitrovic  2013-03-06 
09:16:55 PST ---
Fixed but no associated pull -> worksforme.

Don't blame the messenger, that's how Walter wants it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7978] UTF exception (memory corruption?) using std.range.chain (behavior changes with -g)

2013-03-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7978


Brad Anderson  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED


--- Comment #6 from Brad Anderson  2013-03-06 09:14:43 PST ---
This is fixed in 2.062 (tested on Windows and Linux).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7978] UTF exception (memory corruption?) using std.range.chain (behavior changes with -g)

2012-12-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7978



--- Comment #5 from Brad Anderson  2012-12-28 13:58:24 PST ---
(In reply to comment #4)
> Tested with 2.060 on DPaste:
> 
>  32 bits 64 bits.
> DMD  PASS(1) FAIL
> GDC  FAILPASS(2)
> LDC  FAILFAIL
> 
> (1) output: ["a", "b", "0", "1", "2"]
> (2) output: ["a", "b", "\x01\x000", "\x01\x001", "\x01\x002"])
> 
> http://dpaste.dzfl.pl/fork/2cd77316

I'd just like to add that the PASS cases are still incorrect (obviously since
the output differs). They do build though which is what someone reading this
should take "PASS" to mean. I just tried with DMD git (2.061 alpha-ish at the
moment) and it throws this error message now:

Error: function std.range.chain!(string[],MapResult!(__lambda2,
Result)).chain.Result.save cannot get frame pointer to gen

So at least the compiler seems to be somewhat aware of a frame pointer problem
now although it should be able to accept it by creating a closure for this bug
to be fixed.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7978] UTF exception (memory corruption?) using std.range.chain (behavior changes with -g)

2012-12-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7978


SomeDude  changed:

   What|Removed |Added

 CC||lovelyd...@mailmetrash.com
   Platform|All |x86_64


--- Comment #4 from SomeDude  2012-12-28 04:47:58 
PST ---
Tested with 2.060 on DPaste:

 32 bits 64 bits.
DMD  PASS(1) FAIL
GDC  FAILPASS(2)
LDC  FAILFAIL

(1) output: ["a", "b", "0", "1", "2"]
(2) output: ["a", "b", "\x01\x000", "\x01\x001", "\x01\x002"])

http://dpaste.dzfl.pl/fork/2cd77316

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7978] UTF exception (memory corruption?) using std.range.chain (behavior changes with -g)

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7978



--- Comment #3 from Brad Anderson  2012-10-16 22:20:24 PDT ---
I've reopened so I'm reminded to check on this if issue 8832 gets fixed.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7978] UTF exception (memory corruption?) using std.range.chain (behavior changes with -g)

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7978


Brad Anderson  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
   See Also||http://d.puremagic.com/issu
   ||es/show_bug.cgi?id=8832
 Resolution|INVALID |


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7978] UTF exception (memory corruption?) using std.range.chain (behavior changes with -g)

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7978



--- Comment #2 from hst...@quickfur.ath.cx 2012-10-16 22:13:37 PDT ---
According to TDPL (section 5.8.1) it should be valid to reference local
variables from a closure. So this is a valid bug. I'll let you decide whether
to reopen it; I already opened issue 8832 for probably the same bug. (Looks
like in both cases it's the map delegate that's causing trouble.)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7978] UTF exception (memory corruption?) using std.range.chain (behavior changes with -g)

2012-07-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7978


Brad Anderson  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID


--- Comment #1 from Brad Anderson  2012-07-27 00:58:21 PDT ---
I see my error.  Prefix is local so can't be captured in the closure.  Passing
lst by ref and making it not an rvalue resolves this.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---