Подскажите пожалуйста почему при сборке проекта под QT5 все отлично работает, а под QT4 приложение при запуске выдает сообщение:
Скрытый текст |
---|
Запускается /home/vxuser/WORK_PROJECT/Work/build-MapServer-4-Debug/MapServer... realloc(): invalid pointer Программа неожиданно завершилась. Процесс был завершён принудительно./home/vxuser/WORK_PROJECT/Work/build-MapServer-4-Debug/MapServer аварийно завершился. |
gdb выдает:
Скрытый текст |
---|
vxuser@astra:~/WORK_PROJECT/Work/build-MapServer-4-Debug$ gdb ./MapServer GNU gdb (Debian 7.12-6) 7.12.0.20161007-git Copyright © 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later < This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: < Find the GDB manual and other documentation resources online at: < For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./MapServer...done. (gdb) run Starting program: /home/vxuser/WORK_PROJECT/Work/build-MapServer-4-Debug/MapServer BFD: /usr/lib/debug/.build-id/f2/5dfd7b95be4ba386fd71080accae8c0732b711.debug: unable to initialize decompress status for section .debug_aranges BFD: /usr/lib/debug/.build-id/f2/5dfd7b95be4ba386fd71080accae8c0732b711.debug: unable to initialize decompress status for section .debug_aranges warning: File "/usr/lib/debug/.build-id/f2/5dfd7b95be4ba386fd71080accae8c0732b711.debug" has no build-id, file skipped BFD: /usr/lib/debug/.build-id/d3/583c742dd47aaa860c5ae0c0c5bdbcd2d54f61.debug: unable to initialize decompress status for section .debug_aranges BFD: /usr/lib/debug/.build-id/d3/583c742dd47aaa860c5ae0c0c5bdbcd2d54f61.debug: unable to initialize decompress status for section .debug_aranges warning: File "/usr/lib/debug/.build-id/d3/583c742dd47aaa860c5ae0c0c5bdbcd2d54f61.debug" has no build-id, file skipped [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". BFD: /usr/lib/debug/.build-id/88/5dda4b4a5cea600e7b5b98c1ad86996c8d2299.debug: unable to initialize decompress status for section .debug_aranges BFD: /usr/lib/debug/.build-id/88/5dda4b4a5cea600e7b5b98c1ad86996c8d2299.debug: unable to initialize decompress status for section .debug_aranges warning: File "/usr/lib/debug/.build-id/88/5dda4b4a5cea600e7b5b98c1ad86996c8d2299.debug" has no build-id, file skipped BFD: /usr/lib/debug/.build-id/18/b9a9a8c523e5cfe5b5d946d605d09242f09798.debug: unable to initialize decompress status for section .debug_aranges BFD: /usr/lib/debug/.build-id/18/b9a9a8c523e5cfe5b5d946d605d09242f09798.debug: unable to initialize decompress status for section .debug_aranges warning: File "/usr/lib/debug/.build-id/18/b9a9a8c523e5cfe5b5d946d605d09242f09798.debug" has no build-id, file skipped BFD: /usr/lib/debug/.build-id/5d/cf98ad684962be494af28a1051793fd39e4ebc.debug: unable to initialize decompress status for section .debug_aranges BFD: /usr/lib/debug/.build-id/5d/cf98ad684962be494af28a1051793fd39e4ebc.debug: unable to initialize decompress status for section .debug_aranges warning: File "/usr/lib/debug/.build-id/5d/cf98ad684962be494af28a1051793fd39e4ebc.debug" has no build-id, file skipped realloc(): invalid pointer Program received signal SIGABRT, Aborted. 0x00007ffff3ff07bb in raise () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) backtrace #0 0x00007ffff3ff07bb in raise () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007ffff3fdb535 in abort () from /lib/x86_64-linux-gnu/libc.so.6 #2 0x00007ffff4032508 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #3 0x00007ffff4038c1a in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #4 0x00007ffff403de4a in realloc () from /lib/x86_64-linux-gnu/libc.so.6 #5 0x00007ffff33e5f91 in QListData::realloc_grow(int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007ffff33e601f in QListData::append(int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007ffff34a5a58 in qRegisterResourceData(int, unsigned char const*, unsigned char const*, unsigned char const*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007ffff3368be3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #9 0x00007ffff7fe437a in ?? () from /lib64/ld-linux-x86-64.so.2 #10 0x00007ffff7fe4476 in ?? () from /lib64/ld-linux-x86-64.so.2 #11 0x00007ffff7fd60ca in ?? () from /lib64/ld-linux-x86-64.so.2 #12 0x0000000000000001 in ?? () #13 0x00007fffffffe4a5 in ?? () #14 0x0000000000000000 in ?? () |
Я понимаю что вопрос не совсем по картографии, но такое я встречал и на примере с MAPVIEW.
Спасибо.