[capi-sig] Jack.Jansen at cwi.nl

anti00Zero anti00Zero at gmx.de
Mon Oct 20 15:24:10 CEST 2008


Here is a screenshot and the call stack:



 	ntdll.dll!_KiFastSystemCallRet at 0() 	
 	user32.dll!_NtUserWaitMessage at 0()  + 0xc bytes	
 	user32.dll!_InternalDialogBox at 24()  + 0xb6 bytes	
 	user32.dll!_SoftModalMessageBox at 4()  + 0x677 bytes	
 	user32.dll!_MessageBoxWorker at 4()  + 0x175 bytes	
 	user32.dll!_MessageBoxTimeoutW at 24()  + 0x7a bytes	
 	user32.dll!_MessageBoxTimeoutA at 24()  + 0x9c bytes	
 	user32.dll!_MessageBoxExA at 20()  + 0x1b bytes	
 	user32.dll!_MessageBoxA at 16()  + 0x45 bytes	
 	[Frames below may be incorrect and/or missing, no symbols loaded for python25.dll]	
 	kernel32.dll!_CreateFileA at 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 at 24()  + 0x2f7 bytes	
 	python26.dll!1e00ed6e() 	
 	python26.dll!1e009136() 	
 	python26.dll!1e00fcc6() 	
 	python26.dll!1e00919a() 	
 	python26.dll!1e0157a1() 	
 	ntdll.dll!_RtlAllocateHeapSlowly at 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 at 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
>>
>>
>>



More information about the capi-sig mailing list