Skip to content

[iOS] Fatal Crash: NSInternalInconsistencyException in Touch Registry #1

@AchilleasDrakou

Description

@AchilleasDrakou

Error Information

Exception Type: NSInternalInconsistencyException
Issue: Touch registry inconsistency detected during UIKit gesture recognizer operations

Technical Details

  • Device: iPhone X
  • iOS Version: 16.7.12
  • App Version: Load v2.8.4
  • Crash Location: UIGestureEnvironment touch delivery system
  • Trigger: UIKit gesture recognizer cancellation

Critical Context

⚠️ Memory Pressure: Critical - only 38MB free at time of crash
This may be a contributing factor to the instability

Monitoring & Debugging Resources

  • Sentry Issue: LOAD-4C
  • Session Replay ID: 2aba434b485b4f8691bb71984db45b86

Stack Trace

Crash occurs in UIGestureEnvironment touch delivery during gesture recognizer state transitions.

Investigation Steps

  1. Gesture Handling Code Review

    • Audit touch event handling implementation
    • Review gesture recognizer delegates and state management
    • Check for proper cleanup during cancellation
  2. Memory Management

    • Investigate memory pressure scenarios in touch event processing
    • Review object retention/release patterns in gesture handling
    • Check for potential memory leaks in UIKit integration layer
  3. UIKit Integration

    • Verify proper UIKit API usage patterns
    • Review any custom gesture recognizer implementations
    • Check for threading issues in touch event processing

Related Tickets

  • Linear ticket: Will be linked once created

Priority: High - Fatal crash affecting production users

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions