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 in advance. > > Neven Boric > > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > > -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users