sqlite3 related crash (SIGSEGV) in GNOME tracker-store

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

sqlite3 related crash (SIGSEGV) in GNOME tracker-store

Paul Wise
Hi all,

I got a couple of random crashes GNOME's tracker-store daemon that
appear to be related to sqlite3. I use 3.21.0-1 from Debian buster.

https://bugzilla.gnome.org/show_bug.cgi?id=791243

The short backtraces are available here:

https://bugzilla.gnome.org/page.cgi?id=traceparser/trace.html&trace_id=238220
https://bugzilla.gnome.org/page.cgi?id=traceparser/trace.html&trace_id=238281

The full backtraces are available here:

https://bugzilla.gnome.org/attachment.cgi?id=365000
https://bugzilla.gnome.org/attachment.cgi?id=365891

Is this a bug in sqlite3 or is it caused by data corruption?

PS: please either CC me in response or post on the GNOME bug.

--
bye,
pabs

http://bonedaddy.net/pabs3/
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: sqlite3 related crash (SIGSEGV) in GNOME tracker-store

Richard Hipp-3
On 12/22/17, Paul Wise <[hidden email]> wrote:
> Hi all,
>
> I got a couple of random crashes GNOME's tracker-store daemon that
> appear to be related to sqlite3. I use 3.21.0-1 from Debian buster.
>
> Is this a bug in sqlite3 or is it caused by data corruption?
>

There are no known issues like this with any recent version of SQLite.
Usually these kinds of things end up being heap corruption in the
application.  Nevertheless, we will investigate from the SQLite side,
just in case.

"SQLite 3.21.0-1" is not an official SQLite product.  It must be a
version of SQLite that has been customized by Debian.  Where can we
get a copy of Debian's customized code?
--
D. Richard Hipp
[hidden email]
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|

Re: sqlite3 related crash (SIGSEGV) in GNOME tracker-store

Paul Wise
On Fri, 2017-12-22 at 20:09 -0500, Richard Hipp wrote:

> There are no known issues like this with any recent version of SQLite.
> Usually these kinds of things end up being heap corruption in the
> application.  Nevertheless, we will investigate from the SQLite side,
> just in case.

I see, thanks for the information and investigation.

> "SQLite 3.21.0-1" is not an official SQLite product.  It must be a
> version of SQLite that has been customized by Debian.  Where can we
> get a copy of Debian's customized code?

You can browse the Debian source code here:

https://sources.debian.org/src/sqlite3/3.21.0-1/

You can browse the Debian patches here:

https://sources.debian.org/patches/sqlite3/3.21.0-1/

You can download the Debian source code here (debian.tar has patches):

http://deb.debian.org/debian/pool/main/s/sqlite3/sqlite3_3.21.0-1.dsc
http://deb.debian.org/debian/pool/main/s/sqlite3/sqlite3_3.21.0-1.debian.tar.xz
http://deb.debian.org/debian/pool/main/s/sqlite3/sqlite3_3.21.0.orig.tar.xz
http://deb.debian.org/debian/pool/main/s/sqlite3/sqlite3_3.21.0.orig-www.tar.xz

You can view the build logs for the package here, in the Status column:

https://buildd.debian.org/status/package.php?p=sqlite3

Note that the crash was on amd64 and logs are not available for that.

--
bye,
pabs

http://bonedaddy.net/pabs3/
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: sqlite3 related crash (SIGSEGV) in GNOME tracker-store

Paul Wise
In reply to this post by Richard Hipp-3
On Fri, 2017-12-22 at 20:09 -0500, Richard Hipp wrote:

> Nevertheless, we will investigate from the SQLite side,
> just in case.

If you need any information from the core dump, please let me know
which gdb commands to run. I still have one available from the latest
crash and have marked it immutable to prevent it from being removed
until your investigation is complete.

--
bye,
pabs

http://bonedaddy.net/pabs3/
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: sqlite3 related crash (SIGSEGV) in GNOME tracker-store

Dan Kennedy-4
On 12/23/2017 08:41 AM, Paul Wise wrote:
> On Fri, 2017-12-22 at 20:09 -0500, Richard Hipp wrote:
>
>> Nevertheless, we will investigate from the SQLite side,
>> just in case.
> If you need any information from the core dump, please let me know
> which gdb commands to run. I still have one available from the latest
> crash and have marked it immutable to prevent it from being removed
> until your investigation is complete.


In frame 0 of thread 1, what do the following gdb commands say?

   print *pCache
   print *pPage

Thanks,
Dan.


_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users