Simple QtWebKit Application Crashes w/ Segmentation Fault
-
wrote on 18 Aug 2013, 16:14 last edited by
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
-
wrote on 18 Aug 2013, 17:15 last edited by
A bit more info - running the app on the Pi under GDB, I'm receiving the following detail:
@
Program received signal SIGILL, Illegal instruction.
0xade645e0 in ?? () from /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
@ -
wrote on 5 Nov 2014, 05:56 last edited by
I am having exactly the same issue with qt 5.4 build.
I made a very simple testcase like yours and getting the same result.did you find a way to fix that one ?
-
wrote on 10 Nov 2014, 14:32 last edited by
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.
-
wrote on 8 Jan 2015, 15:32 last edited by
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?
-
wrote on 8 Jan 2015, 15:32 last edited by
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?