[webkit-dev] Curl Cookie Handling

Julien Chaffraix julien.chaffraix at gmail.com
Mon Feb 9 07:23:38 PST 2009


Hi,

> I have Integrated the patch given in
> https://bugs.webkit.org/show_bug.cgi?id=14730  on webkit r36766 with
> additions on SQLITE db calls

As you have seen this patch is not integrated and is a year old. As a
result, it may have rotten (the code has changed and some assertions I
made are not true anymore) and it was not tested much outside myself
and a few people like you. So it is likely that there are some bugs
(one was already mentioned on the bugzilla).

> The patch does not work on www.facebook.com and results an inconsistent
> crashes / memory corruptions. Here is the snapshot of what valgrind has:
[removed the backtrace]

After a quick look at the code, it is likely that you are manipulating
a deleted pointer. The cookie is taken directly from a cookieMap,
which means that the cookieMap is not updated at some point when we
release one of its pointer. However without further information, I
cannot say more and you will have to debug yourself. Have you tried a
DEBUG build as there are some assertions that could catch it earlier
and help you tie the crash to one area of code? Also look at the
different LOG information as they can help you.

Regards,
Julien


More information about the webkit-dev mailing list