Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242402 - dev-db/sqlite-3.6.2 segmentation fault
Summary: dev-db/sqlite-3.6.2 segmentation fault
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Petteri Räty (RETIRED)
URL: http://www.sqlite.org/cvstrac/tktview...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-16 20:15 UTC by Ezequiel R. Aguerre
Modified: 2009-01-13 17:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ezequiel R. Aguerre 2008-10-16 20:15:54 UTC
Some queries make sqlite to segfault.

Reproducible: Always

Steps to Reproduce:
Here: http://www.sqlite.org/cvstrac/tktview?tn=3358
And here: http://www.sqlite.org/cvstrac/tktview?tn=3346
Those two sites show how to reproduce the problem.
Actual Results:  
segmentation fault.

Expected Results:  
Not crash xD

The patchset can be downloaded from here: http://www.sqlite.org/cvstrac/chngview?cn=5650
To fix the problem just download the patchset into dev-db/sqlite/files and name it something like: sqlite-3.6.2-fix.patch
Then open sqlite-3.6.2.ebuild on a text editor, find the line:

epatch "${FILESDIR}"/sandbox-fix2.patch

and add this other line after/before the other one:

epatch "${FILESDIR}"/sqlite-3.6.2-fix.patch

Now, update the manifest: ebuild sqlite-3.6.2.ebuild manifest
And finally re-emerge sqlite.
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2008-12-03 19:22:28 UTC
Please test with 3.6.6.2 and close if it is working correctly.
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2009-01-13 17:25:15 UTC
(In reply to comment #1)
> Please test with 3.6.6.2 and close if it is working correctly.
> 

The fix is probably in there and no comments from the author saying otherwise so marking as fixed. Please reopen if this is not the case.