Hi,

we have almost finished our COM server using comtypes. Once we tried to 
deploy it on a Windows Server 2008, the client shows an 
RPC_E_SERVERFAULT (0x80010105). We've tried three different Win XP 
machines which all work, Win 2008 server and Win 7 shows the same 
issues. I can reproduce the issue with two different c++ based clients 
and using comtypes client as well.

The problem is, that there is no exception thrown within python code. 
I've debugged my application with winpdb and neither my code nor the 
surrounding comtypes python code throws an exception, as far as I can 
say. However, when I attach the windows debugger to the python process 
and add a breakpoint on uncatched exceptions, the debugger stops 
somewhere within assembler code of PyObject_Call and shows an illegal 
access violation. I can't say who is accessing which memory. For every 
crash, I see an entry in the windows event console showing python.exe 
and ntdll.dll.

Again, according to my previous question, probably I'm messing up some 
pointers (but I'm wondering why it works under XP) and I'm still looking 
for suggestion on how to debug COM. I want to see what's happening that 
causes the exception...

Any help would really be appreciated since we are pretty desperate right 
now.

Thanks,

//Jan

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
comtypes-users mailing list
comtypes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/comtypes-users

Reply via email to