Bug 486188 - kid3 3.9.5 Apple Silicon crashes at start on macOS 12
Summary: kid3 3.9.5 Apple Silicon crashes at start on macOS 12
Status: RESOLVED FIXED
Alias: None
Product: kid3
Classification: Applications
Component: general (show other bugs)
Version: 3.9.x
Platform: macOS (DMG) macOS
: NOR crash
Target Milestone: ---
Assignee: Urs Fleisch
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-27 07:29 UTC by Demi Portion
Modified: 2024-08-10 22:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Error popup displayed (234.07 KB, image/png)
2024-04-27 07:29 UTC, Demi Portion
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Demi Portion 2024-04-27 07:29:13 UTC
Created attachment 168940 [details]
Error popup displayed

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
When trying to start kid3 3.9.5 Apple Silicon, the app crashes at start.

STEPS TO REPRODUCE
1. Download the app kid3 3.9.5 Apple Silicon (Maxwell version)
2. Installe the app
3. Start the app

OBSERVED RESULT
The app crashes and a popup displays an error message.

EXPECTED RESULT
The app start and displays the main window.

SOFTWARE/OS VERSIONS
macOS: 12.7.4
Qt Version: 6.5.3

ADDITIONAL INFORMATION
(See attached screenshots)
Error report :

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               kid3 [1296]
Path:                  /private/var/folders/*/kid3.app/Contents/MacOS/kid3
Identifier:            org.kde.kid3
Version:               3.9.5 ()
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2024-04-27 09:21:02.6186 +0200
OS Version:            macOS 12.7.4 (21H1123)
Report Version:        12
Anonymous UUID:        67835BEF-BABA-338B-85A2-80A4942FD658

Sleep/Wake UUID:       9C5D2277-E5C3-4CD4-9F92-98542AB267A3

Time Awake Since Boot: 2800 seconds
Time Since Wake:       1635 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace DYLD, Code 4 Symbol missing
Symbol not found: (__ZNSt3__13pmr15memory_resourceD2Ev)
Referenced from: '/private/var/folders/*/kid3.app/Contents/Frameworks/QtXml.framework/Versions/A/QtXml'
Expected in: '/usr/lib/libc++.1.dylib'
(terminated at launch; ignore backtrace)

Thread 0 Crashed:
0   dyld                          	       0x100c5fea8 __abort_with_payload + 8
1   dyld                          	       0x100c67064 abort_with_payload_wrapper_internal + 104
2   dyld                          	       0x100c67098 abort_with_payload + 16
3   dyld                          	       0x100c1ea28 dyld4::halt(char const*) + 580
4   dyld                          	       0x100c19fb8 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3644
5   dyld                          	       0x100c1906c start + 488


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000006   x1: 0x0000000000000004   x2: 0x000000016f3ce098   x3: 0x00000000000000ff
    x4: 0x000000016f3cdc98   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x000000016f3cd710
    x8: 0x0000000000000020   x9: 0x0000000000000009  x10: 0x000000016f3cdda4  x11: 0x0000000000000123
   x12: 0x0000000000000000  x13: 0x0000000000000031  x14: 0x000000023f14c79a  x15: 0x0000000000000013
   x16: 0x0000000000000209  x17: 0x0000000100c1714c  x18: 0x0000000000000000  x19: 0x0000000000000000
   x20: 0x000000016f3cdc98  x21: 0x00000000000000ff  x22: 0x000000016f3ce098  x23: 0x0000000000000004
   x24: 0x0000000000000006  x25: 0x000000016f3cdc98  x26: 0x0000000000000400  x27: 0x0000000000000400
   x28: 0x000000000000010c   fp: 0x000000016f3cdc60   lr: 0x0000000100c67064
    sp: 0x000000016f3cdc20   pc: 0x0000000100c5fea8 cpsr: 0x00001000
   far: 0x0000000000000000  esr: 0x56000080  Address size fault

Binary Images:
       0x100c14000 -        0x100c73fff dyld (*) <8a9fc57b-83a2-36b5-8b86-7045756d8b7a> /usr/lib/dyld

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=820.3M resident=0K(0%) swapped_out_or_unallocated=820.3M(100%)
Writable regions: Total=9328K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=9328K(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
STACK GUARD                       56.0M        1 
Stack                             8176K        1 
VM_ALLOCATE                         16K        1 
__AUTH                            1678K      114 
__AUTH_CONST                      8147K      247 
__DATA                            8020K      253 
__DATA_CONST                       9.8M      274 
__DATA_DIRTY                       544K       87 
__FONT_DATA                          4K        1 
__LINKEDIT                       589.9M       31 
__OBJC_CONST                      1063K       92 
__OBJC_RO                         83.0M        1 
__OBJC_RW                         3168K        1 
__TEXT                           230.4M      288 
__UNICODE                          592K        1 
dyld private memory               1024K        1 
===========                     =======  ======= 
TOTAL                              1.0G     1394 



-----------
Full Report
-----------

{"app_name":"kid3","timestamp":"2024-04-27 09:21:02.00 +0200","app_version":"3.9.5","slice_uuid":"e9ab8030-3edc-303b-b598-49235b85703e","build_version":"","platform":1,"bundleID":"org.kde.kid3","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.7.4 (21H1123)","incident_id":"D01C5383-3F25-4201-A028-162E7F4996F8","name":"kid3"}
{
  "uptime" : 2800,
  "procLaunch" : "2024-04-27 09:21:01.2830 +0200",
  "procRole" : "Background",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "Macmini9,1",
  "procStartAbsTime" : 67866362730,
  "coalitionID" : 1095,
  "osVersion" : {
    "train" : "macOS 12.7.4",
    "build" : "21H1123",
    "releaseType" : "User"
  },
  "captureTime" : "2024-04-27 09:21:02.6186 +0200",
  "incident" : "D01C5383-3F25-4201-A028-162E7F4996F8",
  "bug_type" : "309",
  "pid" : 1296,
  "procExitAbsTime" : 67898413742,
  "translated" : false,
  "cpuType" : "ARM-64",
  "procName" : "kid3",
  "procPath" : "\/private\/var\/folders\/*\/kid3.app\/Contents\/MacOS\/kid3",
  "bundleInfo" : {"CFBundleShortVersionString":"3.9.5","CFBundleVersion":"","CFBundleIdentifier":"org.kde.kid3"},
  "storeInfo" : {"deviceIdentifierForVendor":"92D3B523-65E6-59D8-8E5D-B93F3C7BCB76","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "org.kde.kid3",
  "crashReporterKey" : "67835BEF-BABA-338B-85A2-80A4942FD658",
  "wakeTime" : 1635,
  "sleepWakeUUID" : "9C5D2277-E5C3-4CD4-9F92-98542AB267A3",
  "sip" : "enabled",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
  "termination" : {"code":4,"flags":518,"namespace":"DYLD","indicator":"Symbol missing","details":["(terminated at launch; ignore backtrace)"],"reasons":["Symbol not found: (__ZNSt3__13pmr15memory_resourceD2Ev)","Referenced from: '\/private\/var\/folders\/*\/kid3.app\/Contents\/Frameworks\/QtXml.framework\/Versions\/A\/QtXml'","Expected in: '\/usr\/lib\/libc++.1.dylib'"]},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":29985,"threadState":{"x":[{"value":6},{"value":4},{"value":6161227928},{"value":255},{"value":6161226904},{"value":0},{"value":0},{"value":6161225488},{"value":32},{"value":9},{"value":6161227172},{"value":291},{"value":0},{"value":49},{"value":9648261018},{"value":19},{"value":521},{"value":4307644748,"symbolLocation":392,"symbol":"__simple_bprintf"},{"value":0},{"value":0},{"value":6161226904},{"value":255},{"value":6161227928},{"value":4},{"value":6},{"value":6161226904},{"value":1024},{"value":1024},{"value":268}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4307972196},"cpsr":{"value":4096},"fp":{"value":6161226848},"sp":{"value":6161226784},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":4307943080,"matchesCrashFrame":1},"far":{"value":0}},"frames":[{"imageOffset":310952,"symbol":"__abort_with_payload","symbolLocation":8,"imageIndex":0},{"imageOffset":340068,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":104,"imageIndex":0},{"imageOffset":340120,"symbol":"abort_with_payload","symbolLocation":16,"imageIndex":0},{"imageOffset":43560,"symbol":"dyld4::halt(char const*)","symbolLocation":580,"imageIndex":0},{"imageOffset":24504,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":3644,"imageIndex":0},{"imageOffset":20588,"symbol":"start","symbolLocation":488,"imageIndex":0}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4307632128,
    "size" : 393216,
    "uuid" : "8a9fc57b-83a2-36b5-8b86-7045756d8b7a",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  }
],
  "sharedCache" : {
  "base" : 7167508480,
  "size" : 3144810496,
  "uuid" : "f177c0b6-4f82-3dd9-a026-bab013545cf7"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=820.3M resident=0K(0%) swapped_out_or_unallocated=820.3M(100%)\nWritable regions: Total=9328K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=9328K(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nSTACK GUARD                       56.0M        1 \nStack                             8176K        1 \nVM_ALLOCATE                         16K        1 \n__AUTH                            1678K      114 \n__AUTH_CONST                      8147K      247 \n__DATA                            8020K      253 \n__DATA_CONST                       9.8M      274 \n__DATA_DIRTY                       544K       87 \n__FONT_DATA                          4K        1 \n__LINKEDIT                       589.9M       31 \n__OBJC_CONST                      1063K       92 \n__OBJC_RO                         83.0M        1 \n__OBJC_RW                         3168K        1 \n__TEXT                           230.4M      288 \n__UNICODE                          592K        1 \ndyld private memory               1024K        1 \n===========                     =======  ======= \nTOTAL                              1.0G     1394 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "6297d96be2c9387df974efa4",
      "factorPackIds" : {

      },
      "deploymentId" : 240000025
    },
    {
      "rolloutId" : "61301e3a61217b3110231469",
      "factorPackIds" : {
        "SIRI_FIND_MY_CONFIGURATION_FILES" : "652886aa2c02f032beae8316"
      },
      "deploymentId" : 240000028
    }
  ],
  "experiments" : [

  ]
}
}

Model: Macmini9,1, BootROM 10151.101.3, proc 8:4:4 processors, 16 GB, SMC 
Graphics: Apple M1, Apple M1, Built-In
Display: DELL U2715H, 2560 x 1440 (QHD/WQHD - Wide Quad High Definition), Main, MirrorOff, Online
Memory Module: LPDDR4
AirPort: Wi-Fi, wl0: Mar 23 2022 19:57:59 version 18.60.27.0.7.8.129 FWID 01-570be953
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Network Service: iPhone 2, Ethernet, en7
Network Service: iPhone 3, Ethernet, en8
USB Device: USB31Bus
USB Device: Ugreen Storage Device
USB Device: USB31Bus
USB Device: USB3.0 Hub
USB Device: USB2.0 Hub
USB Device: YP-T7
USB Device: HD Pro Webcam C920
USB Device: iPhone
USB Device: USB Billboard Device
USB Device: USB30Bus
USB Device: hub_device
USB Device: Jabra Link 380
USB Device: SA9023 USB Audio
Thunderbolt Bus: Mac mini, Apple Inc.
Thunderbolt Bus: Mac mini, Apple Inc.
Comment 1 Urs Fleisch 2024-04-28 06:47:06 UTC
Thanks for the report. Unfortunately, I do not own any Apple Silicon hardware, so I cannot debug this. Nevertheless, I have tried to investigate the problem and have forwarded my findings to Leo Maxwell, see https://invent.kde.org/multimedia/kid3/-/issues/573#note_931453.
Comment 2 Demi Portion 2024-04-28 09:07:47 UTC
(In reply to Urs Fleisch from comment #1)
> Thanks for the report. Unfortunately, I do not own any Apple Silicon
> hardware, so I cannot debug this. Nevertheless, I have tried to investigate
> the problem and have forwarded my findings to Leo Maxwell, see
> https://invent.kde.org/multimedia/kid3/-/issues/573#note_931453.

Thank you
Comment 3 Urs Fleisch 2024-08-10 17:42:41 UTC
I finally managed to build signed an notarized packages for both the arm64 and x86_64 via the KDE CI/CD infrastructure. Could you please check if kid3-git20240810-Darwin-arm64.dmg and kid3-git20240810-Darwin-amd64.dmg from https://sourceforge.net/projects/kid3/files/kid3/development/ are working correctly?
Comment 4 Demi Portion 2024-08-10 22:00:39 UTC
(In reply to Urs Fleisch from comment #3)
> I finally managed to build signed an notarized packages for both the arm64
> and x86_64 via the KDE CI/CD infrastructure. Could you please check if
> kid3-git20240810-Darwin-arm64.dmg and kid3-git20240810-Darwin-amd64.dmg from
> https://sourceforge.net/projects/kid3/files/kid3/development/ are working
> correctly?

Hi,
It is workling perfecly. Thank you so much for your work.
Best Regards,
Demi Portion