Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-126545

ios: Crash if trying to use Qt PDF on real device

    XMLWordPrintable

Details

    • iOS/tvOS/watchOS
    • bb4e81e46 (122-based)

    Description

      Does not seem to reproduce on iOS simulator. Crashes look like this:

      1 partition_alloc::internal::(anonymous namespace)::HandlePoolAllocFailure() (arm64) /Users/user/Qt/Examples/Qt-6.7.1/pdf/multipage/build/Qt_6_7_1_for_iOS/RelWithDebInfo-iphoneos/multipage.app/multipage 0x103270698
      
      2 partition_alloc::internal::PartitionAddressSpace::Init() (arm64) /Users/user/Qt/Examples/Qt-6.7.1/pdf/multipage/build/Qt_6_7_1_for_iOS/RelWithDebInfo-iphoneos/multipage.app/multipage 0x10327065c
      
      3 partition_alloc::PartitionRoot::Init(partition_alloc::PartitionOptions) (arm64) /Users/user/Qt/Examples/Qt-6.7.1/pdf/multipage/build/Qt_6_7_1_for_iOS/RelWithDebInfo-iphoneos/multipage.app/multipage 0x1032711c0
      
      4 partition_alloc::PartitionAllocator::init(partition_alloc::PartitionOptions) (arm64) /Users/user/Qt/Examples/Qt-6.7.1/pdf/multipage/build/Qt_6_7_1_for_iOS/RelWithDebInfo-iphoneos/multipage.app/multipage 0x103270804
      
      5 partition_alloc::PartitionAllocator::PartitionAllocator(partition_alloc::PartitionOptions) (arm64) /Users/user/Qt/Examples/Qt-6.7.1/pdf/multipage/build/Qt_6_7_1_for_iOS/RelWithDebInfo-iphoneos/multipage.app/multipage 0x10326dd3c
      
      6 pdfium::base::NoDestructor<partition_alloc::PartitionAllocator>::NoDestructor<partition_alloc::PartitionOptions const&>(partition_alloc::PartitionOptions const&) (arm64) /Users/user/Qt/Examples/Qt-6.7.1/pdf/multipage/build/Qt_6_7_1_for_iOS/RelWithDebInfo-iphoneos/multipage.app/multipage 0x10326dcfc
      
      7 (anonymous namespace)::GetArrayBufferPartitionAllocator() (arm64) /Users/user/Qt/Examples/Qt-6.7.1/pdf/multipage/build/Qt_6_7_1_for_iOS/RelWithDebInfo-iphoneos/multipage.app/multipage 0x10326dcc8
      
      8 FX_InitializeMemoryAllocators() (arm64) /Users/user/Qt/Examples/Qt-6.7.1/pdf/multipage/build/Qt_6_7_1_for_iOS/RelWithDebInfo-iphoneos/multipage.app/multipage 0x10326dc60
      
      9 FPDF_InitLibraryWithConfig (arm64) /Users/user/Qt/Examples/Qt-6.7.1/pdf/multipage/build/Qt_6_7_1_for_iOS/RelWithDebInfo-iphoneos/multipage.app/multipage 0x103367c80
      
      10 QPdfDocumentPrivate::QPdfDocumentPrivate() (arm64) /Users/user/Qt/Examples/Qt-6.7.1/pdf/multipage/build/Qt_6_7_1_for_iOS/RelWithDebInfo-iphoneos/multipage.app/multipage 0x1033724c4
      
      11 QPdfDocument::QPdfDocument(QObject *) (arm64) /Users/user/Qt/Examples/Qt-6.7.1/pdf/multipage/build/Qt_6_7_1_for_iOS/RelWithDebInfo-iphoneos/multipage.app/multipage 0x1033749a0
      
      12 QPdfDocument::QPdfDocument() qpdfdocument.h 69 0x102c841dc
      
      13 main main.cpp 17 0x102c841d0
      
      14 user_main_trampoline() (arm64) /Users/user/Qt/Examples/Qt-6.7.1/pdf/multipage/build/Qt_6_7_1_for_iOS/RelWithDebInfo-iphoneos/multipage.app/multipage 0x102eba1c0
      
      15 +[QIOSApplicationStateTracker applicationDidFinishLaunching:] (arm64) /Users/user/Qt/Examples/Qt-6.7.1/pdf/multipage/build/Qt_6_7_1_for_iOS/RelWithDebInfo-iphoneos/multipage.app/multipage 0x102eb9f84
      
      16 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ (arm64e) /Users/user/Library/Developer/Xcode/iOS DeviceSupport/16.4.1 (20E252) arm64e/Symbols/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 0x1b8c20670
      
      17 ___CFXRegistrationPost_block_invoke (arm64e) /Users/user/Library/Developer/Xcode/iOS DeviceSupport/16.4.1 (20E252) arm64e/Symbols/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 0x1b8cc4910
      
      18 _CFXRegistrationPost (arm64e) /Users/user/Library/Developer/Xcode/iOS DeviceSupport/16.4.1 (20E252) arm64e/Symbols/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 0x1b8ca79a8
      
      19 _CFXNotificationPost (arm64e) /Users/user/Library/Developer/Xcode/iOS DeviceSupport/16.4.1 (20E252) arm64e/Symbols/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 0x1b8c34bdc
      
      20 -[NSNotificationCenter postNotificationName:object:userInfo:] (arm64e) /Users/user/Library/Developer/Xcode/iOS DeviceSupport/16.4.1 (20E252) arm64e/Symbols/System/Library/Frameworks/Foundation.framework/Foundation 0x1b2f98e28 
      

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-126545
          # Subject Branch Project Status CR V

          Activity

            People

              srutledg Shawn Rutledge
              poikelin Joni Poikelin
              Votes:
              4 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There is 1 open Gerrit change