Weblog

All | General
Main | Easy way to install... »
20050623 Thursday June 23, 2005

Solaris AppCrash Updates

By Greg Nakhimovsky

In May 2005, Morgan Herrington and I created a tool called AppCrash and published an article about it:

Enabling User-Controlled Collection of Application Crash Data With DTrace

Since it was published, we have come up with a few AppCrash updates and additions. Instead of updating the article itself, we decided it's easier and more flexible to put the updates into a blog.

Note that, since all components of AppCrash are scripts, anyone can easily modify or customize them.

Here are the updates we have so far.

( Jun 23 2005, 07:53:00 AM EDT ) Permalink Comments [2]

Comments:

Trying to use app_crash.tar.gz I get the following error:
# ./S97app_crash start
dtrace: failed to compile script /opt/app_crash/app_crash_global.d: line 27: translator for args[1] from kthread_t * to psinfo_t * is not defined

# uname -a
SunOS myhost 5.10 Generic_118844-28 i86pc i386 i86pc
Any ideas why this is happening?

Posted by Michael on June 13, 2006 at 11:00 AM EDT #

I've just noticed your question. Sorry for late response.

I've also noticed your related discussion here:

http://mail.opensolaris.org/pipermail/dtrace-discuss/2006-June/001820.html

Where did you get that "args[1]->pr_lwpid"? Our script app_crash_global.d has "args[1]->pr_pid" that compiles correctly.

-Greg

Posted by Greg Nakhimovsky on July 18, 2006 at 11:26 AM EDT #

Post a Comment:

Comments are closed for this entry.

Calendar

RSS Feeds

Search

Links

Navigation

Referers