Archived

This forum has been archived. Please start a new discussion on GitHub.

IcePy 2.0.0 fails, hangs on Mac OS X 10.3

I tried to build IcePy on Mac OS X 10.3. Out of the box, the
build doesn't work right (it builds a file called IcePy.dy, which
is a dynamic lib, not a bundle). If you go into the modules
directory and build the module using "python setup.py build",
you can create an IcePy.so. With the right moving of libraries,
you can finally get "import Ice" not to produce undefined
symbols.

Unfortunately, it hangs:

#0 0x90016f48 in semaphore_wait_signal_trap ()
#1 0x900021e0 in pthread_mutex_lock ()
#2 0x041099f0 in ?? ()
#3 0x04225d00 in ?? ()
....

This problem is known on the Mac ... it happens because of
lazy initialization in constructors when loading libraries.
"setenv DYLD_BIND_AT_LAUNCH" is supposed to be a
workaround, but it doesn't work.

There are solutions to this problem, but unfortunately I'm
not too familiar with this level of Mac OS X hacking.


--Mike

Comments

  • mes
    mes California
    Welcome to the forum.

    We encountered the same problems when attempting to port IcePy to Mac OS X, and this is why we do not list it as a supported platform for the Python implementation. We will investigate this further.

    Take care,
    - Mark