Ticket #82 (new defect)

Opened 13 years ago

Last modified 13 years ago

Viewer crashing on large log file after numerous searches within file

Reported by: michelpons Owned by: michaelhalloran
Priority: major Milestone:
Component: COLoggers Version: 2.0
Keywords: Viewer Cc:

Description

Here is an issue I have experienced a number of times, apparently mostly with large log files. The Viewer exhibits the message shown in the attachment when the end-user exits the Viewer by clicking on the red cross in the upper right corner of the Viewer window. I think this is not so much related to the log file size to the number of searches made in the log file prior to exit. Here I have search for \"Calculate\" till the last occurence, then I have searched from top for \"Edit\", then I have expanded the last Edit call, then I have looked for \"GetPropList\" and expanded the one found and so on. If I just open up the log file in the viewer and close the viewer, no error message pops up. I need to make a number of searches in the log file using the search feature to get to the point I have the error message. Seems to me like some memory leak but it is just a guess.

Attachments

Screenshots.zip (22.9 KB) - added by michelpons 13 years ago.
Zipped RTF file containing the error message provided
unisimdesign_070811_163544.zip (14.6 KB) - added by michelpons 13 years ago.
Zipped log file on which the symptom was put in evidence
proii_091111_112130.log (174.1 KB) - added by michelpons 13 years ago.
Log file obtaind with COLTT 2.0 Build Sep 10, 2011

Change History

Changed 13 years ago by michelpons

Zipped RTF file containing the error message provided

Changed 13 years ago by michelpons

Zipped log file on which the symptom was put in evidence

comment:1 Changed 13 years ago by michaelhalloran

I can't reproduce this although I may not be doing the same searches. On the error dialog there is a Details button, could you upload the information you get from that? It might help trace the problem.

comment:2 Changed 13 years ago by michelpons

  • Milestone set to 1.10

Here are details obtained after a crash:

Consultez la fin de ce message pour plus de détails sur l'appel du débogage
juste-à-temps (JIT) à la place de cette boîte de dialogue.

Texte de l'exception
System.AccessViolationException: Tentative de lecture ou d'écriture de mémoire protégée. Cela indique souvent qu'une autre mémoire est endommagée.

à System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
à System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
à System.Windows.Forms.Control.DefWndProc(Message& m)
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.TreeView.WndProc(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Assemblys chargés
mscorlib

Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.3623 (GDR.050727-3600)
CodeBase : file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll


COLTTViewer

Version de l'assembly : 1.0.4214.19673
Version Win32 : 1, 8, 5, 0
CodeBase : file:///C:/Program%20Files/CAPE-OPEN/COLTT%201.08.5/COLTTViewer.exe


msvcm90

Version de l'assembly : 9.0.30729.6161
Version Win32 : 9.00.30729.6161
CodeBase : file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.6161_x-ww_31a54e43/msvcm90.dll


System.Windows.Forms

Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.3623 (GDR.050727-3600)
CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll


System

Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.3624 (GDR.050727-3600)
CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll


System.Drawing

Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll


System.Xml

Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.3082 (QFE.050727-3000)
CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll


System.Windows.Forms.resources

Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase : file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_fr_b77a5c561934e089/System.Windows.Forms.resources.dll


mscorlib.resources

Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.3623 (GDR.050727-3600)
CodeBase : file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll


Débogage JIT
Pour activer le débogage juste-à-temps (JIT), le fichier de configuration pour cette
application ou cet ordinateur (machine.config) doit avoir la valeur
jitDebugging définie dans la section system.windows.forms.
L'application doit également être compilée avec le débogage
activé.

Par exemple :

<configuration>

<system.windows.forms jitDebugging=\"true\" />

</configuration>

Lorsque le débogage juste-à-temps est activé, les exceptions non gérées
seront envoyées au débogueur JIT inscrit sur l'ordinateur
plutôt que d'être gérées par cette boîte de dialogue.

comment:3 Changed 13 years ago by michelpons

  • Keywords Viewer added

With a log file created with COLTT v2.0 Build Sep 10, 2011, I get also a Viewer crash when exiting. Here are the details displayed for the crash:

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

Exception Text
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
at System.Windows.Forms.Control.DefWndProc(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.TreeView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Loaded Assemblies
mscorlib

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3623 (GDR.050727-3600)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll


COLTTViewer

Assembly Version: 2.0.0.0
Win32 Version: 2, 0, 0, 0
CodeBase: file:///C:/Program%20Files/CAPE-OPEN/COLTT%202.0/COLTTViewer.exe


msvcm90

Assembly Version: 9.0.30729.6161
Win32 Version: 9.00.30729.6161
CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.6161_x-ww_31a54e43/msvcm90.dll


System.Windows.Forms

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3623 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll


System

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3624 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll


System.Drawing

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll


System.Xml

Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll


JIT Debugging
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>

<system.windows.forms jitDebugging=\"true\" />

</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

This crash happens with the log file attached and dated Sep 11, 2011. I had taken out of the view all the entries related to COLTT, then searched for Calculate, expanded the Calculate and then expanded the Duplicate calls within Calculate.

Changed 13 years ago by michelpons

Log file obtaind with COLTT 2.0 Build Sep 10, 2011

comment:4 Changed 13 years ago by michelpons

  • Version changed from Development to 2.0
Note: See TracTickets for help on using tickets.