[webkit-qt] valgrind + minibrowser + n9
jocelyn.turcotte at nokia.com
Thu Jan 19 08:00:52 PST 2012
I'm not sure what you are trying to achieve, but the device should have 9-10 gigs of available data on the user partition. So I can't believe that you need all the information in a 9 gigs log, there must be a way to produce only the data you want in the log with some valgrind arguments..
Also, if it's webcore you want, you don't need the UI process code in the log.
I tried some ways to get a web process only trace, and the only way I could get it working reliably is by modifying the "webProcess->start(program);" line in ProcessLauncherQt.cpp to call QtWebProcess through valgrind instead of directly.
Something like: webProcess->start(QLatin1String("valgrind --log-file=valgrind_output.log ") + program);
On Thu, 19 Jan 2012 10:22:57 +0100
ext Zoltan Horvath <zoltan at webkit.org> wrote:
> Thanks for the tip!
> It's getting better, but:
> - with QtLauncher it's working now, but unfortunately, doesn't
> give useful results from webcore.
> - with MiniBrowser it was running until ~8 hours and then it
> restarted (it didn't load the page, neither started the loading).
> Unfortunately, the output file didn't contain enough useful data.
> After the restart it shows a notification about out of storage.
> Should I reflash the device and try again? Or any other ideas?
> On Tue, 17 Jan 2012 12:51:29 +0100, Jocelyn Turcotte
> <jocelyn.turcotte at nokia.com> wrote:
> > Maybe trying to output the log on the user stuff flash partition
> > would help. I think that is in /home/user/documents or something,
> > run mount to know.
> > For the device it should be fixed by running the flasher I guess.
> > Jocelyn
> > On Tue, 17 Jan 2012 08:35:30 +0100
> > ext Zoltan Horvath <zoltan at webkit.org> wrote:
> >> Hey Guys,
> >> I have a problem with running Valgrind (v3.7, v3.8SVN) on my N9.
> >> G_SLICE="always-malloc" valgrind --trace-children=yes
> >> --run-libc-freeres=no --suppressions=minimal.supp
> >> --log-file=valgrind_output.log
> >> ./qtwebkit-webkit2-dev-builddir-armel-m6-valgrind/Release/bin/MiniBrowser
> >> http://index.hu
> >> It loads the site approximately until 80% (~40 minutes) and then
> >> the device restarts. After restart it doesn't need pin code and it
> >> shows a notification about "out of storage".
> >> Does anybody have any thoughts on my situation?
> >> Thanks,
> >> Zoltan
> >> _______________________________________________
> >> webkit-qt mailing list
> >> webkit-qt at lists.webkit.org
> >> http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
More information about the webkit-qt