Bugs item #1525590, was opened at 2006-07-19 16:31 Message generated for change (Comment added) made by nnorwitz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1525590&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 Library >Group: 3rd Party >Status: Closed >Resolution: Invalid Priority: 5 Submitted By: Sean Burford (seanburford) Assigned to: Nobody/Anonymous (nobody) Summary: ldap get_option(0) causes segfault Initial Comment: $ /usr/bin/python2.4 Python 2.4.1 (#2, Mar 30 2005, 21:51:10) [GCC 3.3.5 (Debian 1:3.3.5-8ubuntu2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import ldap >>> l=ldap.open('abc') >>> l.get_option(0) Segmentation fault $ /usr/bin/python2.3 Python 2.3.5 (#2, Aug 30 2005, 13:43:24) [GCC 3.3.5 (Debian 1:3.3.5-8ubuntu2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import ldap >>> l=ldap.open('abc') >>> l.get_option(0) Under GDB with 2.4.1: >>> l.get_option(0) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1209606016 (LWP 27694)] 0xb7ee4d8b in strlen () from /lib/tls/i686/cmov/libc.so.6 (gdb) bt #0 0xb7ee4d8b in strlen () from /lib/tls/i686/cmov/libc.so.6 #1 0x080dc668 in Py_InitModule4 () #2 0x080dce8e in PyModule_AddStringConstant () #3 0x080dc6ba in Py_InitModule4 () #4 0x080dc755 in Py_VaBuildValue () #5 0x080dc6d8 in Py_BuildValue () #6 0xb7fde111 in LDAP_get_option () from /usr/lib/python2.4/site-packages/_ldap.so #7 0xb7fd9127 in py_ldap_sasl_interaction () from /usr/lib/python2.4/site-packages/_ldap.so #8 0x081071fa in PyCFunction_Call () #9 0x0805c449 in PyObject_Call () #10 0x080afc34 in PyEval_CallObjectWithKeywords () #11 0x080add4c in PyEval_EvalFrame () #12 0x080ae42e in PyEval_EvalCodeEx () #13 0x080af849 in PyEval_CallObjectWithKeywords () #14 0x080af464 in PyEval_CallObjectWithKeywords () #15 0x080ad9b7 in PyEval_EvalFrame () #16 0x080af8cd in PyEval_CallObjectWithKeywords () #17 0x080af464 in PyEval_CallObjectWithKeywords () #18 0x080ad9b7 in PyEval_EvalFrame () #19 0x080ae42e in PyEval_EvalCodeEx () #20 0x080b11a9 in PyEval_EvalCode () #21 0x080df38b in PyRun_FileExFlags () #22 0x080de88e in PyRun_InteractiveOneFlags () #23 0x080de683 in PyRun_InteractiveLoopFlags () #24 0x080dfd32 in PyRun_AnyFileExFlags () #25 0x080554a4 in Py_Main () #26 0x08054f2b in main () ---------------------------------------------------------------------- >Comment By: Neal Norwitz (nnorwitz) Date: 2006-07-19 20:33 Message: Logged In: YES user_id=33168 ldap is not part of the Python core. You should file this bug with the ldap maintainers or whoever provided the ldap module. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1525590&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com