Bonjour,

J'ai récupéré une application C# développée avec VS2002 avec une vieille version de CrystalReport. Cette version a été migrée sous VS2005 par quelqu'un d'autre.
Lorsque je compile l'application et l'exécute à partir de VS2005: pas de problème.
Lorsque j'exécute le binaire généré: l'application crashe. Lorsque je lui demande de passer en débug, il me dit qu'il ne trouve pas le source.

J'ai utilisé le debug diagnostic tool, il me donne ça:

*****************************************************************************************
Analysis Summary
Type Description Recommendation
Error WARNING - DebugDiag was not able to locate debug symbols for C:\Program Files\Business Objects\Common\3.5\bin\cachemanager.dll, so the information below may be incomplete.



In Ggg_GGG__PID__7460__Date__11_18_2016__Time_10_06_29AM__446__Second_Chance_Exception_C0000005.dmp the module C:\Program Files\Business Objects\Common\3.5\bin\cachemanager.dll has caused an access violation exception (0xC0000005) when trying to write to memory location 0x0a4dfab8 on thread 18
Please follow up with the vendor of this module, Business Objects, for further assistance with this issue.
Information DebugDiag determined that this dump file (Ggg_GGG__PID__7460__Date__11_18_2016__Time_10_06_29AM__446__Second_Chance_Exception_C0000005.dmp) is a crash dump and did not perform any hang analysis. If you wish to enable combined crash and hang analysis for crash dumps, edit the CrashHangAnalysis.asp script (located in the DebugDiag\Scripts folder) and set the g_DoCombinedAnalysis constant to True.
Warning
An Operating System newer than Windows Vista has been detected. At the time this script was written it was only tested on Operating Systems versions of Windows Vista and prior. Analysis results for Ggg_GGG__PID__7460__Date__11_18_2016__Time_10_06_29AM__446__Second_Chance_Exception_C0000005.dmp may be inaccurate or incomplete.


It is recommended that you verify whether there is a newer version of Debug Diagnostics available or a more compatible version of this analysis script.





Analysis Details



Your browser settings are currently prohibiting this report's scripts from running.

This is preventing some features of this analysis report from displaying properly. To enable scripts to run, right-click the security warning above and choose "Allow Blocked Content..." or enable the "Allow active content to run in files on My Computer*" setting on the Advanced tab of your "Internet Options" dialog to avoid being prompted in the future





Table Of Contents
Ggg_GGG__PID__7460__Date__11_18_2016__Time_10_06_29AM__446__Second_Chance_Exception_C0000005.dmp

Faulting Thread



Report for Ggg_GGG__PID__7460__Date__11_18_2016__Time_10_06_29AM__446__Second_Chance_Exception_C0000005.dmp




Report for Ggg_GGG__PID__7460__Date__11_18_2016__Time_10_06_29AM__446__Second_Chance_Exception_C0000005.dmp
Type of Analysis Performed Crash Analysis
Machine Name FR-L-SAFM00799
Operating System Unexpected Service Pack 1
Number Of Processors 4
Process ID 7460
Process Image D:\Ddddddddd\HPW\Trunk\Ggg_GGG\Ggg_GGG\bin\x86\Debug\Ggg_GGG.exe
System Up-Time 01:50:33
Process Up-Time 00:00:42


Thread 18 - System ID 5272
Entry point msvcr71!endthreadex+31
Create time 18/11/2016 10:06:29
Time spent in user mode 0 Days 0:0:0.0
Time spent in kernel mode 0 Days 0:0:0.0






Function Arg 1 Arg 2 Arg 3 Source
0x0a4dfab8 00060924 00000081 00000000
cachemanager!DllGetClassObject+6d42 3f869172 00060924 00000081
user32!SetPropW+1da 0024fb9c 3f869172 00060924
user32!GetScrollBarInfo+fd 024c96f8 00000081 00000000
user32!SendMessageTimeoutW+531 1b7ff8b8 00000060 1b7ffda4
ntdll!KiUserCallbackDispatcher+2e 00000000 0000c397 00000000
user32!SendMessageTimeoutW+7fb 00000000 0000c397 00000000
user32!CreateWindowExW+33 00000000 0000c397 00000000
cachemanager!DllGetClassObject+6dba 00000000 1b7ffd3c 00000000
cachemanager!DllGetClassObject+7029 00000000 1b7ffd3c 00000000
cachemanager!DllGetClassObject+718b 00000000 0ef97e30 0ef97d98
cachemanager!DllGetClassObject+6677 0ef97320 00000000 00000000
msvcr71!endthreadex+a0 0ef97d98 1b7ffe00 76e23648
kernel32!BaseThreadInitThunk+12 0ef97d98 6df23e09 00000000
ntdll!RtlInitializeExceptionChain+ef 7c36b312 0ef97d98 00000000
ntdll!RtlInitializeExceptionChain+c2 7c36b312 0ef97d98 00000000




WARNING - DebugDiag was not able to locate debug symbols for C:\Program Files\Business Objects\Common\3.5\bin\cachemanager.dll, so the information below may be incomplete.



In Ggg_GGG__PID__7460__Date__11_18_2016__Time_10_06_29AM__446__Second_Chance_Exception_C0000005.dmp the module C:\Program Files\Business Objects\Common\3.5\bin\cachemanager.dll has caused an access violation exception (0xC0000005) when trying to write to memory location 0x0a4dfab8 on thread 18

Module Information
Image Name: C:\Program Files\Business Objects\Common\3.5\bin\cachemanager.dll Symbol Type: Export
Base address: 0x3f860000 Time Stamp: Sun Oct 15 07:46:09 2006
Checksum: 0x00000000 Comments:
COM DLL: True Company Name: Business Objects
ISAPIExtension: False File Description: Crystal Cache Manager
ISAPIFilter: False File Version: 11.5.7.688
Managed DLL: False Internal Name:
VB DLL: False Legal Copyright: Copyright © 1998-2006 Business Objects
Loaded Image Name: cachemanager.dll Legal Trademarks: Report Application Server (tm) is a trademark of Business Objects.
Mapped Image Name: Original filename:
Module name: cachemanager Private Build: 4
Single Threaded: False Product Name: Report Application Server
Module Size: 104,00 KBytes Product Version: 11.5.7.688
Symbol File Name: cachemanager.dll Special Build: &









Script Summary
Script Name Status Error Code Error Source Error Description Source Line
CrashHangAnalysis.asp Completed
*****************************************************************************************



J'ai utilisé procmon pour voir les dernières actions:

*****************************************************************************************
Essai 1:
17:07:30,7908753,"Ggg_GGG.exe","5512","RegQueryValue","HKLM\SOFTWARE\Business Objects\Suite 11.5\Report Application Server\Client SDK\DefaultReportAppServerConfigFile","SUCCESS","Type: REG_SZ, Length: 2, Data: "
17:07:30,7909093,"Ggg_GGG.exe","5512","RegQueryValue","HKLM\SOFTWARE\Business Objects\Suite 11.5\Report Application Server\Client SDK\DefaultReportAppServer","SUCCESS","Type: REG_SZ, Length: 2, Data: "
17:07:30,7909345,"Ggg_GGG.exe","5512","RegQueryValue","HKLM\SOFTWARE\Business Objects\Suite 11.5\Report Application Server\Client SDK\DefaultReportAppServer","SUCCESS","Type: REG_SZ, Length: 2, Data: "
17:07:30,7909685,"Ggg_GGG.exe","5512","RegQueryValue","HKLM\SOFTWARE\Business Objects\Suite 11.5\Report Application Server\Client SDK\SerializerType","SUCCESS","Type: REG_SZ, Length: 4, Data: 1"
17:07:30,7912097,"Ggg_GGG.exe","5512","RegQueryValue","HKLM\SOFTWARE\Business Objects\Suite 11.5\Report Application Server\Client SDK\SerializerType","SUCCESS","Type: REG_SZ, Length: 4, Data: 1"
17:07:33,4508133,"Ggg_GGG.exe","5512","Thread Exit","","SUCCESS","Thread ID: 7440, User Time: 0.0000000, Kernel Time: 0.0000000"
17:07:33,4508140,"Ggg_GGG.exe","5512","Thread Exit","","SUCCESS","Thread ID: 1900, User Time: 1.2792082, Kernel Time: 1.1388073"
17:07:33,4508369,"Ggg_GGG.exe","5512","Thread Exit","","SUCCESS","Thread ID: 5336, User Time: 0.0156001, Kernel Time: 0.0000000"
17:07:33,4508583,"Ggg_GGG.exe","5512","Thread Exit","","SUCCESS","Thread ID: 5224, User Time: 0.0000000, Kernel Time: 0.0000000"
17:07:33,4508654,"Ggg_GGG.exe","5512","Thread Exit","","SUCCESS","Thread ID: 4368, User Time: 0.0000000, Kernel Time: 0.0000000"


Essai 2:
17:03:01,9515390,"Ggg_GGG.exe","7204","RegQueryValue","HKLM\SOFTWARE\Business Objects\Suite 11.5\Report Application Server\Client SDK\DefaultReportAppServer","SUCCESS","Type: REG_SZ, Length: 2, Data: "
17:03:01,9515670,"Ggg_GGG.exe","7204","RegQueryValue","HKLM\SOFTWARE\Business Objects\Suite 11.5\Report Application Server\Client SDK\DefaultReportAppServer","SUCCESS","Type: REG_SZ, Length: 2, Data: "
17:03:01,9515970,"Ggg_GGG.exe","7204","RegQueryValue","HKLM\SOFTWARE\Business Objects\Suite 11.5\Report Application Server\Client SDK\SerializerType","SUCCESS","Type: REG_SZ, Length: 4, Data: 1"
17:03:01,9516317,"Ggg_GGG.exe","7204","RegQueryValue","HKLM\SOFTWARE\Business Objects\Suite 11.5\Report Application Server\Client SDK\SerializerType","SUCCESS","Type: REG_SZ, Length: 4, Data: 1"
17:03:01,9516882,"Ggg_GGG.exe","7204","RegOpenKey","HKLM\Software\Business Objects\Suite 11.5\Report Application Server\Client SDK\RequestRecording","SUCCESS","Desired Access: Read"
17:03:01,9519866,"Ggg_GGG.exe","7204","RegQueryValue","HKLM\SOFTWARE\Business Objects\Suite 11.5\Report Application Server\Client SDK\RequestRecording\RecordRequests","SUCCESS","Type: REG_SZ, Length: 6, Data: No"
17:03:09,0576331,"Ggg_GGG.exe","7204","Thread Exit","","SUCCESS","Thread ID: 3568, User Time: 0.0468003, Kernel Time: 0.0000000"
17:03:09,0576339,"Ggg_GGG.exe","7204","Thread Exit","","SUCCESS","Thread ID: 5828, User Time: 0.0000000, Kernel Time: 0.0000000"
17:03:09,0576453,"Ggg_GGG.exe","7204","Thread Exit","","SUCCESS","Thread ID: 5236, User Time: 0.0000000, Kernel Time: 0.0000000"
17:03:09,0576500,"Ggg_GGG.exe","7204","Thread Exit","","SUCCESS","Thread ID: 5076, User Time: 0.0000000, Kernel Time: 0.0000000"
17:03:09,0576571,"Ggg_GGG.exe","7204","Thread Exit","","SUCCESS","Thread ID: 7184, User Time: 0.0936006, Kernel Time: 0.0000000"
*****************************************************************************************

Au moment de la fermeture du programme (crash), tous les threads sont fermés.
On voit que la dernière action n'est pas toujours la même.

J'utilise un Windows 7 SP1 - 32 bits et il semblerait que ça ne se produise pas sur un 64 bits.

Avez-vous une idée ?


Merci,
Cordialement