Thread Safe?

Open
#259 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
sqlite, swift
Domain
databases

Research direction

No file, test, or entry point is named. Start by determining SQLite.swift's supported behavior when multiple threads access the database concurrently, then document the thread-safety guidance and ensure it addresses the reported EXC_BAD_ACCESS concern.

Written by the indexing model from the issue text.

Description

help wanted

Apologies if I missed it, but I looked through the docs and I haven't seen anything mention whether or not SQLite.swift is thread safe.

I'm seeing some random EXC_BAD_ACCESS crashing that pops up inside of SQLite.swift when calling the libsqlite functions and I'm trying to determine if there's a leak or if it's related to using multiple threads to access the DB potentially concurrently.

Dominant language
Swift
Stars
10.2k
Forks
1.6k
Avg merge
6d 2h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from stephencelis/SQLite.swift

All issues in stephencelis/SQLite.swift

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.