[Webkit-unassigned] [Bug 28947] ASSERT executing the webhistory unittest in a debug build
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 6 01:47:42 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=28947
--- Comment #3 from Xan Lopez <xan.lopez at gmail.com> 2009-10-06 01:47:42 PDT ---
(In reply to comment #2)
> Created an attachment (id=40701)
--> (https://bugs.webkit.org/attachment.cgi?id=40701) [details]
> Patch fixing the problem
>
> The problem was caused because webkit_init was not called before the
> instantiation of a KURL. Apparently webkit_init is being called in the
> class_init but it is not enough in these cases. If we want a more general
> solution we can check all the places that could cause a problem like this or
> comment that webkit_init should be called by the programs before doing anything
> (but this would mean adding the function to the API if it is not). Anyway we
> have to consider that if someone uses webkit library and tries to create a KURL
> is going to have problems if they do not call webkit_init in advance calling
> other API functions.
Keep in mind that KURL and everything else in WebCore is not public API, so
that is not a problem. The problem is that we might have lots of other
functions where calls to WebCore are made before any class_init is called,
which as shown in this test can cause problems.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list