Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instant crash with Nicotine+ 3.3.0-rc3 with Apple Silicon image #2842

Closed
toineenzo opened this issue Jan 30, 2024 · 5 comments · Fixed by #2844
Closed

Instant crash with Nicotine+ 3.3.0-rc3 with Apple Silicon image #2842

toineenzo opened this issue Jan 30, 2024 · 5 comments · Fixed by #2844
Labels
Milestone

Comments

@toineenzo
Copy link
Contributor

Nicotine+ version: 3.3.0-rc3

Operating System/Distribution: macOS 14.2.1 on a Macbook Pro 2021, 14-inch, 16GB RAM, Apple M1 Pro

Describe the bug

When I download the latest native Nicotine+ image for Apple Silicon chips and open it, it instantly crashes and shows a crash log (see below for the log)

Expected behavior

For Nicotine+ to not crash

Additional context

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

Process:               Nicotine+ [38536]
Path:                  /Applications/Nicotine+.app/Contents/MacOS/Nicotine+
Identifier:            org.nicotine_plus.Nicotine
Version:               3.3.0rc3 (3.3.0rc3)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2024-01-30 20:49:45.4860 +0100
OS Version:            macOS 14.2.1 (23C71)
Report Version:        12
Anonymous UUID:        409E985B-6972-483A-1FAA-7EDDC8F3506A

Sleep/Wake UUID:       59DC30D6-BCFB-4C1C-9363-CBD977E8211D

Time Awake Since Boot: 78000 seconds
Time Since Wake:       4965 seconds

System Integrity Protection: enabled

Crashed Thread:        0

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

Termination Reason:    Namespace DYLD, Code 1 Library missing
Library not loaded: @executable_path/lib/Python
Referenced from: <FD229C07-583F-38C6-AF23-6E1182FC4877> /Applications/Nicotine+.app/Contents/MacOS/Nicotine+
Reason: tried: '/Applications/Nicotine+.app/Contents/MacOS/lib/Python' (code signature in <3008368F-402B-3060-8375-FDADC155A1EA> '/Applications/Nicotine+.app/Contents/Resources/lib/Python' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs), '/usr/lib/Python' (no such file, not in dyld cache)
(terminated at launch; ignore backtrace)

Thread 0 Crashed:
0   dyld                          	       0x18106255c __abort_with_payload + 8
1   dyld                          	       0x18106eb10 abort_with_payload_wrapper_internal + 104
2   dyld                          	       0x18106eb44 abort_with_payload + 16
3   dyld                          	       0x180ff5584 dyld4::halt(char const*, dyld4::StructuredError const*) + 304
4   dyld                          	       0x180ff2254 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3884
5   dyld                          	       0x180ff0edc start + 1844


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000006   x1: 0x0000000000000001   x2: 0x000000016eeb2910   x3: 0x0000000000000065
    x4: 0x000000016eeb2510   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x0000000000000c70
    x8: 0x0000000000000020   x9: 0x000000016eeb2491  x10: 0x000000000000000a  x11: 0x0000000000000000
   x12: 0x0000000000000033  x13: 0x1000000000000000  x14: 0x0000000000000004  x15: 0x0000000000008000
   x16: 0x0000000000000209  x17: 0x0000000180fee37c  x18: 0x0000000000000000  x19: 0x0000000000000000
   x20: 0x000000016eeb2510  x21: 0x0000000000000065  x22: 0x000000016eeb2910  x23: 0x0000000000000001
   x24: 0x0000000000000006  x25: 0x000000016eeb3348  x26: 0x000000016eeb3288  x27: 0x0000000000000000
   x28: 0x000000001f070004   fp: 0x000000016eeb24e0   lr: 0x000000018106eb10
    sp: 0x000000016eeb24a0   pc: 0x000000018106255c cpsr: 0x80001000
   far: 0x0000000000000000  esr: 0x56000080  Address size fault

Binary Images:
       0x100f4c000 -        0x100f4ffff org.nicotine_plus.Nicotine (3.3.0rc3) <fd229c07-583f-38c6-af23-6e1182fc4877> /Applications/Nicotine+.app/Contents/MacOS/Nicotine+
       0x180feb000 -        0x18107f347 dyld (*) <324e4ad9-e01f-3183-b09f-3e20b326643a> /usr/lib/dyld
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

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=892.0M resident=0K(0%) swapped_out_or_unallocated=892.0M(100%)
Writable regions: Total=12.3M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=12.3M(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
STACK GUARD                       56.0M        1 
Stack                             8176K        1 
VM_ALLOCATE                         16K        1 
__DATA                              27K        2 
__DATA_CONST                        38K        2 
__DATA_DIRTY                         7K        1 
__LINKEDIT                       891.4M        2 
__TEXT                             612K        2 
dyld private memory               4384K        4 
===========                     =======  ======= 
TOTAL                            960.4M       16 



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

{"app_name":"Nicotine+","timestamp":"2024-01-30 20:49:45.00 +0100","app_version":"3.3.0rc3","slice_uuid":"fd229c07-583f-38c6-af23-6e1182fc4877","build_version":"3.3.0rc3","platform":1,"bundleID":"org.nicotine_plus.Nicotine","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 14.2.1 (23C71)","roots_installed":0,"name":"Nicotine+","incident_id":"65471360-9C1B-4BE9-910C-054440640C0B"}
{
  "uptime" : 78000,
  "procRole" : "Default",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro18,3",
  "coalitionID" : 15996,
  "osVersion" : {
    "train" : "macOS 14.2.1",
    "build" : "23C71",
    "releaseType" : "User"
  },
  "captureTime" : "2024-01-30 20:49:45.4860 +0100",
  "codeSigningMonitor" : 1,
  "incident" : "65471360-9C1B-4BE9-910C-054440640C0B",
  "pid" : 38536,
  "translated" : false,
  "cpuType" : "ARM-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2024-01-30 20:49:45.4377 +0100",
  "procStartAbsTime" : 1889605777948,
  "procExitAbsTime" : 1889606651279,
  "procName" : "Nicotine+",
  "procPath" : "\/Applications\/Nicotine+.app\/Contents\/MacOS\/Nicotine+",
  "bundleInfo" : {"CFBundleShortVersionString":"3.3.0rc3","CFBundleVersion":"3.3.0rc3","CFBundleIdentifier":"org.nicotine_plus.Nicotine"},
  "storeInfo" : {"deviceIdentifierForVendor":"0F86B88A-3D33-5C72-A570-BE2BA5C178D7","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "org.nicotine_plus.Nicotine",
  "crashReporterKey" : "409E985B-6972-483A-1FAA-7EDDC8F3506A",
  "codeSigningID" : "org.nicotine_plus.Nicotine",
  "codeSigningTeamID" : "",
  "codeSigningFlags" : 570503953,
  "codeSigningValidationCategory" : 10,
  "codeSigningTrustLevel" : 4294967295,
  "instructionByteStream" : {"beforePC":"1AAAABABAAAYAQAAIAEAACgBAAAwAQAAOAEAAFQBAAAwQYDSARAA1A==","atPC":"AwEAVH8jA9X9e7+p\/QMAkUcu\/pe\/AwCR\/XvBqP8PX9bAA1\/WEC2A0g=="},
  "wakeTime" : 4965,
  "sleepWakeUUID" : "59DC30D6-BCFB-4C1C-9363-CBD977E8211D",
  "sip" : "enabled",
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
  "termination" : {"code":1,"flags":518,"namespace":"DYLD","indicator":"Library missing","details":["(terminated at launch; ignore backtrace)"],"reasons":["Library not loaded: @executable_path\/lib\/Python","Referenced from: <FD229C07-583F-38C6-AF23-6E1182FC4877> \/Applications\/Nicotine+.app\/Contents\/MacOS\/Nicotine+","Reason: tried: '\/Applications\/Nicotine+.app\/Contents\/MacOS\/lib\/Python' (code signature in <3008368F-402B-3060-8375-FDADC155A1EA> '\/Applications\/Nicotine+.app\/Contents\/Resources\/lib\/Python' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs), '\/usr\/lib\/Python' (no such file, not in dyld cache)"]},
  "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":1898227,"threadState":{"x":[{"value":6},{"value":1},{"value":6155872528},{"value":101},{"value":6155871504},{"value":0},{"value":0},{"value":3184},{"value":32},{"value":6155871377},{"value":10},{"value":0},{"value":51},{"value":1152921504606846976},{"value":4},{"value":32768},{"value":521},{"value":6459155324,"symbolLocation":416,"symbol":"__simple_bprintf"},{"value":0},{"value":0},{"value":6155871504},{"value":101},{"value":6155872528},{"value":1},{"value":6},{"value":6155875144},{"value":6155874952},{"value":0},{"value":520552452}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6459681552},"cpsr":{"value":2147487744},"fp":{"value":6155871456},"sp":{"value":6155871392},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6459630940,"matchesCrashFrame":1},"far":{"value":0}},"frames":[{"imageOffset":488796,"symbol":"__abort_with_payload","symbolLocation":8,"imageIndex":1},{"imageOffset":539408,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":104,"imageIndex":1},{"imageOffset":539460,"symbol":"abort_with_payload","symbolLocation":16,"imageIndex":1},{"imageOffset":42372,"symbol":"dyld4::halt(char const*, dyld4::StructuredError const*)","symbolLocation":304,"imageIndex":1},{"imageOffset":29268,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":3884,"imageIndex":1},{"imageOffset":24284,"symbol":"start","symbolLocation":1844,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4311007232,
    "CFBundleShortVersionString" : "3.3.0rc3",
    "CFBundleIdentifier" : "org.nicotine_plus.Nicotine",
    "size" : 16384,
    "uuid" : "fd229c07-583f-38c6-af23-6e1182fc4877",
    "path" : "\/Applications\/Nicotine+.app\/Contents\/MacOS\/Nicotine+",
    "name" : "Nicotine+",
    "CFBundleVersion" : "3.3.0rc3"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6459142144,
    "size" : 607048,
    "uuid" : "324e4ad9-e01f-3183-b09f-3e20b326643a",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  }
],
  "sharedCache" : {
  "base" : 6458392576,
  "size" : 4061216768,
  "uuid" : "f9ddd844-7f3f-34bd-be29-f0c72d5e5449"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=892.0M resident=0K(0%) swapped_out_or_unallocated=892.0M(100%)\nWritable regions: Total=12.3M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=12.3M(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__DATA                              27K        2 \n__DATA_CONST                        38K        2 \n__DATA_DIRTY                         7K        1 \n__LINKEDIT                       891.4M        2 \n__TEXT                             612K        2 \ndyld private memory               4384K        4 \n===========                     =======  ======= \nTOTAL                            960.4M       16 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "logWritingSignature" : "dd368914e8fe922053c80121cf8a35f74eef0546",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "60356660bbe37970735c5624",
      "factorPackIds" : {

      },
      "deploymentId" : 240000027
    },
    {
      "rolloutId" : "64628732bf2f5257dedc8988",
      "factorPackIds" : {

      },
      "deploymentId" : 240000001
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "52e9806b-48cf-4718-ba06-6aaa79468566",
      "experimentId" : "6553f184553f07431fda611f",
      "deploymentId" : 400000009
    }
  ]
}
}

Model: MacBookPro18,3, BootROM 10151.61.4, proc 8:6:2 processors, 16 GB, SMC 
Graphics: Apple M1 Pro, Apple M1 Pro, Built-In
Display: Color LCD, 3024 x 1964 Retina, Main, MirrorOff, Online
Memory Module: LPDDR5, Samsung
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4387), wl0: Sep  1 2023 19:46:07 version 20.10.1073.3.8.7.165 FWID 01-b66346c5
AirPort: 
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB31Bus
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
@toineenzo toineenzo added the bug label Jan 30, 2024
@mathiascode
Copy link
Member

Can you check if the latest build works?

@joeynotjoe
Copy link

I had the same issue, but just downloaded the version from here and it is working normally, thanks!

@slook slook added this to the 3.3.0 milestone Jan 31, 2024
slook added a commit to slook/nicotine-plus that referenced this issue Jan 31, 2024
slook added a commit to slook/nicotine-plus that referenced this issue Jan 31, 2024
@mathiascode
Copy link
Member

@toineenzo Is it working on your end too?

@mathiascode
Copy link
Member

Assuming this is fixed.

mathiascode pushed a commit that referenced this issue Feb 1, 2024
@toineenzo
Copy link
Contributor Author

Assuming this is fixed.

yes, stable works great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

4 participants