FS#41886 - qtcreator crashes on startup on 64 bit CPU

Attached to Project: Arch Linux
Opened by Giovanni (ksniffer) - Tuesday, 09 September 2014, 08:04 GMT
Last edited by Evangelos Foutras (foutrelis) - Saturday, 13 September 2014, 14:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Starting qtcreator on a 64 bit architecture I got a crash.
Starting from terminal I get:

file:///usr/share/qtcreator/welcomescreen/welcomescreen.qml:59:2: Expected token `}'

^
"/usr/share/qtcreator/snippets/cpp.xml" "Unexpected '<'." 74 18
intel_do_flush_locked failed: Invalid argument
/usr/bin/qtcreator: line 2: 5325 Segmentation fault (core dumped) QT_LOGGING_TO_CONSOLE=1 qtcreator-bin $@
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Saturday, 13 September 2014, 14:08 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#41626 
Comment by Nick Overdijk (Nickert) - Tuesday, 09 September 2014, 10:05 GMT
Me too, different error though:

nick@fusrodah:~$ qtcreator
LLVM ERROR: Cannot select: intrinsic %llvm.x86.sse41.pblendvb
/usr/bin/qtcreator: line 2: 823 Segmentation fault (core dumped) QT_LOGGING_TO_CONSOLE=1 qtcreator-bin $@
✗ - status code 139
Comment by patrick (potomac) - Tuesday, 09 September 2014, 12:47 GMT
it's broken also on a pentium 4 cpu i686, with radeon 9000 agp:

QOpenGLShader: could not create shader
QOpenGLShader: could not create shader
qtcreator-bin: r200_maos_arrays.c :101 : r200EmitArrays: l'assertion « 0 » a échoué.
/usr/bin/qtcreator : ligne 2 : 952 Abandon (core dumped)QT_LOGGING_TO_CONSOLE=1 qtcreator-bin $@
Comment by patrick (potomac) - Tuesday, 09 September 2014, 13:07 GMT
it seems that qtcreator uses opengl acceleration for his GUI and if you have an old card or a buggy graphic driver then a crash will occur at startup
Comment by Nick Overdijk (Nickert) - Tuesday, 09 September 2014, 13:26 GMT
That's true, but I have a software driver at the moment. Explains the LLVM error though, I think software rendering uses LLVM. I'm not at the machine, but do all programs using OpenGL have this issue?
Comment by patrick (potomac) - Tuesday, 09 September 2014, 13:59 GMT
yes it's not normal that an IDE software wants to use some highly sophisticated opengl acceleration features for his GUI,

my graphic card supports only openGL 1.3, not 2.x version, that's why qtcreator can not start,

but with another PC ( more modern, with an amd radeon HD4650 who supports openGL 3.x, pentium dual core 3.33 Ghz 64 bits ) I don't have this bug
Comment by Nick Overdijk (Nickert) - Wednesday, 10 September 2014, 18:19 GMT
That's not why it can't start, the software renderer supports OpenGL 3.0:

nick@fusrodah:~/code/onegame(master *$ u=)/build-Debug$ glinfo
GL_VERSION: 3.0 Mesa 10.2.7
GL_RENDERER: Gallium 0.4 on llvmpipe (LLVM 3.5, 128 bits)

So there must be something else wrong. My game also cannot launch anymore, same error:
LLVM ERROR: Cannot select: intrinsic %llvm.x86.sse41.pblendvb
Comment by Nick Overdijk (Nickert) - Wednesday, 10 September 2014, 18:26 GMT
I've made a new ticket #41918 since my game also doesn't start anymore and nor does glxgears. This proves it's not Qt Creator specific.

Loading...