[Issue 4797] New: onOutOfMemoryError in dmd unit test causes segv

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Sep 3 03:09:27 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4797

           Summary: onOutOfMemoryError in dmd unit test causes segv
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: sean at invisibleduck.org
        ReportedBy: braddr at puremagic.com


--- Comment #0 from Brad Roberts <braddr at puremagic.com> 2010-09-03 03:09:09 PDT ---
to reproduce, from the dmd test directory:

make test_results/runnable/testdstress.d.out

gdb stacktrace:
(gdb) bt
#0  rt.dmain2._d_setunhandled (o=0x80a3aec) at src/rt/arrayshort.d:64
#1  0x080878cb in rt.deh2._d_throw (h=0x80a3aec) at src/rt/deh2.d:103
#2  0x0808702e in core.exception.onOutOfMemoryError () at
src/core/demangle.d:57
#3  0x08081baa in dstress.run.module_01.test35 () at runnable/testdstress.d:710
#4  0x08081fa6 in D main () at runnable/testdstress.d:903
#5  0x08087d56 in rt.dmain2.main.runMain (this=0xbffff248) at
src/rt/arrayint.d:198
#6  0x08087cb0 in rt.dmain2.main.tryExec (this=0xbffff248,
dg=578850251989840456) at src/rt/arrayfloat.d:240
#7  0x08087d9a in rt.dmain2.main.runAll (this=0x80bc390) at
src/core/thread.d:411
#8  0x08087cb0 in rt.dmain2.main.tryExec (this=0xbffff248,
dg=578850440968401480) at src/rt/arrayfloat.d:240
#9  0x08087c56 in rt.dmain2.main (argc=1, argv=0x1f6770) at
src/rt/arrayint.d:111

The file/lineno look rather suspect, but the function names look fairly sane.

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


More information about the Digitalmars-d-bugs mailing list