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

           Summary: new demangler + dmd test suite --> a problem
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: s...@invisibleduck.org
        ReportedBy: bra...@puremagic.com


--- Comment #0 from Brad Roberts <bra...@puremagic.com> 2010-09-03 02:54:09 PDT 
---
One of the tests in the dmd test suite is having an issue with the new demangle
code in druntime.  To reproduce, from the dmd test directory:

make test_results/runnable/eh.d.out

The stack trace via gdb:
#0  rt.dmain2._d_setunhandled (o=0x806b898) at src/rt/arrayshort.d:64
#1  0x0805d14b in rt.deh2._d_throw (h=0x806b898) at src/rt/deh2.d:103
#2  0x0806611e in core.demangle.demangle.error (msg=578358990409302030) at
src/core/cpuid.d:569
#3  0x08068c01 in core.demangle.demangle.parseSymbolName (this=0xbffff038) at
src/core/demangle.d:1188
#4  0x08068c3e in core.demangle.demangle.parseQualifiedName (this=0x806311a) at
src/core/demangle.d:1208
#5  0x0806600b in core.demangle.demangle (dst=0, buf=578671844417077272) at
src/core/demangle.d:1226
#6  0x080638a5 in core.runtime.defaultTraceHandler.DefaultTraceInfo.opApply
(this=0x2e0fc0, dg=578088651209044196) at src/core/cpuid.d:428
#7  0x0805c851 in object.Throwable.toString (this=0x2e1fc0) at
src/object_.d:1170
#8  0x0805a8ec in eh.test4 () at runnable/eh.d:164
#9  0x0805ae63 in D main () at runnable/eh.d:351
#10 0x0805d5b6 in rt.dmain2.main.runMain (this=0xbffff258) at
src/rt/arrayint.d:198
#11 0x0805d510 in rt.dmain2.main.tryExec (this=0xbffff258,
dg=578102996399813208) at src/rt/arrayfloat.d:240
#12 0x0805d5fa in rt.dmain2.main.runAll (this=0x0) at src/core/thread.d:411
#13 0x0805d510 in rt.dmain2.main.tryExec (this=0xbffff258,
dg=578103185378374232) at src/rt/arrayfloat.d:240
#14 0x0805d4b6 in rt.dmain2.main (argc=1, argv=0x1f6770) at
src/rt/arrayint.d:111
(gdb) up

The string in question, if gdb isn't lying to me: "_Dmain+0x27) [0x805ae63]"

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

Reply via email to