Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-896

[HP aCC 6.16] SIGABRT in 23.deque.modifiers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.2.1
    • 4.2.2
    • Tests
    • None
    • aCC: HP C/aC++ B3910B A.06.16 [Nov 26 2007]

    • Runtime Error

    Description

      When compiled with HP aCC 6.16 the test 23.deque.modifiers.cpp exits with SIGABRT:

      (gdb) run
      Starting program: /build/sebor/tmp/stdcxx-4.2.1/build/tests/./23.deque.modifiers 
      # INFO (S1) (10 lines):
      # TEXT: 
      # COMPILER: HP aCC, __HP_aCC = 61600, __EDG_VERSION__ = 308
      # ENVIRONMENT: ia64 running hp-ux
      # FILE: 23.deque.modifiers.cpp
      # COMPILED: Apr 28 2008, 01:11:11
      # COMMENT: 
      ############################################################
      
      # CLAUSE: lib.deque.modifiers
      
      # INFO (S1) (3 lines):
      # TEXT: resolution of DR 438
      # CLAUSE: lib.deque.modifiers
      
      # INFO (S1) (3 lines):
      # TEXT: __rw::__rw_new_capacity<std::deque<UserClass> >(0) = 2
      # CLAUSE: lib.deque.modifiers
      
      # INFO (S1) (3 lines):
      # TEXT: std::deque<UserClass>::assign(size_type, const_reference)
      # CLAUSE: lib.deque.modifiers
      
      # ERROR (S8) (4 lines):
      # TEXT: /build/sebor/tmp/stdcxx-4.2.1/tests/src/new.cpp:211: operator delete[] (0x600000000004b7e8): invalid p
      ointer
      # CLAUSE: lib.deque.modifiers
      # LINE: 209
      
      # INFO (S1) (5 lines):
      # TEXT: /build/sebor/tmp/stdcxx-4.2.1/tests/src/new.cpp:255: heap dump:
      6917529027641082112 bytes in 6917529027641082096 blocks:
      # CLAUSE: lib.deque.modifiers
      # LINE: 253
      
      # INFO (S1) (4 lines):
      # TEXT: 18446744073709551612: 88 bytes at 0x600000000004b7e0 allocated by operator new[]()
      # CLAUSE: lib.deque.modifiers
      # LINE: 262
      
      # INFO (S1) (4 lines):
      # TEXT: 0: 24 bytes at 0x600000000001deb0 allocated by operator new()
      # CLAUSE: lib.deque.modifiers
      # LINE: 262
      
      
      Program received signal SIGABRT, Aborted
        si_code: 0 - .
      0x9fffffffef407eb0:0 in _lwp_kill+0x30 () from /usr/lib/hpux64/libpthread.so.1
      (gdb) where
      #0  0x9fffffffef407eb0:0 in _lwp_kill+0x30 ()
         from /usr/lib/hpux64/libpthread.so.1
      #1  0x9fffffffef3740a0:0 in pthread_kill+0x900 ()
         from /usr/lib/hpux64/libpthread.so.1
      #2  0x9fffffffef0f4400:0 in raise+0xe0 () from /usr/lib/hpux64/libc.so.1
      #3  0x9fffffffef1f0db0:0 in abort+0x170 () from /usr/lib/hpux64/libc.so.1
      #4  0x400000000010a3f0:0 in _rw_find_block ()
          at /build/sebor/tmp/stdcxx-4.2.1/tests/src/new.cpp:215
      #5  0x400000000010b5a0:0 in operator_delete ()
          at /build/sebor/tmp/stdcxx-4.2.1/tests/src/new.cpp:506
      #6  0x4000000000055c70:0 in operator delete[] ()
          at /build/sebor/tmp/stdcxx-4.2.1/tests/include/rw_new.h:195
      #7  0x9fffffffef468ed0:0 in __cxa_vec_delete2+0x90 ()
         from /usr/lib/hpux64/libCsup.so.1
      #8  0x400000000009ce70:0 in void test_assign<UserClass*> ()
          at /build/sebor/tmp/stdcxx-4.2.1/tests/containers/23.deque.modifiers.cpp:980
      #9  0x400000000009b410:0 in test_assign ()
          at /build/sebor/tmp/stdcxx-4.2.1/tests/containers/23.deque.modifiers.cpp:1016
      #10 0x40000000000abc40:0 in run_test ()
          at /build/sebor/tmp/stdcxx-4.2.1/tests/containers/23.deque.modifiers.cpp:1381
      #11 0x4000000000106880:0 in rw_vtest ()
          at /build/sebor/tmp/stdcxx-4.2.1/tests/src/driver.cpp:1056
      #12 0x4000000000107af0:0 in rw_test ()
          at /build/sebor/tmp/stdcxx-4.2.1/tests/src/driver.cpp:1153
      #13 0x40000000000abfc0:0 in main ()
          at /build/sebor/tmp/stdcxx-4.2.1/tests/containers/23.deque.modifiers.cpp:1397
      

      Attachments

        Issue Links

          Activity

            People

              sebor Martin Sebor
              sebor Martin Sebor
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 3h
                  3h
                  Remaining:
                  Time Spent - 1h Remaining Estimate - 2h
                  2h
                  Logged:
                  Time Spent - 1h Remaining Estimate - 2h
                  1h