Opened 19 years ago
Closed 19 years ago
#2819 closed defect (worksforme)
SQLite mutex error
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | web frontend/tracd | Version: | 0.9.4 |
Severity: | normal | Keywords: | crash sqlite tracd |
Cc: | wilmer@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
From time to time tracd dies on me. Usually it doesn't have a console attached, so I can't check the error code. But this time I had it running in screen, and it seems this was the problem:
python: src/os.c:1751: sqliteOsEnterMutex: Assertion `!inMutex' failed.
Of course I don't know for sure if this was the problem previous times. I'm afraid this isn't really something that can be fixed in Trac, but just in case…
The version that crashed was actually a 0.9.4dev from (IIRC) 2006-02-02. I'm tracking 0.9-stable from svn, in general.
Attachments (0)
Change History (4)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
… and of course, if this is happening on Unix,
was sqlite configured using the --enable-threadsafe
switch?
comment:3 by , 19 years ago
Cc: | added |
---|
Unfortunately the box is running Gentoy, and so far I haven't been able to fix that. :-( And I thought sqlite was installed with the threadsafe switch (I had threading problems before, checked everything pretty well back then), but it seems Gentoy doesn't do that for sqlite 2.8 packages, only for 3.x. Maybe because only sqlite 3.x supports threads?
Then I wonder why I installed sqlite 2.8… Maybe Trac isn't compatible with sqlite 3.x?
Anyway, I'm afraid this is a configuration issue then. I'll bother some people again to get a grown-up operating system on this box. Thanks for the help. :-)
comment:4 by , 19 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Okay, I guess this is really just a broken SQLite version. Will try to get it fixed when I get rid of Gentoy, don't want to get too familiar with portage. :-) Until then I'll stick with a non-threaded tracd. If the problem comes back, I'll reopen this.
Additional version information for the following packages would be quite useful:
+ operating system info.