Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
August 06, 2012 [Issue 8514] New: dmd generate bug that segfault in very weird situation. | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=8514 Summary: dmd generate bug that segfault in very weird situation. Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: druntime AssignedTo: nobody@puremagic.com ReportedBy: deadalnix@gmail.com --- Comment #0 from deadalnix <deadalnix@gmail.com> 2012-08-06 13:40:13 PDT --- A sample code : module a.main; class A { A[] a; } class B { A foo(A a) { return a; } } import std.algorithm; import std.array; auto bar(A a) { auto b = new B; a.a.map!(s => b.foo(s)).array; } void main() { auto a1 = new A; auto a2 = new A; a1.a = [a2]; bar(a1); } module b.b; import std.string; Linking both is important, as well as importing std.string . The usage of map require the delegate to be templated one. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 26, 2012 [Issue 8514] dmd generate bug that segfault in very weird situation. | ||||
---|---|---|---|---|
| ||||
Posted in reply to deadalnix | http://d.puremagic.com/issues/show_bug.cgi?id=8514 --- Comment #1 from Maxim Fomin <maxim@maxim-fomin.ru> 2012-10-26 11:45:18 PDT --- *** Issue 8506 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 26, 2012 [Issue 8514] dmd generate bug that segfault in very weird situation. | ||||
---|---|---|---|---|
| ||||
Posted in reply to deadalnix | http://d.puremagic.com/issues/show_bug.cgi?id=8514 Maxim Fomin <maxim@maxim-fomin.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maxim@maxim-fomin.ru --- Comment #2 from Maxim Fomin <maxim@maxim-fomin.ru> 2012-10-26 11:46:52 PDT --- Seems to be the same as 8854 and 8832. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 26, 2012 [Issue 8514] dmd generate bug that segfault in very weird situation. | ||||
---|---|---|---|---|
| ||||
Posted in reply to deadalnix | http://d.puremagic.com/issues/show_bug.cgi?id=8514 Brad Roberts <braddr@puremagic.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |braddr@puremagic.com --- Comment #3 from Brad Roberts <braddr@puremagic.com> 2012-10-26 12:39:47 PDT --- Would someone care to throw this at dustmite to reduce it? A smaller test case will be required for the test suite and would help make it easier to debug. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 26, 2012 [Issue 8514] dmd generate bug that segfault in very weird situation. | ||||
---|---|---|---|---|
| ||||
Posted in reply to deadalnix | http://d.puremagic.com/issues/show_bug.cgi?id=8514 --- Comment #4 from Maxim Fomin <maxim@maxim-fomin.ru> 2012-10-26 13:46:25 PDT --- (In reply to comment #3) > Would someone care to throw this at dustmite to reduce it? A smaller test case will be required for the test suite and would help make it easier to debug. Filed new 8899 because the topic is large and summarizes information from other issues. Hope it helps. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 27, 2012 [Issue 8514] dmd generate bug that segfault in very weird situation. | ||||
---|---|---|---|---|
| ||||
Posted in reply to deadalnix | http://d.puremagic.com/issues/show_bug.cgi?id=8514 --- Comment #5 from deadalnix <deadalnix@gmail.com> 2012-10-27 15:55:29 PDT --- (In reply to comment #3) > Would someone care to throw this at dustmite to reduce it? A smaller test case will be required for the test suite and would help make it easier to debug. It is dustmited already. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
December 27, 2012 [Issue 8514] dmd generate bug that segfault in very weird situation. | ||||
---|---|---|---|---|
| ||||
Posted in reply to deadalnix | http://d.puremagic.com/issues/show_bug.cgi?id=8514 Maxim Fomin <maxim@maxim-fomin.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #6 from Maxim Fomin <maxim@maxim-fomin.ru> 2012-12-27 07:55:21 PST --- Fixed in issue 8774 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation