Fully featured low overhead profiler for Java EE and Java SE platforms.
Ultimate profiling and monitoring solution for Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

Application crash after taking memory snapshot

Moderators: Vladimir Kondratyev, Anton Katilin

Application crash after taking memory snapshot

Postby Nagilo » Fri Jul 25, 2008 6:43 am

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]
Nagilo
 
Posts: 13
Joined: Tue Oct 24, 2006 8:06 am

Postby Anton Katilin » Mon Jul 28, 2008 12:17 pm

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
Anton Katilin
 
Posts: 5574
Joined: Wed Aug 11, 2004 8:37 am

Postby Nagilo » Mon Jul 28, 2008 1:18 pm

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
Nagilo
 
Posts: 13
Joined: Tue Oct 24, 2006 8:06 am

Postby Anton Katilin » Mon Jul 28, 2008 2:13 pm

ftp://upload.yourkit.com/pub/
user: ftp
empty password
Anton Katilin
 
Posts: 5574
Joined: Wed Aug 11, 2004 8:37 am

Postby Nagilo » Mon Jul 28, 2008 2:22 pm

I uploaded two file beginning with AX.Server... to your FTP folder.

Thanks

Matthias
Nagilo
 
Posts: 13
Joined: Tue Oct 24, 2006 8:06 am

Postby Anton Katilin » Mon Jul 28, 2008 2:32 pm

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?
Anton Katilin
 
Posts: 5574
Joined: Wed Aug 11, 2004 8:37 am

Postby Vladimir Kondratyev » Mon Jul 28, 2008 2:32 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!"
Vladimir Kondratyev
 
Posts: 1444
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

Postby Nagilo » Mon Jul 28, 2008 2:43 pm

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
Nagilo
 
Posts: 13
Joined: Tue Oct 24, 2006 8:06 am

Postby Anton Katilin » Mon Jul 28, 2008 2:57 pm

The compiled version is suitable


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.

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.
Anton Katilin
 
Posts: 5574
Joined: Wed Aug 11, 2004 8:37 am

Postby Nagilo » Mon Jul 28, 2008 3:07 pm

Hi again,

unfortunately the profiler does not recognize any application to profile anymore.

Matthias Heise
Nagilo
 
Posts: 13
Joined: Tue Oct 24, 2006 8:06 am

Postby Vladimir Kondratyev » Mon Jul 28, 2008 3:19 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!"
Vladimir Kondratyev
 
Posts: 1444
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

Postby Nagilo » Mon Jul 28, 2008 4:22 pm

Hello,

now the profiler recognized applications but the error is still there. I'll let you know if I can send you our application tomorrow.

Best regards

Matthias Heise
Nagilo
 
Posts: 13
Joined: Tue Oct 24, 2006 8:06 am

Postby Vladimir Kondratyev » Mon Jul 28, 2008 4:42 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!"
Vladimir Kondratyev
 
Posts: 1444
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

Postby Anton Katilin » Mon Jul 28, 2008 5:33 pm

Hello,

but the error is still there


This is not the same error, so we'd appreciate a lot corresponding log.

Best regards,
Anton
Anton Katilin
 
Posts: 5574
Joined: Wed Aug 11, 2004 8:37 am

Postby Nagilo » Tue Jul 29, 2008 7:35 am

Good morning,

I send you the requested log files to the email address you gave me.

Matthias
Nagilo
 
Posts: 13
Joined: Tue Oct 24, 2006 8:06 am

Next

Return to .NET Profiler

Who is online

Users browsing this forum: No registered users and 2 guests