Hello.
I have a strange core dump during cppunit test suite run.
Does someone else see it?

$ wget http://dev-www.libreoffice.org/src/cppunit-1.13.2.tar.gz
$ tar zxvf cppunit-1.13.2.tar.gz
$ cd cppunit-1.13.2
$ ./configure CFLAGS="-m64" CXXFLAGS="-m64" LD="/usr/bin/ld -m64"
$ gmake
$ gmake check
...
gmake  check-TESTS
gmake[3]: Entering directory `/export/home/alp/distr/cppunit-1.13.2/examples/cppunittest'
Running StringToolsTest::testToStringInt : OK
StringToolsTest::testToStringDouble : OK
StringToolsTest::testSplitEmptyString : OK
StringToolsTest::testSplitOneItem : OK
StringToolsTest::testSplitItemEmpty : OK
StringToolsTest::testSplitTwoItem : OK
StringToolsTest::testSplitEmptyTwoItem : OK
StringToolsTest::testSplitEmptyItemEmpty : OK
StringToolsTest::testSplitEmptyItemEmptyEmptyItem : OK
StringToolsTest::testWrapEmpty : OK
StringToolsTest::testWrapNotNeeded : OK
StringToolsTest::testWrapLimitNotNeeded : OK
StringToolsTest::testWrapOneNeeded : OK
StringToolsTest::testWrapTwoNeeded : OK
StringToolsTest::testWrapLimitTwoNeeded : OK
StringToolsTest::testWrapOneNeededTwoNeeded : OK
StringToolsTest::testWrapNotNeededEmptyLinesOneNeeded : OK
XmlUniformiserTest::testEmpty : OK
XmlUniformiserTest::testSkipProcessed : OK
XmlUniformiserTest::testOpenElementWithoutAttributeButSomeSpaces : OK
XmlUniformiserTest::testOpenCloseElement : OK
XmlUniformiserTest::testElementWithEmptyAttribute : OK
XmlUniformiserTest::testElementWithEmptyAttributeButSomeSpaces : OK
XmlUniformiserTest::testElementWithOneAttribute : OK
XmlUniformiserTest::testElementWithThreeAttributes : OK
XmlUniformiserTest::testSkipComment : OK
XmlUniformiserTest::testElementWithContent : OK
XmlUniformiserTest::testElementsHierarchyWithContents : OK
XmlUniformiserTest::testAssertXmlEqual/bin/sh: line 10: 25763: Memory fault(coredump)
FAIL: cppunittestmain
==================
1 of 1 test failed
==================

$ mdb ./examples/cppunittest/core
Loading modules: [ libc.so.1 ld.so.1 ]
> $C
fffffd7fffdfe7a0 libgcc_s.so.1`_Unwind_SetGR+0x40()
fffffd7fffdfe8a0 libstdc++.so.6.0.19`__gxx_personality_v0+0xd4()
fffffd7fffdfea50 libc.so.1`_Unwind_RaiseException_Body+0x1c7(51f410, fffffd7fffdfea70, 2)
fffffd7fffdfebe0 libc.so.1`_SUNW_Unwind_Resume+0x9e(51f410)
fffffd7fffdfec90 libcppunit-1.13.so.0.0.2`_ZN7CppUnit8Asserter12failNotEqualESsSsRKNS_10SourceLineERKNS_17AdditionalMessageESs+0x8c()
fffffd7fffdfef70 _Z13checkXmlEqualSsSsN7CppUnit10SourceLineE+0x2d1()
fffffd7fffdff2e0 _ZN18XmlUniformiserTest18testAssertXmlEqualEv+0x1ce()
fffffd7fffdff300 _ZN7CppUnit10TestCallerI18XmlUniformiserTestE7runTestEv+0x66() fffffd7fffdff320 libcppunit-1.13.so.0.0.2`_ZNK7CppUnit21TestCaseMethodFunctorclEv+0x66() fffffd7fffdff4b0 libcppunit-1.13.so.0.0.2`_ZN7CppUnit16DefaultProtector7protectERKNS_7FunctorERKNS_16ProtectorContextE+0x3e() fffffd7fffdff4d0 libcppunit-1.13.so.0.0.2`_ZNK7CppUnit14ProtectorChain14ProtectFunctorclEv+0x3b() fffffd7fffdff590 libcppunit-1.13.so.0.0.2`_ZN7CppUnit14ProtectorChain7protectERKNS_7FunctorERKNS_16ProtectorContextE+0x159() fffffd7fffdff5f0 libcppunit-1.13.so.0.0.2`_ZN7CppUnit10TestResult7protectERKNS_7FunctorEPNS_4TestERKSs+0x58() fffffd7fffdff6f0 libcppunit-1.13.so.0.0.2`_ZN7CppUnit8TestCase3runEPNS_10TestResultE+0x1ba() fffffd7fffdff720 libcppunit-1.13.so.0.0.2`_ZN7CppUnit13TestComposite15doRunChildTestsEPNS_10TestResultE+0x82() fffffd7fffdff740 libcppunit-1.13.so.0.0.2`_ZN7CppUnit13TestComposite3runEPNS_10TestResultE+0x4c() fffffd7fffdff770 libcppunit-1.13.so.0.0.2`_ZN7CppUnit13TestComposite15doRunChildTestsEPNS_10TestResultE+0x82() fffffd7fffdff790 libcppunit-1.13.so.0.0.2`_ZN7CppUnit13TestComposite3runEPNS_10TestResultE+0x4c() fffffd7fffdff7c0 libcppunit-1.13.so.0.0.2`_ZN7CppUnit13TestComposite15doRunChildTestsEPNS_10TestResultE+0x82() fffffd7fffdff7e0 libcppunit-1.13.so.0.0.2`_ZN7CppUnit13TestComposite3runEPNS_10TestResultE+0x4c() fffffd7fffdff800 libcppunit-1.13.so.0.0.2`_ZN7CppUnit10TestRunner13WrappingSuite3runEPNS_10TestResultE+0x42() fffffd7fffdff820 libcppunit-1.13.so.0.0.2`_ZN7CppUnit10TestResult7runTestEPNS_4TestE+0x4e() fffffd7fffdff8c0 libcppunit-1.13.so.0.0.2`_ZN7CppUnit10TestRunner3runERNS_10TestResultERKSs+0x76()
fffffd7fffdffad0 main+0x1bd()
fffffd7fffdffae0 _start+0x6c()

I've checked that my compiler can catch exceptions in 64-bit programs (I mean it is not affected by http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788 )

Any other ideas?
--
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department


-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to