How can we help you today? How can we help you today?

My application Crashes when taking snapshots

Hello,

I am trying to profile a CAB/SCSF based application. If i take a snapshot before loading any CAB module, it works. However, whenever i try to take a snapshot after loading a CAB Module, my application crashes and the snapshot isn't taken. This works properly in 4.3 by the way.

I have tried removing most options, like "Profile child processes", "Monitor Disposal of objects" and removing "Large Object Heap Size" from the counters. Didn't fix my problem.

I am willing to provide dumps / anything that could help you help me, as this version of Ants Memory Profiler seems to be ALOT better than 4.3.
I have used 4.3 with success in the last months and seeing this tool really makes me want to go back and fix the issues i wasnt able to pin-point with previous version.

Thanks for your time,
Carl


EDIT: From my Event Viewer:
Event Type:	Error
Event Source:	.NET Runtime 2.0 Error Reporting
Event Category:	None
Event ID:	1000
Date:		2009-05-29
Time:		15:55:14
User:		N/A
Computer:	MYCOMPUTER
Description:
Faulting application [MyApp].exe, version 1.0.0.0, stamp 4a202bdb, faulting module mscorwks.dll, version 2.0.50727.3082, stamp 492b82c1, debug? 0, fault address 0x00012cb4.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 41 00 70 00 70 00 6c 00   A.p.p.l.
0008: 69 00 63 00 61 00 74 00   i.c.a.t.
0010: 69 00 6f 00 6e 00 20 00   i.o.n. .
0018: 46 00 61 00 69 00 6c 00   F.a.i.l.
0020: 75 00 72 00 65 00 20 00   u.r.e. .
0028: 20 00 6d 00 6f 00 64 00    .m.o.d.
0030: 65 00 6c 00 6c 00 69 00   e.l.l.i.
0038: 75 00 6d 00 2e 00 70 00   u.m...p.
0040: 72 00 6f 00 64 00 75 00   r.o.d.u.
0048: 63 00 74 00 73 00 2e 00   c.t.s...
0050: 73 00 75 00 69 00 74 00   s.u.i.t.
0058: 65 00 6d 00 75 00 6e 00   e.m.u.n.
0060: 69 00 63 00 69 00 70 00   i.c.i.p.
0068: 61 00 6c 00 65 00 2e 00   a.l.e...
0070: 65 00 78 00 65 00 20 00   e.x.e. .
0078: 31 00 2e 00 30 00 2e 00   1...0...
0080: 30 00 2e 00 30 00 20 00   0...0. .
0088: 34 00 61 00 32 00 30 00   4.a.2.0.
0090: 32 00 62 00 64 00 62 00   2.b.d.b.
0098: 20 00 69 00 6e 00 20 00    .i.n. .
00a0: 6d 00 73 00 63 00 6f 00   m.s.c.o.
00a8: 72 00 77 00 6b 00 73 00   r.w.k.s.
00b0: 2e 00 64 00 6c 00 6c 00   ..d.l.l.
00b8: 20 00 32 00 2e 00 30 00    .2...0.
00c0: 2e 00 35 00 30 00 37 00   ..5.0.7.
00c8: 32 00 37 00 2e 00 33 00   2.7...3.
00d0: 30 00 38 00 32 00 20 00   0.8.2. .
00d8: 34 00 39 00 32 00 62 00   4.9.2.b.
00e0: 38 00 32 00 63 00 31 00   8.2.c.1.
00e8: 20 00 66 00 44 00 65 00    .f.D.e.
00f0: 62 00 75 00 67 00 20 00   b.u.g. .
00f8: 30 00 20 00 61 00 74 00   0. .a.t.
0100: 20 00 6f 00 66 00 66 00    .o.f.f.
0108: 73 00 65 00 74 00 20 00   s.e.t. .
0110: 30 00 30 00 30 00 31 00   0.0.0.1.
0118: 32 00 63 00 62 00 34 00   2.c.b.4.
0120: 0d 00 0a 00               ....    

AND
Event Type:	Error
Event Source:	.NET Runtime
Event Category:	None
Event ID:	1023
Date:		2009-05-29
Time:		15:55:14
User:		N/A
Computer:	MYCOMPUTER
Description:
.NET Runtime version 2.0.50727.3082 - Fatal Execution Engine Error (7A0979C6) (80131506)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
CarlQuirion
0

Comments

6 comments

  • Chris.Allen
    We're happy to receive mini-dumps from windbg. If you just let us know the exact profiling version you used. When you're ready, if you email support@red-gate.com I'll give you a ftp folder to upload to.

    In the meantime, I can see if we already have fixed that issue.
    Chris.Allen
    0
  • Chris.Allen
    In fact, I believe we have indeed :)

    http://downloads.red-gate.com/ANTSProfi ... AnyCpu.exe (ANTS Memory Profiler 5 RC)

    No need for the dump :)
    Chris.Allen
    0
  • CarlQuirion
    Yes, i was using an older version, 801.
    I upgraded 801 to 860, however it decided my trial was over (i had around 12 days left before upgrade).

    I tried my version 4 serial number, didn't work. So i can't really test it.
    CarlQuirion
    0
  • Chris.Allen
    Try the latest edition, we fixed the "trial expired" problem.

    http://www.red-gate.com/messageboard/vi ... php?t=9004
    Chris.Allen
    0
  • CarlQuirion
    Hi,

    The trial expired problem is indeed fixed, however i am still having the same crash when profiling.

    Ill send you a minidump when i get around to figure out how to do the dump. (I somehow tought that it was automagically created in my windows\minidump directory).

    I am working on other stuff right now, but i'll get into it later today. Thanks for the follow up :)
    CarlQuirion
    0
  • Chris.Allen
    We looked at the dump and we now think this is an issue that we believe happens when we encounter a value type that the CLR has not loaded yet but we haven't been able to reproduce this.

    Would you be prepared to send your project over so we can reproduce? I know that's asking a lot!
    Chris.Allen
    0

Add comment

Please sign in to leave a comment.