crash

4 posts, 0 answers
  1. Dan Andrews
    Dan Andrews avatar
    28 posts
    Member since:
    Jul 2009

    Posted 28 Apr 2011 Link to this post

    ---------------------------
    Error
    ---------------------------
    An error has occurred. Please, report this exception to the Telerik team (Use CTRL + C to copy the text). Thanks in advance!

     

    System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.AggregateException: One or more errors occurred. ---> System.BadImageFormatException: Format of the executable (.exe) or library (.dll) is invalid.

       at Mono.Cecil.PE.ImageReader.ReadOptionalHeaders(UInt16& subsystem) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.PE\ImageReader.cs:line 211

       at Mono.Cecil.PE.ImageReader.ReadImage() in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.PE\ImageReader.cs:line 104

       at Mono.Cecil.PE.ImageReader.ReadImageFrom(Stream stream) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.PE\ImageReader.cs:line 672

       at Mono.Cecil.ModuleDefinition.ReadModule(Stream stream, ReaderParameters parameters) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\ModuleDefinition.cs:line 876

       at Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\ModuleDefinition.cs:line 859

       at JustDecompile.Navigation.Views.CodeTreeView.(AssemblyNode assemblyNode) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 215

       at JustDecompile.Navigation.Views.CodeTreeView.„„(„ nodeType, AssemblyNode assemblyNode, AssemblyNamespace assemblyNamespace, AssemblyMemberDefinition assemblyMemberDefinition) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 174

       at JustDecompile.Navigation.Views.CodeTreeView..•.‡() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 162

       at System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj)

       at System.Threading.Tasks.Task.Execute()

       --- End of inner exception stack trace ---

       at System.Threading.Tasks.Task`1.get_Result()

       at JustDecompile.Navigation.Views.CodeTreeView.†„(Task`1 task, RadTreeViewItem treeViewItem) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 187

       at System.Threading.Tasks.Task.Execute()

       --- End of inner exception stack trace ---

       at System.Threading.Tasks.TaskExceptionHolder.Finalize()

    ---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.BadImageFormatException: Format of the executable (.exe) or library (.dll) is invalid.

       at Mono.Cecil.PE.ImageReader.ReadOptionalHeaders(UInt16& subsystem) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.PE\ImageReader.cs:line 211

       at Mono.Cecil.PE.ImageReader.ReadImage() in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.PE\ImageReader.cs:line 104

       at Mono.Cecil.PE.ImageReader.ReadImageFrom(Stream stream) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.PE\ImageReader.cs:line 672

       at Mono.Cecil.ModuleDefinition.ReadModule(Stream stream, ReaderParameters parameters) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\ModuleDefinition.cs:line 876

       at Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\ModuleDefinition.cs:line 859

       at JustDecompile.Navigation.Views.CodeTreeView.(AssemblyNode assemblyNode) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 215

       at JustDecompile.Navigation.Views.CodeTreeView.„„(„ nodeType, AssemblyNode assemblyNode, AssemblyNamespace assemblyNamespace, AssemblyMemberDefinition assemblyMemberDefinition) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 174

       at JustDecompile.Navigation.Views.CodeTreeView..•.‡() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 162

       at System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj)

       at System.Threading.Tasks.Task.Execute()

       --- End of inner exception stack trace ---

       at System.Threading.Tasks.Task`1.get_Result()

       at JustDecompile.Navigation.Views.CodeTreeView.†„(Task`1 task, RadTreeViewItem treeViewItem) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 187

       at System.Threading.Tasks.Task.Execute()

    ---> (Inner Exception #0) System.BadImageFormatException: Format of the executable (.exe) or library (.dll) is invalid.

       at Mono.Cecil.PE.ImageReader.ReadOptionalHeaders(UInt16& subsystem) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.PE\ImageReader.cs:line 211

       at Mono.Cecil.PE.ImageReader.ReadImage() in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.PE\ImageReader.cs:line 104

       at Mono.Cecil.PE.ImageReader.ReadImageFrom(Stream stream) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil.PE\ImageReader.cs:line 672

       at Mono.Cecil.ModuleDefinition.ReadModule(Stream stream, ReaderParameters parameters) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\ModuleDefinition.cs:line 876

       at Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters) in c:\B\Behemoth\JustDecompile Production Build\Sources\Decompiler\Mono.Cecil\Mono.Cecil\ModuleDefinition.cs:line 859

       at JustDecompile.Navigation.Views.CodeTreeView.(AssemblyNode assemblyNode) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 215

       at JustDecompile.Navigation.Views.CodeTreeView.„„(„ nodeType, AssemblyNode assemblyNode, AssemblyNamespace assemblyNamespace, AssemblyMemberDefinition assemblyMemberDefinition) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 174

       at JustDecompile.Navigation.Views.CodeTreeView..•.‡() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.Navigation\Views\CodeTreeView.xaml.cs:line 162

       at System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj)

       at System.Threading.Tasks.Task.Execute()<---

    <---

    ---------------------------
    OK  
    ---------------------------

  2. Todd Anglin
    Todd Anglin avatar
    2040 posts
    Member since:
    Aug 2005

    Posted 28 Apr 2011 Link to this post

    Hello Dan-

    What were you trying to decompile in this case? Currently, the beta only accepts EXEs and DLLs. Other formats, such as XAPs, can throw an error like this. Can you share a few more details so we can try to repo and fix any outstanding issues for the upcoming post-Beta builds?

    -Todd
  3. DevCraft banner
  4. Dan Andrews
    Dan Andrews avatar
    28 posts
    Member since:
    Jul 2009

    Posted 28 Apr 2011 Link to this post

    PowerBuilder EXE.

    I believe it's .NET 1.0.  My system is a Win 7, .NET 4.0 etc.
  5. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 29 Apr 2011 Link to this post

    Hi Dan Andrews,

    We are aware of the issue. Fix will be provided in the next release.

    Kind regards,
    Kaloyan
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Back to Top