-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
panic: segmentation violation during concurrent SELECTs #51
Comments
What is your OS, CPU ? |
amd64 Linux, i5. sqlite version: 3.7.16. Using tip. |
Seeing this problem as well, CentOS 6.3 x86_64 (kernel 2.6.32-279.19.1.el6.x86_64), SQLite 3.6.20 installed from yum, using Go tip. With heavy concurrent read load, I can trigger this almost instantly. |
Could you please write code reproducable? |
@mattn - I've been seeing this with @joshcarter on some code we've been working on. Here's a simple stress test that can reproduce the problem: https://gist.github.com/mrkvm/5453348 Given a high enough number of MAXGOPROCS and number of total queries, it hits the issue pretty quickly. |
Hmm, I can't reproduce it. |
Do you still have this problem_ |
Hi Matt, I'm no longer working on the project that was using this code, so I can't -mark On Fri, Nov 14, 2014 at 3:52 AM, mattn notifications@github.com wrote:
|
When GOMAXPROCS=1 eveything works out fine but with GOMAXPROCS=4 I'm getting
I'm basically running basic & simple SELECT queries, and scanning & closing rows.
Am I getting bitten by this? If yes, I'm wondering how should correct go programs be written: use locks for almost everything? use LockOSThread?
The text was updated successfully, but these errors were encountered: