RESOLVED FIXED 22674
Webkit r39005 does not start, an entry point not found
https://bugs.webkit.org/show_bug.cgi?id=22674
Summary Webkit r39005 does not start, an entry point not found
Jyrki Wahlstedt
Reported 2008-12-04 23:14:57 PST
Trying to launch Webkit r39005, an error message is shown telling that 'The procedure entry point CFURLCacheCopySharedURLCache could not be located in the dynamic link library CFNetwork.dll'
Attachments
The error message box (3.70 KB, image/png)
2008-12-04 23:25 PST, Jyrki Wahlstedt
no flags
patch (2.35 KB, patch)
2008-12-05 06:37 PST, Darin Adler
ap: review+
Jyrki Wahlstedt
Comment 1 2008-12-04 23:25:37 PST
Created attachment 25764 [details] The error message box
Alexey Proskuryakov
Comment 2 2008-12-05 02:28:29 PST
Do you have Safari 3.2.1 installed, or some earlier version?
Franck
Comment 3 2008-12-05 03:07:27 PST
I have the same problem on Vista, with Safari 3.2.1 installed
Alexey Proskuryakov
Comment 4 2008-12-05 03:57:40 PST
A call to CFURLCopySharedURLCache was added in <http://trac.webkit.org/changeset/38010>.
Jyrki Wahlstedt
Comment 5 2008-12-05 05:44:56 PST
I checked, seems to be 3.2.1
Darin Adler
Comment 6 2008-12-05 06:10:33 PST
The problem here is that the nightly build was done on a machine with the new CFNetwork headers. If you did your own build on a machine that had the old CFNetwork headers it would work fine. To make this work on either version I can change this into a runtime check instead of a compile-time check. Or we can build nightly builds on a machine with the old public CFNetwork headers.
Darin Adler
Comment 7 2008-12-05 06:37:33 PST
Alexey Proskuryakov
Comment 8 2008-12-05 07:26:07 PST
Comment on attachment 25775 [details] patch r=me > GetModuleHandleA("CFNetwork") Is there any reasonable way for us to make this work with Debug_Internal configuration?
Darin Adler
Comment 9 2008-12-05 07:31:09 PST
(In reply to comment #8) > > GetModuleHandleA("CFNetwork") > > Is there any reasonable way for us to make this work with Debug_Internal > configuration? I only recently became aware of this issue. Since GetModuleHandle only will return modules that are already loaded, we can unconditionally look for both CFNetwork_Debug and CFNetwork and use the first one we find. I think we should change all call sites that are using GetModuleHandle to find CFNetwork to do this.
Darin Adler
Comment 10 2008-12-05 07:47:41 PST
Note You need to log in before you can comment on or make changes to this bug.