id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,mlocked 7582,OSX 10.6 MythBackend fatal closing random unix handles,Jeff Gibbons ,Nigel,"In all versions of MythBackend, running on OSX 10.6 (Snow Leopard), MythBackend crashes at startup with a message in Console about closing random unix handles. In main.cpp, in the routine main, the following lines are the cause of the problem. for (int i = 3; i < sysconf(_SC_OPEN_MAX) - 1; ++i) close(i); These are apparently benign in 10.5 (Leopard) but fatal in 10.6. They should be #ifdef'd away for 10.6 or OSX in general. MythTV Version : 22791M MythTV Branch : branches/release-0-22-fixes Network Protocol : 50 Library API : 0.22.20091023-1 QT Version : 4.5.3 Options compiled in: release darwin_da using_corevideo using_backend using_darwin using_firewire using_frontend using_hdhomerun using_hdpvr using_iptv using_lirc using_mheg using_opengl_video using_qtwebkit using_appleremote using_bindings_perl using_bindings_python using_darwin_da using_opengl using_ffmpeg_threads using_live using_mheg ",defect,closed,minor,unknown,Ports - OSX,0.22,high,fixed,,,0