This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Print Stacktrace on Runtime Error
- From: William Cohen <wcohen at redhat dot com>
- To: systemtap at sourceware dot org
- Date: Thu, 14 Jul 2016 13:41:01 -0400
- Subject: Re: Print Stacktrace on Runtime Error
- Authentication-results: sourceware.org; auth=none
- References: <5787C9A6.7060508@tu-dortmund.de>
On 07/14/2016 01:19 PM, Alexander Lochmann wrote:
> Hi folks!
>
> My stap scripts keeps failing either with a "user string copy fault" or
> with a "read fault".
> Is there a way get more context information about the error? A
> stacktrace for example? :)
>
> Thanks!
>
> Cheers,
> Alex
>
Hi Alex,
Is this script using the user_string function? Is the script actually passing in a valid pointer? It might be useful to print out the value being passed to user_string to see if it valid and makes sense. Could you post the script that is causing the problem?
-Will