Application crash after taking memory snapshot
-
- Posts: 13
- Joined: Tue Oct 24, 2006 8:06 am
Application crash after taking memory snapshot
Hello,
I'm trying to capture a memory snapshot from my profiled application. The profiler tells me that there was an internal error and that the snapshot is not valid. Second try and my application is gone. What can I do? Here's the error from the log-file.
Best regards.
Matthias Heise
AutomationX GmbH
[YourKit Profiler 3.0.5 for .NET]
OS: Windows XP 5.1
CLR: v2.0.50727
Assertion failed: value is NULL: ProfilerCore.cpp, line: 1155
[ 62.371] [ObjectReferences] ExceptionAddress = 7C812A7B
[ 62.374] [ObjectReferences] ExceptionCode = 1
[ 62.377] [ObjectReferences] ExceptionFlags = 0
[ 62.380] [ObjectReferences] ExceptionRecord = 00000000
[ 62.382] [ObjectReferences] NumberParameters = 0
[ 62.388] C [KERNEL32.dll+0x12a7b]
[ 62.393] C [yjpagent.dll+0x2879e]
[ 62.398] C [yjpagent.dll+0x40f53]
[ 62.403] C [yjpagent.dll+0x41305]
[ 62.408] C [yjpagent.dll+0x4155d]
[ 62.413] C [yjpagent.dll+0x4154f]
[ 62.418] C [yjpagent.dll+0x41734]
[ 62.429] C [yjpagent.dll+0x36d3]
[ 62.435] C [mscordbc.dll+0x5f05]
[ 62.443] C [mscorwks.dll+0x2ee085]
[ 62.448] C [mscorwks.dll+0x2d2c67]
[ 62.453] C [mscorwks.dll+0x19a120]
[ 62.458] C [mscorwks.dll+0xf7694]
[ 62.463] C [mscorwks.dll+0xf5f68]
[ 62.469] C [mscorwks.dll+0xfdfa1]
[ 62.474] C [mscorwks.dll+0xfdf4b]
[ 62.478] C [mscorwks.dll+0x2edbb7]
[ 62.483] C [yjpagent.dll+0x460b4]
[ 62.488] C [yjpagent.dll+0x46424]
[ 62.493] C [yjpagent.dll+0x4646e]
I'm trying to capture a memory snapshot from my profiled application. The profiler tells me that there was an internal error and that the snapshot is not valid. Second try and my application is gone. What can I do? Here's the error from the log-file.
Best regards.
Matthias Heise
AutomationX GmbH
[YourKit Profiler 3.0.5 for .NET]
OS: Windows XP 5.1
CLR: v2.0.50727
Assertion failed: value is NULL: ProfilerCore.cpp, line: 1155
[ 62.371] [ObjectReferences] ExceptionAddress = 7C812A7B
[ 62.374] [ObjectReferences] ExceptionCode = 1
[ 62.377] [ObjectReferences] ExceptionFlags = 0
[ 62.380] [ObjectReferences] ExceptionRecord = 00000000
[ 62.382] [ObjectReferences] NumberParameters = 0
[ 62.388] C [KERNEL32.dll+0x12a7b]
[ 62.393] C [yjpagent.dll+0x2879e]
[ 62.398] C [yjpagent.dll+0x40f53]
[ 62.403] C [yjpagent.dll+0x41305]
[ 62.408] C [yjpagent.dll+0x4155d]
[ 62.413] C [yjpagent.dll+0x4154f]
[ 62.418] C [yjpagent.dll+0x41734]
[ 62.429] C [yjpagent.dll+0x36d3]
[ 62.435] C [mscordbc.dll+0x5f05]
[ 62.443] C [mscorwks.dll+0x2ee085]
[ 62.448] C [mscorwks.dll+0x2d2c67]
[ 62.453] C [mscorwks.dll+0x19a120]
[ 62.458] C [mscorwks.dll+0xf7694]
[ 62.463] C [mscorwks.dll+0xf5f68]
[ 62.469] C [mscorwks.dll+0xfdfa1]
[ 62.474] C [mscorwks.dll+0xfdf4b]
[ 62.478] C [mscorwks.dll+0x2edbb7]
[ 62.483] C [yjpagent.dll+0x460b4]
[ 62.488] C [yjpagent.dll+0x46424]
[ 62.493] C [yjpagent.dll+0x4646e]
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Hello Matthias,
Is this problem reproducible?
What kind of application it is?
Is the problem reproducible with other applications?
Could you please upload the invalid snapshot to our ftp:
ftp://upload.yourkit.com/pub/
empty password
Best regards,
Anton
Is this problem reproducible?
What kind of application it is?
Is the problem reproducible with other applications?
Could you please upload the invalid snapshot to our ftp:
ftp://upload.yourkit.com/pub/
empty password
Best regards,
Anton
-
- Posts: 13
- Joined: Tue Oct 24, 2006 8:06 am
Hello,
I would like to upload the files, but I don't get any connection to the FTP server. What user name do I have to use?
The problem is reproducible with the same application but not with others. The application is used as a server running without any GUI but with a NotifyIcon in the tray. It uses several threads.
Thanks
Matthias
I would like to upload the files, but I don't get any connection to the FTP server. What user name do I have to use?
The problem is reproducible with the same application but not with others. The application is used as a server running without any GUI but with a NotifyIcon in the tray. It uses several threads.
Thanks
Matthias
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Thank you.
Could you please try whether the following fixes the problem:
Please download this file
http://www.yourkit.com/download/tmp/200 ... pagent.dll
and write it over
<path to YourKit Profiler 3.0.5 for .NET>\bin\win32\yjpagent.dll
Restarting profiled application, is it possible to capture snapshots?
Could you please try whether the following fixes the problem:
Please download this file
http://www.yourkit.com/download/tmp/200 ... pagent.dll
and write it over
<path to YourKit Profiler 3.0.5 for .NET>\bin\win32\yjpagent.dll
Restarting profiled application, is it possible to capture snapshots?
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
Thank you for snapshots. Can you please upload the .NET application which demonstrates the problem. It's very difficult to locate the problem without the application. If necessary we can sign NDA.
Thank you in advance.
Best regards,
Vladimir Kondratyev
YourKit, LLC
http://www.yourkit.com
"Don't get lost in data, get information!"
Thank you in advance.
Best regards,
Vladimir Kondratyev
YourKit, LLC
http://www.yourkit.com
"Don't get lost in data, get information!"
-
- Posts: 13
- Joined: Tue Oct 24, 2006 8:06 am
Hello,
it's not easy to give you the application, cause it needs full setup and a database. Furthermore I have to check out if I'm allowed to send you the application. I will contact you again tomorrow. The compiled version is suitable or is any source code needed?
Best regards
Dipl.-Inf. Matthias Heise
Software Designer
AutomationX GmbH
Teslastra??e 8
A-8074 Grambach bei Graz / Austria
Tel. +43 / 316 / 4000 - 327
Fax +43 / 316 / 4000 - 39
it's not easy to give you the application, cause it needs full setup and a database. Furthermore I have to check out if I'm allowed to send you the application. I will contact you again tomorrow. The compiled version is suitable or is any source code needed?
Best regards
Dipl.-Inf. Matthias Heise
Software Designer
AutomationX GmbH
Teslastra??e 8
A-8074 Grambach bei Graz / Austria
Tel. +43 / 316 / 4000 - 327
Fax +43 / 316 / 4000 - 39
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Yes. Just being able to run that application with the profiler would be enough. Of course, an addition of the source code would be fine, however not critical at all.The compiled version is suitable
Did you have a chance to try the .dll with proposed fix? If not, we'd appreciate if you could do it when you have time.
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
Please run "regsvr32 yjpagent.dll" command in console.
Best regards,
Vladimir Kondratyev
YourKit, LLC
http://www.yourkit.com
"Don't get lost in data, get information!"
Best regards,
Vladimir Kondratyev
YourKit, LLC
http://www.yourkit.com
"Don't get lost in data, get information!"
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
Please send us all the log file under the USER_HOME/.ynp/log directory to support(at)yourkit.com. New yjpagent.dll logs additional info.
Best regards,
Vladimir Kondratyev
YourKit, LLC
http://www.yourkit.com
"Don't get lost in data, get information!"
Best regards,
Vladimir Kondratyev
YourKit, LLC
http://www.yourkit.com
"Don't get lost in data, get information!"
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am