wordpress-mobile / wordpress-mobile/AztecEditor-iOS

Bug:The swap method swizzledIsEqual in the NSParagraphStyle file caused the host program to crash

Open
#1,394 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
669
Forks
153
Avg merge
11h 27m
Merged PRs (30d)
4

Description

The following is a screenshot of the issue of crashing in the project, which can cause a dead loop in the project and keep calling the swizzledIsEqual method;
Start the project ->Open the editor page (initialize Aztec. EditorView) ->Then exit the editor page and open other pages in the project. The dead loop in the screenshot will appear, and the project will crash
截屏2024-05-13 12 58 03

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash by initializing Aztec.EditorView, leaving the editor, and opening another page. Inspect the NSParagraphStyle swizzling around swizzledIsEqual and use the reported call loop to identify the failure. Done means the navigation sequence no longer loops or crashes.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.