Vladimir Marangozov wrote: > > [about mxProxy, WeakProxy] > > M.-A. Lemburg wrote: > > > > Could you tell me where the core dump originates ? Also, it would > > help to compile the package with the -DMAL_DEBUG switch turned > > on (edit Setup) and then run the same things using 'python -d'. > > The package will then print a pretty complete list of things it > > is doing to mxProxy.log, which would help track down errors like > > these. > > > > BTW, I get: > > >>> print p > > > > Traceback (innermost last): > > File "<stdin>", line 1, in ? > > mxProxy.LostReferenceError: object already garbage collected > > >>> > > > > [Don't know why the print statement prints an empty line, though.] > > > > The previous example now *seems* to work fine in a freshly launched > interpreter, so it's not a good example, but this shorter one > definitely doesn't: > > >>> from Proxy import WeakProxy > >>> o = [] > >>> p = q = WeakProxy(o) > >>> p = q = WeakProxy(o) > >>> del o > >>> print p or q > Illegal instruction (core dumped) > > It crashes in PyDict_DelItem() called from mxProxy_CollectWeakReference(). > I can mail you a complete trace in private, if you still need it. That would be nice (please also include the log-file), because I get: >>> print p or q Traceback (innermost last): File "<stdin>", line 1, in ? mxProxy.LostReferenceError: object already garbage collected >>> Thank you, -- Marc-Andre Lemburg ______________________________________________________________________ Y2000: 135 days left Business: http://www.lemburg.com/ Python Pages: http://www.lemburg.com/python/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4