Skip to content

Instantly share code, notes, and snippets.

@aminought
Created December 31, 2016 14:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aminought/e5b0f213965653b28abfc49f9d4ac5a5 to your computer and use it in GitHub Desktop.
Save aminought/e5b0f213965653b28abfc49f9d4ac5a5 to your computer and use it in GitHub Desktop.
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from MOCK
[ RUN ] MOCK.TEST
[ OK ] MOCK.TEST (0 ms)
[----------] 1 test from MOCK (0 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (0 ms total)
[ PASSED ] 1 test.
*** Error in `./google_test': free(): invalid size: 0x00000000019d5fe0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f272fcde7e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x7fe0a)[0x7f272fce6e0a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f272fcea98c]
/usr/lib/libgtest.so(_ZSt8_DestroyINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEvPT_+0x18)[0x7f2730961f35]
/usr/lib/libgtest.so(_ZNSt12_Destroy_auxILb0EE9__destroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvT_S9_+0x2e)[0x7f273095ffa5]
/usr/lib/libgtest.so(_ZSt8_DestroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEvT_S7_+0x23)[0x7f273095b904]
/usr/lib/libgtest.so(_ZSt8_DestroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_EvT_S7_RSaIT0_E+0x27)[0x7f27309553ef]
/usr/lib/libgtest.so(_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED1Ev+0x36)[0x7f273094e8e2]
/lib/x86_64-linux-gnu/libc.so.6(__cxa_finalize+0x9a)[0x7f272fca136a]
/usr/lib/libgmock.so(+0x83c03)[0x7f2730652c03]
======= Memory map: ========
00400000-0040e000 r-xp 00000000 08:02 5684693 /home/aminought/QtProjects/google_test/google_test
0060d000-0060e000 r--p 0000d000 08:02 5684693 /home/aminought/QtProjects/google_test/google_test
0060e000-0060f000 rw-p 0000e000 08:02 5684693 /home/aminought/QtProjects/google_test/google_test
019c4000-019f6000 rw-p 00000000 00:00 0 [heap]
7f2728000000-7f2728021000 rw-p 00000000 00:00 0
7f2728021000-7f272c000000 ---p 00000000 00:00 0
7f272f741000-7f272f849000 r-xp 00000000 08:02 1185383 /lib/x86_64-linux-gnu/libm-2.23.so
7f272f849000-7f272fa48000 ---p 00108000 08:02 1185383 /lib/x86_64-linux-gnu/libm-2.23.so
7f272fa48000-7f272fa49000 r--p 00107000 08:02 1185383 /lib/x86_64-linux-gnu/libm-2.23.so
7f272fa49000-7f272fa4a000 rw-p 00108000 08:02 1185383 /lib/x86_64-linux-gnu/libm-2.23.so
7f272fa4a000-7f272fa62000 r-xp 00000000 08:02 1185384 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f272fa62000-7f272fc61000 ---p 00018000 08:02 1185384 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f272fc61000-7f272fc62000 r--p 00017000 08:02 1185384 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f272fc62000-7f272fc63000 rw-p 00018000 08:02 1185384 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f272fc63000-7f272fc67000 rw-p 00000000 00:00 0
7f272fc67000-7f272fe26000 r-xp 00000000 08:02 1185376 /lib/x86_64-linux-gnu/libc-2.23.so
7f272fe26000-7f2730026000 ---p 001bf000 08:02 1185376 /lib/x86_64-linux-gnu/libc-2.23.so
7f2730026000-7f273002a000 r--p 001bf000 08:02 1185376 /lib/x86_64-linux-gnu/libc-2.23.so
7f273002a000-7f273002c000 rw-p 001c3000 08:02 1185376 /lib/x86_64-linux-gnu/libc-2.23.so
7f273002c000-7f2730030000 rw-p 00000000 00:00 0
7f2730030000-7f2730046000 r-xp 00000000 08:02 1182037 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f2730046000-7f2730245000 ---p 00016000 08:02 1182037 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f2730245000-7f2730246000 r--p 00015000 08:02 1182037 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f2730246000-7f2730247000 rw-p 00016000 08:02 1182037 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f2730247000-7f27303bf000 r-xp 00000000 08:02 3158482 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7f27303bf000-7f27305bf000 ---p 00178000 08:02 3158482 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7f27305bf000-7f27305c9000 r--p 00178000 08:02 3158482 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7f27305c9000-7f27305cb000 rw-p 00182000 08:02 3158482 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7f27305cb000-7f27305cf000 rw-p 00000000 00:00 0
7f27305cf000-7f27306c6000 r-xp 00000000 08:02 3153077 /usr/lib/libgmock.so
7f27306c6000-7f27308c6000 ---p 000f7000 08:02 3153077 /usr/lib/libgmock.so
7f27308c6000-7f27308c8000 r--p 000f7000 08:02 3153077 /usr/lib/libgmock.so
7f27308c8000-7f27308ce000 rw-p 000f9000 08:02 3153077 /usr/lib/libgmock.so
7f27308ce000-7f2730985000 r-xp 00000000 08:02 3158660 /usr/lib/libgtest.so
7f2730985000-7f2730b84000 ---p 000b7000 08:02 3158660 /usr/lib/libgtest.so
7f2730b84000-7f2730b86000 r--p 000b6000 08:02 3158660 /usr/lib/libgtest.so
7f2730b86000-7f2730b8b000 rw-p 000b8000 08:02 3158660 /usr/lib/libgtest.so
7f2730b8b000-7f2730bb1000 r-xp 00000000 08:02 1182229 /lib/x86_64-linux-gnu/ld-2.23.so
7f2730d75000-7f2730d7c000 rw-p 00000000 00:00 0
7f2730dad000-7f2730db0000 rw-p 00000000 00:00 0
7f2730db0000-7f2730db1000 r--p 00025000 08:02 1182229 /lib/x86_64-linux-gnu/ld-2.23.so
7f2730db1000-7f2730db2000 rw-p 00026000 08:02 1182229 /lib/x86_64-linux-gnu/ld-2.23.so
7f2730db2000-7f2730db3000 rw-p 00000000 00:00 0
7fff0b9cf000-7fff0b9f1000 rw-p 00000000 00:00 0 [stack]
7fff0b9f4000-7fff0b9f6000 r--p 00000000 00:00 0 [vvar]
7fff0b9f6000-7fff0b9f8000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
[1] 14511 abort (core dumped) ./google_test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment