vext01 / hgd

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

hgd-playd crashes upon the second SIGHUP only when python is enabled and playd is daemonised #142

Closed vext01 closed 12 years ago

vext01 commented 12 years ago

Program received signal SIGHUP, Hangup. 0x0000000202a5f7fa in poll () from /usr/lib/libc.so.61.0 (gdb) bt

0 0x0000000202a5f7fa in poll () from /usr/lib/libc.so.61.0

1 0x0000000201e99ba7 in _thread_kern_poll (wait_reqd=Variable "wait_reqd" is not available.

) at /usr/src/lib/libpthread/uthread/uthread_kern.c:784

2 0x0000000201e9aab8 in _thread_kern_sched (scp=0x0)

at /usr/src/lib/libpthread/uthread/uthread_kern.c:384

3 0x0000000201e94a8d in wait4 (pid=27290, istat=0x7f7ffffc9e4c, options=Variable "options" is not available.

) at /usr/src/lib/libpthread/uthread/uthread_wait4.c:72

4 0x0000000000404f17 in hgd_play_track (t=0x7f7ffffc9ea0, purge_fs=1 '\001', purge_db=1 '\001')

at hgd-playd.c:173

5 0x0000000000405ed1 in hgd_play_loop () at hgd-playd.c:256

6 0x0000000000407075 in main (argc=2, argv=0x7f7ffffc9ff0) at hgd-playd.c:481

vext01 commented 12 years ago

Our daemoniser is buggy, used daemon() instead.