Opened 16 years ago
Closed 16 years ago
#499 closed bug (Fixed)
Do not use os.fork() on OS X
Reported by: | simon-deluge@hitzemann.org | Owned by: | andar |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Unknown | Version: | 1.0.0 |
Keywords: | osx fork | Cc: |
Description
Please do not use os.fork() on OS X. CoreFoundations do not support daemonization via fork(). More information about this provided by Apple
Please see the resulting error message:
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec(). Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug. The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec(). Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug. Fatal Python error: Interpreter not initialized (version mismatch?)
The binary is then being stopped by SIGABRT.
Change History (3)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
running deluged via launchctl has been moderately successful, it's something worth looking into.
Note:
See TracTickets
for help on using tickets.
Thanks for the info! Currently we do not have any Macs to develop on, so this may not be fixed for a while.