[Gambas-user] Error #6

Leonardo Miliani leo at ...1534...
Tue Aug 1 01:02:30 CEST 2006


I was writing a crypto program and during the testing section I got the
Error #6 and this output from the console:

*** glibc detected *** gbCifra+: free(): invalid pointer: 0x081823ec ***
======= Backtrace: =========
/lib/libc.so.6[0xb7701911]
/lib/libc.so.6(__libc_free+0x84)[0xb7702f84]
gbCifra+[0x804b310]
gbCifra+[0x804ddea]
gbCifra+[0x804e3c2]
gbCifra+[0x805c0d9]
gbCifra+[0x805c47c]
/usr/local/lib/gambas2/gb.qt.so[0xb72bd8fa]
/usr/local/lib/gambas2/gb.qt.so[0xb72bd25d]
/usr/lib/libqt-mt.so.3(_ZN7QObject15activate_signalEP15QConnectionListP8QUObject+0x16d)[0xb7a59edd]
/usr/lib/libqt-mt.so.3(_ZN7QObject15activate_signalEi+0xbd)[0xb7a5ab3d]
/usr/lib/libqt-mt.so.3(_ZN7QButton7clickedEv+0x2c)[0xb7d9a55c]
/usr/lib/libqt-mt.so.3(_ZN7QButton17mouseReleaseEventEP11QMouseEvent+0xc3)[0xb7aedad3]
/usr/lib/libqt-mt.so.3(_ZN7QWidget5eventEP6QEvent+0x3a0)[0xb7a92c00]
/usr/lib/libqt-mt.so.3(_ZN12QApplication14internalNotifyEP7QObjectP6QEvent+0x97)[0xb79faec7]
/usr/lib/libqt-mt.so.3(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x1db)[0xb79fbdfb]
/usr/lib/libqt-mt.so.3(_ZN9QETWidget19translateMouseEventEPK7_XEvent+0x4c2)[0xb799add2]
/usr/lib/libqt-mt.so.3(_ZN12QApplication15x11ProcessEventEP7_XEvent+0x916)[0xb7999fa6]
/usr/lib/libqt-mt.so.3(_ZN10QEventLoop13processEventsEj+0x4aa)[0xb79aa5ea]
/usr/local/lib/gambas2/gb.qt.so[0xb72b4286]
/usr/lib/libqt-mt.so.3(_ZN10QEventLoop9enterLoopEv+0x48)[0xb7a11ce8]
/usr/lib/libqt-mt.so.3(_ZN10QEventLoop4execEv+0x2e)[0xb7a11b7e]
/usr/lib/libqt-mt.so.3(_ZN12QApplication4execEv+0x1f)[0xb79faa7f]
/usr/local/lib/gambas2/gb.qt.so[0xb72b3ce0]
gbCifra+[0x805f8a6]
/lib/libc.so.6(__libc_start_main+0xdc)[0xb76b387c]
gbCifra+(sinh+0x6d)[0x804aac1]
======= Memory map: ========
08048000-0806c000 r-xp 00000000 03:03 133835     /usr/local/bin/gbx2
0806c000-08071000 rw-p 00024000 03:03 133835     /usr/local/bin/gbx2
08071000-081a8000 rw-p 08071000 00:00 0          [heap]
b6b00000-b6b21000 rw-p b6b00000 00:00 0
b6b21000-b6c00000 ---p b6b21000 00:00 0
b6d00000-b6d30000 r-xp 00000000 03:03 153753
/opt/kde3/lib/libDCOP.so.4.2.0
b6d30000-b6d31000 rw-p 00030000 03:03 153753
/opt/kde3/lib/libDCOP.so.4.2.0
b6d31000-b6d33000 rw-p b6d31000 00:00 0
b6d51000-b6d59000 r-xp 00000000 03:03 160370
/opt/kde3/lib/kde3/plugins/integration/libqtkde.so
b6d59000-b6d5a000 rw-p 00007000 03:03 160370
/opt/kde3/lib/kde3/plugins/integration/libqtkde.so
b6d5a000-b6d84000 r--p 00000000 03:03 28598
/usr/X11R6/lib/X11/fonts/truetype/albwb.ttf
b6d84000-b6dca000 r--p 00000000 03:03 75140
/var/X11R6/compose-cache/l2_024_35fe9fba
b6dca000-b6de5000 r-xp 00000000 03:03 32135
/usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
b6de5000-b6de7000 rw-p 0001b000 03:03 32135
/usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
b6de7000-b6e0a000 r-xp 00000000 03:03 166067
/usr/lib/qt3/plugins/inputmethods/libqsimple.so
b6e0a000-b6e0b000 rw-p 00023000 03:03 166067
/usr/lib/qt3/plugins/inputmethods/libqsimple.so
b6e0b000-b6e36000 r-xp 00000000 03:03 30034      /usr/lib/liblcms.so.1.0.15
b6e36000-b6e38000 rw-p 0002a000 03:03 30034      /usr/lib/liblcms.so.1.0.15
b6e38000-b6e3a000 rw-p b6e38000 00:00 0
b6e3a000-b6ea7000 r-xp 00000000 03:03 32572      /usr/lib/libmng.so.1.1.0.9
b6ea7000-b6eaa000 rw-p 0006c000 03:03 32572      /usr/lib/libmng.so.1.1.0.9
b6eb4000-b6ebd000 r-xp 00000000 03:03 32142
/usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2
b6ebd000-b6ebe000 rw-p 00008000 03:03 32142
/usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2
b6ebe000-b6ec7000 r-xp 00000000 03:03 166068
/usr/lib/qt3/plugins/inputmethods/libqxim.so
b6ec7000-b6ec8000 rw-p 00008000 03:03 166068
/usr/lib/qt3/plugins/inputmethods/libqxim.so
b6ec8000-b6ee6000 r-xp 00000000 03:03 27268      /usr/lib/libjpeg.so.62.0.0
b6ee6000-b6ee7000 rw-p 0001d000 03:03 27268      /usr/lib/libjpeg.so.62.0.0
b6eeb000-b6eee000 r-xp 00000000 03:03 165009
/usr/lib/qt3/plugins/inputmethods/libqimsw-none.so
b6eee000-b6eef000 rw-p 00003000 03:03 165009
/usr/lib/qt3/plugins/inputmethods/libqimsw-none.so
b6eef000-b6ef6000 r-xp 00000000 03:03 164998
/usr/lib/qt3/plugins/inputmethods/libqimsw-multi.so
b6ef6000-b6ef7000 rw-p 00007000 03:03 164998
/usr/lib/qt3/plugins/inputmethods/libqimsw-multi.so
b6ef7000-b6f00000 r--p 00000000 03:03 26339
/usr/share/locale/it/LC_MESSAGES/libc.mo
b6f00000-b6f04000 r-xp 00000000 03:03 164994
/usr/lib/qt3/plugins/imageformats/libqmng.so
b6f04000-b6f05000 rw-p 00003000 03:03 164994
/usr/lib/qt3/plugins/imageformats/libqmng.so
b6f05000-b6f0a000 r-xp 00000000 03:03 43721
/usr/lib/qt3/plugins/imageformats/libqjpeg.so
b6f0a000-b6f0b000 rw-p 00005000 03:03 43721
/usr/lib/qt3/plugins/imageformats/libqjpeg.so
b6f0b000-b6f35000 r-xp 00000000 03:03 89600
/opt/kde3/lib/libkdefx.so.4.2.0
b6f35000-b6f36000 rw-p 0002a000 03:03 89600
/opt/kde3/lib/libkdefx.so.4.2.0
b6f36000-b6f55000 r-xp 00000000 03:03 153752
/opt/kde3/lib/kde3/plugins/styles/plastik.so
b6f55000-b6f56000 rw-p 0001e000 03:03 153752
/opt/kde3/lib/kde3/plugins/styles/plastik.so
b6f56000-b6f5d000 r--p 00000000 03:03 43738
/usr/lib/qt3/translations/qt_it.qm
b6f5d000-b6f87000 r--p 00000000 03:03 28571
/usr/X11R6/lib/X11/fonts/truetype/albw.ttf
b6f87000-b6f88000 r-xp 00000000 03:03 32139
/usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2
b6f88000-b6f89000 rw-p 00000000 03:03 32139
/usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2
b6f89000-b6f8f000 r--s 00001000 03:03 161837
/var/cache/fontconfig/d0814903482a18ed8717ceb08fcf4410.cache-2
b6f8f000-b6f94000 r--s 00001000 03:03 213570
/var/cache/fontconfig/a5bb9318fc124018aaa8c1184e917bf0.cache-2
b6f94000-b6f97000 r--s 00001000 03:03 163731
/var/cache/fontconfig/35d0bb7940b150edc30b59ad93aefe92.cache-2
b6f97000-b6f98000 r--s 00001000 03:03 65406
/var/cache/fontconfig/43b8e6e859be885e1b4c4769cd73a3f9.cache-2
b6f98000-b6f99000 r--s 00001000 03:03 89616
/var/cache/fontconfig/47969f914275157783f61e1bd1ed3d89.cache-2
b6f99000-b6ff2000 r--s 00001000 03:03 213554
/var/cache/fontconfig/a8eccb1d36c0cd55e07565774f02858e.cache-2
b6ff2000-b704d000 r--s 00001000 03:03 161826
/var/cache/fontconfig/4ab329b95251bfa96df993af29394e5c.cache-2
b704d000-b7054000 r--s 00001000 03:03 213544
/var/cache/fontconfig/57fddf4aeff95a0b98650bf3f13c26fe.cache-2
b7054000-b70ad000 r--s 00001000 03:03 213543
/var/cache/fontconfig/0357813fd01911d26e40012cc37afd61.cache-2
b70ad000-b7117000 r--s 00001000 03:03 161829
/var/cache/fontconfig/0b603ee0e9d5cb4fa2facb46225be8ca.cache-2
b7117000-b711b000 r--s 00001000 03:03 164982
/var/cache/fontconfig/de3900050b586a5b68cdc42e4d82842b.cache-2
b711b000-b7126000 r--s 00001000 03:03 213530
/var/cache/fontconfig/723d6c7d32b373f6b06cc7f9d1a8e946.cache-2
b7126000-b7159000 r--p 00000000 03:03 26785
/usr/lib/locale/it_IT.utf8/LC_CTYPE
b7159000-b715a000 r--p 00000000 03:03 26742
/usr/lib/locale/it_IT.utf8/LC_NUMERIC
b715a000-b715b000 r--p 00000000 03:03 25167
/usr/lib/locale/it_IT.utf8/LC_TIME
b715b000-b7232000 r--p 00000000 03:03 26786
/usr/lib/locale/it_IT.utf8/LC_COLLATE
b7232000-b7233000 r--p 00000000 03:03 26744
/usr/lib/locale/it_IT.utf8/LC_MONETARY
b7233000-b7234000 r--p 00000000 03:03 26745
/usr/lib/locale/it_IT.utf8/LC_MESSAGES/SYS_LC_MESSAGES
b7234000-b7235000 r--p 00000000 03:03 26780
/usr/lib/locale/it_IT.utf8/LC_PAPER
b7235000-b7236000 r--p 00000000 03:03 26743
/usr/lib/locale/it_IT.utf8/LC_NAME
b7236000-b7237000 r--p 00000000 03:03 25163
/usr/lib/locale/it_IT.utf8/LC_ADDRESS
b7237000-b7238000 r--p 00000000 03:03 25166
/usr/lib/locale/it_IT.utf8/LC_TELEPHONE
b7238000-b7239000 r--p 00000000 03:03 26784
/usr/lib/locale/it_IT.utf8/LC_MEASUREMENT
b7239000-b7240000 r--s 00000000 03:03 213985
/usr/lib/gconv/gconv-modules.cache
b7240000-b7264000 rw-p 00000000 03:03 211722
/usr/local/lib/gambas2/gb.form.gambas
b7264000-b727e000 r-xp 00000000 03:03 211598
/usr/local/lib/gambas2/gb.qt.ext.so.0.0.0
b727e000-b7282000 rw-p 00019000 03:03 211598
/usr/local/lib/gambas2/gb.qt.ext.so.0.0.0
b7282000-b72e2000 r-xp 00000000 03:03 211614
/usr/local/lib/gambas2/gb.qt.so.0.0.0
b72e2000-b72f2000 rw-p 00060000 03:03 211614
/usr/local/lib/gambas2/gb.qt.so.0.0.0
b72f2000-b72f3000 rw-p b72f2000 00:00 0
b72f3000-b7304000 r-xp 00000000 03:03 22120      /lib/libnsl-2.4.so
b7304000-b7306000 rw-p 00010000 03:03 22120      /lib/libnsl-2.4.so
b7306000-b7308000 rw-p b7306000 00:00 0
b7308000-b7309000 r--p 00000000 03:03 25164
/usr/lib/locale/it_IT.utf8/LC_IDENTIFICATION
b7309000-b7310000 r-xp 00000000 03:03 210682
/usr/local/lib/gambas2/gb.eval.so.0.0.0
b7310000-b7312000 rw-p 00006000 03:03 210682
/usr/local/lib/gambas2/gb.eval.so.0.0.0
b7312000-b7313000 rw-p b7312000 00:00 0
b7313000-b7326000 rw-p 00000000 03:03 211621
/usr/local/lib/gambas2/gb.qt.gambas
b7326000-b7328000 rw-p b7326000 00:00 0
b7328000-b7345000 r-xp 00000000 03:03 23529      /usr/lib/libexpat.so.1.5.0
b7345000-b7347000 rw-p 0001d000 03:03 23529      /usr/lib/libexpat.so.1.5.0
b7347000-b734b000 r-xp 00000000 03:03 32263
/usr/X11R6/lib/libXfixes.so.3.0
b734b000-b734c000 rw-p 00003000 03:03 32263
/usr/X11R6/lib/libXfixes.so.3.0
b734c000-b734d000 rw-p b734c000 00:00 0
b734d000-b7357000 r-xp 00000000 03:03 27208      /lib/libgcc_s.so.1
b7357000-b7358000 rw-p 00009000 03:03 27208      /lib/libgcc_s.so.1
b7358000-b742d000 r-xp 00000000 03:03 28111      /usr/lib/libstdc++.so.6.0.8
b742d000-b7430000 r--p 000d5000 03:03 28111      /usr/lib/libstdc++.so.6.0.8
b7430000-b7432000 rw-p 000d8000 03:03 28111      /usr/lib/libstdc++.so.6.0.8
b7432000-b7438000 rw-p b7432000 00:00 0
b7438000-b7448000 r-xp 00000000 03:03 22135      /lib/libpthread-2.4.so
b7448000-b744a000 rw-p 0000f000 03:03 22135      /lib/libpthread-2.4.so
b744a000-b744c000 rw-p b744a000 00:00 0
b744c000-b7461000 r-xp 00000000 03:03 32231
/usr/X11R6/lib/libICE.so.6.4
b7461000-b7462000 rw-p 00014000 03:03 32231
/usr/X11R6/lib/libICE.so.6.4
b7462000-b7464000 rw-p b7462000 00:00 0
b7464000-b746c000 r-xp 00000000 03:03 32233      /usr/X11R6/lib/libSM.so.6.0
b746c000-b746d000 rw-p 00007000 03:03 32233      /usr/X11R6/lib/libSM.so.6.0
b746d000-b746e000 rw-p b746d000 00:00 0
b746e000-b7562000 r-xp 00000000 03:03 32237
/usr/X11R6/lib/libX11.so.6.2
b7562000-b7565000 rw-p 000f4000 03:03 32237
/usr/X11R6/lib/libX11.so.6.2
b7565000-b7572000 r-xp 00000000 03:03 32261
/usr/X11R6/lib/libXext.so.6.4
b7572000-b7573000 rw-p 0000c000 03:03 32261
/usr/X11R6/lib/libXext.so.6.4
b7573000-b75a7000 r-xp 00000000 03:03 28399
/usr/lib/libfontconfig.so.1.0.4
b75a7000-b75ab000 rw-p 00033000 03:03 28399
/usr/lib/libfontconfig.so.1.0.4
b75ab000-b75ac000 rw-p b75ab000 00:00 0
b75ac000-b7616000 r-xp 00000000 03:03 27871
/usr/lib/libfreetype.so.6.3.8
b7616000-b7619000 rw-p 0006a000 03:03 27871
/usr/lib/libfreetype.so.6.3.8
b7619000-b762b000 r-xp 00000000 03:03 32269
/usr/X11R6/lib/libXft.so.2.1.2
b762b000-b762c000 rw-p 00011000 03:03 32269
/usr/X11R6/lib/libXft.so.2.1.2
b762c000-b762e000 r-xp 00000000 03:03 32273
/usr/X11R6/lib/libXinerama.so.1.0
b762e000-b762f000 rw-p 00001000 03:03 32273
/usr/X11R6/lib/libXinerama.so.1.0
b762f000-b7630000 rw-p b762f000 00:00 0
b7630000-b7638000 r-xp 00000000 03:03 32253
/usr/X11R6/lib/libXcursor.so.1.0.2
b7638000-b7639000 rw-p 00007000 03:03 32253
/usr/X11R6/lib/libXcursor.so.1.0.2
b7639000-b763b000 r-xp 00000000 03:03 32283
/usr/X11R6/lib/libXrandr.so.2.0
b763b000-b763c000 rw-p 00002000 03:03 32283
/usr/X11R6/lib/libXrandr.so.2.0
b763c000-b7643000 r-xp 00000000 03:03 32285
/usr/X11R6/lib/libXrender.so.1.2.2
b7643000-b7644000 rw-p 00006000 03:03 32285
/usr/X11R6/lib/libXrender.so.1.2.2
b7644000-b764b000 r-xp 00000000 03:03 32271      /usr/X11R6/lib/libXi.so.6.0
b764b000-b764c000 rw-p 00006000 03:03 32271      /usr/X11R6/lib/libXi.so.6.0
b764c000-b765d000 r-xp 00000000 03:03 27811      /lib/libz.so.1.2.3
b765d000-b765e000 rw-p 00010000 03:03 27811      /lib/libz.so.1.2.3
b765e000-b769c000 r-xp 00000000 03:03 28098      /usr/lib/libpng.so.3.1.2.8
b769c000-b769d000 rw-p 0003e000 03:03 28098      /usr/lib/libpng.so.3.1.2.8
b769d000-b769e000 rw-p b769d000 00:00 0
b769e000-b77b7000 r-xp 00000000 03:03 22109      /lib/libc-2.4.so
b77b7000-b77b9000 r--p 00118000 03:03 22109      /lib/libc-2.4.so
b77b9000-b77bb000 rw-p 0011a000 03:03 22109      /lib/libc-2.4.so
b77bb000-b77be000 rw-p b77bb000 00:00 0
b77be000-b77c0000 r-xp 00000000 03:03 22115      /lib/libdl-2.4.so
b77c0000-b77c2000 rw-p 00001000 03:03 22115      /lib/libdl-2.4.so
b77c2000-b77e5000 r-xp 00000000 03:03 22117      /lib/libm-2.4.so
b77e5000-b77e7000 rw-p 00022000 03:03 22117      /lib/libm-2.4.so
b77e7000-b7e8d000 r-xp 00000000 03:03 43717
/usr/lib/qt3/lib/libqt-mt.so.3.3.6
b7e8d000-b7ecd000 rw-p 006a6000 03:03 43717
/usr/lib/qt3/lib/libqt-mt.so.3.3.6
b7ecd000-b7ed1000 rw-p b7ecd000 00:00 0
b7ed1000-b7ed9000 r-xp 00000000 03:03 22126      /lib/libnss_files-2.4.so
b7ed9000-b7edb000 rw-p 00007000 03:03 22126      /lib/libnss_files-2.4.so
b7edb000-b7ee3000 r-xp 00000000 03:03 22130      /lib/libnss_nis-2.4.so
b7ee3000-b7ee5000 rw-p 00007000 03:03 22130      /lib/libnss_nis-2.4.so
b7ee5000-b7eeb000 r-xp 00000000 03:03 22122      /lib/libnss_compat-2.4.so
b7eeb000-b7eed000 rw-p 00005000 03:03 22122      /lib/libnss_compat-2.4.so
b7eed000-b7ef0000 rw-p b7eed000 00:00 0
b7ef0000-b7f0a000 r-xp 00000000 03:03 22102      /lib/ld-2.4.so
b7f0a000-b7f0c000 rw-p 00019000 03:03 22102      /lib/ld-2.4.so
bfeec000-bff01000 rw-p bfeec000 00:00 0          [stack]
ffffe000-fffff000 ---p 00000000 00:00 0          [vdso]


-- 
Ciao.
Leo

Webmaster di 3DItalia - Il sito italiano dedicato all'HW ed al 3D
URL: hardware.multiplayer.it
e-mail: leo at ...1534...





More information about the User mailing list