Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

#2819 closed defect (worksforme)

SQLite mutex error

Reported by: Wilmer van der Gaast <wilmer@…> 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 Christian Boos, 19 years ago

Additional version information for the following packages would be quite useful:

  • sqlite
  • pysqlite
  • python

+ operating system info.

comment:2 by Christian Boos, 19 years ago

… and of course, if this is happening on Unix, was sqlite configured using the --enable-threadsafe switch?

comment:3 by Wilmer van der Gaast <wilmer@…>, 19 years ago

Cc: wilmer@… 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 Wilmer van der Gaast <wilmer@…>, 19 years ago

Resolution: worksforme
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.