Bug 1091482 - QtScript crash after QTJSC::JSGlobalData::storeVPtrs(), when built using gcc-4.9.0-1.fc21
Summary: QtScript crash after QTJSC::JSGlobalData::storeVPtrs(), when built using gcc-...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1091645 1091654 1092852 1093584 1093780 1093821 (view as bug list)
Depends On:
Blocks: F21AlphaBlocker
TreeView+ depends on / blocked
 
Reported: 2014-04-25 17:20 UTC by nucleo
Modified: 2014-05-21 18:34 UTC (History)
26 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-08 03:47:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 60965 0 None None None Never
KDE Software Compilation 333987 0 None None None Never
Qt Bug Tracker QTBUG-38733 0 None None None Never

Description nucleo 2014-04-25 17:20:19 UTC
Description of problem:
plasma-desktop crashes after update qt to 4.8.6-2.

Version-Release number of selected component (if applicable):
qt-4.8.6-2.fc21.i686
kde-workspace-4.11.8-6.fc21.i686

How reproducible:
every time

Steps to Reproduce:
1. start KDE
2.
3.

Actual results:
Application: Plasma (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb50157c0 (LWP 674))]

Thread 2 (Thread 0xa338cb40 (LWP 679)):
#0  0xb77a5b2c in __kernel_vsyscall ()
#1  0xb6b408ec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb04c3f51 in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /lib/libQtScript.so.4
#3  0xb04c3f90 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /lib/libQtScript.so.4
#4  0xb6b3c333 in start_thread () from /lib/libpthread.so.0
#5  0xb5d8d57e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb50157c0 (LWP 674)):
[KCrash Handler]
#6  0xb0455642 in QTJSC::JSGlobalData::storeVPtrs() () from /lib/libQtScript.so.4
#7  0xb04497b8 in QTJSC::initializeThreading() () from /lib/libQtScript.so.4
#8  0xb050d0bd in QScriptEnginePrivate::QScriptEnginePrivate() () from /lib/libQtScript.so.4
#9  0xb050e1ac in QScriptEngine::QScriptEngine() () from /lib/libQtScript.so.4
#10 0xb00dd93a in QDeclarativeScriptEngine::QDeclarativeScriptEngine(QDeclarativeEnginePrivate*) () from /lib/libQtDeclarative.so.4
#11 0xb00e49b8 in QDeclarativeEnginePrivate::QDeclarativeEnginePrivate(QDeclarativeEngine*) () from /lib/libQtDeclarative.so.4
#12 0xb00e4cb0 in QDeclarativeEngine::QDeclarativeEngine(QObject*) () from /lib/libQtDeclarative.so.4
#13 0xb2806055 in Plasma::DeclarativeWidget::DeclarativeWidget(QGraphicsWidget*) () from /usr/lib/libplasma.so.3
#14 0xa36223bd in DeclarativeAppletScript::init() () from /usr/lib/kde4/plasma_appletscript_declarative.so
#15 0xb27085d1 in Plasma::Applet::init() () from /usr/lib/libplasma.so.3
#16 0xb271bdbf in Plasma::ContainmentPrivate::initApplets() () from /usr/lib/libplasma.so.3
#17 0xb272f0cd in Plasma::CoronaPrivate::importLayout(KConfigBase const&, bool) () from /usr/lib/libplasma.so.3
#18 0xb27302db in Plasma::Corona::loadLayout(QString const&) () from /usr/lib/libplasma.so.3
#19 0xb27303cb in Plasma::Corona::initializeLayout(QString const&) () from /usr/lib/libplasma.so.3
#20 0xaecdad41 in PlasmaApp::corona(bool) () from /usr/lib/libkdeinit4_plasma-desktop.so
#21 0xaecdb26a in PlasmaApp::setupDesktop() () from /usr/lib/libkdeinit4_plasma-desktop.so
#22 0xaece21b8 in PlasmaApp::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.83] () from /usr/lib/libkdeinit4_plasma-desktop.so
#23 0xb6ceb60b in QMetaCallEvent::placeMetaCall(QObject*) () from /lib/libQtCore.so.4
#24 0xb6cf3be3 in QObject::event(QEvent*) () from /lib/libQtCore.so.4
#25 0xb6cdda5b in QCoreApplication::event(QEvent*) () from /lib/libQtCore.so.4
#26 0xb615cab7 in QApplication::event(QEvent*) () from /lib/libQtGui.so.4
#27 0xb6157324 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/libQtGui.so.4
#28 0xb615e3e3 in QApplication::notify(QObject*, QEvent*) () from /lib/libQtGui.so.4
#29 0xb7504122 in KApplication::notify(QObject*, QEvent*) () from /lib/libkdeui.so.5
#30 0xb6cd8fb6 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib/libQtCore.so.4
#31 0xb6cdc5b7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/libQtCore.so.4
#32 0xb6cdcadd in QCoreApplication::sendPostedEvents(QObject*, int) () from /lib/libQtCore.so.4
#33 0xb6d0ba8f in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib/libQtCore.so.4
#34 0xb565fcdc in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#35 0xb5660080 in g_main_context_iterate.isra () from /lib/libglib-2.0.so.0
#36 0xb5660149 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#37 0xb6d0bbfa in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#38 0xb620e93c in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtGui.so.4
#39 0xb6cd78c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#40 0xb6cd7c69 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#41 0xb6cddb1b in QCoreApplication::exec() () from /lib/libQtCore.so.4
#42 0xb61553f5 in QApplication::exec() () from /lib/libQtGui.so.4
#43 0xaecbdd05 in kdemain () from /usr/lib/libkdeinit4_plasma-desktop.so
#44 0x0804f58a in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) ()
#45 0x080504d0 in handle_launcher_request(int, char const*) [clone .isra.14] ()
#46 0x08050be0 in handle_requests(int) ()
#47 0x0804c29e in main ()

Additional info:
No crash after downgrading to qt-4.8.6-0.1.rc1.fc21.i686

Comment 1 Rex Dieter 2014-04-25 17:25:40 UTC
Details from irc, this is on i686 vmware

Comment 2 nucleo 2014-04-25 17:55:13 UTC
Tested both i686 and x86_64 Rawhide live images Fedora-Live-KDE-i686-rawhide-20140425.iso and Fedora-Live-KDE-x86_64-rawhide-20140425.iso. plasma-desktop on both crashes.

Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8edc533880 (LWP 1531))]

Thread 2 (Thread 0x7f8eb01a0700 (LWP 1538)):
#0  0x00007f8edab02e00 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8ec48d821a in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /lib64/libQtScript.so.4
#2  0x00007f8ec48d8249 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /lib64/libQtScript.so.4
#3  0x00007f8edaafe555 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f8ed90c1e2d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f8edc533880 (LWP 1531)):
[KCrash Handler]
#5  0x00007f8ec4873d18 in QTJSC::JSGlobalData::storeVPtrs() () from /lib64/libQtScript.so.4
#6  0x00007f8ec4869143 in QTJSC::initializeThreading() () from /lib64/libQtScript.so.4
#7  0x00007f8ec491c2b8 in QScriptEnginePrivate::QScriptEnginePrivate() () from /lib64/libQtScript.so.4
#8  0x00007f8ec491d12f in QScriptEngine::QScriptEngine(QObject*) () from /lib64/libQtScript.so.4
#9  0x00007f8ebab2332c in WorkspaceScripting::ScriptEngine::ScriptEngine(Plasma::Corona*, QObject*) () from /lib64/libplasmagenericshell.so.4
#10 0x00007f8ebb6a81d3 in WorkspaceScripting::DesktopScriptEngine::DesktopScriptEngine(Plasma::Corona*, bool, QObject*) () from /lib64/libkdeinit4_plasma-desktop.so
#11 0x00007f8ebb6b3c1c in DesktopCorona::evaluateScripts(QStringList const&, bool) () from /lib64/libkdeinit4_plasma-desktop.so
#12 0x00007f8ebb6b402a in DesktopCorona::loadDefaultLayout() () from /lib64/libkdeinit4_plasma-desktop.so
#13 0x00007f8ec715504f in Plasma::Corona::initializeLayout(QString const&) () from /usr/lib64/libplasma.so.3
#14 0x00007f8ebb6d62f7 in PlasmaApp::corona(bool) () from /lib64/libkdeinit4_plasma-desktop.so
#15 0x00007f8ebb6d6794 in PlasmaApp::setupDesktop() () from /lib64/libkdeinit4_plasma-desktop.so
#16 0x00007f8ebb6dbd85 in PlasmaApp::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.83] () from /lib64/libkdeinit4_plasma-desktop.so
#17 0x00007f8edaeb2b51 in QObject::event(QEvent*) () from /lib64/libQtCore.so.4
#18 0x00007f8ed9fd7323 in QApplication::event(QEvent*) () from /lib64/libQtGui.so.4
#19 0x00007f8ed9fd1fbc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#20 0x00007f8ed9fd8a58 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#21 0x00007f8edbef9c7a in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#22 0x00007f8edae997ed in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#23 0x00007f8edae9cab1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQtCore.so.4
#24 0x00007f8edaec8aa3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtCore.so.4
#25 0x00007f8ed57a09aa in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#26 0x00007f8ed57a0cf8 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#27 0x00007f8ed57a0dac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#28 0x00007f8edaec8bed in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#29 0x00007f8eda075556 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#30 0x00007f8edae98321 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#31 0x00007f8edae98685 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#32 0x00007f8edae9dd77 in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#33 0x00007f8ebb6bc612 in kdemain () from /lib64/libkdeinit4_plasma-desktop.so
#34 0x000000000040822b in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) ()
#35 0x00000000004090c9 in handle_launcher_request(int, char const*) [clone .isra.15] ()
#36 0x00000000004097a7 in handle_requests(int) ()
#37 0x000000000040537d in main ()

Comment 3 nucleo 2014-04-25 18:16:13 UTC
Backtrace with installed debuginfo

Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb50137c0 (LWP 756))]

Thread 2 (Thread 0xa338ab40 (LWP 761)):
#0  0xb77a3b2c in __kernel_vsyscall ()
#1  0xb6b3e8ec in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:187
#2  0xb04c1f51 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=this@entry=0xb05c9800 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#3  0xb04c1f90 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb05c9800 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#4  0xb6b3a333 in start_thread (arg=0xa338ab40) at pthread_create.c:309
#5  0xb5d8b57e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 1 (Thread 0xb50137c0 (LWP 756)):
[KCrash Handler]
#7  derefBase (this=0x0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/RefCounted.h:69
#8  deref (this=0x0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/RefCounted.h:108
#9  derefIfNotNull<QTJSC::Structure> (ptr=0x0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/PassRefPtr.h:42
#10 ~NonNullPassRefPtr (this=0xbf93e584, __in_chrg=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/PassRefPtr.h:129
#11 QTJSC::JSGlobalData::storeVPtrs () at ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalData.cpp:85
#12 0xb04477b8 in initializeThreadingOnce () at ../3rdparty/javascriptcore/JavaScriptCore/runtime/InitializeThreading.cpp:52
#13 QTJSC::initializeThreading () at ../3rdparty/javascriptcore/JavaScriptCore/runtime/InitializeThreading.cpp:66
#14 0xb050b0bd in QScriptEnginePrivate::QScriptEnginePrivate (this=this@entry=0x9edae08) at api/qscriptengine.cpp:977
#15 0xb050c1ac in QScriptEngine::QScriptEngine (this=0x9edc090) at api/qscriptengine.cpp:1964
#16 0xb00db93a in QDeclarativeScriptEngine::QDeclarativeScriptEngine (this=this@entry=0x9edc090, priv=priv@entry=0x9edc000) at qml/qdeclarativeengine.cpp:385
#17 0xb00e29b8 in QDeclarativeEnginePrivate::QDeclarativeEnginePrivate (this=this@entry=0x9edc000, e=e@entry=0x9fa5018) at qml/qdeclarativeengine.cpp:356
#18 0xb00e2cb0 in QDeclarativeEngine::QDeclarativeEngine (this=0x9fa5018, parent=0x9f54ea0) at qml/qdeclarativeengine.cpp:642
#19 0xb2804055 in Plasma::DeclarativeWidget::DeclarativeWidget (this=0x9f54ea0, parent=0x9f6cd68) at /usr/src/debug/kdelibs-4.13.0/plasma/widgets/declarativewidget.cpp:261
#20 0xa36203bd in DeclarativeAppletScript::init() () from /usr/lib/kde4/plasma_appletscript_declarative.so
#21 0xb27065d1 in Plasma::Applet::init (this=0x9f6cd68) at /usr/src/debug/kdelibs-4.13.0/plasma/applet.cpp:249
#22 0xb2719dbf in Plasma::ContainmentPrivate::initApplets (this=0x9f52240) at /usr/src/debug/kdelibs-4.13.0/plasma/containment.cpp:460
#23 0xb272d0cd in Plasma::CoronaPrivate::importLayout (this=0x9d0a360, conf=..., mergeConfig=mergeConfig@entry=false) at /usr/src/debug/kdelibs-4.13.0/plasma/corona.cpp:1074
#24 0xb272e2db in Plasma::Corona::loadLayout (this=this@entry=0x9d0a2b0, configName=...) at /usr/src/debug/kdelibs-4.13.0/plasma/corona.cpp:281
#25 0xb272e3cb in Plasma::Corona::initializeLayout (this=0x9d0a2b0, configName=...) at /usr/src/debug/kdelibs-4.13.0/plasma/corona.cpp:182
#26 0xaecd8d41 in PlasmaApp::corona(bool) () from /usr/lib/libkdeinit4_plasma-desktop.so
#27 0xaecd926a in PlasmaApp::setupDesktop() () from /usr/lib/libkdeinit4_plasma-desktop.so
#28 0xaece01b8 in PlasmaApp::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.83] () from /usr/lib/libkdeinit4_plasma-desktop.so
#29 0xb6ce960b in QMetaCallEvent::placeMetaCall (this=0x9cff768, object=0x9bfacb8) at kernel/qobject.cpp:524
#30 0xb6cf1be3 in QObject::event (this=this@entry=0x9bfacb8, e=e@entry=0x9cff768) at kernel/qobject.cpp:1222
#31 0xb6cdba5b in QCoreApplication::event (this=this@entry=0x9bfacb8, e=e@entry=0x9cff768) at kernel/qcoreapplication.cpp:1765
#32 0xb615aab7 in QApplication::event (this=0x9bfacb8, e=0x9cff768) at kernel/qapplication.cpp:2544
#33 0xb6155324 in QApplicationPrivate::notify_helper (this=0x9c0c0a0, receiver=0x9bfacb8, e=0x9cff768) at kernel/qapplication.cpp:4565
#34 0xb615c3e3 in QApplication::notify (this=this@entry=0x9bfacb8, receiver=receiver@entry=0x9bfacb8, e=e@entry=0x9cff768) at kernel/qapplication.cpp:4351
#35 0xb7502122 in KApplication::notify (this=0x9bfacb8, receiver=0x9bfacb8, event=0x9cff768) at /usr/src/debug/kdelibs-4.13.0/kdeui/kernel/kapplication.cpp:311
#36 0xb6cd6fb6 in QCoreApplication::notifyInternal (this=0x9bfacb8, receiver=receiver@entry=0x9bfacb8, event=event@entry=0x9cff768) at kernel/qcoreapplication.cpp:953
#37 0xb6cda5b7 in sendEvent (event=0x9cff768, receiver=0x9bfacb8) at kernel/qcoreapplication.h:231
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x9b5bf80) at kernel/qcoreapplication.cpp:1577
#39 0xb6cdaadd in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#40 0xb6d09a8f in sendPostedEvents () at kernel/qcoreapplication.h:236
#41 postEventSourceDispatch (s=s@entry=0x9c0c1a8) at kernel/qeventdispatcher_glib.cpp:280
#42 0xb565dcdc in g_main_dispatch (context=0x9c0e468) at gmain.c:3064
#43 g_main_context_dispatch (context=context@entry=0x9c0e468) at gmain.c:3663
#44 0xb565e080 in g_main_context_iterate (context=context@entry=0x9c0e468, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3734
#45 0xb565e149 in g_main_context_iteration (context=0x9c0e468, may_block=1) at gmain.c:3795
#46 0xb6d09bfa in QEventDispatcherGlib::processEvents (this=this@entry=0x9c087c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#47 0xb620c93c in QGuiEventDispatcherGlib::processEvents (this=0x9c087c0, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#48 0xb6cd58c2 in QEventLoop::processEvents (this=this@entry=0xbf93f404, flags=...) at kernel/qeventloop.cpp:149
#49 0xb6cd5c69 in QEventLoop::exec (this=this@entry=0xbf93f404, flags=...) at kernel/qeventloop.cpp:204
#50 0xb6cdbb1b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#51 0xb61533f5 in QApplication::exec () at kernel/qapplication.cpp:3823
#52 0xaecbbd05 in kdemain () from /usr/lib/libkdeinit4_plasma-desktop.so
#53 0x0804f58a in launch (argc=argc@entry=1, _name=_name@entry=0x9bc579c "/usr/bin/plasma-desktop", args=<optimized out>, args@entry=0x9bc57b4 "", cwd=cwd@entry=0x0, envc=envc@entry=0, envs=<optimized out>, envs@entry=0x9bc57b8 "", reset_env=false, tty=tty@entry=0x0, avoid_loops=false, startup_id_str=startup_id_str@entry=0x8051e91 "0") at /usr/src/debug/kdelibs-4.13.0/kinit/kinit.cpp:726
#54 0x080504d0 in handle_launcher_request (sock=8, who=<optimized out>) at /usr/src/debug/kdelibs-4.13.0/kinit/kinit.cpp:1218
#55 0x08050be0 in handle_requests (waitForPid=waitForPid@entry=0) at /usr/src/debug/kdelibs-4.13.0/kinit/kinit.cpp:1411
#56 0x0804c29e in main (argc=4, argv=0xbf93fcd4, envp=0xbf93fce8) at /usr/src/debug/kdelibs-4.13.0/kinit/kinit.cpp:1899

Comment 4 nucleo 2014-04-25 18:44:23 UTC
No crash with qt-4.8.6-2.fc20 in Rawhide (libmng-1.0.10 from f20 needed).
qt-4.8.6-0.1.rc1.fc21 and qt-4.8.6-2.fc20 built with gcc-4.8.2 but qt-4.8.6-2.fc21 with gcc-4.9.0-1.fc21.

Comment 5 Kevin Kofler 2014-04-25 22:17:36 UTC
This is probably a result of:
http://gcc.gnu.org/gcc-4.9/porting_to.html
"Null pointer checks may be optimized away more aggressively"

We should try building Qt with -fno-delete-null-pointer-checks in Rawhide.

Comment 6 Rex Dieter 2014-04-26 00:38:29 UTC
Try qt-4.8.6-3 built with aforementioned option:
http://koji.fedoraproject.org/koji/buildinfo?buildID=513354

Comment 7 nucleo 2014-04-26 01:42:56 UTC
plasma-desktop still crashes with qt-4.8.6-3.fc21.i686

Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb4fed7c0 (LWP 797))]

Thread 2 (Thread 0xa335bb40 (LWP 802)):
#0  0xb777fb2c in __kernel_vsyscall ()
#1  0xb6b1a8ec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb049a651 in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /lib/libQtScript.so.4
#3  0xb049a690 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /lib/libQtScript.so.4
#4  0xb6b16333 in start_thread () from /lib/libpthread.so.0
#5  0xb5d6557e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb4fed7c0 (LWP 797)):
[KCrash Handler]
#6  0xb042ab12 in QTJSC::JSGlobalData::storeVPtrs() () from /lib/libQtScript.so.4
#7  0xb041e938 in QTJSC::initializeThreading() () from /lib/libQtScript.so.4
#8  0xb04e3e7d in QScriptEnginePrivate::QScriptEnginePrivate() () from /lib/libQtScript.so.4
#9  0xb04e4f6c in QScriptEngine::QScriptEngine() () from /lib/libQtScript.so.4
#10 0xb00b0c8a in QDeclarativeScriptEngine::QDeclarativeScriptEngine(QDeclarativeEnginePrivate*) () from /lib/libQtDeclarative.so.4
#11 0xb00b7d18 in QDeclarativeEnginePrivate::QDeclarativeEnginePrivate(QDeclarativeEngine*) () from /lib/libQtDeclarative.so.4
#12 0xb00b8010 in QDeclarativeEngine::QDeclarativeEngine(QObject*) () from /lib/libQtDeclarative.so.4
#13 0xb27de055 in Plasma::DeclarativeWidget::DeclarativeWidget(QGraphicsWidget*) () from /usr/lib/libplasma.so.3
#14 0xa35f13bd in DeclarativeAppletScript::init() () from /usr/lib/kde4/plasma_appletscript_declarative.so
#15 0xb26e05d1 in Plasma::Applet::init() () from /usr/lib/libplasma.so.3
#16 0xb26f3dbf in Plasma::ContainmentPrivate::initApplets() () from /usr/lib/libplasma.so.3
#17 0xb27070cd in Plasma::CoronaPrivate::importLayout(KConfigBase const&, bool) () from /usr/lib/libplasma.so.3
#18 0xb27082db in Plasma::Corona::loadLayout(QString const&) () from /usr/lib/libplasma.so.3
#19 0xb27083cb in Plasma::Corona::initializeLayout(QString const&) () from /usr/lib/libplasma.so.3
#20 0xaeca9d41 in PlasmaApp::corona(bool) () from /usr/lib/libkdeinit4_plasma-desktop.so
#21 0xaecaa26a in PlasmaApp::setupDesktop() () from /usr/lib/libkdeinit4_plasma-desktop.so
#22 0xaecb11b8 in PlasmaApp::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.83] () from /usr/lib/libkdeinit4_plasma-desktop.so
#23 0xb6cc5a5b in QMetaCallEvent::placeMetaCall(QObject*) () from /lib/libQtCore.so.4
#24 0xb6cce0c3 in QObject::event(QEvent*) () from /lib/libQtCore.so.4
#25 0xb6cb7e2b in QCoreApplication::event(QEvent*) () from /lib/libQtCore.so.4
#26 0xb6134b27 in QApplication::event(QEvent*) () from /lib/libQtGui.so.4
#27 0xb612f394 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/libQtGui.so.4
#28 0xb6136453 in QApplication::notify(QObject*, QEvent*) () from /lib/libQtGui.so.4
#29 0xb74de122 in KApplication::notify(QObject*, QEvent*) () from /lib/libkdeui.so.5
#30 0xb6cb3376 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib/libQtCore.so.4
#31 0xb6cb6997 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/libQtCore.so.4
#32 0xb6cb6e9d in QCoreApplication::sendPostedEvents(QObject*, int) () from /lib/libQtCore.so.4
#33 0xb6ce609f in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib/libQtCore.so.4
#34 0xb5637cdc in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#35 0xb5638080 in g_main_context_iterate.isra () from /lib/libglib-2.0.so.0
#36 0xb5638149 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#37 0xb6ce620a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#38 0xb61e6d0c in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtGui.so.4
#39 0xb6cb1c82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#40 0xb6cb2029 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#41 0xb6cb7eeb in QCoreApplication::exec() () from /lib/libQtCore.so.4
#42 0xb612d465 in QApplication::exec() () from /lib/libQtGui.so.4
#43 0xaec8cd05 in kdemain () from /usr/lib/libkdeinit4_plasma-desktop.so
#44 0x0804f58a in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) ()
#45 0x080504d0 in handle_launcher_request(int, char const*) [clone .isra.14] ()
#46 0x08050be0 in handle_requests(int) ()
#47 0x0804c29e in main ()

Comment 8 nucleo 2014-04-26 12:07:02 UTC
qt-4.8.6-4.fc21.i686 also crashes.

Comment 9 nucleo 2014-04-26 15:41:50 UTC
And qt-4.8.6-0.1.rc1.fc21 rebuilt with gcc-4.9.0 also crashes but built with gcc-4.8.2 still works fine.

Comment 10 Rex Dieter 2014-04-27 01:08:09 UTC
*** Bug 1091654 has been marked as a duplicate of this bug. ***

Comment 11 Martin Kho 2014-04-28 20:21:33 UTC
Hi,

FYI: Upstream this issue is reported in [1]

If I understand this report right, the issue has to do with the transition to gcc-4.9?

If so, I'll report it upstream.

Martin Kho


[1] https://bugs.kde.org/show_bug.cgi?id=333987

Comment 12 Rex Dieter 2014-04-30 10:34:03 UTC
*** Bug 1092852 has been marked as a duplicate of this bug. ***

Comment 13 Rex Dieter 2014-05-02 12:25:11 UTC
Reported to qt-project at:
https://bugreports.qt-project.org/browse/QTBUG-38733

Comment 14 Fedora Blocker Bugs Application 2014-05-02 12:49:45 UTC
Proposed as a Blocker for 21-alpha by Fedora user rdieter using the blocker tracking app because:

 Bug makes kde plasma-desktop as well as any non-trivial qt or kde application crash on startup.

Comment 15 Rex Dieter 2014-05-02 13:53:06 UTC
*** Bug 1093584 has been marked as a duplicate of this bug. ***

Comment 16 Rex Dieter 2014-05-02 15:57:02 UTC
*** Bug 1093780 has been marked as a duplicate of this bug. ***

Comment 17 Rex Dieter 2014-05-03 14:14:23 UTC
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)."

Re-assigning to gcc, please let us know when a fixed gcc build that includes this patch is available for testing.

Comment 18 Rex Dieter 2014-05-04 02:47:24 UTC
Re-assigning to gcc for real this time, waiting on gcc packaging to include fix for upstream http://gcc.gnu.org/PR60965

Comment 19 Rex Dieter 2014-05-04 02:47:44 UTC
*** Bug 1093821 has been marked as a duplicate of this bug. ***

Comment 20 Rex Dieter 2014-05-04 14:02:09 UTC
*** Bug 1091645 has been marked as a duplicate of this bug. ***

Comment 21 Jakub Jelinek 2014-05-07 06:44:31 UTC
PR60965 fix should be included in gcc-4.9.0-3.fc21, please check it out.

Comment 22 Rex Dieter 2014-05-07 11:24:40 UTC
Great, thanks.

%changelog
* Wed May 07 2014 Rex Dieter <rdieter> 4.8.6-7
- gcc should be fixed, drop workaround (#1091482)

* Mon May 05 2014 Rex Dieter <rdieter> 4.8.6-6
- try -fno-devirtualize workaround fc21+ (#1091482, gcc #60965)

qt-4.8.6-7 underway now, can anyone please test that one when done or confirm workaround in qt-4.8.6-6 worked?

Comment 23 dominique 2014-05-07 17:43:08 UTC
Hi all

I update gcc and qt (by koji) :  

cpp-4.9.0-3.fc21.x86_64
gcc-4.9.0-3.fc21.x86_64
gcc-c++-4.9.0-3.fc21.x86_64
libgcc-4.9.0-3.fc21.i686
libgcc-4.9.0-3.fc21.x86_64
libgfortran-4.9.0-3.fc21.x86_64
libgomp-4.9.0-3.fc21.x86_64
libquadmath-4.9.0-3.fc21.x86_64
libstdc++-4.9.0-3.fc21.i686
libstdc++-4.9.0-3.fc21.x86_64
libstdc++-devel-4.9.0-3.fc21.x86_64

qt-4.8.6-7.fc21.x86_64
qt-devel-4.8.6-7.fc21.x86_64
qt-mysql-4.8.6-7.fc21.x86_64
qt-x11-4.8.6-7.fc21.x86_64

With that my kde start and work fine.

Thank for this update

Comment 24 Joseph D. Wagner 2014-05-07 18:11:10 UTC
Ditto.  Works for me.

Comment 25 nucleo 2014-05-07 23:31:41 UTC
qt-4.8.6-6.fc21.i686 and gcc-4.9.0-3.fc21.i686 works for me.

Comment 26 Rex Dieter 2014-05-08 03:47:19 UTC
Excellent, thanks for testing.  Closing...


Note You need to log in before you can comment on or make changes to this bug.