DBD::SQLite2 bus error on Solaris (was: Re: the workaround ...)

Francis J. Lacoste flacoste at logreport.org
Wed Jun 15 21:00:44 CEST 2005


Hi,

I've encountered the same problem while running Lire on Solaris 9 and I've 
managed to fix it.

On October 30, 2004 18:02, Joost van Baal wrote:
>
> > I am getting more confident my guess was right.  Some googling yields:
> >  http://www.sqlite.org/cvstrac/tktview?tn=700,15
> > and

This is the only bug report which applies to our case, the other two :

> >  http://use.perl.org/comments.pl?sid=22279&cid=34179

and

http://www.sqlite.org/cvstrac/tktview?tn=860 

are relevant to SQLite3 which Lire doesn't support.

The fix is to implement the fix mentioned in the last comment on the issue 
#700 (align the zShort structure on 8 bytes boundary). I'm attaching a patch 
which can be applied (patch -p0) to the DBD::SQLite2 source. (It's a one 
liner). I suppose you have to use gcc to make it work. Reports having sum 
operators now works fine!

Francis J. Lacoste

-- 
Francis J. Lacoste              . .           http://www.logreport.org
/^LogReport$/               . .               flacoste at logreport.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DBD2-SQLite-0.33.align.patch
Type: text/x-diff
Size: 437 bytes
Desc: not available
Url : http://lists.logreport.org/pipermail/questions/attachments/20050615/7e8022e8/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.logreport.org/pipermail/questions/attachments/20050615/7e8022e8/attachment-0001.bin 


More information about the Questions mailing list