vext01 / hgd

Hackathon Gunther Daemon :: Opensource Multi-User Jukebox
http://hgd.theunixzoo.co.uk
ISC License
22 stars 10 forks source link

Sending a SIGHUP whilst hgd-playd is paused causes a crash. #136

Closed vext01 closed 12 years ago

vext01 commented 12 years ago

Nov 25 14:57:56 edd-i386 hgd-playd: [warn - 00011779 common.c:hgd_restart_myself():372] Nov 25 14:57:56 edd-i386 hgd-playd: Caught SIGHUP, restarting Nov 25 14:57:56 edd-i386 hgd-playd: [error - 00025384 db.c:hgd_get_next_track():548] Nov 25 14:57:56 edd-i386 hgd-playd: Can't get next track: disk I/O error Nov 25 14:57:56 edd-i386 hgd-playd: [error - 00025384 hgd-playd.c:hgd_exit_nicely():64] Nov 25 14:57:56 edd-i386 hgd-playd: hgd-playd was interrupted or crashed

vext01 commented 12 years ago

Cannot reproduce -- assumed freak crash

vext01 commented 12 years ago

This only happens when python is disabled. Really odd.

vext01 commented 12 years ago

Why is the database reporting a disk/IO error? The database is properly closed upon HUP and the database is successfully opened again when the process restarts.

Besides, a whole load of other SQL queries have worked fine up until hgd_get_next_track().

Weird

vext01 commented 12 years ago

Also, this is not related to pause either