Jack.Jansen@cwi.nl
Here is a screenshot and the call stack:
ntdll.dll!_KiFastSystemCallRet@0()
user32.dll!_NtUserWaitMessage@0() + 0xc bytes
user32.dll!_InternalDialogBox@24() + 0xb6 bytes
user32.dll!_SoftModalMessageBox@4() + 0x677 bytes
user32.dll!_MessageBoxWorker@4() + 0x175 bytes
user32.dll!_MessageBoxTimeoutW@24() + 0x7a bytes
user32.dll!_MessageBoxTimeoutA@24() + 0x9c bytes
user32.dll!_MessageBoxExA@20() + 0x1b bytes
user32.dll!_MessageBoxA@16() + 0x45 bytes
[Frames below may be incorrect and/or missing, no symbols loaded for python25.dll]
kernel32.dll!_CreateFileA@28() + 0x2b bytes
python26.dll!1e00f11b()
python26.dll!1e00c7b5()
python26.dll!1e007ac3()
python26.dll!1e01cceb()
msvcr90.dll!_sopen_helper(const char * path=0x0fd0dc68, int oflag=32768, int shflag=64, int pmode=384, int * pfh=0x0fd0d7c8, int bSecure=1) Line 190 + 0x5 bytes
msvcr90.dll!_sopen_s(int * pfh=0x0fd0d7c8, const char * path=0x0fd0dc68, int oflag=32768, int shflag=64, int pmode=384) Line 907 + 0x16 bytes
msvcr90.dll!_openfile(const char * filename=0x1e1a53b2, const char * mode=0x1e0097c7, int shflag=265345024, _iobuf * str=0x00000025) Line 272 + 0x17 bytes
00000025()
python26.dll!1e0094af()
python26.dll!1e01cf9d()
msvcr90.dll!__lock_fhandle(int fh=89305032) Line 468 + 0x5 bytes
NMMediaServer.dll!initMediaHomeWebInterface() Line 32 + 0x30 bytes C++
python26.dll!1e025c0d()
python26.dll!1e020bc3()
python26.dll!1e026cf5()
python26.dll!1e026d27()
ntdll.dll!_RtlGetFullPathName_Ustr@24() + 0x2f7 bytes
python26.dll!1e00ed6e()
python26.dll!1e009136()
python26.dll!1e00fcc6()
python26.dll!1e00919a()
python26.dll!1e0157a1()
ntdll.dll!_RtlAllocateHeapSlowly@12() + 0x3da bytes
msvcr90.dll!malloc(unsigned int size=408) Line 163 + 0x5f bytes
python26.dll!1e01530b() python26.dll!1e010317() python26.dll!1e01fd3d() python26.dll!1e01d91e() python26.dll!1e020b31() msvcr90.dll!__lock_fhandle(int fh=3) Line 467 msvcr90.dll!_close(int fh=503378203) Line 62 + 0x8 bytes msvcr90.dll!_close(int fh=503378203) Line 66 + 0x5 bytes 0e439f10() python26.dll!1e010091() python26.dll!1e020b72() python26.dll!1e017284() python26.dll!1e0172bc() NMMediaServer.dll!std::_Iterator_base::~_Iterator_base() Line 151 + 0x28 bytes C++ NMUPnPServices.dll!CILibWebRequestHeader::CILibWebRequestHeader(packetheader * pHeader=0x00000000) Line 90 + 0x19 bytes C++ ffffffff()
The problem is msvcr90.dll? Why this dll for Visual Studio 2008? I thought it should be 2005. :-?
I'm sorry. Here are some facts:
Winodws XP SP3 with newest updates Visual Studio 2005 Microsoft Visual C++ 2005 Redistributable I downloaded Python 2.6 installer for Windows from >python.org I use Python with boost 1.36 for Python (could this be a problem?)
I want to use Python 2.6 because it was (i think so) built with VS2005. So I haven't to use msvcr71.dll. On monday I can send a stack trace and a screenshot of this crash a with E-Mail.
Jack Jansen wrote:
This could be one of thousands of things. If it works with 2.5 and no more with 2.6 some possible candidates are (1) a bug in Python, (2) a difference in memory layout which caused buggy code to work correct in 2.5 nonetheless or (3) a timing difference, with the same effect.
Oh yes, if you're on Windows and using the prebuilt dll it could also be caused by runtime library differences, I think 2.5 was built with VS2003 and 2.6 with VS2005.
You'll need to provide a bit more detail if you want more help (OS and version, how you built Python and your app, is your code in an extension module or embedding Python, how does it crash, did you get a stack trace, etc)
--
Jack Jansen, <Jack.Jansen@cwi.nl>, http://www.cwi.nl/~jack <http://www.cwi.nl/%7Ejack>
If I can't dance I don't want to be part of your revolution -- Emma Goldman
On 20-Oct-2008, at 15:24 , anti00Zero wrote:
The problem is msvcr90.dll? Why this dll for Visual Studio 2008? I
thought it should be 2005. :-?
That could be the problem, indeed. So maybe Python 2.6 was built with
VS2008?? Does anyone know?
--
Jack Jansen, <Jack.Jansen@cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma
Goldman
On 2008-10-21 11:46, Jack Jansen wrote:
On 20-Oct-2008, at 15:24 , anti00Zero wrote:
The problem is msvcr90.dll? Why this dll for Visual Studio 2008? I thought it should be 2005. :-?
That could be the problem, indeed. So maybe Python 2.6 was built with VS2008?? Does anyone know?
Python 2.6 is being build with Visual Studio 2008 Professional Edition.
The marketing name maps to VC9.0 and the code needs the msvcr90.dll as runtime.
-- Marc-Andre Lemburg eGenix.com
Professional Python Services directly from the Source (#1, Oct 21 2008)
Python/Zope Consulting and Support ... http://www.egenix.com/ mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
:::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! ::::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611
participants (3)
-
anti00Zero
-
Jack Jansen
-
M.-A. Lemburg