QtCreator crashes on startup.
-
- I have been using QtCreator 2.81 with no problems when using Qt 4.8.3. However I have had problems trying to work on projects using Qt version 5. +.
I assumed that newer versions of Qt required newer versions of QtCreator. Have tried several versions of Qt: (3.3.0, 3.2.0) but none of them appeared to work.
Next tried running new versions of QtCreator from command line and it appears that QtCreator is crashing:
allen@ubuntu:~/qtcreator-3.3.0/bin$ ./qtcreator
*** glibc detected *** ./qtcreator: realloc(): invalid pointer: 0x00007fdd92f5f0e0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7db26)[0x7fdd91dcbb26]
/lib/x86_64-linux-gnu/libc.so.6(realloc+0x28e)[0x7fdd91dd088e]
/home/allen/qtcreator-3.3.0/bin/../lib/qtcreator/libQt5Core.so.5(_ZN9QListData7reallocEi+0x26)[0x7fdd92943216]
/home/allen/qtcreator-3.3.0/bin/../lib/qtcreator/libQt5Core.so.5(_ZN9QListData6appendEi+0x79)[0x7fdd929432e9]
/home/allen/qtcreator-3.3.0/bin/../lib/qtcreator/libQt5Core.so.5(+0x8f2c2)[0x7fdd928ce2c2]
/home/allen/qtcreator-3.3.0/bin/../lib/qtcreator/libQt5Core.so.5(+0x91875)[0x7fdd928d0875]
/home/allen/qtcreator-3.3.0/bin/../lib/qtcreator/libQt5Core.so.5(+0x92c14)[0x7fdd928d1c14]
/home/allen/qtcreator-3.3.0/bin/../lib/qtcreator/libQt5Core.so.5(_Z17qFormatLogMessage9QtMsgTypeRK18QMessageLogContextRK7QString+0x132d)[0x7fdd928d324d]
/home/allen/qtcreator-3.3.0/bin/../lib/qtcreator/libQt5Core.so.5(+0x947b5)[0x7fdd928d37b5]
/home/allen/qtcreator-3.3.0/bin/../lib/qtcreator/libQt5Core.so.5(+0x8f019)[0x7fdd928ce019]
/home/allen/qtcreator-3.3.0/bin/../lib/qtcreator/libQt5Core.so.5(_ZNK14QMessageLogger5fatalEPKcz+0xe1)[0x7fdd928cfb71]
/home/allen/qtcreator-3.3.0/bin/../lib/qtcreator/libQt5Core.so.5(_ZN9QMetaType22registerNormalizedTypeERK10QByteArrayPFvPvEPFS3_PKvES5_PFS3_S3_S7_Ei6QFlagsINS_8TypeFlagEEPK11QMetaObject+0x585)[0x7fdd92b2b175]
/home/allen/qtcreator-3.3.0/bin/../lib/qtcreator/libQt5Core.so.5(_ZN9QMetaType12registerTypeEPKcPFvPvEPFS2_PKvES4_PFS2_S2_S6_Ei6QFlagsINS_8TypeFlagEEPK11QMetaObject+0x61)[0x7fdd92b2b211]
/home/allen/qtcreator-3.3.0/bin/../lib/qtcreator/libQt5Core.so.5(_ZN9QMetaType12registerTypeEPKcPFvPvEPFS2_PKvE+0x2a)[0x7fdd92b2b2aa]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x1b8efe)[0x7fdd82819efe]
/lib64/ld-linux-x86-64.so.2(+0xf306)[0x7fdd93db3306]
/lib64/ld-linux-x86-64.so.2(+0xf3df)[0x7fdd93db33df]
/lib64/ld-linux-x86-64.so.2(+0x13ada)[0x7fdd93db7ada]
/lib64/ld-linux-x86-64.so.2(+0xf176)[0x7fdd93db3176]
/lib64/ld-linux-x86-64.so.2(+0x1331a)[0x7fdd93db731a]
/lib/x86_64-linux-gnu/libdl.so.2(+0xf26)[0x7fdd8fd10f26]
/lib64/ld-linux-x86-64.so.2(+0xf176)[0x7fdd93db3176]
/lib/x86_64-linux-gnu/libdl.so.2(+0x152f)[0x7fdd8fd1152f]
/lib/x86_64-linux-gnu/libdl.so.2(dlopen+0x31)[0x7fdd8fd10fc1]
/home/allen/qtcreator-3.3.0/bin/../lib/qtcreator/libQt5Core.so.5(+0x2d29b3)[0x7fdd92b119b3]
/home/allen/qtcreator-3.3.0/bin/../lib/qtcreator/libQt5Core.so.5(+0x2ca5ea)[0x7fdd92b095ea]
/home/allen/qtcreator-3.3.0/bin/../lib/qtcreator/libQt5Core.so.5(+0x2caba3)[0x7fdd92b09ba3]
/home/allen/qtcreator-3.3.0/bin/../lib/qtcreator/libQt5Core.so.5(_ZNK14QFactoryLoader8instanceEi+0x2db)[0x7fdd92b01fab]
/home/allen/qtcreator-3.3.0/bin/../lib/qtcreator/./libQt5Gui.so.5(+0xdbaff)[0x7fdd9133baff]
/home/allen/qtcreator-3.3.0/bin/../lib/qtcreator/./libQt5Gui.so.5(_ZN22QGuiApplicationPrivate25createPlatformIntegrationEv+0x85e)[0x7fdd913447de]
/home/allen/qtcreator-3.3.0/bin/../lib/qtcreator/./libQt5Gui.so.5(_ZN22QGuiApplicationPrivate21createEventDispatcherEv+0x2d)[0x7fdd91345c5d]
/home/allen/qtcreator-3.3.0/bin/../lib/qtcreator/libQt5Core.so.5(_ZN16QCoreApplication4initEv+0x24d)[0x7fdd92b1b49d]
/home/allen/qtcreator-3.3.0/bin/../lib/qtcreator/libQt5Core.so.5(_ZN16QCoreApplicationC2ER23QCoreApplicationPrivate+0x25)[0x7fdd92b1b515]
/home/allen/qtcreator-3.3.0/bin/../lib/qtcreator/./libQt5Gui.so.5(_ZN15QGuiApplicationC2ER22QGuiApplicationPrivate+0x9)[0x7fdd913499a9]
/home/allen/qtcreator-3.3.0/bin/../lib/qtcreator/libQt5Widgets.so.5(_ZN12QApplicationC1ERiPPci+0x52)[0x7fdd9343a7b2]
./qtcreator[0x40b129]
./qtcreator[0x406a2c]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7fdd91d6f76d]
./qtcreator[0x40a985]
======= Memory map: ========
00400000-00411000 r-xp 00000000 07:00 2411681 /home/allen/qtcreator-3.3.0/bin/qtcreator
00611000-00612000 r--p 00011000 07:00 2411681 /home/allen/qtcreator-3.3.0/bin/qtcreator
00612000-00613000 rw-p 00012000 07:00 2411681 /home/allen/qtcreator-3.3.0/bin/qtcreator
00b53000-00b95000 rw-p 00000000 00:00 0 [heap]
7fdd814c9000-7fdd81528000 r-xp 00000000 07:00 670556 /usr/lib/x86_64-linux-gnu/libXt.so.6.0.0
7fdd81528000-7fdd81728000 ---p 0005f000 07:00 670556 /usr/lib/x86_64-linux-gnu/libXt.so.6.0.0
7fdd81728000-7fdd81729000 r--p 0005f000 07:00 670556 /usr/lib/x86_64-linux-gnu/libXt.so.6.0.0
7fdd81729000-7fdd8172e000 rw-p 00060000 07:00 670556 /usr/lib/x86_64-linux-gnu/libXt.so.6.0.0
7fdd8172e000-7fdd8172f000 rw-p 00000000 00:00 0
7fdd8172f000-7fdd81746000 r-xp 00000000 07:00 654953 /usr/lib/x86_64-linux-gnu/libaudio.so.2.4
7fdd81746000-7fdd81945000 ---p 00017000 07:00 654953 /usr/lib/x86_64-linux-gnu/libaudio.so.2.4
7fdd81945000-7fdd81946000 r--p 00016000 07:00 654953 /usr/lib/x86_64-linux-gnu/libaudio.so.2.4
7fdd81946000-7fdd81947000 rw-p 00017000 07:00 654953 /usr/lib/x86_64-linux-gnu/libaudio.so.2.4
7fdd81947000-7fdd8195f000 r-xp 00000000 07:00 1185217 /lib/x86_64-linux-gnu/libresolv-2.15.so
7fdd8195f000-7fdd81b5f000 ---p 00018000 07:00 1185217 /lib/x86_64-linux-gnu/libresolv-2.15.so
7fdd81b5f000-7fdd81b60000 r--p 00018000 07:00 1185217 /lib/x86_64-linux-gnu/libresolv-2.15.so
7fdd81b60000-7fdd81b61000 rw-p 00019000 07:00 1185217 /lib/x86_64-linux-gnu/libresolv-2.15.so
7fdd81b61000-7fdd81b63000 rw-p 00000000 00:00 0
7fdd81b63000-7fdd81b80000 r-xp 00000000 07:00 1181305 /lib/x86_64-linux-gnu/libselinux.so.1
7fdd81b80000-7fdd81d7f000 ---p 0001d000 07:00 1181305 /lib/x86_64-linux-gnu/libselinux.so.1
7fdd81d7f000-7fdd81d80000 r--p 0001c000 07:00 1181305 /lib/x86_64-linux-gnu/libselinux.so.1
7fdd81d80000-7fdd81d81000 rw-p 0001d000 07:00 1181305 /lib/x86_64-linux-gnu/libselinux.so.1
7fdd81d81000-7fdd81d82000 rw-p 00000000 00:00 0
7fdd81d82000-7fdd81d8a000 r-xp 00000000 07:00 655181 /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0
7fdd81d8a000-7fdd81f8a000 ---p 00008000 07:00 655181 /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0
7fdd81f8a000-7fdd81f8b000 r--p 00008000 07:00 655181 /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0
7fdd81f8b000-7fdd81f8c000 rw-p 00009000 07:00 655181 /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0
7fdd81f8c000-7fdd81f8e000 r-xp 00000000 07:00 655236 /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0
7fdd81f8e000-7fdd8218d000 ---p 00002000 07:00 655236 /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0
7fdd8218d000-7fdd8218e000 r--p 00001000 07:00 655236 /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0
7fdd8218e000-7fdd8218f000 rw-p 00002000 07:00 655236 /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0
7fdd8218f000-7fdd82455000 r-xp 00000000 07:00 659882 /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.1
7fdd82455000-7fdd82654000 ---p 002c6000 07:00 659882 /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.1
7fdd82654000-7fdd8265f000 r--p 002c5000 07:00 659882 /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.1
7fdd8265f000-7fdd82660000 rw-p 002d0000 07:00 659882 /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.1
7fdd82660000-7fdd82661000 rw-p 00000000 00:00 0
7fdd82661000-7fdd830e2000 r-xp 00000000 07:00 658132 /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.1
7fdd830e2000-7fdd832e2000 ---p 00a81000 07:00 658132 /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.1
7fdd832e2000-7fdd83324000 r--p 00a81000 07:00 658132 /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.1
7fdd83324000-7fdd8332b000 rw-p 00ac3000 07:00 658132 /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.1
7fdd8332b000-7fdd8332f000 rw-p 00000000 00:00 0
7fdd8332f000-7fdd83355000 r-xp 00000000 07:00 1181294 /lib/x86_64-linux-gnu/libpng12.so.0.46.0
7fdd83355000-7fdd83555000 ---p 00026000 07:00 1181294 /lib/x86_64-linux-gnu/libpng12.so.0.46.0
7fdd83555000-7fdd83556000 r--p 00026000 07:00 1181294 /lib/x86_64-linux-gnu/libpng12.so.0.46.0
7fdd83556000-7fdd83557000 rw-p 00027000 07:00 1181294 /lib/x86_64-linux-gnu/libpng12.so.0.46.0
7fdd83557000-7fdd835e7000 r-xp 00000000 07:00 662980 /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.30.2
7fdd835e7000-7fdd837e6000 ---p 00090000 07:00 662980 /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.30.2
7fdd837e6000-7fdd837ed000 r--p 0008f000 07:00 662980 /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.30.2
7fdd837ed000-7fdd837ee000 rw-p 00096000 07:00 662980 /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.30.2
7fdd837ee000-7fdd837f1000 r-xp 00000000 07:00 658232 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.3200.4
7fdd837f1000-7fdd839f0000 ---p 00003000 07:00 658232 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.3200.4
7fdd839f0000-7fdd839f1000 r--p 00002000 07:00 658232 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.3200.4
7fdd839f1000-7fdd839f2000 rw-p 00003000 07:00 658232 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.3200.4
7fdd839f2000-7fdd839f4000 r-xp 00000000 07:00 662159 /usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0
7fdd839f4000-7fdd83bf3000 ---p 00002000 07:00 662159 /usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0
7fdd83bf3000-7fdd83bf4000 r--p 00001000 07:00 662159 /usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0
7fdd83bf4000-7fdd83bf5000 rw-p 00002000 07:00 662159 /usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0
7fdd83bf5000-7fdd83bf7000 r-xp 00000000 07:00 662155 /usr/lib/x86_64-linux-gnu/libXcomposite.so.1.0.0
7fdd83bf7000-7fdd83df6000 ---p 00002000 07:00 662155 /usr/lib/x86_64-linux-gnu/libXcomposite.so.1.0.0
7fdd83df6000-7fdd83df7000 r--p 00001000 07:00 662155 /usr/lib/x86_64-linux-gnu/libXcomposite.so.1.0.0
7fdd83df7000-7fdd83df8000 rw-p 00002000 07:00 662155 /usr/lib/x86_64-linux-gnu/libXcomposite.so.1.0.0
7fdd83df8000-7fdd83dff000 r-xp 00000000 07:00 662176 /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0
7fdd83dff000-7fdd83ffe000 ---p 00007000 07:00 662176 /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0
7fdd83ffe000-7fdd83fff000 r--p 00006000 07:00 662176 /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0
7fdd83fff000-7fdd84000000 rw-p 00007000 07:00 662176 /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0
7fdd84000000-7fdd84021000 rw-p 00000000 00:00 0
7fdd84021000-7fdd88000000 ---p 00000000 00:00 0
7fdd8800b000-7fdd8800d000 r-xp 00000000 07:00 668112 /usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0
7fdd8800d000-7fdd8820c000 ---p 00002000 07:00 668112 /usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0
7fdd8820c000-7fdd8820d000 r--p 00001000 07:00 668112 /usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0
7fdd8820d000-7fdd8820e000 rw-p 00002000 07:00 668112 /usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0
7fdd8820e000-7fdd88237000 r-xp 00000000 07:00 657702 /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0.3000.0
7fdd88237000-7fdd88436000 ---p 00029000 07:00 657702 /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0.3000.0
7fdd88436000-7fdd88437000 r--p 00028000 07:00 657702 /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0.3000.0
7fdd88437000-7fdd88438000 rw-p 00029000 07:00 657702 /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0.3000.0
7fdd88438000-7fdd88580000 r-xp 00000000 07:00 658235 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3200.4
7fdd88580000-7fdd8877f000 ---p 00148000 07:00 658235 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3200.4
7fdd8877f000-7fdd88783000 r--p 00147000 07:00 658235 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3200.4
7fdd88783000-7fdd88785000 rw-p 0014b000 07:00 658235 /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.3200.4
7fdd88785000-7fdd88787000 rw-p 00000000 00:00 0
7fdd88787000-7fdd887a5000 r-xp 00000000 07:00 660393 /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.2600.1
7fdd887a5000-7fdd889a5000 ---p 0001e000 07:00 660393 /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.2600.1
7fdd889a5000-7fdd889a6000 r--p 0001e000 07:00 660393 /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.2600.1
7fdd889a6000-7fdd889a7000 rw-p 0001f000 07:00 660393 /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.2600.1
7fdd889a7000-7fdd88aab000 r-xp 00000000 07:00 921630 /usr/local/lib/libcairo.so.2.11200.15
7fdd88aab000-7fdd88caa000 ---p 00104000 07:00 921630 /usr/local/lib/libcairo.so.2.11200.15
7fdd88caa000-7fdd88cad000 r--p 00103000 07:00 921630 /usr/local/lib/libcairo.so.2.11200.15
7fdd88cad000-7fdd88cae000 rw-p 00106000 07:00 921630 /usr/local/lib/libcairo.so.2.11200.15
7fdd88cae000-7fdd88cb0000 rw-p 00000000 00:00 0
7fdd88cb0000-7fdd88ccf000 r-xp 00000000 07:00 662209 /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0.20409.1
7fdd88ccf000-7fdd88ecf000 ---p 0001f000 07:00 662209 /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0.20409.1
7fdd88ecf000-7fdd88ed1000 r--p 0001f000 07:00 662209 /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0.20409.1
7fdd88ed1000-7fdd88ed2000 rw-p 00021000 07:00 662209 /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0.20409.1
7fdd88ed2000-7fdd88edd000 r-xp 00000000 07:00 657725 /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0.3000.0
7fdd88edd000-7fdd890dc000 ---p 0000b000 07:00 657725 /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0.3000.0
7fdd890dc000-7fdd890dd000 r--p 0000a000 07:00 657725 /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0.3000.0
7fdd890dd000-7fdd890de000 rw-p 0000b000 07:00 657725 /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0.3000.0
7fdd890de000-7fdd89124000 r-xp 00000000 07:00 657721 /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0.3000.0
7fdd89124000-7fdd89324000 ---p 00046000 07:00 657721 /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0.3000.0
7fdd89324000-7fdd89326000 r--p 00046000 07:00 657721 /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0.3000.0
7fdd89326000-7fdd89327000 rw-p 00048000 07:00 657721 /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0.3000.0
7fdd89327000-7fdd893d4000 r-xp 00000000 07:00 654537 /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0.2400.10
7fdd893d4000-7fdd895d3000 ---p 000ad000 07:00 654537 /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0.2400.10
7fdd895d3000-7fdd895d7000 r--p 000ac000 07:00 654537 /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0.2400.10
7fdd895d7000-7fdd895d9000 rw-p 000b0000 07:00 654537 /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0.2400.10Aborted (core dumped)
allen@ubuntu:~/qtcreator-3.3.0/bin$ -
Hi,
What version of Ubuntu are you running ?
-
Can you try again with the welcome plugin disabled ?
-
@SGaist
Same thing:
allen@ubuntu:~/qtcreator-3.3.0/bin$ ./qtcreator -noload welcome
*** glibc detected *** ./qtcreator: realloc(): invalid pointer: 0x00007f64c89bd0e0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7db26)[0x7f64c7829b26]
... the rest deleted. -
Since 3.4 is now available, can you check with that one ?
-
Then try with
QT_DEBUG_PLUGINS=1 ./qtcreator
to grab some information and if you still can't find anything, start it with gdb to exactly where it fails.