
mythtv at cvs
Nov 16, 2009, 8:00 AM
Post #1 of 8
(1280 views)
Permalink
|
|
Ticket #7582: OSX 10.6 MythBackend fatal closing random unix handles
|
|
#7582: OSX 10.6 MythBackend fatal closing random unix handles ------------------------------------------------+--------------------------- Reporter: Jeff Gibbons <mythtv@…> | Owner: nigel Type: defect | Status: new Priority: minor | Milestone: unknown Component: Ports - OSX | Version: 0.22 Severity: high | Mlocked: 0 ------------------------------------------------+--------------------------- 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 -- Ticket URL: <http://svn.mythtv.org/trac/ticket/7582> MythTV <http://www.mythtv.org/> MythTV _______________________________________________ mythtv-commits mailing list mythtv-commits [at] mythtv http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits
|