Bugs item #1734164, was opened at 2007-06-10 03:46 Message generated for change (Comment added) made by ishimoto You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1734164&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: Extension Modules Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: atsuo ishimoto (ishimoto) Assigned to: Nobody/Anonymous (nobody) Summary: sqlite3 causes memory read error Initial Comment: Attached script causes memory read error at sqlite3.pyd. Tested on Python 2.5.1/Windows XP. ---------------------------------------------------------------------- >Comment By: atsuo ishimoto (ishimoto) Date: 2007-06-11 17:31 Message: Logged In: YES user_id=463672 Originator: YES Purify is not needed to find this problem, since python aborts by running test script. VisualC++ reports memory read error occurred. Problem might be in the sqlite, not sqlite3. I'm not sure which is. I failed to find this problem at sqlite's trac. Here's stack trace:: sqlite3.dll!60931bb0() _sqlite3.pyd!00ac5887() _sqlite3.pyd!00ac589e() _sqlite3.pyd!00ac3e6f() _sqlite3.pyd!00ac4251() python25.dll!PyCFunction_Call(_object * func=0x00bedd78, _object * arg=0x00be66f0, _object * kw=0x00000000) 行 73 + 0x8 C python25.dll!call_function(_object * * * pp_stack=0x0021fdc0, int oparg=0) 行 3564 + 0x8f C python25.dll!PyEval_EvalFrameEx(_frame * f=0x00ba89e8, int throwflag=0) 行 2270 C python25.dll!PyEval_EvalCodeEx(PyCodeObject * co=0x00bcae30, _object * globals=0x00ba89e8, _object * locals=0x00b7cdb0, _object * * args=0x00000000, int argcount=0, _object * * kws=0x00000000, int kwcount=0, _object * * defs=0x00000000, int defcount=0, _object * closure=0x00000000) 行 2831 + 0x8 C python25.dll!PyEval_EvalCode(PyCodeObject * co=0x00bcae30, _object * globals=0x00b7cdb0, _object * locals=0x00b7cdb0) 行 499 + 0x22 C python25.dll!run_mod(_mod * mod=0x00c48538, const char * filename=0x00bec770, _object * globals=0x00b7cdb0, _object * locals=0x00b7cdb0, PyCompilerFlags * flags=0xbdf20da3, _arena * arena=0x00000000) 行 1271 + 0x11 C python25.dll!PyRun_FileExFlags(_iobuf * fp=0x7c3ab698, const char * filename=0x00ab3e4b, int start=257, _object * globals=0x00b7cdb0, _object * locals=0x00b7cdb0, int closeit=1, PyCompilerFlags * flags=0x0021ff1c) 行 1258 C python25.dll!PyRun_SimpleFileExFlags(_iobuf * fp=0x7c3ab698, const char * filename=0x00ab3e4b, int closeit=1, PyCompilerFlags * flags=0x0021ff1c) 行 878 + 0x18 C python25.dll!PyRun_AnyFileExFlags(_iobuf * fp=0x7c3ab698, const char * filename=0x00ab3e4b, int closeit=1, PyCompilerFlags * flags=0x0021ff1c) 行 696 + 0x11 C python25.dll!Py_Main(int argc=2, char * * argv=0x00000001) 行 526 + 0x21 C python.exe!1d0011a5() kernel32.dll!7c816fd7() ---------------------------------------------------------------------- Comment By: Neal Norwitz (nnorwitz) Date: 2007-06-11 05:56 Message: Logged In: YES user_id=33168 Originator: NO I can't reproduce this on Linux with valgrind. Did you use purify to find this problem? Can you provide the complete report that shows the memory read error with the call stack? Are you sure the problem is in the python code? Could the problem be in the sqlite code itself? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1734164&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com