Simple QtWebKit Application Crashes w/ Segmentation Fault
-
DISCLAIMER: I'm an absolute newb, and I am happy to RTFM if this is an obvious question, just point me where. :)
I've got Qt5 cross compiled for the Raspberry Pi. Simple QML apps (display "Hello World!" in the middle of the screen) work just fine (I'm using the eglfs platform plugin). WebKit crashes immediately, though.
Code:
@
#include <QApplication>
#include <QWebView>int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QWebView v;v.setUrl(QUrl("http://www.bryanporter.com")); v.show(); return app.exec();
}
@Works just long enough to start rendering the background of my web page, then crashes with a segmentation fault. Wiring up a remote debugger shows that the signal being received is SIGILL (illegal instruction).
I'm not sure next steps to debug... any pointers are much appreciated!
Bryan
-
I found at that SIGILL was a normal thing as libcrypto will test cpus. hitting 'c' in dgb just continues and this doesnt crash at runtime.
Although for me in current state of Qt5.4, I am experiencing a crash with whatever app uses the QWebView. it happens with some very basic samples and the qtwebkit browser sample as well.
-
My qtwebkit-example 'browser' will crash with a 'Segmentation Fault' error. I too am using Qt5.4.0.
I am using:
-Qt5.4.0(eglfs)-qtwebkits-example-example
-Built in an OpenEmbedded environment
-Cross-compiled with arm-gnueabihf 4.7 (linaro)
-TI am335x ARM processor
-Using TI SDK 5_01_01_01 for graphic drivers and library support.Are you passing any extra export variables or arguments when running the browser example? Did you ever find a solution to your problem?
-
My qtwebkit-example 'browser' will crash with a 'Segmentation Fault' error. I too am using Qt5.4.0.
I am using:
-Qt5.4.0(eglfs)-qtwebkits-example-example
-Built in an OpenEmbedded environment
-Cross-compiled with arm-gnueabihf 4.7 (linaro)
-TI am335x ARM processor
-Using TI SDK 5_01_01_01 for graphic drivers and library support.Are you passing any extra export variables or arguments when running the browser example? Did you ever find a solution to your problem?