5
Vote

Using Phone module crashes Mayhem

description

The application just crashes when using phone module

How to reproduce it :
Install PhoneModules.1.0.0.mayhem
Start mayhem
Choose event
Phone Remote
Application crashes.
Windows 7 x86, French.

comments

anthonyda wrote Mar 8, 2012 at 7:09 PM

Here is what event logger says :
Nom de l’application défaillante Mayhem.exe, version : 1.0.0.0, horodatage : 0x4f4801c7
Nom du module défaillant : KERNELBASE.dll, version : 6.1.7601.17651, horodatage : 0x4e2111c0
Code d’exception : 0xe0434352
Décalage d’erreur : 0x0000d36f
ID du processus défaillant : 0x342c
Heure de début de l’application défaillante : 0x01ccfd671f3c9184
Chemin d’accès de l’application défaillante : C:\Program Files\Outercurve\Mayhem\Mayhem\content\Mayhem.exe
Chemin d’accès du module défaillant: C:\Windows\system32\KERNELBASE.dll

ID de rapport : 5ebc9355-695a-11e1-9160-001d7d02f0be

Application : Mayhem.exe
Version du Framework : v4.0.30319
Description : le processus a été arrêté en raison d'une exception non gérée.
Informations sur l'exception : System.Runtime.InteropServices.COMException
Pile :
à System.RuntimeTypeHandle.CreateInstance(System.RuntimeType, Boolean, Boolean, Boolean ByRef, System.RuntimeMethodHandleInternal ByRef, Boolean ByRef)
à System.RuntimeType.CreateInstanceSlow(Boolean, Boolean, Boolean)
à System.RuntimeType.CreateInstanceDefaultCtor(Boolean, Boolean, Boolean, Boolean)
à System.Activator.CreateInstance(System.Type, Boolean)
à PhoneModules.PhoneConnector.StartService(Boolean)
à PhoneModules.Wpf.PhoneFormDesigner.<OnLoad>b__0(System.Object)
à System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
à System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
à System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
à System.Threading.ThreadPoolWorkQueue.Dispatch()
à System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

TheSavior wrote Mar 9, 2012 at 5:22 AM

Interesting. It looks like it's with the code:

Type netFwMgrType = Type.GetTypeFromProgID("HNetCfg.FwMgr", false);
INetFwMgr mgr = (INetFwMgr)Activator.CreateInstance(netFwMgrType);

in PhoneConnector.StartService()

I'm curious if the progID has a different name when run on a different language of windows.

anthonyda wrote Mar 9, 2012 at 6:53 PM

Can I find that ProgID on my OS ? I have VS2010 and tools like Spy++.

TheSavior wrote Mar 9, 2012 at 7:35 PM

If you are feeling adventurous, you could compile the source and put a breakpoint on the line INetFwMgr mgr = (INetFwMgr)Activator.CreateInstance(netFwMgrType); and see if netFwMgrType is null or what the message / innerException of the COMException is.

anthonyda wrote Mar 9, 2012 at 8:50 PM

anthonyda wrote Apr 6, 2012 at 5:03 PM

-It still doesn't work with the latest build/sources.

-It's working on Windows 8 (en/us language).

Any help?

TheSavior wrote Apr 16, 2012 at 8:18 AM

Very interesting that it works on your windows 8 pc. Have you tried it on another windows 7 pc? What about windows 8 running in french?

Tdshelton wrote May 18, 2012 at 6:46 PM

It also crashes my Mayhem on Windows 8, 64bit system in English. No other reports of this issue?

Tdshelton wrote May 18, 2012 at 6:48 PM

Sorry, mistyped... Windows 7, 64bit, English

Tdshelton wrote May 19, 2012 at 5:48 PM

Tried install on different computer, phone module still crashes Mayhem. Just does not seem to work...

TheSavior wrote May 21, 2012 at 5:18 PM

This is really difficult for us to debug because none of our computers have this problem.

Can you look in your registry (regedit) and see if you have a key called:

HKEY_CLASSES_ROOT\HNetCfg.FwMgr

anthonyda wrote May 21, 2012 at 6:03 PM

Hello,
I have the registry key.
Here is how it looks:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\HNetCfg.FwMgr]
@="HNetCfg.FwMgr" [HKEY_CLASSES_ROOT\HNetCfg.FwMgr\CLSID] @="{304CE942-6E39-40D8-943A-B913C40C0000}" (last four zero are replacing real figures)

mazenatc wrote May 21, 2012 at 11:39 PM

got the same problem
windows 7 64 bit
english edition

TheSavior wrote May 22, 2012 at 12:14 AM

If you disable the firewall on your computer, does it have the same problem?

mazenatc wrote May 22, 2012 at 11:00 AM

I tried disabling windows firewall and kaspersky firewall but got the same results.
did you test it on 64 bit ? is there any way that the module is not compatible with windows 64 bit?

anthonyda wrote May 22, 2012 at 11:31 AM

mazenatc It's not working on my 32bits OS too.

mazenatc wrote May 22, 2012 at 11:50 AM

Ok guys I tried it on windows xp 32 bit worked fine!!
But.. When I scan the bar code with my iPhone I only get black screen!
I think the developer needs sometime to debug some issues, hope he can do it and come up with an updated version.

mazenatc wrote May 22, 2012 at 12:22 PM

worked perfectly with windows xp 32 bit
no luck with windows 7 64 bit

jackQ wrote Jun 10, 2012 at 2:13 AM

Similar behaviour with Vista Home Premium 32bit

MS Security Essentials running

Samsung Focus phone

Turning off firewall solved this error, but still having pairing problem after scanning the QR code

Paul1957 wrote Jul 16, 2012 at 8:30 AM

Windows 7 dutch sp1 64bit version: Phone Remote crashes Mayhem
Windows 7 dutch sp1 32bit version: works perfectly

almujhool wrote Aug 5, 2012 at 9:46 PM

i am having the same problem
i am using win 7 64bit
i suppose that this version of the phone modulus does not support 64bit yet
i hope it get fixed fast

bentren wrote Aug 21, 2012 at 5:15 AM

Same problem. Windows 7 64 bit. I downloaded Mayhem just for this! Kind of disappointing. I think this should be upgraded to high impact.