WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED LATER
11347
_commitWithData: Bug or what?
https://bugs.webkit.org/show_bug.cgi?id=11347
Summary
_commitWithData: Bug or what?
daniele margutti
Reported
2006-10-18 08:44:44 PDT
I've tried to send a sort of bug to webkit list but it's a low traffic list and no one has replied. This is the message:
http://lists.apple.com/archives/webkitsdk-dev//2006/Oct/msg00049.html
Thanks malcom
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2006-10-18 09:32:42 PDT
Can you reproduce this when running against a current WebKit build? To do so, download it from <
http://nightly.webkit.org
>, mount the image, and setup your project to use this version: - in Xcode project window, double-click on your executable; - in the info window that opens, select "Arguments" tab; - add a variable DYLD_FRAMEWORK_PATH with a value of "/Volumes/WebKit/WebKit.app/Resources/".
Mark Rowe (bdash)
Comment 2
2006-11-05 05:37:54 PST
Without code demonstrating this issue, I feel it would be very difficult to reproduce and fix. Daniele, can you please reopen this bug and attach a working project that demonstrates the issue if you are still experiencing it? [A lot of this loader-related stuff has been heavily refactored recently, so testing it with a nightly build as Alexey suggests would be very useful]
daniele margutti
Comment 3
2006-11-30 09:50:05 PST
I've made a test project. You can find it at.
http://www.malcom-mac.com/nemo/webkittest/TestWebKit.zip
These are some stack trace errors.
http://www.malcom-mac.com/nemo/webkittest/error1.png
http://www.malcom-mac.com/nemo/webkittest/error2.png
http://www.malcom-mac.com/nemo/webkittest/error3.png
Try to run it and still click the right arrow key in order to continuosly change loaded node. Each node, to simplify all, load the same string. After x time (it's teorically random) the program itself crashes with some instructions from KHTML engine. The stack pointer shows some different kinds of error but I think that it's something related to multiple threads called to update the webview. Is this possible? How to solve it? (is there a way to block updating when another thread is working on it?)
daniele margutti
Comment 4
2006-11-30 12:22:26 PST
this happends both stable and nightly build of safari. I've tried with nightly build using this tutorial:
http://developer.apple.com/opensource/internet/nightlywebkit.html
(I hope it works but there are not any log that confirm the positive results (I've also tried to use it without mounting the webkit dmg file but nothing...no log...)
daniele margutti
Comment 5
2006-11-30 15:25:33 PST
I think I've solved. Probability it's a threading problem (I've read something on apple mailing list for a similar problem:
http://lists.apple.com/archives/webkitsdk-dev/2004/Sep/msg00004.html
). Ok so the solution it call the load html method into main thread: [myObject performSelectorOnMainThread: @selector(loadArticleWithUIDFromMap:) withObject: myObject waitUntilDone: YES]; with my test it seems to works well. I'll post more the next days! Really good!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug