Menu

Segmentation fault on cygwin

Help
2006-02-10
2013-04-22
  • Stefan Sigurdsson

    I'm trying to resolve a segfault in cppunit 1.9.14 on cygwin, has anyone seen a trace like the one that follows? I'd appreciate a reply post if you've figured this problem out.

    $ gdb tests/ostore/ObjectStoreTest.exe
    GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special)
    <snip>
    This GDB was configured as "i686-pc-cygwin"...
    (gdb) run
    Starting program: /cygdrive/c/ostore/tests/ostore/ObjectStoreTest.exe

    Program received signal SIGSEGV, Segmentation fault.
    0x610ae938 in pthread_key_create () from /usr/bin/cygwin1.dll
    (gdb) backtrace
    #0  0x610ae938 in pthread_key_create () from /usr/bin/cygwin1.dll
    #1  0x6108dd7f in _sigfe () from /usr/bin/cygwin1.dll
    #2  0x00000008 in ?? ()
    #3  0x10091e90 in ?? ()
    #4  0x10070530 in cygcppunit-1-9-14!_ZThn60_N7CppUnit14TextTestResultD1Ev () from /usr/bin/cygcppunit-1-9-14.dll
    #5  0x10091e90 in ?? ()
    #6  0x0022ed78 in ?? ()
    #7  0x610af6b7 in pthread::once () from /usr/bin/cygwin1.dll
    #8  0x610af6b7 in pthread::once () from /usr/bin/cygwin1.dll
    #9  0x6108dd7f in _sigfe () from /usr/bin/cygwin1.dll
    #10 0x0022eda8 in ?? ()
    #11 0x100365cb in cygcppunit-1-9-14!_ZN7CppUnit16XmlOutputterHook15statisticsAddedEPNS_11XmlDocumentEPNS_10XmlElementE
        () from /usr/bin/cygcppunit-1-9-14.dll
    #12 0x100365cb in cygcppunit-1-9-14!_ZN7CppUnit16XmlOutputterHook15statisticsAddedEPNS_11XmlDocumentEPNS_10XmlElementE
        () from /usr/bin/cygcppunit-1-9-14.dll
    #13 0x10028069 in cygcppunit-1-9-14!_ZN7CppUnit16XmlOutputterHook15statisticsAddedEPNS_11XmlDocumentEPNS_10XmlElementE
        () from /usr/bin/cygcppunit-1-9-14.dll
    #14 0x100284b3 in cygcppunit-1-9-14!_ZN7CppUnit16XmlOutputterHook15statisticsAddedEPNS_11XmlDocumentEPNS_10XmlElementE
        () from /usr/bin/cygcppunit-1-9-14.dll
    #15 0x10029ea7 in cygcppunit-1-9-14!_ZN7CppUnit16XmlOutputterHook15statisticsAddedEPNS_11XmlDocumentEPNS_10XmlElementE
        () from /usr/bin/cygcppunit-1-9-14.dll
    #16 0x10029eca in cygcppunit-1-9-14!_ZN7CppUnit16XmlOutputterHook15statisticsAddedEPNS_11XmlDocumentEPNS_10XmlElementE
        () from /usr/bin/cygcppunit-1-9-14.dll
    #17 0x61010253 in per_module::run_ctors () from /usr/bin/cygwin1.dll
    #18 0x00000001 in ?? ()
    #19 0x610102a0 in dll::init () from /usr/bin/cygwin1.dll
    #20 0x28090008 in ?? ()
    #21 0x0000002f in ?? ()
    #22 0x0022ee78 in ?? ()
    #23 0x610d8ef7 in strrchr () from /usr/bin/cygwin1.dll
    #24 0x61005eb3 in _dll_crt0@0 () from /usr/bin/cygwin1.dll
    #25 0x00000000 in ?? () from

     
    • Dima

      Dima - 2006-04-04

      I have the same problem on CppUnit 1.11.6
      This problem occurs only if any test fails
      I used a money example

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.