Bug 355274 - kwin segfault on session start (QV4::ExecutionEngine::toVariant)
Summary: kwin segfault on session start (QV4::ExecutionEngine::toVariant)
Status: RESOLVED DUPLICATE of bug 352259
Alias: None
Product: kwin
Classification: Plasma
Component: kdecorations (show other bugs)
Version: 5.4.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-13 08:45 UTC by Michal Kubeček
Modified: 2015-11-13 08:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
output of "bt full" gdb command (14.18 KB, text/plain)
2015-11-13 08:49 UTC, Michal Kubeček
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Kubeček 2015-11-13 08:45:59 UTC
kwin_x11 (version 5.4.2 in openSUSE Tumbleweed) crashes on session start (every time). After disabling drkonqui, kwin is restarted successfully and works fine after that.

I was able to get a core dump but it's a bit large (over 2 GB, xz-compressed 2.7 MB) so I'm not going to attach it for now.

Stack trace looks like this:

raise
KCrash::defaultCrashHandler(int)
<signal handler called>
as<QV4::RegExpObject>
toVariant
QV4::ExecutionEngine::toVariant
QQmlPropertyPrivate::writeBinding
QQmlBinding::update
setEnabled
QQmlObjectCreator::finalize
QQmlComponentPrivate::complete
QQmlComponentPrivate::completeCreate
QQmlComponent::create
Aurorae::Decoration::init
KWin::Decoration::DecorationBridge::createDecoration
KWin::Client::createDecoration
KWin::Client::updateDecoration
KWin::Client::manage
KWin::Workspace::createClient
KWin::Workspace::workspaceEvent
QAbstractEventDispatcher::filterNativeEvent(QByteArray
QXcbConnection::handleXcbEvent(xcb_generic_event_t*)
QXcbConnection::processXcbEvents()
QObject::event(QEvent*)
QApplicationPrivate::notify_helper(QObject*,
QApplication::notify(QObject*,
QCoreApplication::notifyInternal(QObject*,
QCoreApplicationPrivate::sendPostedEvents(QObject*,
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
??
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
QCoreApplication::exec()
kdemain
__libc_start_main
_start

I'll attach full output of "bt full" in a moment.

It looks like something isn't properly initialized yet and the code can't handle it. Unfortunately this part of Qt5 is not documented very well so I have no idea what the v4engine is supposed to do.

Reproducible: Always
Comment 1 Thomas Lübking 2015-11-13 08:49:12 UTC
This is very most likely bug #352259

*** This bug has been marked as a duplicate of bug 352259 ***
Comment 2 Michal Kubeček 2015-11-13 08:49:51 UTC
Created attachment 95473 [details]
output of "bt full" gdb command