Ticket #216 (closed defect: fixed)

Opened 22 months ago

Last modified 12 months ago

Intermittent Python crashes at startup

Reported by: frisco Owned by: lars
Priority: normal Milestone: cryptonas-live-cd 0.4.0
Component: debian-package Version: svn
Severity: normal Keywords: threading
Cc:

Description

Most of the time on startup there's an unhandled Python exception. Although the attached screen shot is from my virtual machine, I've noticed something similar on real boxes.

In most cases after this occurs the CryptoNAS web interface is accessible and everything seems to be fine; in a few cases I wasn't able to access the web interface and didn't discover why. Also, the Python traceback output may have been different in the cases where the web interface didn't work.

In cases where there is a problem with the web interface, restarting CryptoNAS using

/etc/init.d/cryptobox-server stop
/etc/init.d/cryptobox-server start

corrected the problem.

I'll try to pay more attention to the specific symptoms in the future, but I wanted to mention this in case you guys had any ideas. I've heard there are problems with some of the Python thread code; maybe this is a race condition.

Attachments

traceback at startup (12.9 kB) - added by frisco 22 months ago.
screen shot showing traceback

Change History

Changed 22 months ago by frisco

screen shot showing traceback

Changed 20 months ago by frisco

  • status changed from new to closed
  • resolution set to fixed

Fixed in r1141: Created script to patch CherryPy? during Live CD build. This bug has been fixed in the CherryPy? source repository but it will take some time for the fix to make its way into Debian (i.e. Lenny or later).

See http://www.cherrypy.org/ticket/686 and http://www.cherrypy.org/changeset/1283.

Add/Change #216 (Intermittent Python crashes at startup)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.