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

[DocumentViewer] The app is crashing when opening the file on Android device

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P1: Critical
    • None
    • 6.6.1, 6.7.0 Beta2
    • Examples and Demos
    • None
    • Android
    • 54d105b90 (dev), 98ca978ad (6.7)

    Description

      MacOS 14.3

      Qt Creator 12.0.1

      Qt 6.7.0-beta2

      Device: Samsung Galaxy S22 13.0

      Steps to reproduce:

      1. Run the app on an Android device.
      2. Open any file (tried with txt and pdf).

      Expected: The file is opened. 

      Actual: The app crashes.

       

      02-07 12:25:46.055 15927 15950 F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 15950 (qtMainLoopThrea), pid 15927 (.documentviewer)
      02-07 12:25:46.224 16025 16025 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
      02-07 12:25:46.224 16025 16025 F DEBUG   : Build fingerprint: 'samsung/r0sxeea/r0s:13/TP1A.220624.014/S901BXXU2BVKB:user/release-keys'
      02-07 12:25:46.224 16025 16025 F DEBUG   : Revision: '28'
      02-07 12:25:46.224 16025 16025 F DEBUG   : ABI: 'arm64'
      02-07 12:25:46.224 16025 16025 F DEBUG   : Processor: '6'
      02-07 12:25:46.224 16025 16025 F DEBUG   : Timestamp: 2024-02-07 12:25:46.104687927+0100
      02-07 12:25:46.224 16025 16025 F DEBUG   : Process uptime: 4s
      02-07 12:25:46.224 16025 16025 F DEBUG   : Cmdline: org.qtproject.example.documentviewer
      02-07 12:25:46.224 16025 16025 F DEBUG   : pid: 15927, tid: 15950, name: qtMainLoopThrea  >>> org.qtproject.example.documentviewer <<<
      02-07 12:25:46.224 16025 16025 F DEBUG   : uid: 10463
      02-07 12:25:46.224 16025 16025 F DEBUG   : tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
      02-07 12:25:46.224 16025 16025 F DEBUG   : pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
      02-07 12:25:46.224 16025 16025 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000000
      02-07 12:25:46.224 16025 16025 F DEBUG   : Cause: null pointer dereference
      02-07 12:25:46.224 16025 16025 F DEBUG   :     x0  0000000000000000  x1  0000000000000000  x2  0000006ea099b528  x3  0000006e190b5249
      02-07 12:25:46.224 16025 16025 F DEBUG   :     x4  0000000000000000  x5  0000000000000000  x6  6b6b60451f2d6364  x7  7f7f7f7f7f7f7f7f
      02-07 12:25:46.224 16025 16025 F DEBUG   :     x8  000000000000000a  x9  b400006ec98d6350  x10 000000000000002e  x11 0000000000000007
      02-07 12:25:46.224 16025 16025 F DEBUG   :     x12 0000000019818740  x13 0000000000000000  x14 0000000000000000  x15 0000000000000000
      02-07 12:25:46.224 16025 16025 F DEBUG   :     x16 0000006e190fd698  x17 0000006e1f18f664  x18 0000006e22e4c000  x19 b400006eb9697bf0
      02-07 12:25:46.224 16025 16025 F DEBUG   :     x20 0000006ea099ecb0  x21 0000000000000007  x22 0000006ea099beb8  x23 0000006ea099ecb0
      02-07 12:25:46.224 16025 16025 F DEBUG   :     x24 b400006f6968e100  x25 b400006f096a29f0  x26 0000006ea099cf90  x27 0000006ea099ecb0
      02-07 12:25:46.224 16025 16025 F DEBUG   :     x28 0000000000000004  x29 0000006ea099b860
      02-07 12:25:46.224 16025 16025 F DEBUG   :     lr  0000006e190e4b4c  sp  0000006ea099b6a0  pc  0000006e190e4b54  pst 0000000060001000
      02-07 12:25:46.224 16025 16025 F DEBUG   : backtrace:
      02-07 12:25:46.224 16025 16025 F DEBUG   :       #00 pc 000000000004db54  /data/

       

       

      Reproducibility:  100% 

      Note: The issue is not reproducible when I used the example from Qt 6.6.1. 
       

      Attachments

        1. crash_doc.txt
          18 kB
          Łukasz Kosiorowski

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              axelspoerl Axel Spoerl
              lkos Łukasz Kosiorowski
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There is 1 open Gerrit change