[Issue 4795] druntime demangler unittests fail

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 4 15:35:36 PDT 2010


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


Brad Roberts <braddr at puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|new demangler + dmd test    |druntime demangler
                   |suite --> a problem         |unittests fail


--- Comment #1 from Brad Roberts <braddr at puremagic.com> 2010-09-04 15:35:15 PDT ---
Rather than debugging via the dmd test suite.. the demangler fails the druntime
unittests too.

I just checked out a clean druntime trunk (I forgot mine has changes to call
the demangler during stack trace dumping right now, so the original report
might not be reproducable there.

druntime$ make -f posix.mak unittest
druntime$ ./unittest 
./unittest(_D4core7runtime18runModuleUnitTestsUZb19unittestSegvHandlerUiPS4core3sys5posix6signal9siginfo_tPvZv+0x2c)[0x807cc08]
[0xad7410]
./unittest(_d_throw+0x1b)[0x809803f]
./unittest(_D4core8demangle8demangleFAyaAaZAa5errorFAyaZv+0xe)[0x807a4da]
./unittest(_D4core8demangle8demangleFAyaAaZAa4testMFaZv+0x21)[0x807a925]
./unittest(_D4core8demangle8demangleFAyaAaZAa5matchMFaZv+0x11)[0x807a96d]
./unittest(_D4core8demangle8demangleFAyaAaZAa16parseMangledNameMFZv+0x19)[0x807c419]
./unittest(_D4core8demangle8demangleFAyaAaZAa+0x18)[0x807a404]
./unittest(_D4core8demangle11__unittest9FZv+0x50)[0x807c49c]
./unittest(_D4core8demangle9__modtestFZv+0x8)[0x807c4b8]
./unittest(_D4core7runtime18runModuleUnitTestsUZb16__foreachbody149MFKPS6object10ModuleInfoZi+0x24)[0x807cc68]
./unittest(_D6object10ModuleInfo7opApplyFMDFKPS6object10ModuleInfoZiZi+0x41)[0x807789d]
./unittest(runModuleUnitTests+0x87)[0x807cb83]
./unittest(_D2rt6dmain24mainUiPPaZi6runAllMFZv+0x20)[0x80986b4]
./unittest(_D2rt6dmain24mainUiPPaZi7tryExecMFMDFZvZv+0x24)[0x80985dc]
./unittest(main+0x96)[0x8098582]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x126bd6]
./unittest[0x8074e01]
Segmentation fault

-- 
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