Summary: | Crash on Login, QtScript compiled with gcc 4.9.0 [QTJSC::JSGlobalData::storeVPtrs] | ||
---|---|---|---|
Product: | [Plasma] plasma4 | Reporter: | Joseph D. Wagner <joe> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED DOWNSTREAM | ||
Severity: | crash | CC: | cfeck, chepioq, fidelleon, hrvoje.senjan, ht990332, jones, karo1170, kde-bugs, megaphantomx, mrmazda, nasus.maximos, PTrenholme, rdieter, roshi, scarpino, sean_mccully, zeedorq |
Priority: | NOR | Keywords: | drkonqi |
Version: | 4.11.8 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi New crash information added by DrKonqi |
Description
Joseph D. Wagner
2014-04-28 06:39:20 UTC
Hi, I got the same crash, after qt was updated from qt-4.8.6-0.1.rc1.fc21 to qt-4.8.6-2.fc21 (all qt-4.8.6 final versions failed for me). So - to me - it looks like qt is the culprit, not kwin/plasma. HTH, Martin Kho Created attachment 86319 [details]
New crash information added by DrKonqi
plasma-desktop (4.11.8) on KDE Platform 4.13.0 using Qt 4.8.6
- What I was doing when the application crashed:
Similar issue her, also on Fedora Rawhide.
-- Backtrace (Reduced):
#5 0x0000003db2f33f18 in QTJSC::JSGlobalData::storeVPtrs() () from /lib64/libQtScript.so.4
#6 0x0000003db2f29103 in QTJSC::initializeThreading() () from /lib64/libQtScript.so.4
#7 0x0000003db2fdda98 in QScriptEnginePrivate::QScriptEnginePrivate() () from /lib64/libQtScript.so.4
#8 0x0000003db2fde96e in QScriptEngine::QScriptEngine() () from /lib64/libQtScript.so.4
#9 0x0000003db7db244f in QDeclarativeScriptEngine::QDeclarativeScriptEngine(QDeclarativeEnginePrivate*) () from /lib64/libQtDeclarative.so.4
Seems to be a problem with Qt JSC when compiled with GCC 4.9.0 (which landed recently in rawhide). See also downstream bug, https://bugzilla.redhat.com/show_bug.cgi?id=1091482 *** Bug 333886 has been marked as a duplicate of this bug. *** *** Bug 334047 has been marked as a duplicate of this bug. *** *** Bug 334058 has been marked as a duplicate of this bug. *** *** Bug 334096 has been marked as a duplicate of this bug. *** Same problem here with Gentoo and GCC 4.9.0. Gianni, thanks for the confirmation. I'll try to work today to poke gcc/qt-project.org upstreams harder Created attachment 86374 [details]
New crash information added by DrKonqi
plasma-desktop (4.11.9) on KDE Platform 4.13.0 using Qt 4.8.6
- What I was doing:
Simply started KDE and it crashed. Also caused a crash in KWin. Though, on an interesting note - applications still display and work fine. From the KDE Crash Handler tool I was able to launch my browser, terminal and email client.
-- Backtrace (Reduced):
#5 0x00007f1fa36a4d18 in QTJSC::JSGlobalData::storeVPtrs() () from /lib64/libQtScript.so.4
#6 0x00007f1fa369a143 in QTJSC::initializeThreading() () from /lib64/libQtScript.so.4
#7 0x00007f1fa374d2b8 in QScriptEnginePrivate::QScriptEnginePrivate() () from /lib64/libQtScript.so.4
#8 0x00007f1fa374e12f in QScriptEngine::QScriptEngine(QObject*) () from /lib64/libQtScript.so.4
#9 0x00007f1f9994232c in WorkspaceScripting::ScriptEngine::ScriptEngine(Plasma::Corona*, QObject*) () from /lib64/libplasmagenericshell.so.4
Reported to qt-project at: https://bugreports.qt-project.org/browse/QTBUG-38733 Confirmed on Arch too, this is an upstream bug. (In reply to comment #13) > Confirmed on Arch too, this is an upstream bug. Sorry for my non-sense comment, I just read Rex comment :-) *** Bug 334243 has been marked as a duplicate of this bug. *** Comment in qt project bug, https://bugreports.qt-project.org/browse/QTBUG-38733 , thinks this is indeed a gcc bug: "This seems to be http://gcc.gnu.org/PR60965. The patch in the comments there avoids the crash (after only recompiling JSGlobalData.cpp with the patched compiler)." Created attachment 86476 [details]
New crash information added by DrKonqi
plasma-desktop (4.11.9) on KDE Platform 4.13.0 using Qt 4.8.6
- What I was doing when the application crashed:
Started KDE and had an instant crash. Running most recent versions from rawhide (qt-4.8.6-2.fc21.x86_64).
-- Backtrace (Reduced):
#6 0x00007f1d09141d18 in QTJSC::JSGlobalData::storeVPtrs() () from /lib64/libQtScript.so.4
#7 0x00007f1d09137143 in QTJSC::initializeThreading() () from /lib64/libQtScript.so.4
#8 0x00007f1d091ea2b8 in QScriptEnginePrivate::QScriptEnginePrivate() () from /lib64/libQtScript.so.4
#9 0x00007f1d091eb12f in QScriptEngine::QScriptEngine(QObject*) () from /lib64/libQtScript.so.4
#10 0x00007f1cff3e332c in WorkspaceScripting::ScriptEngine::ScriptEngine (this=0x7fffcfda6c10, corona=0x9a1710, parent=<optimized out>) at /usr/src/debug/kde-workspace-4.11.9/libs/plasmagenericshell/scripting/scriptengine.cpp:60
gcc's bugzilla says the bug is fixed, but I am a bit puzzled because the page says it is fixed in 4.10.0 (and is "Known to work" in 4.9.0), so I am not sure if the bug is actually related. Can somebody re-test with a recent gcc checkout? The fix was included in gcc-4.9 branch too, and I can confirm a recent gcc-4.9 branch build fixes the issue. note, there is no gcc-4.9.1 release that includes this fix, yet. |