[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:44:00 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=28947





--- Comment #2 from Alejandro Garcia Castro <alex at igalia.com>  2009-10-06 01:44:00 PDT ---
Created an attachment (id=40701)
 --> (https://bugs.webkit.org/attachment.cgi?id=40701)
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.

-- 
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