On 8/24/17, Jörg Knobloch <[email protected]> wrote:
> On 24/08/2017 11:40, Clemens Ladisch wrote:
>> Jörg Knobloch wrote:
>>> Mozilla have upgraded to SQLite 3.20.0 and that has caused the
>>> Thunderbird test suite some test failures [1] as follows:
>>>
>>> Assertion failed: (p->flags & MEM_Dyn)==0 || p->szMalloc==0, file
>>> sqlite3.c, line 70285
>> Hmm, is there a custom memory allocator somewhere?
>> And one can never rule out memory corruption ...
>>
> Yes, as far as I'm aware Mozilla have their own (twisted and
> complicated) memory management, let me see:
>
> https://dxr.mozilla.org/mozilla-central/source/memory
>
> My position is a little difficult, since I'm the Thunderbird maintainer,
> not a Mozilla core developer. Thunderbird has a small team using Mozilla
> core technology (frequently referred to a "Gecko"). Mozilla core is
> backed by hundreds of employees, some look after the memory management
> and also a component called mozStorage which interfaces with SQLite. The
> maintainers of that component sent me here.

I think the problem is a bug in the new sqlite3_result_pointer()
interface.  I added a proposed patch to the ticket.  But we are still
working on getting a test case here.

The problem, if my analysis is correct, should be obscure and require
a very specific query to hit.

-- 
D. Richard Hipp
[email protected]
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to