http://d.puremagic.com/issues/show_bug.cgi?id=7986
Summary: segfault in rt.lifetime.__doPostblit on array of
struct
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: regression
Priority: P2
Component: druntime
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Matt Peterson <[email protected]> 2012-04-25 21:58:56
PDT ---
Using DMD v2.060 git 900c537038932435eaebdf7c0f80926e0bd8f2f5
postblitbug.d
----
struct X {}
void main() {
X[] xs;
xs ~= [X()];
}
----
gdb backtrace:
#0 0x0000000000000001 in ?? ()
#1 0x000000000041ef10 in rt.lifetime.__doPostblit() (ti=0x630550, len=1,
ptr=0x7ffff7ec5fe0) at src/rt/lifetime.d:589
#2 0x00000000004162dc in _d_arrayappendT (ti=0x7ffff7ec5fe0, x=0x429620,
y=...)
at src/rt/lifetime.d:1611
#3 0x00000000004149fa in D main ()
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------