VS: QWebView keeps crashing in maemo qt4.5.3
ibrahim.ali at asgatech.com
Thu Dec 31 14:31:56 EET 2009
Antonio Aloisio wrote:
> Could you show us a backtrace?
> On Mon, Dec 28, 2009 at 1:05 PM, <Mikko.J.Terho at nokia.com
> <mailto:Mikko.J.Terho at nokia.com>> wrote:
> What is the value of myurl, it should contain protocol and domain
> name. If it is wrong nothing will be shown.
> Mikk0 Terh0
> ----- Alkuperäinen viesti -----
> > 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
> > 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
> > 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
> > is now: /opt/maemo/usr/bin/" , but i don't seem to see somthing
> > 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
> > |
> > |/ 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)
> > _______________________________________________
> > maemo-developers mailing list
> > maemo-developers at maemo.org <mailto:maemo-developers at maemo.org>
> > https://lists.maemo.org/mailman/listinfo/maemo-developers
> maemo-developers mailing list
> maemo-developers at maemo.org <mailto:maemo-developers at maemo.org>
> Ted Turner
> <http://www.brainyquote.com/quotes/authors/t/ted_turner.html> -
> "Sports is like a war without the killing."
I think I know where the problem is :
I tried my application on the phone with the latest stable version of qt
libs (4.5.3~git20090723-0maemo4+0m5). It didn't crash at all !!!!
the problem occuered when using the test version of qt 4.5.3 libs
(4.5.3~git20090723-0maemo4.2 ) which I found here:
I got to the url with my phone browser, and installed the packages. I
turns out that the testing version of libqt4-webkit crashes with some
urls (like MY_URL unfortenately and google.com !!). also mentioned here
So, I guess the best thing to do is to stick with the stable libs And
just wait for the new ones to get stable!!!
thanx very much for your help!
More information about the maemo-developers