Archived
This forum has been archived. Please start a new discussion on GitHub.
"malloc double free" on creating many communicators

joshmoore
Germany
in Bug Reports
We are trying to debug a "too many files" issue that we're having related to too many communicator's open in a single django process. While testing we ran into this:
which may or may not be of interest.
Python: 2.5.4
Mac OSX: 10.4
Ice: 3.3.0
Best wishes,
~J.
6859 6860 6861 6862 6863 6864 6865 6866 Python(24600,0xa000d000) malloc: *** error for object 0x845e5890: double free Python(24600,0xa000d000) malloc: *** set a breakpoint in szone_error to debug Traceback (most recent call last): File "oa.py", line 6, in <module> ic = Ice.initialize() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Ice.py", line 368, in initialize communicator = IcePy.Communicator(args, data) Ice.UnknownException: exception ::Ice::UnknownException { unknown = Thread.cpp:445: IceUtil::ThreadSyscallException: syscall exception: Resource temporarily unavailable }
# oa.py import Ice oas = [] for i in range(10000): print i ic = Ice.initialize() #oa = ic.createObjectAdapterWithEndpoints("A%s"%i,"tcp -p %s" % (10000+i)) #oa.activate() #oas.append(oa) #oa.deactivate() #ic.destroy()
which may or may not be of interest.
Python: 2.5.4
Mac OSX: 10.4
Ice: 3.3.0
Best wishes,
~J.
0
Comments
-
Thanks, we'll take a look at that.
Regards,
Mark0