Demo/ sample crash -- invalid pointer with realloc
-
I just successfully build this example :
"https://qt.gitorious.org/qt/qtserialport/source/eacecbe76e967e59a4cd0f873471693df7bb9e63:examples":https://qt.gitorious.org/qt/qtserialport/source/eacecbe76e967e59a4cd0f873471693df7bb9e63:examples
"http://qt-project.org/doc/qt-5/qtserialport-terminal-example.html":http://qt-project.org/doc/qt-5/qtserialport-terminal-example.html"Instead , I keep getting crashes, for all 6 examples from that package !
My hypothesis is that I run wrong libc for which my Qt lib has been build ( but again this is from OpenSuse repo and no deps were broken ... )
Using qt 5.3 @ OpenSuse 12.3
Here's example one : tom@oberon:~/qt/qt-qtserialport/examples/master> ./master
@*** Error in `./master': realloc(): invalid pointer: 0x00007f8f2fbeb820 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7afc6)[0x7f8f2e99afc6]
/lib64/libc.so.6(realloc+0x28e)[0x7f8f2e99ed0e]
/usr/lib64/libQt5Core.so.5(_ZN9QListData7reallocEi+0x26)[0x7f8f2e36bd86]
/usr/lib64/libQt5Core.so.5(_ZN9QListData6appendEi+0x7d)[0x7f8f2e36be5d]
/usr/lib64/libQt5Core.so.5(Z21qRegisterResourceDataiPKhS0_S0+0x32a)[0x7f8f2e430c5a]
/usr/lib64/libQt5Core.so.5(+0x316683)[0x7f8f2e57e683]
/usr/lib64/libQt5Core.so.5(+0x7df69)[0x7f8f2e2e5f69]
/lib64/ld-linux-x86-64.so.2(+0xe966)[0x7f8f30ace966]
/lib64/ld-linux-x86-64.so.2(+0xea4a)[0x7f8f30acea4a]
/lib64/ld-linux-x86-64.so.2(+0x155a)[0x7f8f30ac155a]
======= Memory map: ========Full pastebin here "http://pastebin.com/u3xHnRey":http://pastebin.com/u3xHnRey