Richard Hipp escribió:
> On Tue, Apr 26, 2011 at 3:18 PM, Neven Boric<nbo...@yx.cl>  wrote:
>
>> Hi
>>
>> I'm using Freeswitch, which has an old version of SQLite embedded in its
>> source code. I'm getting a segmentation fault whenever I do something that
>> uses triggers. The segmentation fault occurs inside SQLite code (strdup gets
>> called with a null pointer inside sqlite3ExprListDup). Freeswicth uses
>> SQLite extensively without problems, but I have found no other uses of
>> triggers in the code, so this problem might have gone unnoticed so far.
>>
>> The version that Freeswitch uses is very old (3.3.13),  so I wouldn't
>> expect anyone to look into this problem, as if it is indeed a bug in SQLite,
>> it is likely alredy fixed in a more recent version. The problem is I don't
>> know how much trouble I would find trying to update the SQLite version
>> included with Freeswitch. So what I wanted to ask is: by looking at the
>> backtrace, does it seem like a SQLite bug that should be fixed in a more
>> recent version?
>>
>
> SQLite no longer uses strdup().  So this particular bug is very likely
> fixed.
>
>
Thanks. About upgrading the included SQLite, how hard do you think it 
would be? Should I go with the latest version or are there known 
backward compatibility issues?

On a related note, I tried to find the source for the 3.3.13 release, so 
I could look if the SQLite code was modified within Freeswitch in any 
way. I wasn't able to find it (the news page doesn't have links for 
releases and in fossil web interface the oldest tag I could find is 
3.4.2). Is there a place to look for such things?
>> Thanks in advance.
>>
>> Neven Boric
>>
>> _______________________________________________
>> sqlite-users mailing list
>> sqlite-users@sqlite.org
>> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>>
>>
>
>
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to