[Solution] Application plante au démarrage sous Windows7 x64

Tout ce qui concerne le logiciel ZGuideTV.net.

Modérateurs : Modérateurs, Développeurs

Règles du forum
Rappel: Conditions générales d'utilisation du forum zguidetv.net

Pensez à effectuer une recherche, la réponse à votre question a de grandes chances d'avoir déjà été donnée.

Pensez également à consulter les FAQ

On ne hurle pas, on respecte l'opinion de chaque personne, on reste aimable et on respecte le travail des autres, c'est la base d'une entraide constructive.

Tout post ne respectant pas les Règles du forum sera effacé sans préavis.
abeloin
Nouveau
Messages : 3
Enregistré le : 17 févr. 2010 3:32

[Solution] Application plante au démarrage sous Windows7 x64

Message non lu par abeloin » 17 févr. 2010 4:38

Bonjour,

Lorsque je lance l'application pour la première fois, le système m'informe que celui-ci à planté et m'affiche un rapport de Microsoft(Voir plus bas).

Est-ce que quelqu'un a déja rencontré ce problème?

SE: Ms Windows 7 Ultimate x64 (qui inclut .Net 3.51 SP1)

Version de zGuideTV: 0.91.3650.34323

Code : Tout sélectionner

Version=1
EventType=CLR20r3
EventTime=129108467020889412
ReportType=2
Consent=1
ReportIdentifier=b7f07fb4-1b6a-11df-babc-0023aee76a36
WOW64=1
Response.type=4
Sig[0].Name=Problem Signature 01
Sig[0].Value=zguidetvdotnet.exe
Sig[1].Name=Problem Signature 02
Sig[1].Value=0.91.3650.34323
Sig[2].Name=Problem Signature 03
Sig[2].Value=4b3c8237
Sig[3].Name=Problem Signature 04
Sig[3].Value=ZGuideTVDotNet
Sig[4].Name=Problem Signature 05
Sig[4].Value=0.91.3650.34323
Sig[5].Name=Problem Signature 06
Sig[5].Value=4b3c8237
Sig[6].Name=Problem Signature 07
Sig[6].Value=3a
Sig[7].Name=Problem Signature 08
Sig[7].Value=c6
Sig[8].Name=Problem Signature 09
Sig[8].Value=System.InvalidOperationException
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=6.1.7600.2.0.0.256.1
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=4105
UI[2]=C:\Program Files (x86)\ZGuideTVDotNet\ZGuideTVDotNet.exe
UI[3]=ZGuideTV.NET has stopped working
UI[4]=Windows can check online for a solution to the problem.
UI[5]=Check online for a solution and close the program
UI[6]=Check online for a solution later and close the program
UI[7]=Close the program
LoadedModule[0]=C:\Program Files (x86)\ZGuideTVDotNet\ZGuideTVDotNet.exe
LoadedModule[1]=C:\Windows\SysWOW64\ntdll.dll
LoadedModule[2]=C:\Windows\SYSTEM32\MSCOREE.DLL
LoadedModule[3]=C:\Windows\syswow64\KERNEL32.dll
LoadedModule[4]=C:\Windows\syswow64\KERNELBASE.dll
LoadedModule[5]=C:\Windows\syswow64\ADVAPI32.dll
LoadedModule[6]=C:\Windows\syswow64\msvcrt.dll
LoadedModule[7]=C:\Windows\SysWOW64\sechost.dll
LoadedModule[8]=C:\Windows\syswow64\RPCRT4.dll
LoadedModule[9]=C:\Windows\syswow64\SspiCli.dll
LoadedModule[10]=C:\Windows\syswow64\CRYPTBASE.dll
LoadedModule[11]=C:\Windows\syswow64\SHLWAPI.dll
LoadedModule[12]=C:\Windows\syswow64\GDI32.dll
LoadedModule[13]=C:\Windows\syswow64\USER32.dll
LoadedModule[14]=C:\Windows\syswow64\LPK.dll
LoadedModule[15]=C:\Windows\syswow64\USP10.dll
LoadedModule[16]=C:\Windows\system32\IMM32.DLL
LoadedModule[17]=C:\Windows\syswow64\MSCTF.dll
LoadedModule[18]=C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
LoadedModule[19]=C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_d08a205e442db5b5\MSVCR80.dll
LoadedModule[20]=C:\Windows\syswow64\shell32.dll
LoadedModule[21]=C:\Windows\syswow64\ole32.dll
LoadedModule[22]=C:\Windows\system32\profapi.dll
LoadedModule[23]=C:\Windows\assembly\NativeImages_v2.0.50727_32\mscorlib\8c1770d45c63cf5c462eeb945ef9aa5d\mscorlib.ni.dll
LoadedModule[24]=C:\Windows\system32\uxtheme.dll
LoadedModule[25]=C:\Program Files (x86)\SlySoft\AnyDVD\ADvdDiscHlp1.dll
LoadedModule[26]=c:\PROGRA~2\mcafee\SITEAD~1\saHook.dll
LoadedModule[27]=C:\Program Files\Logitech\SetPoint\x86\lgscroll.dll
LoadedModule[28]=C:\Windows\system32\ntmarta.dll
LoadedModule[29]=C:\Windows\syswow64\WLDAP32.dll
LoadedModule[30]=C:\Windows\assembly\NativeImages_v2.0.50727_32\System\5ba3bf5367fc012300c6566f20cb7f54\System.ni.dll
LoadedModule[31]=C:\Windows\assembly\NativeImages_v2.0.50727_32\Microsoft.VisualBas#\965b1fa2decab0efc0c837ab7252bba1\Microsoft.VisualBasic.ni.dll
LoadedModule[32]=C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorjit.dll
LoadedModule[33]=C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Drawing\ead6be8b410d56b5576b10e56af2c180\System.Drawing.ni.dll
LoadedModule[34]=C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Windows.Forms\fedf1ba58dced4f0b3f8c457648ceed9\System.Windows.Forms.ni.dll
LoadedModule[35]=C:\Windows\system32\dwmapi.dll
LoadedModule[36]=C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Runtime.Remo#\4bdeb88758dccd625f4703ed77aaf348\System.Runtime.Remoting.ni.dll
LoadedModule[37]=C:\Windows\syswow64\ws2_32.dll
LoadedModule[38]=C:\Windows\syswow64\NSI.dll
LoadedModule[39]=C:\Windows\system32\mswsock.dll
LoadedModule[40]=C:\Windows\System32\wshtcpip.dll
LoadedModule[41]=C:\Windows\System32\wship6.dll
LoadedModule[42]=C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Configuration\4b1350e31ff09cc583b34854816d8036\System.Configuration.ni.dll
LoadedModule[43]=C:\Windows\assembly\NativeImages_v2.0.50727_32\System.Xml\5dd9f783008543df3e642ff1e99de4e8\System.Xml.ni.dll
LoadedModule[44]=C:\Windows\system32\CRYPTSP.dll
LoadedModule[45]=C:\Windows\system32\rsaenh.dll
LoadedModule[46]=C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7600.16385_none_72fc7cbf861225ca\gdiplus.dll
LoadedModule[47]=C:\Windows\system32\WindowsCodecs.dll
LoadedModule[48]=C:\Windows\syswow64\OLEAUT32.dll
LoadedModule[49]=C:\Windows\system32\shfolder.dll
LoadedModule[50]=C:\Windows\system32\RpcRtRemote.dll
LoadedModule[51]=C:\Program Files (x86)\ZGuideTVDotNet\ZGuideTVDotNet.Render.dll
LoadedModule[52]=C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16385_none_421189da2b7fabfc\comctl32.dll
LoadedModule[53]=C:\Program Files (x86)\ZGuideTVDotNet\ZGuideTVDotNet.Description.dll
LoadedModule[54]=C:\Windows\system32\RichEd20.DLL
LoadedModule[55]=C:\Windows\system32\version.dll
LoadedModule[56]=C:\Windows\system32\apphelp.dll
FriendlyEventName=Stopped working
ConsentKey=CLR20r3
AppName=ZGuideTV.NET
AppPath=C:\Program Files (x86)\ZGuideTVDotNet\ZGuideTVDotNet.exe
ReportDescription=Stopped working
Modifié en dernier par abeloin le 20 févr. 2010 8:20, modifié 1 fois.

abeloin
Nouveau
Messages : 3
Enregistré le : 17 févr. 2010 3:32

Re: Application plante au démarrage sous Windows 7 x64

Message non lu par abeloin » 20 févr. 2010 8:18

Finalement réussi à faire marcher le logiciel.

Le logiciel ne fonctionnait pas pour les 2 raisons suivantes:

1. Le target de l'application .Net est a "Any" donc sous x64, il essai de rouler l'application en 64 bits et les dll sont en 32 bits. :(
2. L'application assume(?) que la date du système est au format jj-mm-aaaa pour la conversion string à date, et donc ne marche pas si ce n'est pas le cas.

Pour corriger le point numéro 1: Utiliser CorFlags.exe pour forcer le bitness à 32 bits.
Pour corriger le point numéro 2: Changer le format de la date courte du système pour jj-mm-aaaa.


Debug log pour numéro 1:

Code : Tout sélectionner

Exception object: 0000000002a4bde0
Exception type: System.InvalidOperationException
Message: An error occurred creating the form. See Exception.InnerException for details.  The error is: Could not load file or assembly 'ZGuideTVDotNet.Render, Version=0.91.3652.21346, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
InnerException: System.BadImageFormatException, use !PrintException 0000000002a36dc8 to see more
StackTrace (generated):
    SP               IP               Function
    000000000025C340 000007FF001708BB ZGuideTVDotNet!ZGuideTV.My.MyProject+MyForms.Create__Instance__[[System.__Canon, mscorlib]](System.__Canon)+0x33b
    000000000025E780 000007FF00171EDB ZGuideTVDotNet!ZGuideTV.My.MyApplication.OnCreateMainForm()+0x3b
    000000000025E7C0 000007FEF1453135 Microsoft_VisualBasic_ni!Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()+0x65
    000000000025E820 000007FEF14CF9F8 Microsoft_VisualBasic_ni!Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()+0x7b208
    000000000025E890 000007FEF14528CE Microsoft_VisualBasic_ni!Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(System.String[])+0x39e
    000000000025E940 000007FF00170150 ZGuideTVDotNet!ZGuideTV.My.MyApplication.Main(System.String[])+0x30
Debug log pour numéro 2:

Code : Tout sélectionner

Exception object: 02a19a34
Exception type: System.InvalidOperationException
Message: An error occurred creating the form. See Exception.InnerException for details.  The error is: The type initializer for 'ZGuideTV.Variables' threw an exception.
InnerException: System.TypeInitializationException, use !PrintException 028f2bfc to see more
StackTrace (generated):
    SP       IP       Function
    0040F2A0 00430572 ZGuideTVDotNet!ZGuideTV.My.MyProject+MyForms.Create__Instance__[[System.__Canon, mscorlib]](System.__Canon)+0x1d2
    0040F354 004312D0 ZGuideTVDotNet!ZGuideTV.My.MyProject+MyForms.get_Mainform()+0x10
    0040F35C 0043129D ZGuideTVDotNet!ZGuideTV.My.MyApplication.OnCreateMainForm()+0x1d
    0040F368 687928A6 Microsoft_VisualBasic_ni!Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()+0x36
    0040F394 68792FA4 Microsoft_VisualBasic_ni!Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()+0xc0
    0040F3C0 68791C20 Microsoft_VisualBasic_ni!Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(System.String[])+0x2c0
    0040F41C 004301B8 ZGuideTVDotNet!ZGuideTV.My.MyApplication.Main(System.String[])+0x58
----------
Exception object: 028f2bfc
Exception type: System.TypeInitializationException
Message: The type initializer for 'ZGuideTV.Variables' threw an exception.
InnerException: System.InvalidCastException, use !PrintException 028e1d30 to see more
StackTrace (generated):
    SP       IP       Function
    0040CB2C 064CC368 ZGuideTVDotNet!ZGuideTV.Mainform.mainform_Resize(System.Object, System.EventArgs)+0x358
    0040CC38 6F92E7BB System_Windows_Forms_ni!System.Windows.Forms.Control.OnResize(System.EventArgs)+0xbb
    0040CC50 6F92E6BD System_Windows_Forms_ni!System.Windows.Forms.Form.OnResize(System.EventArgs)+0xd
    0040CC5C 6F92E649 System_Windows_Forms_ni!System.Windows.Forms.Control.OnSizeChanged(System.EventArgs)+0x29
    0040CC70 6F928DEC System_Windows_Forms_ni!System.Windows.Forms.Control.UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32)+0x9c
    0040CC98 6F92DBA2 System_Windows_Forms_ni!System.Windows.Forms.Control.UpdateBounds(Int32, Int32, Int32, Int32)+0x82
    0040CCCC 6F92D407 System_Windows_Forms_ni!System.Windows.Forms.Control.SetBoundsCore(Int32, Int32, Int32, Int32, System.Windows.Forms.BoundsSpecified)+0xd7
    0040CD24 6F92D191 System_Windows_Forms_ni!System.Windows.Forms.Form.SetBoundsCore(Int32, Int32, Int32, Int32, System.Windows.Forms.BoundsSpecified)+0x111
    0040CD8C 6F92D039 System_Windows_Forms_ni!System.Windows.Forms.Control.SetBounds(Int32, Int32, Int32, Int32, System.Windows.Forms.BoundsSpecified)+0x69
    0040CDB0 6F92CEB7 System_Windows_Forms_ni!System.Windows.Forms.Control.set_Size(System.Drawing.Size)+0x17
    0040CDC0 6F92E3DB System_Windows_Forms_ni!System.Windows.Forms.Control.SetClientSizeCore(Int32, Int32)+0x2b
    0040CDE0 6F92E2FB System_Windows_Forms_ni!System.Windows.Forms.Form.SetClientSizeCore(Int32, Int32)+0x4b
    0040CE10 6F92E2A1 System_Windows_Forms_ni!System.Windows.Forms.Control.set_ClientSize(System.Drawing.Size)+0x11
    0040CE20 6F92CE8E System_Windows_Forms_ni!System.Windows.Forms.Form.set_ClientSize(System.Drawing.Size)+0xe
    0040CE2C 064C3A4F ZGuideTVDotNet!ZGuideTV.Mainform.InitializeComponent()+0x139d7
    0040ED48 00431E97 ZGuideTVDotNet!ZGuideTV.Mainform..ctor()+0x177
----------
Exception object: 028e1d30
Exception type: System.InvalidCastException
Message: Conversion from string "20-2-2010 02:00:00" to type 'Date' is not valid.
InnerException: <none>
StackTrace (generated):
    SP       IP       Function
    0040D8C4 687D5CD9 Microsoft_VisualBasic_ni!Microsoft.VisualBasic.CompilerServices.Conversions.ToDate(System.String)+0x6c10d
    0040D8DC 00431448 ZGuideTVDotNet!ZGuideTV.Variables..cctor()+0xa8

Néo
Développeur ZGuideTV
Messages : 1753
Enregistré le : 22 mars 2006 13:40
Localisation : Bruxelles, Belgique
Contact :

Re: [Solution] Application plante au démarrage sous Windows7 x64

Message non lu par Néo » 22 févr. 2010 21:09

Salut abeloin,

C'est assez étonnant, je génère la solution en Release|x86 justement pour ne pas avoir ce problème (que je connais).
Plus étonnant encore, Ronaldo l'utilise sous Windows 7 Pro x64 :?

PS : perso je suis sous Windows 7 Pro x32. Donc pour tester chez moi c'est pas évident !

++ Néo
Le site de K!TV : http://www.kastortv.org
L'aide de nxtvepg pour K!TV : http://www.nxtvepg-kastortv.org
L'aide de ZoomOut pour K!TV : http://zoomoutktv.sourceforge.net/help/fr/index.htm

abeloin
Nouveau
Messages : 3
Enregistré le : 17 févr. 2010 3:32

Re: [Solution] Application plante au démarrage sous Windows7 x64

Message non lu par abeloin » 23 févr. 2010 5:06

Salut Néo,

Je viens d'essayer avec un Windows 7 x64 sous VM et je n'ai pu reproduire le bug. :(

Je suis confu a savoir comment le flag n'a pas été mis en place, après plusieurs opérations d'installation, réparation et désinstallation. :?

Anyway, le logiciel marche et c'est cela qui est important.

Merci et bonne journée

Néo
Développeur ZGuideTV
Messages : 1753
Enregistré le : 22 mars 2006 13:40
Localisation : Bruxelles, Belgique
Contact :

Re: [Solution] Application plante au démarrage sous Windows7 x64

Message non lu par Néo » 24 févr. 2010 22:19

Salut abeloin,

Pas de problème !! Quand tu veux ;)

++ Néo
Le site de K!TV : http://www.kastortv.org
L'aide de nxtvepg pour K!TV : http://www.nxtvepg-kastortv.org
L'aide de ZoomOut pour K!TV : http://zoomoutktv.sourceforge.net/help/fr/index.htm

Répondre