Sign in

build from source, segfaults

  • FO 2 0
    Message from folkert on
    folkert@voga:~/Downloads/trunk/RELEASE$ ./polyphone
    *** Error in `./polyphone': realloc(): invalid old size: 0x0000000000a9b380 ***
    ======= Backtrace: =========
    /lib/x86_64-linux-gnu/libc.so.6(+0x6ef45)[0x7f3f93057f45]
    /lib/x86_64-linux-gnu/libc.so.6(+0x746b6)[0x7f3f9305d6b6]
    /lib/x86_64-linux-gnu/libc.so.6(+0x776c9)[0x7f3f930606c9]
    /lib/x86_64-linux-gnu/libc.so.6(realloc+0x139)[0x7f3f93061b69]
    /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN9QListData12realloc_growEi+0x55)[0x7f3f91df1ea5]
    /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN9QListData6appendEi+0x4f)[0x7f3f91df1f3f]
    /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_Z21qRegisterResourceDataiPKhS0_S0_+0x325)[0x7f3f91eb3175]
    /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(+0x7e363)[0x7f3f91d60363]
    /lib64/ld-linux-x86-64.so.2(+0xf3fa)[0x7f3f96cac3fa]
    /lib64/ld-linux-x86-64.so.2(+0xf50b)[0x7f3f96cac50b]
    /lib64/ld-linux-x86-64.so.2(+0xcfa)[0x7f3f96c9dcfa]

    and within valgrind:

    ==2751== Invalid free() / delete / delete[] / realloc()
    ==2751== at 0x4C2DDEF: realloc (vg_replace_malloc.c:785)
    ==2751== by 0x9A2AEA4: QListData::realloc_grow(int) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.6.1)
    ==2751== by 0x9A2AF3E: QListData::append(int) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.6.1)
    ==2751== by 0x9AEC174: qRegisterResourceData(int, unsigned char const*, unsigned char const*, unsigned char const*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.6.1)
    ==2751== by 0x9999362: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.6.1)
    ==2751== by 0x400F3F9: call_init.part.0 (dl-init.c:72)
    ==2751== by 0x400F50A: call_init (dl-init.c:30)
    ==2751== by 0x400F50A: _dl_init (dl-init.c:120)
    ==2751== by 0x4000CF9: ??? (in /lib/x86_64-linux-gnu/ld-2.23.so)
    ==2751== Address 0xa9b380 is 0 bytes inside data symbol "_ZN9QListData11shared_nullE"
    ==2751==
    terminate called after throwing an instance of 'std::bad_alloc'
    what(): std::bad_alloc
    ==2751==
    ==2751== Process terminating with default action of signal 6 (SIGABRT)
    ==2751== at 0x877E1C8: raise (raise.c:54)
    ==2751== by 0x877F649: abort (abort.c:89)
    ==2751== by 0x7F3F04C: __gnu_cxx::__verbose_terminate_handler() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22)
    ==2751== by 0x7F3D015: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22)
    ==2751== by 0x7F3D060: std::terminate() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22)
    ==2751== by 0x7F3D2C8: __cxa_rethrow (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22)
    ==2751== by 0x9AEC26E: qRegisterResourceData(int, unsigned char const*, unsigned char const*, unsigned char const*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.6.1)
    ==2751== by 0x9999362: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.6.1)
    ==2751== by 0x400F3F9: call_init.part.0 (dl-init.c:72)
    ==2751== by 0x400F50A: call_init (dl-init.c:30)
    ==2751== by 0x400F50A: _dl_init (dl-init.c:120)
    ==2751== by 0x4000CF9: ??? (in /lib/x86_64-linux-gnu/ld-2.23.so)
  • 410 0
    Message from Davy on
    Hello,

    Could you please provide me with additional information such as the version number of the sources, your operating system and what you did to trigger the bug?

    Thanks for reporting,
    Davy
  • FO 2 0
    Message from folkert on
    debian 8 64bit, zip downloaded from the website on the day I reported it
    and to trigger it; just start the program

Sign in or register to take part in discussions.

Polyphone needs you!

Polyphone is free but there are costs associated with its website and development. A small donation will help a lot.

Donate
Learn the basics Try a tutorial
Scroll to
top