Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 338438 Details for
Bug 450818
x11-libs/qt-core-4.8.4: QDeclarativeVMEMetaObject::metaCall SIGSEGV when called from QMetaObject::metaCall
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch for qt-core
metacall-crash-fix.patch (text/plain), 945 bytes, created by
Jakob Kummerow
on 2013-02-09 21:38:35 UTC
(
hide
)
Description:
Proposed patch for qt-core
Filename:
MIME Type:
Creator:
Jakob Kummerow
Created:
2013-02-09 21:38:35 UTC
Size:
945 bytes
patch
obsolete
>diff --git a/src/corelib/animation/qpropertyanimation.cpp b/src/corelib/animation/qpropertyanimation.cpp >index 2a01b32..c04cf5c 100644 >--- a/src/corelib/animation/qpropertyanimation.cpp >+++ b/src/corelib/animation/qpropertyanimation.cpp >@@ -134,9 +134,10 @@ void QPropertyAnimationPrivate::updateProperty(const QVariant &newValue) > } > > if (newValue.userType() == propertyType) { >- //no conversion is needed, we directly call the QMetaObject::metacall >- void *data = const_cast<void*>(newValue.constData()); >- QMetaObject::metacall(targetValue, QMetaObject::WriteProperty, propertyIndex, &data); >+ int status = -1; >+ int flags = 0; >+ void *argv[] = { const_cast<void*>(newValue.data()), 0, &status, &flags }; >+ QMetaObject::metacall(targetValue, QMetaObject::WriteProperty, propertyIndex, argv); > } else { > targetValue->setProperty(propertyName.constData(), newValue); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 450818
:
334784
|
334798
|
335314
|
338438