Qt5.6: DirectFB segmentation fault on Broadcom BCM7231B2
-
Can you run a DirectFB hello world successfully ?
-
There's been quite some changes in the backend.
Can you test with a more recent version of Qt to see if it's still present ?
-
If possible each in that order so you can determine whether it was fixed and at which point.
-
Then yes, try 5.6.2 or even the top of the 5.6 branch.
-
I add some debug output in sources and found what problem in QBackingStore::QBackingStore.
QBackingStore::QBackingStore(QWindow *window) : d_ptr(new QBackingStorePrivate(window)) { qDebug() << __func__ << ":" << __LINE__ << "d_ptr" << d_ptr /// line 135 << "window" << window; qDebug() << __func__ << ":" << __LINE__ /// line 137 << "platformIntegration" << QGuiApplicationPrivate::platformIntegration(); d_ptr->platformBackingStore = QGuiApplicationPrivate::platformIntegration()->createPlatformBackingStore(window); qDebug() << __func__ << ":" << __LINE__; }
And console output;
RasterWindow : 49 RasterWindow(0x7fc1d408) QBackingStore : 135 d_ptr true window RasterWindow(0x7fc1d*** 60465:49:48.459 nexus_generic_driver: 408) QBackingStforcing driver shutdownore : 137 platformIntegration 0x41bea8
I wait get output from *QDirectFbIntegration::createPlatformBackingStore.
-
Then maybe a silly thing but did you try to check whether these instructions were still working with Qt 4 (e.g. 4.8.7) ?
-
That's why I suggest to first try with 4.8.7. That way you ensure that it's still working with that one. Then you can compare the backend with 5.6 to see if you can spot something.
You should also take a look at the bug report system to see if there's anything related.