質問

私はリリースしようとしているアプリケーションをデバッグするdesparatelyしようとしています。それは、Win7のx64の上で作成し、また勝利のx32の上で細かい動作しますが、XP上で(テストするためにVistaをお持ちでない)されませんでした。

私はXPでアプリケーションのディレクトリに_NT_SYMBOL_PATHを設定することにより、ダンプ・ファイルを作成した後、デバッガをして実行します。   ADPlusの-crash -pn launchmenot.exe

これは、私は、Visual Studio 2008で開いたダンプファイルを作成します(アプリケーションののPDBのディレクトリとVSは、私はちょうど得るシンボルの全てをダウンロードした後VS.におけるMSのシンボルサーバーを指定した「は、ソースコードがありません現在の場所」の利用可能ます。

私はそれがXPにwin7のからInterop.IWshRuntimeLibraryを使用してからかもしれない感じがありますが、私は本当に知りません。

ダンプファイルは107Mbですが、アプリ自体はの(デバッグモードでコンパイルされ)、ここではオンラインです。誰もが、原因を見つけるか、エラーをしてください固定するための正しい方向に私を指すもらえますか?

に感謝。 :)

役に立ちましたか?

解決

このエラーメッセージはあなたに何を意味しています:

  

は、文字列を変換できません。   'パック://アプリケーション:,,, /リソース/ icon.ico'   型のオブジェクトに属性「アイコン」で   'System.Windows.Media.ImageSource'。   画像形式が認識されません。   オブジェクトのエラー   の「LaunchMeNot.WinUnhandledException」   マークアップファイル   'LaunchMeNot;成分/ winunhandledexception.xaml'   10行目46位ます。

編集:この最後の例外は、実際には未処理の例外フィルタからスローされ、致命的となっています。より詳細に問題を説明する2つの内部の例外があります。 それはすべて、このトレースから始まります:

0012e44c 7c812afb [HelperMethodFrame: 0012e44c] 
0012e4f0 54fc6b82 System.Windows.Media.PixelFormat.GetPixelFormat(System.Windows.Media.SafeMILHandle)
0012e534 547ca498 System.Windows.Media.Imaging.BitmapSource.UpdateCachedSettings()
0012e56c 547ca431 System.Windows.Media.Imaging.BitmapSource.set_WicSourceHandle(System.Windows.Media.Imaging.BitmapSourceSafeMILHandle)
0012e598 547ca198 System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation()
0012e5c8 54fc6e86 System.Windows.Media.Imaging.BitmapSource.CompleteDelayedCreation()
0012e5f4 547cb3a8 System.Windows.Media.Imaging.BitmapSource.get_PixelWidth()
0012e600 56290f1f MS.Internal.AppModel.IconHelper.GetBestMatch(System.Collections.ObjectModel.ReadOnlyCollection`1<System.Windows.Media.Imaging.BitmapFrame>, Int32, Int32, Int32)
0012e678 5629168f MS.Internal.AppModel.IconHelper.GetIconHandlesFromBitmapFrame(System.Object, System.Windows.Media.Imaging.BitmapFrame, IconHandle ByRef, IconHandle ByRef)
0012e698 565df5fd System.Windows.Window.UpdateIcon()
0012e6b0 55c8ed3a System.Windows.Window.SetupInitialState(Double, Double, Double, Double)
0012e854 55c266c8 System.Windows.Window.CreateSourceWindowImpl()
0012e8d0 55c264b9 System.Windows.Window.SafeCreateWindow()
0012e8dc 55c263c1 System.Windows.Window.ShowHelper(System.Object)
0012e904 55c8e3b8 System.Windows.Window.Show()
0012e910 562076e7 System.Windows.Window.ShowDialog()
0012e984 00f70556 LaunchMeNot.App.OnStartup(System.Windows.StartupEventArgs)
0012e9f8 55bed4b9 System.Windows.Application.<.ctor>b__0(System.Object)
0012ea08 578461fa System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Boolean)
0012ea2c 578460ea System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Boolean, System.Delegate)
0012ea74 578442b4 System.Windows.Threading.Dispatcher.WrappedInvoke(System.Delegate, System.Object, Boolean, System.Delegate)
0012ea94 5784912d System.Windows.Threading.DispatcherOperation.InvokeImpl()
0012eac0 578490b8 System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
0012eac8 792f5681 System.Threading.ExecutionContext.runTryCode(System.Object)
0012eef0 79e71b4c [HelperMethodFrame_PROTECTOBJ: 0012eef0] System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode, CleanupCode, System.Object)
0012ef58 792f5577 System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
0012ef74 792e01c5 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
0012ef8c 57848ff3 System.Windows.Threading.DispatcherOperation.Invoke()
0012efc4 57843957 System.Windows.Threading.Dispatcher.ProcessQueue()
0012f0a0 57843c43 System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
0012f0ec 578463de MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
0012f138 5784630a MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
0012f148 578461fa System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Boolean)
0012f16c 578460ea System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Boolean, System.Delegate)
0012f1b4 578442b4 System.Windows.Threading.Dispatcher.WrappedInvoke(System.Delegate, System.Object, Boolean, System.Delegate)
0012f1d4 57843411 System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Boolean)
0012f218 57843360 System.Windows.Threading.Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority, System.Delegate, System.Object)
0012f23c 57845a4c MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
0012f3b4 0036217b [NDirectMethodFrameStandalone: 0012f3b4] MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
0012f3c4 57843a57 System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
0012f414 57843129 System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
0012f420 578430cc System.Windows.Threading.Dispatcher.Run()
0012f42c 55bed47e System.Windows.Application.RunDispatcher(System.Object)
0012f438 55bec77f System.Windows.Application.RunInternal(System.Windows.Window)
0012f45c 55bd3a96 System.Windows.Application.Run(System.Windows.Window)
0012f46c 55bd3a59 System.Windows.Application.Run()
0012f478 00f700bc LaunchMeNot.App.Main()

明らかにイメージリソースに問題があることを示しています。 埋め込まれた例外はあります:

  

HRESULTからの例外:0x88982F07

に包まれて

  

画像フォーマットが認識されます。

グーグルのビットの後、私はこのポストこれは同様の発見を詳しく説明します。認識できない形式のアイコンのように見えます。ポストは、アイコンを削除することをお勧めするために行きます。私の推測では、あなたがしようとすると対応のエディタでそれらをやり直すことができたということです。

他のヒント

あなたはwndbgにもう少し運を持っているかもしれない - からデバッグをダウンロードWindowsのページためのツール。 、クラッシュダンプをロードするシンボルパスを設定し、クラッシュに関する詳細情報を取得するために!analyze -vを実行します。あなたはまだ持っている場合は問題に正しいシンボルを見つけることが!sym noisyを実行しようとするも、<のhref = "http://www.wintellect.com/CS/blogs/jrobbins/archive/2007/10/28/itoldyouso-an-undocumented -windbg拡張-command.aspx」のrel = "nofollowをnoreferrer">!itoldyouso のコマンド

ダンプを分析するために WinDebugするを使用する - それはまた、使用することができますマネージコードのために。

詳細はテスFerrandezによってにブログ記事を参照してください。

scroll top