QWebView keeps crashing in maemo qt4.5.3
ibrahim
ibrahim.ali at asgatech.com
Sun Dec 27 14:27:30 EET 2009
greetings;
I am having a very strange problem with the QWebView Component. It keeps
crashing when it loads about 39% of the web page!!
I created a dialog that contains a webView instance, and loaded a page
just like the Qt Documentation says :
ui->webView->load(QUrl(MY_URL));
nothing more !!! i didn't even connect to any of its signals.
When running my application on the phone , it simply crashes (it works
perfectly fine in the desktop ). By accident I tried to run it on the
phone as root .... It worked fine with no crashes!!!
What root user has got more than a normal user (besides higher
permission) ??? Does the permission thing have something to do with my
issue??
I forgot to say that i made my application a debian package - in order
to run it on the phone - and used the maemo-optify 0.1 application to
generate maemo-friendly debian package. "So, the path to my executable
is now: /opt/maemo/usr/bin/" , but i don't seem to see somthing wrong
with permissions in that folder. Should I enable write permissions to
that folder to others(non-roots) ? Does webkit write any sort of
temporary files to the directory/any direcotry and when it fails it
crashes my application??
my phone's libqt4 version -as said in dpkg -l libqt4* :
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name
Version Description
+++-======================================-======================================-============================================================================================
ii libqt4-core
4.5.3~git20090723-0maemo4+0m5 Qt 4 core module
ii libqt4-dbus
4.5.3~git20090723-0maemo4+0m5 Qt 4 D-Bus module
un libqt4-dev
<none> (no description available)
ii libqt4-gui
4.5.3~git20090723-0maemo4.2 Qt 4 GUI module
ii libqt4-network
4.5.3~git20090723-0maemo4.2 Qt 4 network module
ii libqt4-opengl
4.5.3~git20090723-0maemo4.2 Qt 4 OpenGL module
ii libqt4-phonon
4.5.3~git20090723-0maemo4.2 Qt 4 Phonon Libraries
ii libqt4-sql
4.5.3~git20090723-0maemo4+0m5 Qt 4 SQL module
ii libqt4-sql-sqlite
4.5.3~git20090723-0maemo4+0m5 Qt 4 SQLite plugin
ii libqt4-webkit
4.5.3~git20090723-0maemo4.2 Qt 4 WebKit module
ii libqt4-xml
4.5.3~git20090723-0maemo4+0m5 Qt 4 XML module
which i find pretty strange (mixed versions:
4.5.3~git20090723-0maemo4.2 and 4.5.3~git20090723-0maemo4+0m5 )
can it be the reason? (the new packages -maemo4.2 - were installed
automatically when installing the qt-webkit component)
More information about the maemo-developers
mailing list