alibaba / alibaba/HandyJSON

SIGILL ILL_ILLTRP crash

Open
#462 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
4.3k
Forks
677
PR merge metrics
No merged PRs in 30d

Description

OS version: iOS 12.2
HandyJSON: 5.0.2

```
HandyJSON isNSObjectType (Measuable.swift:42)
HandyJSON _serializeAny (ExtendCustomModelType.swift:215)
HandyJSON toJSON (Serializer.swift:29)
HandyJSON toJSONString (Serializer.swift:37)
FYDriverNew makeSave (FYOrderPathTracker.swift:170)
FYDriverNew makeSave (:0)
Foundation ___NSFireTimer + 88
UIKitCore _UIApplicationMain + 216
FYDriverNew main (main.swift:16)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting Measuable.swift:42, then follow the serialization call chain through ExtendCustomModelType.swift:215, Serializer.swift:29 and Serializer.swift:37. Reproduce the SIGILL on iOS 12.2 with HandyJSON 5.0.2 using the reported FYDriverNew call path, and confirm done when the crash cause is identified and the same path completes safely.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.