www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 4797] New: onOutOfMemoryError in dmd unit test causes segv

reply d-bugmail puremagic.com writes:
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 invisibleduck.org
        ReportedBy: braddr puremagic.com


--- Comment #0 from Brad Roberts <braddr 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: -------
Sep 03 2010
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4797


Brad Roberts <braddr puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #1 from Brad Roberts <braddr puremagic.com> 2010-09-05 19:17:56 PDT
---
Fixed by Sean in druntime commits r384 and r385

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