Hmm, this is different, not good, but different... I am not an expert by it looks like you may be trying to free a pointer that didn't actually get allocated/assigned. Be sure you set any un-instantiated pointers to NULL when you declare them and then test that the pointer is !=NULL before freeing it. If not set to NULL, at declaration, a pointer will point to a random location in memory, attempting to free that pointer will usually have disastrous consequences.
dcerouter_1013980:~/linuxmce-autotagger# ./autotagger.bin "/home/public/data/videos/test"
connection made!
Media Autotagger v1.1
*** glibc detected *** ./autotagger.bin: free(): invalid pointer: 0xb7796668 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb6883454]
/lib/tls/i686/cmov/libc.so.6(cfree+0x96)[0xb68854b6]
/usr/lib/libQtCore.so.4(_Z5qFreePv+0x1d)[0xb6afff2d]
/usr/lib/libQtCore.so.4(_ZN7QString4freeEPNS_4DataE+0x40)[0xb6b49b40]
./autotagger.bin[0x805080a]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb682a685]
./autotagger.bin[0x804bf91]
======= Memory map: ========
08048000-08074000 r-xp 00000000 08:01 7457614 /root/linuxmce-autotagger/autotagger.bin
08074000-08075000 r--p 0002b000 08:01 7457614 /root/linuxmce-autotagger/autotagger.bin
08075000-08076000 rw-p 0002c000 08:01 7457614 /root/linuxmce-autotagger/autotagger.bin
09ec1000-09f13000 rw-p 09ec1000 00:00 0 [heap]
b58c4000-b58ce000 r-xp 00000000 08:01 5063901 /lib/tls/i686/cmov/libnss_files-2.8.90.so
b58ce000-b58cf000 r--p 00009000 08:01 5063901 /lib/tls/i686/cmov/libnss_files-2.8.90.so
b58cf000-b58d0000 rw-p 0000a000 08:01 5063901 /lib/tls/i686/cmov/libnss_files-2.8.90.so
b58d0000-b58d1000 ---p b58d0000 00:00 0
b58d1000-b60d1000 rw-p b58d1000 00:00 0
b60d1000-b60e6000 r-xp 00000000 08:01 5063895 /lib/tls/i686/cmov/libnsl-2.8.90.so
b60e6000-b60e7000 r--p 00014000 08:01 5063895 /lib/tls/i686/cmov/libnsl-2.8.90.so
b60e7000-b60e8000 rw-p 00015000 08:01 5063895 /lib/tls/i686/cmov/libnsl-2.8.90.so
b60e8000-b60ea000 rw-p b60e8000 00:00 0
b60ea000-b60f3000 r-xp 00000000 08:01 5063888 /lib/tls/i686/cmov/libcrypt-2.8.90.so
b60f3000-b60f4000 r--p 00008000 08:01 5063888 /lib/tls/i686/cmov/libcrypt-2.8.90.so
b60f4000-b60f5000 rw-p 00009000 08:01 5063888 /lib/tls/i686/cmov/libcrypt-2.8.90.so
b60f5000-b611c000 rw-p b60f5000 00:00 0
b611c000-b62bd000 r-xp 00000000 08:01 3877279 /usr/lib/libmysqlclient_r.so.15.0.0
b62bd000-b62c0000 r--p 001a0000 08:01 3877279 /usr/lib/libmysqlclient_r.so.15.0.0
b62c0000-b6300000 rw-p 001a3000 08:01 3877279 /usr/lib/libmysqlclient_r.so.15.0.0
b6300000-b6302000 rw-p b6300000 00:00 0
b6318000-b6326000 r-xp 00000000 08:01 3965431 /usr/lib/qt4/plugins/sqldrivers/libqsqlmysql.so
b6326000-b6327000 r--p 0000d000 08:01 3965431 /usr/lib/qt4/plugins/sqldrivers/libqsqlmysql.so
b6327000-b6328000 rw-p 0000e000 08:01 3965431 /usr/lib/qt4/plugins/sqldrivers/libqsqlmysql.so
b6328000-b632a000 r-xp 00000000 08:01 745710 /usr/lib/gconv/UTF-16.so
b632a000-b632b000 r--p 00001000 08:01 745710 /usr/lib/gconv/UTF-16.so
b632b000-b632c000 rw-p 00002000 08:01 745710 /usr/lib/gconv/UTF-16.so
b632c000-b636b000 r--p 00000000 08:01 3916455 /usr/lib/locale/en_CA.utf8/LC_CTYPE
b636b000-b644c000 r--p 00000000 08:01 3916696 /usr/lib/locale/en_CA.utf8/LC_COLLATE
b644c000-b644f000 rw-p b644c000 00:00 0
b644f000-b6453000 r-xp 00000000 08:01 3876384 /usr/lib/libXdmcp.so.6.0.0
b6453000-b6454000 rw-p 00003000 08:01 3876384 /usr/lib/libXdmcp.so.6.0.0
b6454000-b646b000 r-xp 00000000 08:01 3877617 /usr/lib/libxcb.so.1.0.0
b646b000-b646c000 r--p 00016000 08:01 3877617 /usr/lib/libxcb.so.1.0.0
b646c000-b646d000 rw-p 00017000 08:01 3877617 /usr/lib/libxcb.so.1.0.0
b646d000-b646e000 r-xp 00000000 08:01 3877613 /usr/lib/libxcb-xlib.so.0.0.0
b646e000-b646f000 r--p 00000000 08:01 3877613 /usr/lib/libxcb-xlib.so.0.0.0
b646f000-b6470000 rw-p 00001000 08:01 3877613 /usr/lib/libxcb-xlib.so.0.0.0
b6470000-b6471000 rw-p b6470000 00:00 0
b6471000-b6473000 r-xp 00000000 08:01 3876373 /usr/lib/libXau.so.6.0.0
b6473000-b6474000 rw-p 00001000 08:01 3876373 /usr/lib/libXau.so.6.0.0
b6474000-b6498000 r-xp 00000000 08:01 3876640 /usr/lib/libexpat.so.1.5.2
b6498000-b649a000 r--p 00023000 08:01 3876640 /usr/lib/libexpat.so.1.5.2
b649a000-b649b000 rw-p 00025000 08:01 3876640 /usr/lib/libexpat.so.1.5.2
b649b000-b64c3000 r-xp 00000000 08:01 5030001 /lib/libpcre.so.3.12.1
b64c3000-b64c4000 r--p 00027000 08:01 5030001 /lib/libpcre.so.3.12.1
b64c4000-b64c5000 rw-p 00028000 08:01 5030001 /lib/libpcre.so.3.12.1
b64c5000-b6512000 r-xp 00000000 08:01 3876412 /usr/lib/libXt.so.6.0.0
b6512000-b6516000 rw-p 0004c000 08:01 3876412 /usr/lib/libXt.so.6.0.0
b6516000-b6518000 r-xp 00000000 08:01 5063890 /lib/tls/i686/cmov/libdl-2.8.90.so
b6518000-b6519000 r--p 00001000 08:01 5063890 /lib/tls/i686/cmov/libdl-2.8.90.so
b6519000-b651a000 rw-p 00002000 08:01 5063890 /lib/tls/i686/cmov/libdl-2.8.90.so
b651a000-b651b000 rw-p b651a000 00:00 0
b651b000-b6522000 r-xp 00000000 08:01 5063914 /lib/tls/i686/cmov/librt-2.8.90.so
b6522000-b6523000 r--p 00007000 08:01 5063914 /lib/tls/i686/cmov/librt-2.8.90.so
b6523000-b6524000 rw-p 00008000 08:01 5063914 /lib/tls/i686/cmov/librt-2.8.90.so
b6524000-b6528000 r-xp 00000000 08:01 3876803 /usr/lib/libgthread-2.0.so.0.1800.2
b6528000-b6529000 r--p 00003000 08:01 3876803 /usr/lib/libgthread-2.0.so.0.1800.2
b6529000-b652a000 rw-p 00004000 08:01 3876803 /usr/lib/libgthread-2.0.so.0.1800.2
b652a000-b6615000 r-xp 00000000 08:01 3876368 /usr/lib/libX11.so.6.2.0
b6615000-b6616000 r--p 000ea000 08:01 3876368 /usr/lib/libX11.so.6.2.0
b6616000-b6618000 rw-p 000eb000 08:01 3876368 /usr/lib/libX11.so.6.2.0
b6618000-b6619000 rw-p b6618000 00:00 0
b6619000-b6626000 r-xp 00000000 08:01 3876386 /usr/lib/libXext.so.6.4.0
b6626000-b6628000 rw-p 0000c000 08:01 3876386 /usr/lib/libXext.so.6.4.0
b6628000-b6653000 r-xp 00000000 08:01 3876664 /usr/lib/libfontconfig.so.1.3.0
b6653000-b6654000 r--p 0002a000 08:01 3876664 /usr/lib/libfontconfig.so.1.3.0
b6654000-b6655000 rw-p 0002b000 08:01 3876664 /usr/lib/libfontconfig.so.1.3.0
b6655000-b6656000 rw-p b6655000 00:00 0
b6656000-b66c7000 r-xp 00000000 08:01 3876674 /usr/lib/libfreetype.so.6.3.18
b66c7000-b66cb000 r--p 00070000 08:01 3876674 /usr/lib/libfreetype.so.6.3.18
b66cb000-b66cc000 rw-p 00074000 08:01 3876674 /usr/lib/libfreetype.so.6.3.18
b66cc000-b66d1000 r-xp 00000000 08:01 3876406 /usr/lib/libXrandr.so.2.1.0
b66d1000-b66d2000 r--p 00005000 08:01 3876406 /usr/lib/libXrandr.so.2.1.0
b66d2000-b66d3000 rw-p 00006000 08:01 3876406 /usr/lib/libXrandr.so.2.1.0
b66d3000-b66db000 r-xp 00000000 08:01 3876408 /usr/lib/libXrender.so.1.3.0
b66db000-b66dc000 r--p 00007000 08:01 3876408 /usr/lib/libXrender.so.1.3.0
b66dc000-b66dd000 rw-p 00008000 08:01 3876408 /usr/lib/libXrender.so.1.3.0
b66dd000-b66e5000 r-xp 00000000 08:01 3876394 /usr/lib/libXi.so.6.0.0
b66e5000-b66e6000 r--p 00007000 08:01 3876394 /usr/lib/libXi.so.6.0.0
b66e6000-b66e7000 rw-p 00008000 08:01 3876394 /usr/lib/libXi.so.6.0.0
b66e7000-b679c000 r-xp 00000000 08:01 3876711 /usr/lib/libglib-2.0.so.0.1800.2
b679c000-b679d000 r--p 000b4000 08:01 3876711 /usr/lib/libglib-2.0.so.0.1800.2
b679d000-b679e000 rw-p 000b5000 08:01 3876711 /usr/lib/libglib-2.0.so.0.1800.2
b679e000-b67b2000 r-xp 00000000 08:01 3877633 /usr/lib/libz.so.1.2.3.3
b67b2000-b67b4000 rw-p 00013000 08:01 3877633 /usr/lib/libz.so.1.2.3.3
b67b4000-b67b5000 rw-p b67b4000 00:00 0
b67b5000-b67ca000 r-xp 00000000 08:01 3876293 /usr/lib/libICE.so.6.3.0
b67ca000-b67cb000 rw-p 00014000 08:01 3876293 /usr/lib/libICE.so.6.3.0
b67cb000-b67cd000 rw-p b67cb000 00:00 0
b67cd000-b67d4000 r-xp 00000000 08:01 3876364 /usr/lib/libSM.so.6.0.0
b67d4000-b67d5000 r--p 00006000 08:01 3876364 /usr/lib/libSM.so.6.0.0
b67d5000-b67d6000 rw-p 00007000 08:01 3876364 /usr/lib/libSM.so.6.0.0
b67d6000-b67fa000 r-xp 00000000 08:01 3877390 /usr/lib/libpng12.so.0.27.0
b67fa000-b67fb000 r--p 00023000 08:01 3877390 /usr/lib/libpng12.so.0.27.0
b67fb000-b67fc000 rw-p 00024000 08:01 3877390 /usr/lib/libpng12.so.0.27.0
b67fc000-b6812000 r-xp 00000000 08:01 3876497 /usr/lib/libaudio.so.2.4
b6812000-b6813000 r--p 00015000 08:01 3876497 /usr/lib/libaudio.so.2.4
b6813000-b6814000 rw-p 00016000 08:01 3876497 /usr/lib/libaudio.so.2.4
b6814000-b696c000 r-xp 00000000 08:01 5063884 /lib/tls/i686/cmov/libc-2.8.90.so
b696c000-b696e000 r--p 00158000 08:01 5063884 /lib/tls/i686/cmov/libc-2.8.90.so
b696e000-b696f000 rw-p 0015a000 08:01 5063884 /lib/tls/i686/cmov/libc-2.8.90.so
b696f000-b6972000 rw-p b696f000 00:00 0
b6972000-b697f000 r-xp 00000000 08:01 5029950 /lib/libgcc_s.so.1
b697f000-b6980000 r--p 0000c000 08:01 5029950 /lib/libgcc_s.so.1
b6980000-b6981000 rw-p 0000d000 08:01 5029950 /lib/libgcc_s.so.1
b6981000-b6982000 rw-p b6981000 00:00 0
b6982000-b69a6000 r-xp 00000000 08:01 5063892 /lib/tls/i686/cmov/libm-2.8.90.so
b69a6000-b69a7000 r--p 00023000 08:01 5063892 /lib/tls/i686/cmov/libm-2.8.90.so
b69a7000-b69a8000 rw-p 00024000 08:01 5063892 /lib/tls/i686/cmov/libm-2.8.90.so
b69a8000-b6a8b000 r-xp 00000000 08:01 3877509 /usr/lib/libstdc++.so.6.0.10
b6a8b000-b6a8f000 r--p 000e3000 08:01 3877509 /usr/lib/libstdc++.so.6.0.10
b6a8f000-b6a90000 rw-p 000e7000 08:01 3877509 /usr/lib/libstdc++.so.6.0.10
b6a90000-b6a96000 rw-p b6a90000 00:00 0
b6a96000-b6aab000 r-xp 00000000 08:01 5063910 /lib/tls/i686/cmov/libpthread-2.8.90.so
b6aab000-b6aac000 r--p 00014000 08:01 5063910 /lib/tls/i686/cmov/libpthread-2.8.90.so
b6aac000-b6aad000 rw-p 00015000 08:01 5063910 /lib/tls/i686/cmov/libpthread-2.8.90.so
b6aad000-b6aaf000 rw-p b6aad000 00:00 0
b6aaf000-b6cd4000 r-xp 00000000 08:01 3876318 /usr/lib/libQtCore.so.4.4.3
b6cd4000-b6cda000 r--p 00224000 08:01 3876318 /usr/lib/libQtCore.so.4.4.3
b6cda000-b6cdc000 rw-p 0022a000 08:01 3876318 /usr/lib/libQtCore.so.4.4.3
b6cdc000-b6cdd000 rw-p b6cdc000 00:00 0
b6cdd000-b6dd9000 r-xp 00000000 08:01 3876336 /usr/lib/libQtNetwork.so.4.4.3
b6dd9000-b6ddc000 r--p 000fb000 08:01 3876336 /usr/lib/libQtNetwork.so.4.4.3
b6ddc000-b6ddd000 rw-p 000fe000 08:01 3876336 /usr/lib/libQtNetwork.so.4.4.3
b6ddd000-b6dde000 rw-p b6ddd000 00:00 0
b6dde000-b76bb000 r-xp 00000000 08:01 3876330 /usr/lib/libQtGui.so.4.4.3
b76bb000-b76d8000 r--p 008dd000 08:01 3876330 /usr/lib/libQtGui.so.4.4.3
b76d8000-b76df000 rw-p 008fa000 08:01 3876330 /usr/lib/libQtGui.so.4.4.3
b76df000-b76e2000 rw-p b76df000 00:00 0
b76e2000-b7724000 r-xp 00000000 08:01 3876357 /usr/lib/libQtXml.so.4.4.3
b7724000-b7725000 r--p 00041000 08:01 3876357 /usr/lib/libQtXml.so.4.4.3
b7725000-b7726000 rw-p 00042000 08:01 3876357 /usr/lib/libQtXml.so.4.4.3
b7726000-b7760000 r-xp 00000000 08:01 3876345 /usr/lib/libQtSql.so.4.4.3
b7760000-b7761000 r--p 00039000 08:01 3876345 /usr/lib/libQtSql.so.4.4.3
b7761000-b7762000 rw-p 0003a000 08:01 3876345 /usr/lib/libQtSql.so.4.4.3
b7766000-b7767000 rw-p b7766000 00:00 0
b7767000-b7768000 r--p 00000000 08:01 3916460 /usr/lib/locale/en_CA.utf8/LC_NUMERIC
b7768000-b7769000 r--p 00000000 08:01 3916313 /usr/lib/locale/en_CA.utf8/LC_TIME
b7769000-b776a000 r--p 00000000 08:01 3916307 /usr/lib/locale/en_CA.utf8/LC_MONETARY
b776a000-b776b000 r--p 00000000 08:01 3916311 /usr/lib/locale/en_CA.utf8/LC_MESSAGES/SYS_LC_MESSAGES
b776b000-b776c000 r--p 00000000 08:01 3916439 /usr/lib/locale/en_CA.utf8/LC_PAPER
b776c000-b776d000 r--p 00000000 08:01 3916459 /usr/lib/locale/en_CA.utf8/LC_NAME
b776d000-b776e000 r--p 00000000 08:01 3916306 /usr/lib/locale/en_CA.utf8/LC_ADDRESS
b776e000-b776f000 r--p 00000000 08:01 3916704 /usr/lib/locale/en_CA.utf8/LC_TELEPHONE
b776f000-b7770000 r--p 00000000 08:01 3916457 /usr/lib/locale/en_CA.utf8/LC_MEASUREMENT
b7770000-b7777000 r--s 00000000 08:01 745715 /usr/lib/gconv/gconv-modules.cache
b7777000-b7778000 r--p 00000000 08:01 3916309 /usr/lib/locale/en_CA.utf8/LC_IDENTIFICATION
b7778000-b777a000 rw-p b7778000 00:00 0
b777a000-b7794000 r-xp 00000000 08:01 5029907 /lib/ld-2.8.90.so
b7794000-b7795000 r-xp b7794000 00:00 0 [vdso]
b7795000-b7796000 r--p 0001a000 08:01 5029907 /lib/ld-2.8.90.so
b7796000-b7797000 rw-p 0001b000 08:01 5029907 /lib/ld-2.8.90.so
bfb89000-bfb9e000 rw-p bffeb000 00:00 0 [stack]
Aborted (core dumped)
dcerouter_1013980:~/linuxmce-autotagger#
J.