Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Demo/ sample crash -- invalid pointer with realloc
Forum Updated to NodeBB v4.3 + New Features

Demo/ sample crash -- invalid pointer with realloc

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 899 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    paul424
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved