Print Stacktrace on Runtime Error

William Cohen wcohen@redhat.com
Thu Jul 14 17:41:00 GMT 2016


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



More information about the Systemtap mailing list