[Issue 6376] Throwing exception or assertion failure causes segfault or memory error due to ASLR on Mac OS X 10.7

2011-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6376 --- Comment #4 from kenn...@gmail.com 2011-07-25 03:45:24 PDT --- The segfault for case 2 happens in _d_throwc: // this is a catch handler (no finally) auto pci = cast(DCatchInfo *)(cast(char *)handler_table + phi.cioffset); auto

[Issue 4591] Concat of std.typecons.Tuples

2011-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4591 --- Comment #1 from bearophile_h...@eml.cc 2011-07-25 05:30:07 PDT --- Slicing too is sometimes useful: import std.typecons; void main() { auto t1 = tuple(10, 20, 30, 40, 50); auto t2 = tuple(100, 200, 300); auto t3 = t1[0 .. 2];

[Issue 6377] std.conv.to should check range when changing signedness

2011-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6377 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc ---

[Issue 6376] Throwing exception or assertion failure causes segfault or memory error due to ASLR on Mac OS X 10.7

2011-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6376 --- Comment #5 from kenn...@gmail.com 2011-07-25 06:05:42 PDT --- (In reply to comment #4) The segfault for case 2 happens in _d_throwc: // this is a catch handler (no finally) auto pci = cast(DCatchInfo *)(cast(char

[Issue 6378] New: Overriding opAssign disables ability to null a reference

2011-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6378 Summary: Overriding opAssign disables ability to null a reference Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal

[Issue 6379] New: std.container.SList fails to compile

2011-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6379 Summary: std.container.SList fails to compile Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component:

[Issue 3952] pragma(msg,...) has bugs + alternative idea

2011-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3952 --- Comment #5 from bearophile_h...@eml.cc 2011-07-25 08:35:25 PDT --- See also the discussion here: https://github.com/D-Programming-Language/dmd/pull/237 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ---

Expose the CTFE interpter in Phobos?

2011-07-25 Thread bearophile
(This post is related to something I have suggested time ago, to offer some parts of the D compiler through the D standard library itself (to use the compiler at run-time for some purposes), as recent versions of C#-dotnet too do.) There is a part of the D compiler that to me seems more useful

Re: Expose the CTFE interpter in Phobos?

2011-07-25 Thread bearophile
Please ignore this post, the web interface is now more buggy than it used to be. Sorry, bearophile

[Issue 6377] std.conv.to should check range when changing signedness

2011-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6377 --- Comment #6 from Jonathan M Davis jmdavisp...@gmx.com 2011-07-25 09:07:54 PDT --- When talking about safe in D, it means memory safe. That's what @safe is for. As such, if you mean something _other_ than memory safe, you need to be more

[Issue 3952] pragma(msg,...) has bugs + alternative idea

2011-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3952 --- Comment #6 from BCS shro8...@vandals.uidaho.edu 2011-07-25 10:13:37 PDT --- I don't have a github account so I'll comment here: There is use for ways to create output at runtime, CTFE time and static expansion time. For instance this

[Issue 3952] pragma(msg,...) has bugs + alternative idea

2011-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3952 --- Comment #7 from bearophile_h...@eml.cc 2011-07-25 10:47:25 PDT --- (In reply to comment #6) OTOH, having both would be really nice. There are no plans to remove pragma(msg) :-) -- Configure issuemail:

[Issue 6376] Throwing exception or assertion failure causes segfault or memory error due to ASLR on Mac OS X 10.7

2011-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6376 --- Comment #6 from kenn...@gmail.com 2011-07-25 10:52:50 PDT --- Actually my initial guess is right. The bug is due to corruption of the Throwable object -- in particular its classinfo -- from the defaultTraceHandler. Using this: extern

[Issue 6377] std.conv.to should check range when changing signedness

2011-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6377 Andrei Alexandrescu and...@metalanguage.com changed: What|Removed |Added CC|

[Issue 6376] Throwing exception or assertion failure causes segfault or memory error due to ASLR on Mac OS X 10.7

2011-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6376 kenn...@gmail.com changed: What|Removed |Added Keywords||patch --- Comment #7 from

[Issue 6380] New: Proposal to make 'shared usable

2011-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6380 Summary: Proposal to make 'shared usable Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component:

[Issue 5161] Selective import results in conflicting definition.

2011-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5161 Piotr Szturmaj psztur...@tlen.pl changed: What|Removed |Added CC||psztur...@tlen.pl

[Issue 5161] Selective import results in conflicting definition.

2011-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5161 Christian Kamm kamm-removet...@incasoftware.de changed: What|Removed |Added CC|

[Issue 6365] AutoTupleDeclaration

2011-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6365 --- Comment #22 from bearophile_h...@eml.cc 2011-07-25 19:56:30 PDT --- Two quite useful use cases: A) int[] array = [1, 2]; // dynamic array auto (x, y) = array; // raises a run-time exception if array.length != 2 B) auto (x, y, z) =

[Issue 6365] AutoTupleDeclaration

2011-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6365 --- Comment #23 from Andrei Alexandrescu and...@metalanguage.com 2011-07-25 21:03:44 PDT --- (In reply to comment #22) Two quite useful use cases: A) int[] array = [1, 2]; // dynamic array auto (x, y) = array; // raises a run-time

[Issue 5533] DMD segv: -gc, associative arrays, const pointers to self

2011-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5533 --- Comment #2 from Russ Lewis webmas...@villagersonline.com 2011-07-25 21:45:17 PDT --- I tested this on 2.054 (Linux: Fedora 14 x86 32-bit), and the problem still exists. -- Configure issuemail: