[Issue 9506] When using alias this, writeln modifies its argument

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=9506 --- Comment #10 from Andrej Mitrovic andrej.mitrov...@gmail.com 2014-02-08 00:14:07 PST --- (In reply to comment #9) (In reply to comment #8) Eh, shouldn't it just call t.toString() without even needing to look at alias this? I'm

[Issue 9506] When using alias this, writeln modifies its argument

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=9506 --- Comment #11 from Peter Alexander peter.alexander...@gmail.com 2014-02-08 00:28:05 PST --- (In reply to comment #10) (In reply to comment #9) (In reply to comment #8) Eh, shouldn't it just call t.toString() without even needing to

[Issue 9506] When using alias this, writeln modifies its argument

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=9506 --- Comment #12 from Andrej Mitrovic andrej.mitrov...@gmail.com 2014-02-08 00:32:58 PST --- (In reply to comment #11) writeln *must* have side-effects to work with input ranges. How do you consume a one-pass input without modifying it?

[Issue 12105] ctRegex errors

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12105 Dmitry Olshansky dmitry.o...@gmail.com changed: What|Removed |Added CC|

[Issue 12106] New: Formatting syntax for a range of typecons tuples

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12106 Summary: Formatting syntax for a range of typecons tuples Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2

[Issue 12107] New: Add ability to use dynamic array for `std.stdio.File.byChunk` as return type for chunk

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12107 Summary: Add ability to use dynamic array for `std.stdio.File.byChunk` as return type for chunk Product: D Version: unspecified Platform: All OS/Version: All

[Issue 12108] New: Array comparison throws 'TypeInfo.equals is not implemented'

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12108 Summary: Array comparison throws 'TypeInfo.equals is not implemented' Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal

[Issue 10221] foreach(char c; 0..256) doesn't work even though the upper bound is 255

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=10221 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 10221] foreach(char c; 0..256) doesn't work even though the upper bound is 255

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=10221 --- Comment #3 from github-bugzi...@puremagic.com 2014-02-08 08:31:18 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 10221] foreach(char c; 0..256) doesn't work even though the upper bound is 255

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=10221 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc ---

[Issue 12109] New: foreach with class alias this range iteration inconsistency

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12109 Summary: foreach with class alias this range iteration inconsistency Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal

[Issue 12109] foreach with class alias this range iteration inconsistency

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12109 Jakob Ovrum jakobov...@gmail.com changed: What|Removed |Added CC|

[Issue 8488] dmd does not support named HTML entities that contain multiple code points

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8488 --- Comment #1 from github-bugzi...@puremagic.com 2014-02-08 10:48:22 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 8848] Array literals and AA literals are rejected as template value parameters

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8848 --- Comment #5 from github-bugzi...@puremagic.com 2014-02-08 10:48:06 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 12109] foreach with class alias this range iteration inconsistency

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12109 Peter Alexander peter.alexander...@gmail.com changed: What|Removed |Added Status|NEW

[Issue 9506] When using alias this, writeln modifies its argument

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=9506 --- Comment #13 from Peter Alexander peter.alexander...@gmail.com 2014-02-08 11:03:12 PST --- Hmm, I've been looking into this more, and it appears the behaviour may never be stable across releases. Consider this: class A { int[] a =

[Issue 8338] Unqual doesn't work properly on arrays

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8338 Peter Alexander peter.alexander...@gmail.com changed: What|Removed |Added CC|

[Issue 12110] New: [CTFE] Error: CTFE internal error: Dotvar assignment

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12110 Summary: [CTFE] Error: CTFE internal error: Dotvar assignment Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 11779] pointer to slice is not an input range

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11779 Peter Alexander peter.alexander...@gmail.com changed: What|Removed |Added CC|

[Issue 12111] New: Cannot pull a function template into an overload set

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12111 Summary: Cannot pull a function template into an overload set Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: major Priority:

[Issue 4890] GC.collect() deadlocks multithreaded program.

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=4890 Stanislav Blinov stanislav.bli...@gmail.com changed: What|Removed |Added CC|

[Issue 12112] New: buildNormalizedPath compile error for wstring and dstring

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12112 Summary: buildNormalizedPath compile error for wstring and dstring Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity:

[Issue 12113] New: A nothrow std.utf.decode with substitution on bad encoding

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12113 Summary: A nothrow std.utf.decode with substitution on bad encoding Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity:

[Issue 12113] A nothrow std.utf.decode with substitution on bad encoding

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12113 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc ---

[Issue 11947] std.typecons.Proxy incorrectly handles variadic member templates

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11947 Stanislav Blinov stanislav.bli...@gmail.com changed: What|Removed |Added Keywords||pull

[Issue 9584] Exceptions in D are ludicrously slow (far worse than Java)

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=9584 --- Comment #21 from bearophile_h...@eml.cc 2014-02-08 14:56:55 PST --- (In reply to comment #19) I did the change in a pr for easier testing: https://github.com/D-Programming-Language/druntime/pull/717 Have you tried to run the DJava

[Issue 9584] Exceptions in D are ludicrously slow (far worse than Java)

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=9584 --- Comment #22 from bearophile_h...@eml.cc 2014-02-08 15:00:14 PST --- (In reply to comment #21) Have you tried to run the DJava benchmark attached to this Issue 9584 ? Sorry, please ignore this question. I have just read pull 717 and I've

[Issue 4890] GC.collect() deadlocks multithreaded program.

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=4890 safety0ff.bugz safety0ff.b...@gmail.com changed: What|Removed |Added CC|

[Issue 4890] GC.collect() deadlocks multithreaded program.

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=4890 --- Comment #9 from Stanislav Blinov stanislav.bli...@gmail.com 2014-02-08 15:09:32 PST --- (In reply to comment #8) Does the code in the first post deadlock for you? No it doesn't. If not then issues #11981 / #10351 also look relevant.

[Issue 9584] Exceptions in D are ludicrously slow (far worse than Java)

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=9584 --- Comment #23 from Adam D. Ruppe destructiona...@gmail.com 2014-02-08 15:23:19 PST --- (In reply to comment #21) Have you tried to run the DJava benchmark attached to this Issue 9584 ? I didn't run these specifically, I just did the

[Issue 12114] New: buildNormalizedPath shouldn't normalize current path to empty string

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12114 Summary: buildNormalizedPath shouldn't normalize current path to empty string Product: D Version: unspecified Platform: All OS/Version: All Status: NEW

[Issue 12095] Wrong code with -O -inline

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12095 --- Comment #7 from Walter Bright bugzi...@digitalmars.com 2014-02-08 15:49:25 PST --- Nice work tracking it down! -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because:

[Issue 7521] Add const inference for templated method and delegate parameters

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=7521 Jonathan M Davis jmdavisp...@gmx.com changed: What|Removed |Added CC|

[Issue 12113] A nothrow std.utf.decode with substitution on bad encoding

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12113 Jonathan M Davis jmdavisp...@gmx.com changed: What|Removed |Added CC|

[Issue 11981] unittest 'host' deadlock

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11981 Stanislav Blinov stanislav.bli...@gmail.com changed: What|Removed |Added CC|

[Issue 12115] New: Segfault in FormatSpec.fillUp

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12115 Summary: Segfault in FormatSpec.fillUp Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: major Priority: P2 Component: DMD

[Issue 11981] unittest 'host' deadlock

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11981 --- Comment #3 from safety0ff.bugz safety0ff.b...@gmail.com 2014-02-08 17:07:19 PST --- That program deadlocks due to the writeln between thread_suspendAll and thread_resumeAll (removing it removes the deadlock.) A notable characteristic

[Issue 11981] unittest 'host' deadlock

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11981 --- Comment #4 from Stanislav Blinov stanislav.bli...@gmail.com 2014-02-08 17:16:28 PST --- (In reply to comment #3) That program deadlocks due to the writeln between thread_suspendAll and thread_resumeAll (removing it removes the

[Issue 10863] [Win] executeShell() fails with spaces in cmd paths, unlike old shell()

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=10863 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added Keywords||pull

[Issue 11981] unittest 'host' deadlock

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11981 --- Comment #5 from Stanislav Blinov stanislav.bli...@gmail.com 2014-02-08 18:07:14 PST --- Ok, I've built druntime with -g -debug and built a modified host.c that runs infinitely to eventually hit that deadlock: --- host.c 2014-02-09

[Issue 12114] buildNormalizedPath shouldn't normalize current path to empty string

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12114 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added CC|

[Issue 11981] unittest 'host' deadlock

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11981 --- Comment #6 from Stanislav Blinov stanislav.bli...@gmail.com 2014-02-08 18:15:46 PST --- Another run, this time replaced GC.collect() with thread_suspendAll()/thread_resumeAll() in plugin.d: --- plugin.d2014-02-09 01:52:48.944214965

[Issue 11981] unittest 'host' deadlock

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11981 --- Comment #7 from safety0ff.bugz safety0ff.b...@gmail.com 2014-02-08 18:24:18 PST --- Here's the sequence of events I suspect causes this: 3 Threads: Thread 2 acquires malloc internal lock Thread 1 causes a GC collection and therefore

[Issue 11981] unittest 'host' deadlock

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11981 --- Comment #8 from Stanislav Blinov stanislav.bli...@gmail.com 2014-02-08 18:30:16 PST --- (In reply to comment #7) Here's the sequence of events I suspect causes this: 3 Threads: But there are only 2, unless I am mistaken? --

[Issue 11981] unittest 'host' deadlock

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11981 --- Comment #9 from safety0ff.bugz safety0ff.b...@gmail.com 2014-02-08 18:35:18 PST --- (In reply to comment #8) (In reply to comment #7) Here's the sequence of events I suspect causes this: 3 Threads: But there are only 2, unless I

[Issue 11981] unittest 'host' deadlock

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11981 --- Comment #10 from Stanislav Blinov stanislav.bli...@gmail.com 2014-02-08 18:40:06 PST --- (In reply to comment #9) I assumed there were other threads because the stacktraces were for Threads 1, 4 and 19. There are only 2: main and one

[Issue 12098] libcurl bad argument on handle null

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12098 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added CC|

[Issue 11981] unittest 'host' deadlock

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11981 --- Comment #11 from Stanislav Blinov stanislav.bli...@gmail.com 2014-02-08 19:09:56 PST --- Oh, I see. SIGUSR1 is being sent to a thread while it's being constructed. Either getStackBottom() or rt.tlsgc.init() call malloc(). When SIGUSR1

[Issue 11981] unittest 'host' deadlock

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11981 --- Comment #12 from Stanislav Blinov stanislav.bli...@gmail.com 2014-02-08 20:23:11 PST --- So the failing sequence boils down to this: Main: | t: | // t.start(): |

[Issue 11981] unittest 'host' deadlock

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11981 Stanislav Blinov stanislav.bli...@gmail.com changed: What|Removed |Added OS/Version|All |Linux

[Issue 11981] unittest 'host' deadlock

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11981 Stanislav Blinov stanislav.bli...@gmail.com changed: What|Removed |Added Keywords||pull

[Issue 11981] unittest 'host' deadlock

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11981 --- Comment #14 from safety0ff.bugz safety0ff.b...@gmail.com 2014-02-08 23:25:08 PST --- (In reply to comment #13) Not pretty, but possible solution: The thread start up code looks very race-prone, I hadn't looked at it before. --

[Issue 11454] Race in core.thread unit test causing transient unit test failures

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11454 safety0ff.bugz safety0ff.b...@gmail.com changed: What|Removed |Added Priority|P2 |P4

[Issue 11519] fix timing issue in core.thread unittest

2014-02-08 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11519 safety0ff.bugz safety0ff.b...@gmail.com changed: What|Removed |Added CC|