★ wanayoo — archive 1999 http://mail.python.org/pipermail/pythonmac-sig/2001-December/004640.htmlNouvelle recherche | Portail wanayoo

[Pythonmac-SIG] more on MacPython/OSX/shared lib

Paul Miller paul@fxtech.com
Thu, 20 Dec 2001 13:28:38 -0600


>This is what happens in the debugger when I try to load my plug-in (which 
>is linked against PythonCoreCarbon):

>My next step is to remove all my Python code and see if I get the error 
>without linking against Python.

Back to square 1 for me. I removed the Python lib and all my Python code 
and I have the same problem. It must be something in global initialization 
in my own code. For yucks I disabled the __initialize and __terminate entry 
points in the linker options and I ended up with an assert in my code 
(which was expecting the static initializations to happen).

Does anyone have any idea why static initializations would cause my shared 
lib to die in OSX when it works fine in OS9.2?

Can anyone tell me how to set a breakpoint in __initialize so I can step 
around and see what it is doing?

Cheers!


-- 
Paul T. Miller | paul@fxtech.com | http://www.fxtech.com