Bugs item #1350188, was opened at 2005-11-07 03:26 Message generated for change (Settings changed) made by nnorwitz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1350188&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Python Interpreter Core Group: Python 2.4 >Status: Closed >Resolution: Fixed Priority: 7 Submitted By: John Pye (jdpipe) Assigned to: Neal Norwitz (nnorwitz) Summary: "setdlopenflags" leads to crash upon "import" Initial Comment: While playing around with correct values of the dl.RTLD_xxxx flags in the dl module, I found that I could crash python as follows: python -v [...] >>> import sys; import dl dlopen("/usr/lib/python2.4/lib-dynload/dlmodule.so", 2); import dl # dynamically loaded from /usr/lib/python2.4/lib-dynload/dlmodule.so >>> sys.setdlopenflags(15) >>> import ascend # ascend.pyc matches ascend.py import ascend # precompiled from ascend.pyc dlopen("./_ascend.so", f); python: Objects/stringobject.c:105: PyString_FromString: Assertion `str != ((void *)0)' failed. Aborted JP ---------------------------------------------------------------------- >Comment By: Neal Norwitz (nnorwitz) Date: 2005-11-08 23:03 Message: Logged In: YES user_id=33168 Thanks! I don't have ascend.so. I tried importing time and it crashed hard. I checked in a fix for me. Let me know if it doesn't fix the problem for you. Committed revision 41412. Committed revision 41413. (2.4) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1350188&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com