Skip to content

Crash in PDFium (EXC_BAD_INSTRUCTION) #591

Description

@UnluckyY1

Hi 👋
Not sure which pdfrx version introduced this, but lately we’ve been receiving a lot of crash reports in Sentry related to PDFium on iOS.

Affected devices (from Sentry)
• iPhone10,3
• iPad7,5
• iPad6,12
• iPad7,12
• iPhone10,6

Affected iOS versions (from Sentry)
• iOS 17.7.10
• iOS 18.6.2
• iOS 16.7.12

EXC_BAD_INSTRUCTION
Exception 2, Code 1, Subcode 952090888
Crashed in non-app
PDFium
+0x2669ac
std::__Cr::locale::locale

PDFium
+0x0f1618
CPDFSDK_AppStream::SetAsTextField
In App
PDFium
+0x0ff208
CPDFSDK_Widget::ResetAppearance
In App
PDFium
+0x100eb8
CPDFSDK_Widget::OnLoad
In App
PDFium
+0x0fdf34
CPDFSDK_PageView::LoadFXAnnots
In App
PDFium
+0x0f735c
CPDFSDK_FormFillEnvironment::GetOrCreatePageView
In App
PDFium
+0x117f08
FPDF_FFLDraw
In App
App
+0x00950c
kDartVmSnapshotInstructions
In App
App
+0x927fa8
kDartIsolateSnapshotInstructions
In App
App
+0x927e34
kDartIsolateSnapshotInstructions
In App
App
+0x927ab4
kDartIsolateSnapshotInstructions
In App
App
+0x1f3704
kDartIsolateSnapshotInstructions
In App
App
+0x1f3668
kDartIsolateSnapshotInstructions
In App
App
+0x7ffebc
kDartIsolateSnapshotInstructions
In App
App
+0x79cfe8
kDartIsolateSnapshotInstructions
In App
App
+0x771a0c
kDartIsolateSnapshotInstructions
In App
App
+0x7718f4
kDartIsolateSnapshotInstructions
In App
App
+0x0f8dd0
kDartIsolateSnapshotInstructions
In App
App
+0x02c3e4
kDartIsolateSnapshotInstructions
In App
App
+0x972120
kDartIsolateSnapshotInstructions
In App
App
+0x04b968
kDartIsolateSnapshotInstructions
In App
App
+0x00baf0
kDartVmSnapshotInstructions
In App
Flutter
+0x53ff40
InternalFlutterGpu_Texture_AsImage
In App
Flutter
+0x54ce08
InternalFlutterGpu_Texture_AsImage
In App
Flutter
+0x551a10
InternalFlutterGpu_Texture_AsImage
In App
Flutter
+0x551824
InternalFlutterGpu_Texture_AsImage
In App
Flutter
+0x5ce948
InternalFlutterGpu_Texture_AsImage
In App
Flutter
+0x5aec3c
InternalFlutterGpu_Texture_AsImage
In App
Called from
libsystem_pthread
+0x0030e8
_pthread_start

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwait for responseWait for the issue author (or some user) response

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions