Opened 16 years ago

Closed 15 years ago

#499 closed bug (Fixed)

Do not use os.fork() on OS X

Reported by: simon-deluge@… 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 Changed 16 years ago by andar

Thanks for the info! Currently we do not have any Macs to develop on, so this may not be fixed for a while.

comment:2 Changed 15 years ago by jrabbit

running deluged via launchctl has been moderately successful, it's something worth looking into.

comment:3 Changed 15 years ago by markybob

  • Resolution set to fixed
  • Status changed from new to closed

fixed in [4430]

Note: See TracTickets for help on using tickets.