ohos-issue-graphics-sysfreeze-analysis

Analyze OpenHarmony graphics sysfreeze logs to diagnose thread blocking causes.

31|6|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill ohos-issue-graphics-sysfreeze-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ohos-issue-graphics-sysfreeze-analysis
Source: https://github.com/openharmonyinsight/openharmony-skills/tree/main/skills/ohos-issue-graphics-sysfreeze-analysis
Command: npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill ohos-issue-graphics-sysfreeze-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you analyze OpenHarmony graphics-related sysfreeze/appfreeze logs to identify why the process freezes and which threads are blocking, including IPC deadlock and task-queue blocking scenarios.

Core Features & Use Cases

  • Freeze type triage: Confirms whether the event is SERVICE_BLOCK or THREAD_BLOCK (e.g., THREAD_BLOCK_6S) and interprets what those signals imply.
  • Blocking chain reconstruction: Uses two DFX captures to trace from the initial blocked thread (Tid) through locks/semaphores/condition waits and IPC relationships, until a non-blocked final blocker is found.
  • Timeline + task queue correlation: Validates time gaps between watchdog captures and inspects task queues (VIP/Immediate/High/Low/Idle) to connect blocking behavior with the scheduled workload.
  • Resource-aware guidance: Incorporates system state signals like ReclaimAvailBuffer and ThermalLevel to avoid misattributing freezes to only application logic.

Quick Start

Ask the AI to analyze the attached sysfreeze/appfreeze log set for OpenHarmony graphics using the provided lib.unstripped symbols to produce the blocking chain path and root cause.

Frequently Asked Questions about ohos-issue-graphics-sysfreeze-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose OpenHarmony graphics sysfreeze and thread block issues?

Diagnose OpenHarmony graphics sysfreeze by analyzing appfreeze logs with two timed DFX stack captures to reconstruct the IPC blocking chain and identify the root cause of the thread block.

What is an IPC deadlock and how does blocking chain reconstruction work?

An IPC deadlock occurs when threads wait on each other's resources indefinitely. Blocking chain reconstruction traces from the initial blocked thread through locks, semaphores, and IPC relationships to find the non-blocked final blocker.

How to analyze task queue blocking using hilog and DFX captures?

Analyze task queue blocking by validating time gaps between watchdog DFX captures and inspecting VIP, Immediate, High, Low, and Idle task queues alongside hilog_kmsg to correlate scheduled workloads with the freeze event.

Do I need symbol-resolved stacks and llvm tooling to analyze appfreeze logs?

Yes, you need symbol-resolved stacks from lib.unstripped symbols analyzed via llvm-addr2line tooling to accurately trace the blocking chain and perform root-cause assessment for OpenHarmony graphics freezes.

Can I correlate system state signals like ThermalLevel with process freeze analysis?

Yes, you can incorporate system state signals like ReclaimAvailBuffer and ThermalLevel during process freeze analysis to avoid misattributing sysfreeze events to application logic when resource constraints are the actual cause.

Why does my OpenHarmony graphics appfreeze log show a THREAD_BLOCK_6S event?

A THREAD_BLOCK_6S event indicates a specific thread has been blocked for six seconds. You must trace the stack captures through locks or condition waits to find the non-blocked final blocker causing this freeze.