PDA

View Full Version : *** glibc detected *** /home/user/workspace_vsipl++/bpgV1_compute_vsipl/bpgV1_compute



babu198649
18th December 2007, 12:18
hi
i got a run time error like this



*** glibc detected *** /home/user/workspace_vsipl++/bpgV1_compute_vsipl/bpgV1_compute_vsipl: munmap_chunk(): invalid pointer: 0x00002aaaabb12430 ***
======= Backtrace: =========
/lib64/libc.so.6(cfree+0x1b6)[0x3d7ce73c46]
/usr/local/Trolltech/Qt-4.3.2/lib/libQtCore.so.4[0x2aaaabb0f987]
/usr/local/Trolltech/Qt-4.3.2/lib/libQtCore.so.4(_ZN7QObjectD2Ev+0x6c)[0x2aaaabb128fc]
/usr/local/Trolltech/Qt-4.3.2/lib/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3b)[0x2aaaabab580b]
/home/user/workspace_vsipl++/bpgV1_compute_vsipl/bpgV1_compute_vsipl[0x408d4b]
/home/user/workspace_vsipl++/bpgV1_compute_vsipl/bpgV1_compute_vsipl[0x40cf6b]
/usr/local/Trolltech/Qt-4.3.2/lib/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObject iiPPv+0x44b)[0x2aaaabb1204b]
/usr/local/Trolltech/Qt-4.3.2/lib/libQtGui.so.4(_ZN15QAbstractButton7clickedEb+0x37)[0x2aaaab377257]
/usr/local/Trolltech/Qt-4.3.2/lib/libQtGui.so.4[0x2aaaab16346b]
/usr/local/Trolltech/Qt-4.3.2/lib/libQtGui.so.4[0x2aaaab164c0e]
/usr/local/Trolltech/Qt-4.3.2/lib/libQtGui.so.4(_ZN15QAbstractButton17mouseReleaseEv entEP11QMouseEvent+0x7d)[0x2aaaab164e3d]
/usr/local/Trolltech/Qt-4.3.2/lib/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0xaf7)[0x2aaaaaeec417]
/usr/local/Trolltech/Qt-4.3.2/lib/libQtGui.so.4(_ZN15QAbstractButton5eventEP6QEvent+ 0x3f)[0x2aaaab16405f]
/usr/local/Trolltech/Qt-4.3.2/lib/libQtGui.so.4(_ZN11QPushButton5eventEP6QEvent+0x38 )[0x2aaaab1ed668]
/usr/local/Trolltech/Qt-4.3.2/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_hel perEP7QObjectP6QEvent+0x16c)[0x2aaaaaea81ec]
/usr/local/Trolltech/Qt-4.3.2/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6 QEvent+0x6fb)[0x2aaaaaeaa93b]
/usr


what would have caused this error.

my program consists of too many files and attaching all the files would take time .so i just want to know what type of error it belongs to .

marcel
18th December 2007, 12:25
Can you post the slot that gets called when you press on that push button? It hink it is "munpam_chunk()".

babu198649
18th December 2007, 13:17
thanks marcel

i commented a line which calls a function that takes structure pointer as an argument.

but after commenting(ie. not calling this function) the program works fine and this program has nothing to do with Qt.

do u think the error exists only in the function which i am calling or still there is a possibility of error in Qt (because some of the Qt function reports about the errors.)

marcel
18th December 2007, 13:19
No, no error in Qt.
It's the other function...

babu198649
18th December 2007, 13:21
ok i did not mean Qt
i meant the program i have made with Qt:)