New board
*** glibc detected *** ./ufo: malloc(): smallbin double linked list corrupted: 0x13a700d0 ***======= Backtrace: =========/lib/libc.so.6(+0x6c501)[0xb69501]/lib/libc.so.6(+0x6f679)[0xb6c679]/lib/libc.so.6(__libc_malloc+0x63)[0xb6df33]/usr/lib/libxcb.so.1(+0xa234)[0x5ff234]/usr/lib/libxcb.so.1(xcb_poll_for_event+0x90)[0x5ff500]/usr/lib/libX11.so.6(+0x417b9)[0x9bd7b9]/usr/lib/libX11.so.6(+0x41aa1)[0x9bdaa1]/usr/lib/libX11.so.6(_XEventsQueued+0x56)[0x9be406]/usr/lib/libX11.so.6(_XFlush+0x49)[0x9be499]/usr/lib/libX11.so.6(XFlush+0x31)[0x996131]/usr/lib/libSDL-1.2.so.0(+0x35cce)[0x59dcce]/usr/lib/libSDL-1.2.so.0(+0x39068)[0x5a1068]/usr/lib/libSDL-1.2.so.0(+0x3a33b)[0x5a233b]/usr/lib/libSDL-1.2.so.0(SDL_PumpEvents+0x3d)[0x57309d]/usr/lib/libSDL-1.2.so.0(SDL_PollEvent+0x17)[0x573527]./ufo[0x8062d96]./ufo[0x805dc8e]./ufo[0x812a1a8]./ufo[0x812a60c]./ufo[0x818649f]/lib/libc.so.6(__libc_start_main+0xe7)[0xb13ce7]./ufo[0x804d7d1]======= Memory map: ========00110000-0012f000 r-xp 00000000 08:01 133956 /usr/lib/libjpeg.so.62.0.00012f000-00130000 r--p 0001e000 08:01 133956 /usr/lib/libjpeg.so.62.0.000130000-00131000 rw-p 0001f000 08:01 133956 /usr/lib/libjpeg.so.62.0.000131000-00158000 r-xp 00000000 08:01 151908 /usr/lib/libSDL_mixer-1.2.so.0.2.600158000-00159000 r--p 00026000 08:01 151908 /usr/lib/libSDL_mixer-1.2.so.0.2.600159000-00162000 rw-p 00027000 08:01 151908 /usr/lib/libSDL_mixer-1.2.so.0.2.600162000-0018c000 rw-p 00000000 00:00 0 0018c000-001b0000 r-xp 00000000 08:01 669371 /lib/libm-2.12.1.so001b0000-001b1000 r--p 00023000 08:01 669371 /lib/libm-2.12.1.so001b1000-001b2000 rw-p 00024000 08:01 669371 /lib/libm-2.12.1.so001b2000-001c7000 r-xp 00000000 08:01 669374 /lib/libpthread-2.12.1.so001c7000-001c8000 ---p 00015000 08:01 669374 /lib/libpthread-2.12.1.so001c8000-001c9000 r--p 00015000 08:01 669374 /lib/libpthread-2.12.1.so001c9000-001ca000 rw-p 00016000 08:01 669374 /lib/libpthread-2.12.1.so001ca000-001cc000 rw-p 00000000 00:00 0 001cc000-0023e000 r-xp 00000000 08:01 149048 /usr/lib/libfreetype.so.6.6.00023e000-00242000 r--p 00071000 08:01 149048 /usr/lib/libfreetype.so.6.6.000242000-00243000 rw-p 00075000 08:01 149048 /usr/lib/libfreetype.so.6.6.000244000-00249000 r-xp 00000000 08:01 134063 /usr/lib/libogg.so.0.7.000249000-0024a000 r--p 00004000 08:01 134063 /usr/lib/libogg.so.0.7.00024a000-0024b000 rw-p 00005000 08:01 134063 /usr/lib/libogg.so.0.7.00024b000-00252000 r-xp 00000000 08:01 134303 /usr/lib/libvorbisfile.so.3.3.200252000-00253000 r--p 00006000 08:01 134303 /usr/lib/libvorbisfile.so.3.3.200253000-00254000 rw-p 00007000 08:01 134303 /usr/lib/libvorbisfile.so.3.3.200254000-00262000 r-xp 00000000 08:01 133393 /usr/lib/libXext.so.6.4.000262000-00263000 r--p 0000d000 08:01 133393 /usr/lib/libXext.so.6.4.000263000-00264000 rw-p 0000e000 08:01 133393 /usr/lib/libXext.so.6.4.000264000-0026b000 r-xp 00000000 08:01 668544 /lib/librt-2.12.1.so0026b000-0026c000 r--p 00006000 08:01 668544 /lib/librt-2.12.1.so0026c000-0026d000 rw-p 00007000 08:01 668544 /lib/librt-2.12.1.so0026d000-0026f000 r-xs 00000000 08:01 917611 /tmp/glvqGKQ0 (deleted)0026f000-0030b000 r-xp 00000000 08:01 132207 /usr/lib/nvidia-current/libGL.so.260.19.060030b000-00329000 rwxp 0009b000 08:01 132207 /usr/lib/nvidia-current/libGL.so.260.19.0600329000-00338000 rwxp 00000000 00:00 0 00338000-0033f000 r-xp 00000000 08:01 133372 /usr/lib/libSM.so.6.0.10033f000-00340000 r--p 00006000 08:01 133372 /usr/lib/libSM.so.6.0.100340000-00341000 rw-p 00007000 08:01 133372 /usr/lib/libSM.so.6.0.100341000-00345000 r-xp 00000000 08:01 133421 /usr/lib/libXtst.so.6.1.000345000-00346000 r--p 00003000 08:01 133421 /usr/lib/libXtst.so.6.1.000346000-00347000 rw-p 00004000 08:01 133421 /usr/lib/libXtst.so.6.1.000349000-0039a000 r-xp 00000000 08:01 133568 /usr/lib/libcurl.so.4.2.00039a000-0039b000 r--p 00051000 08:01 133568 /usr/lib/libcurl.so.4.2.00039b000-0039c000 rw-p 00052000 08:01 133568 /usr/lib/libcurl.so.4.2.00039c000-003f3000 r-xp 00000000 08:01 134265 /usr/lib/libtiff.so.4.3.3003f3000-003f4000 ---p 00057000 08:01 134265 /usr/lib/libtiff.so.4.3.3003f4000-003f6000 r--p 00057000 08:01 134265 /usr/lib/libtiff.so.4.3.3003f6000-003f7000 rw-p 00059000 08:01 134265 /usr/lib/libtiff.so.4.3.3003f7000-0040c000 r-xp 00000000 08:01 133351 /usr/lib/libICE.so.6.3.00040c000-0040d000 r--p 00014000 08:01 133351 /usr/lib/libICE.so.6.3.00040d000-0040e000 rw-p 00015000 08:01 133351 /usr/lib/libICE.so.6.3.00040e000-00410000 rw-p 00000000 00:00 0 00410000-00413000 r-xp 00000000 08:01 134330 /usr/lib/libxcb-atom.so.1.0.000413000-00414000 r--p 00002000 08:01 134330 /usr/lib/libxcb-atom.so.1.0.000414000-00415000 rw-p 00003000 08:01 134330 /usr/lib/libxcb-atom.so.1.0.000415000-00417000 r-xp 00000000 08:01 652854 /lib/libcom_err.so.2.100417000-00418000 r--p 00001000 08:01 652854 /lib/libcom_err.so.2.100418000-00419000 rw-p 00002000 08:01 652854 /lib/libcom_err.so.2.100419000-0041f000 r-xp 00000000 08:01 133966 /usr/lib/libkrb5support.so.0.10041f000-00420000 r--p 00005000 08:01 133966 /usr/lib/libkrb5support.so.0.100420000-00421000 rw-p 00006000 08:01 133966 /usr/lib/libkrb5support.so.0.100423000-0042e000 r-xp 00000000 08:01 148414 /usr/lib/libSDL_image-1.2.so.0.8.20042e000-0042f000 r--p 0000a000 08:01 148414 /usr/lib/libSDL_image-1.2.so.0.8.20042f000-00430000 rw-p 0000b000 08:01 148414 /usr/lib/libSDL_image-1.2.so.0.8.200430000-00440000 rw-p 00000000 00:00 0 00440000-0047f000 r-xp 00000000 08:01 131676 /usr/lib/libpulse.so.0.12.20047f000-00480000 ---p 0003f000 08:01 131676 /usr/lib/libpulse.so.0.12.200480000-00481000 r--p 0003f000 08:01 131676 /usr/lib/libpulse.so.0.12.200481000-00482000 rw-p 00040000 08:01 131676 /usr/lib/libpulse.so.0.12.200482000-004bd000 r-xp 00000000 08:01 151906 /usr/lib/libsmpeg-0.4.so.0.1.4004bd000-004be000 r--p 0003a000 08:01 151906 /usr/lib/libsmpeg-0.4.so.0.1.4004be000-004bf000 rw-p 0003b000 08:01 151906 /usr/lib/libsmpeg-0.4.so.0.1.4004bf000-004db000 rw-p 00000000 00:00 0 004db000-004dd000 r-xp 00000000 08:01 652895 /lib/libkeyutils.so.1.3004dd000-004de000 r--p 00001000 08:01 652895 /lib/libkeyutils.so.1.3004de000-004df000 rw-p 00002000 08:01 652895 /lib/libkeyutils.so.1.3004e1000-004ec000 r-xp 00000000 08:01 162539 /usr/lib/liblber-2.4.so.2.5.6004ec000-004ed000 r--p 0000a000 08:01 162539 /usr/lib/liblber-2.4.so.2.5.6004ed000-004ee000 rw-p 0000b000 08:01 162539 /usr/lib/liblber-2.4.so.2.5.6004ee000-00530000 r-xp 00000000 08:01 139919 /usr/lib/libldap_r-2.4.so.2.5.600530000-00531000 ---p 00042000 08:01 139919 /usr/lib/libldap_r-2.4.so.2.5.600531000-00532000 r--p 00042000 08:01 139919 /usr/lib/libldap_r-2.4.so.2.5.600532000-00533000 rw-p 00043000 08:01 139919 /usr/lib/libldap_r-2.4.so.2.5.600533000-00534000 rw-p 00000000 00:00 0 00534000-00561000 r-xp 00000000 08:01 133796 /usr/lib/libgssapi_krb5.so.2.200561000-00562000 r--p 0002c000 08:01 133796 /usr/lib/libgssapi_krb5.so.2.200562000-00563000 rw-p 0002d000 08:01 133796 /usr/lib/libgssapi_krb5.so.2.200563000-00566000 r-xp 00000000 08:01 131677 /usr/lib/libpulse-simple.so.0.0.300566000-00567000 r--p 00002000 08:01 131677 /usr/lib/libpulse-simple.so.0.0.300567000-00568000 rw-p 00003000 08:01 131677 /usr/lib/libpulse-simple.so.0.0.300568000-005c8000 r-xp 00000000 08:01 133370 /usr/lib/libSDL-1.2.so.0.11.3005c8000-005c9000 ---p 00060000 08:01 133370 /usr/lib/libSDL-1.2.so.0.11.3005c9000-005ca000 r--p 00060000 08:01 133370 /usr/lib/libSDL-1.2.so.0.11.3005ca000-005cb000 rw-p 00061000 08:01 133370 /usr/lib/libSDL-1.2.so.0.11.3005cb000-005f5000 rw-p 00000000 00:00 0 005f5000-0060d000 r-xp 00000000 08:01 134342 /usr/lib/libxcb.so.1.1.00060d000-0060e000 r--p 00017000 08:01 134342 /usr/lib/libxcb.so.1.1.00060e000-0060f000 rw-p 00018000 08:01 134342 /usr/lib/libxcb.so.1.1.00060f000-0061f000 r-xp 00000000 08:01 668537 /lib/libresolv-2.12.1.so0061f000-00620000 r--p 00010000 08:01 668537 /lib/libresolv-2.12.1.so00620000-00621000 rw-p 00011000 08:01 668537 /lib/libresolv-2.12.1.so00621000-00623000 rw-p 00000000 00:00 0 00623000-00639000 r-xp 00000000 08:01 134186 /usr/lib/libsasl2.so.2.0.2300639000-0063a000 r--p 00015000 08:01 134186 /usr/lib/libsasl2.so.2.0.230063a000-0063b000 rw-p 00016000 08:01 134186 /usr/lib/libsasl2.so.2.0.230063b000-0067f000 r-xp 00000000 08:01 652969 /lib/libssl.so.0.9.80067f000-00680000 ---p 00044000 08:01 652969 /lib/libssl.so.0.9.800680000-00681000 r--p 00044000 08:01 652969 /lib/libssl.so.0.9.800681000-00684000 rw-p 00045000 08:01 652969 /lib/libssl.so.0.9.800684000-0068b000 r-xp 00000000 08:01 652991 /lib/libwrap.so.0.7.60068b000-0068c000 r--p 00006000 08:01 652991 /lib/libwrap.so.0.7.60068c000-0068d000 rw-p 00007000 08:01 652991 /lib/libwrap.so.0.7.60068d000-00690000 r-xp 00000000 08:01 652989 /lib/libuuid.so.1.3.000690000-00691000 r--p 00002000 08:01 652989 /lib/libuuid.so.1.3.000691000-00692000 rw-p 00003000 08:01 652989 /lib/libuuid.so.1.3.000692000-0069e000 r-xp 00000000 08:01 133401 /usr/lib/libXi.so.6.1.00069e000-0069f000 r--p 0000b000 08:01 133401 /usr/lib/libXi.so.6.1.00069f000-006a0000 rw-p 0000c000 08:01 133401 /usr/lib/libXi.so.6.1.0006a0000-006a2000 r-xp 00000000 08:01 133380 /usr/lib/libXau.so.6.0.0006a2000-006a3000 r--p 00001000 08:01 133380 /usr/lib/libXau.so.6.0.0006a3000-006a4000 rw-p 00002000 08:01 133380 /usr/lib/libXau.so.6.0.0006a7000-006ba000 r-xp 00000000 08:01 652996 /lib/libz.so.1.2.3.4006ba000-006bb000 r--p 00012000 08:01 652996 /lib/libz.so.1.2.3.4006bb000-006bc000 rw-p 00013000 08:01 652996 /lib/libz.so.1.2.3.4006bc000-006dd000 r-xp 00000000 08:01 133960 /usr/lib/libk5crypto.so.3.1006dd000-006de000 ---p 00021000 08:01 133960 /usr/lib/libk5crypto.so.3.1006de000-006df000 r--p 00021000 08:01 133960 /usr/lib/libk5crypto.so.3.1006df000-006e0000 rw-p 00022000 08:01 133960 /usr/lib/libk5crypto.so.3.1006e0000-006e4000 r-xp 00000000 08:01 133391 /usr/lib/libXdmcp.so.6.0.0006e4000-006e5000 r--p 00003000 08:01 133391 /usr/lib/libXdmcp.so.6.0.0006e5000-006e6000 rw-p 00004000 08:01 133391 /usr/lib/libXdmcp.so.6.0.0006e6000-006e9000 r-xp 00000000 08:01 652887 /lib/libgpg-error.so.0.4.0006e9000-006ea000 r--p 00002000 08:01 652887 /lib/libgpg-error.so.0.4.0006ea000-006eb000 rw-p 00003000 08:01 652887 /lib/libgpg-error.so.0.4.0006ee000-00737000 r-xp 00000000 08:01 151768 /usr/lib/libmikmod.so.2.0.400737000-00738000 r--p 00049000 08:01 151768 /usr/lib/libmikmod.so.2.0.400738000-00739000 rw-p 0004a000 08:01 151768 /usr/lib/libmikmod.so.2.0.400739000-0073a000 rw-p 00000000 00:00 0 0073a000-00782000 r-xp 00000000 08:01 134140 /usr/lib/libpulsecommon-0.9.21.so00782000-00783000 r--p 00047000 08:01 134140 /usr/lib/libpulsecommon-0.9.21.so00783000-00784000 rw-p 00048000 08:01 134140 /usr/lib/libpulsecommon-0.9.21.so00784000-00793000 r-xp 00000000 08:01 134245 /usr/lib/libtasn1.so.3.1.900793000-00794000 r--p 0000e000 08:01 134245 /usr/lib/libtasn1.so.3.1.900794000-00795000 rw-p 0000f000 08:01 134245 /usr/lib/libtasn1.so.3.1.900795000-0079d000 r-xp 00000000 08:01 133387 /usr/lib/libXcursor.so.1.0.20079d000-0079e000 r--p 00007000 08:01 133387 /usr/lib/libXcursor.so.1.0.20079e000-0079f000 rw-p 00008000 08:01 133387 /usr/lib/libXcursor.so.1.0.20079f000-007a7000 r-xp 00000000 08:01 133415 /usr/lib/libXrender.so.1.3.0007a7000-007a8000 r--p 00007000 08:01 133415 /usr/lib/libXrender.so.1.3.0007a8000-007a9000 rw-p 00008000 08:01 133415 /usr/lib/libXrender.so.1.3.0007a9000-007ab000 r-xp 00000000 08:01 668531 /lib/libdl-2.12.1.so007ab000-007ac000 r--p 00001000 08:01 668531 /lib/libdl-2.12.1.so007ac000-007ad000 rw-p 00002000 08:01 668531 /lib/libdl-2.12.1.so007ad000-0080e000 r-xp 00000000 08:01 134207 /usr/lib/libsndfile.so.1.0.210080e000-0080f000 ---p 00061000 08:01 134207 /usr/lib/libsndfile.so.1.0.210080f000-00810000 r--p 00061000 08:01 134207 /usr/lib/libsndfile.so.1.0.2100810000-00811000 rw-p 00062000 08:01 134207 /usr/lib/libsndfile.so.1.0.2100811000-00815000 rw-p 00000000 00:00 0 00815000-00819000 r-xp 00000000 08:01 133395 /usr/lib/libXfixes.so.3.1.000819000-0081a000 r--p 00003000 08:01 133395 /usr/lib/libXfixes.so.3.1.00081a000-0081b000 rw-p 00004000 08:01 133395 /usr/lib/libXfixes.so.3.1.00081b000-00824000 r-xp 00000000 08:01 669294 /lib/libnss_nis-2.12.1.so/lib/libc.so.6(+0x6c501)[0xb69501]/lib/libc.so.6(+0x6f679)[0xb6c679]/lib/libc.so.6(__libc_malloc+0x63)[0xb6df33]/usr/lib/libxcb.so.1(+0xa234)[0x5ff234]/usr/lib/libxcb.so.1(xcb_poll_for_event+0x90)[0x5ff500]/usr/lib/libX11.so.6(+0x417b9)[0x9bd7b9]/usr/lib/libX11.so.6(+0x41aa1)[0x9bdaa1]/usr/lib/libX11.so.6(_XEventsQueued+0x56)[0x9be406]/usr/lib/libX11.so.6(_XFlush+0x49)[0x9be499]/usr/lib/libX11.so.6(XFlush+0x31)[0x996131]/usr/lib/libSDL-1.2.so.0(+0x35cce)[0x59dcce]/usr/lib/libSDL-1.2.so.0(+0x39068)[0x5a1068]/usr/lib/libSDL-1.2.so.0(+0x3a33b)[0x5a233b]/usr/lib/libSDL-1.2.so.0(SDL_PumpEvents+0x3d)[0x57309d]/usr/lib/libSDL-1.2.so.0(SDL_PollEvent+0x17)[0x573527]./ufo[0x8062d96]./ufo[0x805dc8e]./ufo[0x812a1a8]./ufo[0x812a60c]./ufo[0x818649f]/lib/libc.so.6(__libc_start_main+0xe7)[0xb13ce7]./ufo[0x804d7d1]./ufo[0x8187c4c]./ufo[0x8187229]./ufo[0x8187cca][0xfd8400]/lib/libc.so.6(abort+0x182)[0xb2ae42]/lib/libc.so.6(+0x62305)[0xb5f305]/lib/libc.so.6(+0x6c501)[0xb69501]/lib/libc.so.6(+0x6f679)[0xb6c679]/lib/libc.so.6(__libc_malloc+0x63)[0xb6df33]/usr/lib/libxcb.so.1(+0xa234)[0x5ff234]/usr/lib/libxcb.so.1(xcb_poll_for_event+0x90)[0x5ff500]/usr/lib/libX11.so.6(+0x417b9)[0x9bd7b9]/usr/lib/libX11.so.6(+0x41aa1)[0x9bdaa1]/usr/lib/libX11.so.6(_XEventsQueued+0x56)[0x9be406]/usr/lib/libX11.so.6(_XFlush+0x49)[0x9be499]/usr/lib/libX11.so.6(XFlush+0x31)[0x996131]/usr/lib/libSDL-1.2.so.0(+0x35cce)[0x59dcce]/usr/lib/libSDL-1.2.so.0(+0x39068)[0x5a1068]/usr/lib/libSDL-1.2.so.0(+0x3a33b)[0x5a233b]/usr/lib/libSDL-1.2.so.0(SDL_PumpEvents+0x3d)[0x57309d]/usr/lib/libSDL-1.2.so.0(SDL_PollEvent+0x17)[0x573527]./ufo[0x8062d96]./ufo[0x805dc8e]./ufo[0x812a1a8]./ufo[0x812a60c]./ufo[0x818649f]/lib/libc.so.6(__libc_start_main+0xe7)[0xb13ce7]./ufo[0x804d7d1]Error: Received signal 6.Killed
./contrib/scripts/valgrind.sh -b ufo
mikhail@mikhail-P5K-PRO:~/ufoai/ufoai$ ./contrib/scripts/valgrind.sh -b ufoDebugging ufoUsing valgrind suppression file from '/home/mikhail/ufoai/ufoai/contrib/scripts/valgrind.sup'Log file will be created at /home/mikhail/ufoai/ufoai/valgrind.log./contrib/scripts/valgrind.sh: 112: valgrind: not found
==8611== Memcheck, a memory error detector==8611== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.==8611== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info==8611== Command: /home/mikhail/ufoai/ufoai/ufo==8611== Parent PID: 8605==8611== ==8611== Conditional jump or move depends on uninitialised value(s)==8611== at 0x4B7A029: ??? (in /usr/lib/nvidia-current/libnvidia-glcore.so.260.19.06)==8611== ==8611== Conditional jump or move depends on uninitialised value(s)==8611== at 0x4364611: inflateReset2 (in /lib/libz.so.1.2.3.4)==8611== by 0x43646EC: inflateInit2_ (in /lib/libz.so.1.2.3.4)==8611== by 0x4364762: inflateInit_ (in /lib/libz.so.1.2.3.4)==8611== by 0x4051F13: png_create_read_struct_2 (in /lib/libpng12.so.0.44.0)==8611== by 0x40520F9: png_create_read_struct (in /lib/libpng12.so.0.44.0)==8611== by 0x4093453: IMG_LoadPNG_RW (in /usr/lib/libSDL_image-1.2.so.0.8.2)==8611== by 0x408EB3A: IMG_LoadTyped_RW (in /usr/lib/libSDL_image-1.2.so.0.8.2)==8611== by 0x8181147: Img_LoadTypedImage (images.c:304)==8611== by 0x81811D1: Img_LoadImage (images.c:328)==8611== by 0x815D9EA: R_FindImage (r_image.c:571)==8611== by 0x815DDF1: R_InitImages (r_image.c:677)==8611== by 0x81622FA: R_Init (r_main.c:1024)==8611== ==8611==
that's the way valgrind works - it's slow as hell