[Pythonmac-SIG] Restrictions on what you can do in a Python module?

Bob Ippolito bob at redivi.com
Wed Aug 27 15:39:50 EDT 2003


On Wednesday, Aug 27, 2003, at 14:12 America/New_York, Robb Brown wrote:

> No problem -- here's the wrapper in it's entirety -- it's not very big 
> at the moment, only the three functions.
>
> No, there are no callbacks.  In fact, I can't even be sure dcmtk is 
> using threads -- for what I'm doing there's no real reason for it to, 
> everything blocks as far as I'm concerned.
>
> Anyway, here's the code.  The crash is on line 104, where all the 
> setup is finished and I actually ask dcmtk to connect.

That's a really strange place to have a crash.  Have you tried running 
it under gdb to see what the traceback looks like?  Maybe the net or 
params structures didn't get initialized properly?

-bob




More information about the Pythonmac-SIG mailing list