Hi!
You may download any toolchain that you need from
https://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.7.2.
All toolchains since rev2 contains prebuilded Python-2.7.3 in opt
subdirectory and gdb that in toolchain work with this python.
2012/12/13 asmwarrior <asmwarr...@gmail.com>
> Hi, when I run the gdb (python enabled) under drmemory, like:
> drmemory gdb.exe
>
> I see a lot of error reports regarding about memory error related to
> python dll, like below:
> (ERROR 3)
>
> ......
> Error #3: UNADDRESSABLE ACCESS: reading 0x03318010-0x03318014 4 byte(s)
> # 0 python27.dll!PyObject_Free +0xf (0x1e00f74f
> <python27.dll+0xf74f>)
> # 1 python27.dll!PyObject_Free +0x1a5 (0x1e00f8e6
> <python27.dll+0xf8e6>)
> # 2 python27.dll!PyLong_New +0x6b (0x1e00957a
> <python27.dll+0x957a>)
> # 3 python27.dll!PyMarshal_ReadLongFromFile +0x144 (0x1e0271c7
> <python27.dll+0x271c7>)
> # 4 python27.dll!PyMarshal_ReadLongFromFile +0x1c4 (0x1e027247
> <python27.dll+0x27247>)
> # 5 python27.dll!PyDict_DelItem +0x3a8 (0x1e015729
> <python27.dll+0x15729>)
> # 6 python27.dll!PyInstance_New +0x30e (0x1e01654f
> <python27.dll+0x1654f>)
> # 7 python27.dll!PyCFunction_Call +0x27 (0x1e015d18
> <python27.dll+0x15d18>)
> # 8 python27.dll!PyEval_CallObjectWithKeywords +0x5e (0x1e015c8f
> <python27.dll+0x15c8f>)
> # 9 python27.dll!PyEval_EvalFrameEx +0x11f5 (0x1e012426
> <python27.dll+0x12426>)
> #10 python27.dll!PyEval_EvalCodeEx +0x106 (0x1e0106e7
> <python27.dll+0x106e7>)
> #11 python27.dll!PyEval_EvalCode +0x1c (0x1e001e5d
> <python27.dll+0x1e5d>)
> Note: @0:00:05.859 in thread 189780
> Note: next higher malloc: 0x03318660-0x033187f0
> Note: 0x03318010-0x03318014 overlaps memory 0x03317b68-0x03318638 that was
> freed
> Note: instruction: mov 0x10(%eax) -> %edx
> .....
>
>
>
> So, I suspect that this is caused that mingw use msvcrt.dll, but the
> python2.7.3 release was built from MSVC, so it has another kind of c
> runtime library.
>
> If possible, I need to build gdb which should link to a python
> libary(built from mingw).
>
> I see this:
> https://github.com/niXman/mingw-builds/tree/master/patches/Python-2.7.3
> There are too many patches, and I even don't know how to build it. So, I
> wish there is a pre-build python library release from mingw/mingw64.
>
> Thanks.
>
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public