You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Build and run http://pastebin.com/CymKMXja (io/signal -> exp/signal for default)
2. Open in web browser http://127.0.0.1:7777
3. Click "Again" submit button multiple times in quick succession.
What is the expected output?
The form continuing to appear with running total.
What do you see instead?
No data Received error in browser.
On command line:
2012/02/06 22:55:09 http: panic serving 127.0.0.1:38887: database is locked
Which compiler are you using (5g, 6g, 8g, gccgo)?
6g
Which operating system are you using?
Ubuntu 11.10
Which revision are you using? (hg identify)
7c35ab6ef473 tip
Please provide any additional information below.
Problem doesn't seem to appear with sleep removed, yet should not make a difference as
DB should not be locked whilst goroutine is sleeping.
Also, once DB locks, it is only freed on quitting the program.
Lastly, I've never had it write lock, only read lock.
The text was updated successfully, but these errors were encountered:
Yes, it appears that the sqlite driver has a bug.
I've reproduced it in the test suite here:
bradfitz/go-sql-test@16c8f24
Postgres and MySQL work fine.
I'll look into this if it's easy, but otherwise I think it's a bug for mattn (copied).
by krolaw:
The text was updated successfully, but these errors were encountered: