Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3184

Crystal Report Sometimes Hangs, ReportDocument Load method does not return

$
0
0

Hello, we have a very critical issue with a customer that work in a terminal server environment.

Sometimes our Windows forms application hangs. We are using Crystal Report for .NET version 13.0.13.1597, 32 bit.

We have taken a lot of dumps with the DebugDialog tool and the hangs seems to be caused by method Load of ReportDocument that does not return.

 

We cannot find a solution, please HELP

 

 

This is part of debug dialog analysis report:

 

WARNING - DebugDiag was unable to locate debug symbols for \crpe32.dll, so the information below may be incomplete.

 

Detected possible blocking or leaked critical section at crpe32!MWCleanupProcess+3b3e98 owned by thread 0 in Job3ERP.exe__PID__16376__Date__12_22_2015__Time_04_14_26PM__718__Manual Dump.dmp

 

Impact of this lock

 

3,12% of threads blocked

 

(Threads 25)

 

The following functions are trying to enter this critical section

crpe32!Ordinal995+13eb4

 

The following module(s) are involved with this critical section

C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\crpe32.dll from SAP SE


-----



Thread 0 - System ID 27008

 

Entry point  Job3ERP+5d30e
Create time  22/12/2015 14:06:41
Time spent in user mode  0 Days 00:01:06.984
Time spent in kernel mode  0 Days 00:00:19.859

 

This thread is not fully resolved and may or may not be a problem. Further analysis of these threads may be required.

 

 

.NET Call Stack

 

DomainBoundILStubClass.IL_STUB_CLRtoCOM(System.Object ByRef, Int32)+a9
[[InlinedCallFrame]]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(System.Object ByRef, Int32)+5b
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()+103
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(System.String, CrystalDecisions.Shared.OpenReportMethod, Int16)+342
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(System.String, CrystalDecisions.Shared.OpenReportMethod)+50
Cryrpt.Model.CrystalReportFactory.CreateReportObject(Cryrpt.Model.IRptFinder)+4f
Job3CoreCmsWF.CmsCryrpt10TabsForm.get_aaReportObject()+d7
Job3CoreCmsWF.CmsCryrpt10TabsForm.aaVisualizzaReport()+62
Job3ERP_Commons.X_Form.aaVisualizzaReport()+1f
Job3CoreCmsWF.CmsCryrpt10TabsForm.aaOnBtnFiltraClick(Boolean)+a9
ZJob3ERPGps.X_OR30_Form.InitCmsContent(System.Collections.Generic.Dictionary`2)+8e
Job3CoreCmsWF.CmsRibbonForm.RunProgram(ProgrammaCollegato, System.Object, Job3CoreCmsWF.ICmsContent)+140
Job3CoreCmsWF.CallManager.RunProgram(ProgrammaCollegato, System.Object, Job3CoreCmsWF.ICmsContent)+ad
Job3CoreCmsWF.CmsMasterDetailForm.aaCallProgrammaCollegatoDettaglio(ProgrammaCollegato)+51
Job3ErpModuloOrdiniClienti.MD_OrdiniClienti_Form.aaCallProgrammaCollegatoDettaglio(ProgrammaCollegato)+f2
Job3CoreCmsWF.CmsMasterDetailForm.ProgrammiCollegatiDettaglio_aaBtnProgrammaCollegatoClick(System.Object, PgmCollegatoEventArgs)+33
Job3CoreCmsWF.ProgrammiCollegatiUC.BtnColl_Click(System.Object, System.EventArgs)+8b
DevExpress.XtraNavBar.NavBarItem.RaiseLinkEvent(System.Object, DevExpress.XtraNavBar.NavBarItemLink)+79
DevExpress.XtraNavBar.NavBarItem.RaiseLinkClicked(DevExpress.XtraNavBar.NavBarItemLink)+12
DevExpress.XtraNavBar.NavBarItem.RaiseLinkClickedCore(DevExpress.XtraNavBar.NavBarItemLink)+b
DevExpress.XtraNavBar.NavBarControl.RaiseLinkClicked(DevExpress.XtraNavBar.NavBarItemLink)+28
DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.DoLinkClick(DevExpress.XtraNavBar.NavBarHitInfo)+3a
DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.DoClick(DevExpress.XtraNavBar.NavBarHitInfo)+47
DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.OnMouseUp(System.Windows.Forms.MouseEventArgs)+125
DevExpress.XtraNavBar.NavBarControl.OnMouseUp(System.Windows.Forms.MouseEventArgs)+68
System_Windows_Forms_ni!System.Windows.Forms.Control.WmMouseUp(System.Windows.Forms.Message ByRef, System.Windows.Forms.MouseButtons, Int32)+274
System_Windows_Forms_ni!System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)+8f1eee
[[InlinedCallFrame]]
DevExpress.XtraNavBar.NavBarControl.WndProc(System.Windows.Forms.Message ByRef)+df
System_Windows_Forms_ni!System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)+11
System_Windows_Forms_ni!System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)+39
System_Windows_Forms_ni!System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)+80
DomainBoundILStubClass.IL_STUB_PInvoke(CrystalDecisions.CrystalReports.Engine.PEEngineOptions ByRef)+69
[[InlinedCallFrame]]
CrystalDecisions.CrystalReports.Engine.CRPE.InitCrpe()+bb
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()+e9
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(System.String, CrystalDecisions.Shared.OpenReportMethod, Int16)+342
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(System.String, CrystalDecisions.Shared.OpenReportMethod)+50
Cryrpt.Model.CrystalReportFactory.CreateReportObject(Cryrpt.Model.IRptFinder)+4f
Job3CoreCmsWF.CmsCryrpt10TabsForm.get_aaReportObject()+d7
Job3CoreCmsWF.CmsCryrpt10TabsForm.aaVisualizzaReport()+62
Job3ERP_Commons.X_Form.aaVisualizzaReport()+1f
Job3CoreCmsWF.CmsCryrpt10TabsForm.aaOnBtnFiltraClick(Boolean)+a9
ZJob3ERPGps.X_OR30_Form.InitCmsContent(System.Collections.Generic.Dictionary`2)+8e
Job3CoreCmsWF.CmsRibbonForm.RunProgram(ProgrammaCollegato, System.Object, Job3CoreCmsWF.ICmsContent)+140
Job3CoreCmsWF.CallManager.RunProgram(ProgrammaCollegato, System.Object, Job3CoreCmsWF.ICmsContent)+ad
Job3CoreCmsWF.CmsMasterDetailForm.aaCallProgrammaCollegatoDettaglio(ProgrammaCollegato)+51
Job3ErpModuloOrdiniClienti.MD_OrdiniClienti_Form.aaCallProgrammaCollegatoDettaglio(ProgrammaCollegato)+f2
Job3CoreCmsWF.CmsMasterDetailForm.ProgrammiCollegatiDettaglio_aaBtnProgrammaCollegatoClick(System.Object, PgmCollegatoEventArgs)+33
Job3CoreCmsWF.ProgrammiCollegatiUC.BtnColl_Click(System.Object, System.EventArgs)+8b
DevExpress.XtraNavBar.NavBarItem.RaiseLinkEvent(System.Object, DevExpress.XtraNavBar.NavBarItemLink)+79
DevExpress.XtraNavBar.NavBarItem.RaiseLinkClicked(DevExpress.XtraNavBar.NavBarItemLink)+12
DevExpress.XtraNavBar.NavBarItem.RaiseLinkClickedCore(DevExpress.XtraNavBar.NavBarItemLink)+b
DevExpress.XtraNavBar.NavBarControl.RaiseLinkClicked(DevExpress.XtraNavBar.NavBarItemLink)+28
DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.DoLinkClick(DevExpress.XtraNavBar.NavBarHitInfo)+3a
DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.DoClick(DevExpress.XtraNavBar.NavBarHitInfo)+47
DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.OnMouseUp(System.Windows.Forms.MouseEventArgs)+125
DevExpress.XtraNavBar.NavBarControl.OnMouseUp(System.Windows.Forms.MouseEventArgs)+68
System_Windows_Forms_ni!System.Windows.Forms.Control.WmMouseUp(System.Windows.Forms.Message ByRef, System.Windows.Forms.MouseButtons, Int32)+274
System_Windows_Forms_ni!System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)+8f1eee
[[InlinedCallFrame]]
DevExpress.XtraNavBar.NavBarControl.WndProc(System.Windows.Forms.Message ByRef)+df
System_Windows_Forms_ni!System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)+11
System_Windows_Forms_ni!System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)+39
System_Windows_Forms_ni!System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)+80
System_Windows_Forms_ni!DomainBoundILStubClass.IL_STUB_PInvoke(MSG ByRef)+3c
[[InlinedCallFrame]]
System_Windows_Forms_ni!System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)+24d
[[InlinedCallFrame]]
System_Windows_Forms_ni!System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)+155
System_Windows_Forms_ni!System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)+4a
System_Windows_Forms_ni!System.Windows.Forms.Application.Run(System.Windows.Forms.ApplicationContext)+18
Job3ERP.MainModule.Main(System.String[])+73
[[GCFrame]]

Full Call Stack

 

ntdll!ZwWaitForSingleObject+15
kernel32!WaitForSingleObjectEx+be
kernel32!WaitForSingleObject+12
dtsagent+3374d
sacommlayer!DllGetClassObject+16e6
clientdoc!DllGetClassObject+2b2dc
clientdoc!DllGetClassObject+a1e6
clientdoc!DllGetClassObject+a399
clientdoc!DllGetClassObject+21357
DomainBoundILStubClass.IL_STUB_CLRtoCOM(System.Object ByRef, Int32)+a9
[[InlinedCallFrame]]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(System.Object ByRef, Int32)+5b
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()+103
clr!JIT_MonExitWorker+a
0x027d12f8
0x0b01c1b8
0x03715460
0x03715668
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(System.String, CrystalDecisions.Shared.OpenReportMethod, Int16)+342
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(System.String, CrystalDecisions.Shared.OpenReportMethod)+50
Cryrpt.Model.CrystalReportFactory.CreateReportObject(Cryrpt.Model.IRptFinder)+4f
Job3CoreCmsWF.CmsCryrpt10TabsForm.get_aaReportObject()+d7
Job3CoreCmsWF.CmsCryrpt10TabsForm.aaVisualizzaReport()+62
Job3ERP_Commons.X_Form.aaVisualizzaReport()+1f
Job3CoreCmsWF.CmsCryrpt10TabsForm.aaOnBtnFiltraClick(Boolean)+a9
ZJob3ERPGps.X_OR30_Form.InitCmsContent(System.Collections.Generic.Dictionary`2<System.String,System.Object>)+8e
Job3CoreCmsWF.CmsRibbonForm.RunProgram(ProgrammaCollegato, System.Object, Job3CoreCmsWF.ICmsContent)+140
Job3CoreCmsWF.CallManager.RunProgram(ProgrammaCollegato, System.Object, Job3CoreCmsWF.ICmsContent)+ad
Job3CoreCmsWF.CmsMasterDetailForm.aaCallProgrammaCollegatoDettaglio(ProgrammaCollegato)+51
Job3ErpModuloOrdiniClienti.MD_OrdiniClienti_Form.aaCallProgrammaCollegatoDettaglio(ProgrammaCollegato)+f2
Job3CoreCmsWF.CmsMasterDetailForm.ProgrammiCollegatiDettaglio_aaBtnProgrammaCollegatoClick(System.Object, PgmCollegatoEventArgs)+33
Job3CoreCmsWF.ProgrammiCollegatiUC.BtnColl_Click(System.Object, System.EventArgs)+8b
DevExpress.XtraNavBar.NavBarItem.RaiseLinkEvent(System.Object, DevExpress.XtraNavBar.NavBarItemLink)+79
DevExpress.XtraNavBar.NavBarItem.RaiseLinkClicked(DevExpress.XtraNavBar.NavBarItemLink)+12
DevExpress.XtraNavBar.NavBarItem.RaiseLinkClickedCore(DevExpress.XtraNavBar.NavBarItemLink)+b
DevExpress.XtraNavBar.NavBarControl.RaiseLinkClicked(DevExpress.XtraNavBar.NavBarItemLink)+28
DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.DoLinkClick(DevExpress.XtraNavBar.NavBarHitInfo)+3a
DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.DoClick(DevExpress.XtraNavBar.NavBarHitInfo)+47
DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.OnMouseUp(System.Windows.Forms.MouseEventArgs)+125
DevExpress.XtraNavBar.NavBarControl.OnMouseUp(System.Windows.Forms.MouseEventArgs)+68
System_Windows_Forms_ni!System.Windows.Forms.Control.WmMouseUp(System.Windows.Forms.Message ByRef, System.Windows.Forms.MouseButtons, Int32)+274
System_Windows_Forms_ni!System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)+8f1eee
[[InlinedCallFrame]]
DevExpress.XtraNavBar.NavBarControl.WndProc(System.Windows.Forms.Message ByRef)+df
System_Windows_Forms_ni!System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)+11
System_Windows_Forms_ni!System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)+39
System_Windows_Forms_ni!System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)+80
DomainBoundILStubClass.IL_STUB_PInvoke(CrystalDecisions.CrystalReports.Engine.PEEngineOptions ByRef)+69
[[InlinedCallFrame]]
CrystalDecisions.CrystalReports.Engine.CRPE.InitCrpe()+bb
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()+e9
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(System.String, CrystalDecisions.Shared.OpenReportMethod, Int16)+342
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(System.String, CrystalDecisions.Shared.OpenReportMethod)+50
Cryrpt.Model.CrystalReportFactory.CreateReportObject(Cryrpt.Model.IRptFinder)+4f
Job3CoreCmsWF.CmsCryrpt10TabsForm.get_aaReportObject()+d7
Job3CoreCmsWF.CmsCryrpt10TabsForm.aaVisualizzaReport()+62
Job3ERP_Commons.X_Form.aaVisualizzaReport()+1f
Job3CoreCmsWF.CmsCryrpt10TabsForm.aaOnBtnFiltraClick(Boolean)+a9
ZJob3ERPGps.X_OR30_Form.InitCmsContent(System.Collections.Generic.Dictionary`2<System.String,System.Object>)+8e
Job3CoreCmsWF.CmsRibbonForm.RunProgram(ProgrammaCollegato, System.Object, Job3CoreCmsWF.ICmsContent)+140
Job3CoreCmsWF.CallManager.RunProgram(ProgrammaCollegato, System.Object, Job3CoreCmsWF.ICmsContent)+ad
Job3CoreCmsWF.CmsMasterDetailForm.aaCallProgrammaCollegatoDettaglio(ProgrammaCollegato)+51
Job3ErpModuloOrdiniClienti.MD_OrdiniClienti_Form.aaCallProgrammaCollegatoDettaglio(ProgrammaCollegato)+f2
Job3CoreCmsWF.CmsMasterDetailForm.ProgrammiCollegatiDettaglio_aaBtnProgrammaCollegatoClick(System.Object, PgmCollegatoEventArgs)+33
Job3CoreCmsWF.ProgrammiCollegatiUC.BtnColl_Click(System.Object, System.EventArgs)+8b
DevExpress.XtraNavBar.NavBarItem.RaiseLinkEvent(System.Object, DevExpress.XtraNavBar.NavBarItemLink)+79
DevExpress.XtraNavBar.NavBarItem.RaiseLinkClicked(DevExpress.XtraNavBar.NavBarItemLink)+12
DevExpress.XtraNavBar.NavBarItem.RaiseLinkClickedCore(DevExpress.XtraNavBar.NavBarItemLink)+b
DevExpress.XtraNavBar.NavBarControl.RaiseLinkClicked(DevExpress.XtraNavBar.NavBarItemLink)+28
DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.DoLinkClick(DevExpress.XtraNavBar.NavBarHitInfo)+3a
DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.DoClick(DevExpress.XtraNavBar.NavBarHitInfo)+47
DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.OnMouseUp(System.Windows.Forms.MouseEventArgs)+125
DevExpress.XtraNavBar.NavBarControl.OnMouseUp(System.Windows.Forms.MouseEventArgs)+68
System_Windows_Forms_ni!System.Windows.Forms.Control.WmMouseUp(System.Windows.Forms.Message ByRef, System.Windows.Forms.MouseButtons, Int32)+274
System_Windows_Forms_ni!System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)+8f1eee
[[InlinedCallFrame]]
DevExpress.XtraNavBar.NavBarControl.WndProc(System.Windows.Forms.Message ByRef)+df
System_Windows_Forms_ni!System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)+11
System_Windows_Forms_ni!System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)+39
System_Windows_Forms_ni!System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)+80
System_Windows_Forms_ni!DomainBoundILStubClass.IL_STUB_PInvoke(MSG ByRef)+3c
[[InlinedCallFrame]]
System_Windows_Forms_ni!System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)+24d
[[InlinedCallFrame]]
System_Windows_Forms_ni!System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)+155
System_Windows_Forms_ni!System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)+4a
System_Windows_Forms_ni!System.Windows.Forms.Application.Run(System.Windows.Forms.ApplicationContext)+18
Job3ERP.MainModule.Main(System.String[])+73
[[GCFrame]]

 


Viewing all articles
Browse latest Browse all 3184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>