All Products
Search
Document Center

Application Real-Time Monitoring Service:GetRumExceptionStack

Last Updated:Jul 16, 2025

Queries the exception stack information of a Real User Monitoring (RUM) application.

Operation description

Real User Monitoring (RUM) is available only in the China (Hangzhou), Singapore, and US (Silicon Valley) regions. Select the correct endpoint.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
arms:GetRumExceptionStackget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
PidstringYes

The application ID.

atxxxxzkcf@d8deedfa9bf****
ExceptionStackstringNo

The exception stack information. Set the value to a JSON string. call_stack.info represents the stack information, call_stack.thread.name represents the thread name, and call_stack.thread.id represents the thread ID. This parameter is exactly the same as the exception.stack parameter in the logstore-rum Logstore of Simple Log Service.

[ { "call_stack.info": "libsystem_kernel.dylib 0x00000001f1ce9178 0x00000001f1ce8000 + 4472\r\nlibsystem_kernel.dylib 0x00000001f1ce8f10 0x00000001f1ce8000 + 3856\r\nlibsystem_kernel.dylib 0x00000001f1ced718 0x00000001f1ce8000 + 22296\r\nAlibabaCloudRUM 0x0000000106711af4 0x0000000106660000 + 727796\r\nlibsystem_pthread.dylib 0x00000002146744d4 0x0000000214672000 + 9428", "call_stack.thread.name": "#3 BRSCrash Exception Handler (Secondary)", "call_stack.thread.id": "16643" } ]
ExceptionBinaryImagesstringNo

The binary images, which represent all executable files loaded into the process address space when a crash occurs.

iOSDemo:arm64%3B1489F4D3-6DE2-300C-90E9-E1B869675351%3B0x0000000104064000\nAlibabaCloudRUM:arm64%3BAB7B3A8E-6CEE-325D-BCBB-8DA50E61804F%3B0x0000000106660000\nlibdispatch.dylib:arm
ExceptionThreadIdstringNo

The ID of the exception thread.

16643
RegionIdstringNo

The region ID.

cn-hangzhou
SourcemapTypestringNo

The parsing type. Valid values:

  • js: Parses JavaScript errors.
  • sym: Parses PC errors.
  • har: Parses HarmonyOS errors.
  • dSYM: Parses iOS errors.
  • so: Parses Android errors.
source-map
ExtraInfostringNo

Extra information about iOS symbol tables. You can leave this parameter empty.

GraphicsServices:system/GraphicsServices/85419099-269B-336D-86B4-0D52D0FF6923/GraphicsServices;WebCore:system/WebCore/BF44A3F4-85D4-38C8-BF26-197F06ADE273/WebCore

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

Id of the request.

B6A00968-82A8-4F14-9D1B-B53827DB****
Codestring

The responses code. The status code 200 indicates that the request was successful.

200
Successstring

Indicates whether the request was successful. Valid values:

  • true
  • false
true
Messagestring

The error message returned if the request failed.

Internal error. Please try again. Contact the DingTalk service account if the issue persists after multiple retries.
HttpStatusCodestring

The HTTP status code.

200
Dataobject

The response message.

ThreadIdstring

The thread ID.

16643
Linesarray

The list of stacks.

Linesstring

The exception stack information that is parsed.

"CoreFoundation 0x00000001aa66a678 0x00000001aa57e000 + 968312", "libobjc.A.dylib 0x00000001a2917c80 0x00000001a28ec000 + 179328"
CrashReasonstring

The cause of the exception. This parameter is exposed during the parsing of PC errors.

EXC_BAD_ACCESS / KERN_INVALID_ADDRESS
CrashAddressstring

The crash address. This parameter is exposed during the parsing of PC errors.

0x1
ThreadInfoListarray<object>

The thread stack information captured during PC crashes.

ThreadInfoListobject
ThreadTagstring

The thread tag, including the thread number and name.

Thread 0 (crashed)
ThreadDetailstring

Thread stack details.

"0 libsystem_platform.dylib + 0x1ab5\n rax = 0x0000000000000001 rdx = 0x0000000000000064\n rcx = 0xffffffffffffffff rbx = 0x0000000107701bd0\n rsi = 0x0101010101010101 rdi = 0x0000000000000001\n rbp = 0x00007ff7b8d64300 rsp = 0x00007ff7b8d64300\n r8 = 0x000000000000000a r9 = 0x0000000000000000\n r10 = 0x0000000000000001 r11 = 0x0000000000000247\n r12 = 0x00007ff7b8d64390 r13 = 0x0000000000000000\n r14 = 0x000000010719d770 r15 = 0x00007ff7b8d64500\n rip = 0x00007ff807a40ab5\n Found by: given as instruction pointer in context\n 1 alibabacloud_rum_example + 0x2ad1\n rbp = 0x00007ff7b8d64310 rsp = 0x00007ff7b8d64310\n rip = 0x000000010719dad1\n Found by: previous frame's frame pointer\n 2 alibabacloud_rum_example + 0x2a3b\n rbp = 0x00007ff7b8d64360 rsp = 0x00007ff7b8d64320\n rip = 0x000000010719da3b\n Found by: previous frame's frame pointer\n 3 0x7ff807688345\n rbp = 0x00007ff7b8d64580 rsp = 0x00007ff7b8d64370\n rip = 0x00007ff807688345\n Found by: previous frame's frame pointer"
ModuleNamestring

The name of the crash parsing module. This parameter is exposed during the parsing of PC errors.

alibabacloud_rum_example
Uuidstring

The UUID of the symbol table required for parsing the stack. This parameter is exposed during the parsing of PC errors.

9032259CEB9130E780C6DE8FDECCD7990
BinaryImagesstring

The name and UUID of the symbol table required for parsing the exception stack. This parameter is exposed during the parsing of PC errors.

"04B5B216682E40BF9BBE9698E3F98CAA0,libcurl.4.dylib;7878DB3CF21A3C13A203B7E3B0FA66250,libalibabacloud_rum.dylib;0F9F96FE6B1C3253A33AC9E4A0C2A3860,libsystem_kernel.dylib;3DF3256F466E37BCB995A5A9956E14150,libsystem_pthread.dylib;000000000000000000000000000000000,Security;EA4B83A319EB3E15B22CDF035DBD49250,alibabacloud_rum_example;710BB12EEEC744BAB41D1849CA3AD8021,LTSDK.pdb;EE330BA9C49E4730AA15A2B7C0BB2CAE1,JBLive.pdb"

Examples

Sample success responses

JSONformat

{
  "RequestId": "B6A00968-82A8-4F14-9D1B-B53827DB****",
  "Code": 200,
  "Success": true,
  "Message": "Internal error. Please try again. Contact the DingTalk service account if the issue                              persists after multiple retries.",
  "HttpStatusCode": 200,
  "Data": {
    "ThreadId": 16643,
    "Lines": [
      "\"CoreFoundation  0x00000001aa66a678 0x00000001aa57e000 + 968312\",\n                \"libobjc.A.dylib  0x00000001a2917c80 0x00000001a28ec000 + 179328\""
    ],
    "CrashReason": "EXC_BAD_ACCESS / KERN_INVALID_ADDRESS",
    "CrashAddress": "0x1",
    "ThreadInfoList": [
      {
        "ThreadTag": "Thread 0 (crashed)",
        "ThreadDetail": "0  libsystem_platform.dylib + 0x1ab5\n    rax = 0x0000000000000001   rdx = 0x0000000000000064\n    rcx = 0xffffffffffffffff   rbx = 0x0000000107701bd0\n    rsi = 0x0101010101010101   rdi = 0x0000000000000001\n    rbp = 0x00007ff7b8d64300   rsp = 0x00007ff7b8d64300\n     r8 = 0x000000000000000a    r9 = 0x0000000000000000\n    r10 = 0x0000000000000001   r11 = 0x0000000000000247\n    r12 = 0x00007ff7b8d64390   r13 = 0x0000000000000000\n    r14 = 0x000000010719d770   r15 = 0x00007ff7b8d64500\n    rip = 0x00007ff807a40ab5\n    Found by: given as instruction pointer in context\n 1  alibabacloud_rum_example + 0x2ad1\n    rbp = 0x00007ff7b8d64310   rsp = 0x00007ff7b8d64310\n    rip = 0x000000010719dad1\n    Found by: previous frame's frame pointer\n 2  alibabacloud_rum_example + 0x2a3b\n    rbp = 0x00007ff7b8d64360   rsp = 0x00007ff7b8d64320\n    rip = 0x000000010719da3b\n    Found by: previous frame's frame pointer\n 3  0x7ff807688345\n    rbp = 0x00007ff7b8d64580   rsp = 0x00007ff7b8d64370\n    rip = 0x00007ff807688345\n    Found by: previous frame's frame pointer"
      }
    ],
    "ModuleName": "alibabacloud_rum_example",
    "Uuid": "9032259CEB9130E780C6DE8FDECCD7990",
    "BinaryImages": "04B5B216682E40BF9BBE9698E3F98CAA0,libcurl.4.dylib;7878DB3CF21A3C13A203B7E3B0FA66250,libalibabacloud_rum.dylib;0F9F96FE6B1C3253A33AC9E4A0C2A3860,libsystem_kernel.dylib;3DF3256F466E37BCB995A5A9956E14150,libsystem_pthread.dylib;000000000000000000000000000000000,Security;EA4B83A319EB3E15B22CDF035DBD49250,alibabacloud_rum_example;710BB12EEEC744BAB41D1849CA3AD8021,LTSDK.pdb;EE330BA9C49E4730AA15A2B7C0BB2CAE1,JBLive.pdb"
  }
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-12-20The request parameters of the API has changedView Change Details
2024-11-27The response structure of the API has changedView Change Details
2024-10-17The response structure of the API has changedView Change Details
2024-06-20The request parameters of the API has changedView Change Details