There is 1 comment.
 
 
Cristal / cid:jira-generated-image-avatar-fc2d5e01-e333-45c6-a44e-37d303e988e7 CRISTAL-181 Open

Impossible to build electron for mac on linux

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-205765b7-c7e9-40bd-8c97-51e50b4bed7b Vincent Massol on 25/Nov/24 15:53
 

Building on mac and running the installed dmg get me an error:

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------Process:               @xwikicristal-electron [581]
Path:                  /Applications/@xwikicristal-electron.app/Contents/MacOS/@xwikicristal-electron
Identifier:            com.electron.xwikicristal-electron
Version:               0.11.0 (0.11.0)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501Date/Time:             2024-11-25 15:51:23.3391 +0100
OS Version:            macOS 14.6.1 (23G93)
Report Version:        12
Anonymous UUID:        65036EAF-9EDA-9ACF-CC32-C96052FC5274Sleep/Wake UUID:       AEF02089-3EAB-4D9A-9D70-5487D3951F2ETime Awake Since Boot: 2400000 seconds
Time Since Wake:       3568 secondsSystem Integrity Protection: enabledCrashed Thread:        0  Dispatch queue: com.apple.main-threadException Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000001, 0x000000010fbc2d90Termination Reason:    Namespace SIGNAL, Code 5 Trace/BPT trap: 5
Terminating Process:   exc handler [581]Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   Electron Framework                       0x10fbc2d90 ares_dns_rr_get_name + 4507168
1   Electron Framework                       0x10fbc2cc8 ares_dns_rr_get_name + 4506968
2   Electron Framework                       0x10fbc2820 ares_dns_rr_get_name + 4505776
3   Electron Framework                       0x10fbc2e48 ares_dns_rr_get_name + 4507352
4   Electron Framework                       0x10fbc2e60 ares_dns_rr_get_name + 4507376
5   Electron Framework                       0x10c8bed18 node::FreeArrayBufferAllocator(node::ArrayBufferAllocator*) + 183712
6   Electron Framework                       0x10c70d918 ElectronMain + 168
7   dyld                                     0x18efc3154 start + 2476
Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x00000001156b9810   x1: 0x0000012000081200   x2: 0x0000000000000400   x3: 0x000000016d2c7368
    x4: 0x000000016d2c7000   x5: 0x0000000000000020   x6: 0x000000016d2c5da0   x7: 0x000000000000009e
    x8: 0x0000000000000000   x9: 0x0000000000000000  x10: 0x0000000000000000  x11: 0x0000000000000002
   x12: 0x0000000000000000  x13: 0x0000000000000000  x14: 0x000000018f1d8b71  x15: 0x00000001f71a0460
   x16: 0x000000018f348a44  x17: 0x00000001f719cf40  x18: 0x0000000000000000  x19: 0x0000000000000056
   x20: 0x000000016d2c75e8  x21: 0x000000016d2c73e8  x22: 0x0000000115652000  x23: 0x000000016d2c7420
   x24: 0x0000000000000002  x25: 0x00000001f719f740  x26: 0x0000000000000011  x27: 0x0000000000000041
   x28: 0x0000000000000057   fp: 0x000000016d2c73d0   lr: 0x000000010fbc2cc8
    sp: 0x000000016d2c6fa0   pc: 0x000000010fbc2d90 cpsr: 0x60001000
   far: 0x0000000000000000  esr: 0xf2000000 (Breakpoint) brk 0Binary Images:
       0x10c47c000 -        0x11500bfff com.github.Electron.framework (*) <4c4c4486-5555-3144-a1fe-f5b8211ade88> /Applications/@xwikicristal-electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework
       0x102fb8000 -        0x102fcffff com.github.Squirrel (1.0) <4c4c44fb-5555-3144-a1e2-59b5ba00b4ad> /Applications/@xwikicristal-electron.app/Contents/Frameworks/Squirrel.framework/Versions/A/Squirrel
       0x103038000 -        0x10307bfff com.electron.reactive (3.1.0) <4c4c4433-5555-3144-a1b8-94ccc8503ff9> /Applications/@xwikicristal-electron.app/Contents/Frameworks/ReactiveObjC.framework/Versions/A/ReactiveObjC
       0x102fdc000 -        0x102fe7fff org.mantle.Mantle (1.0) <4c4c448d-5555-3144-a1ab-e3d3d8d10b8f> /Applications/@xwikicristal-electron.app/Contents/Frameworks/Mantle.framework/Versions/A/Mantle
       0x103294000 -        0x10344ffff libffmpeg.dylib (*) <4c4c4472-5555-3144-a1b4-a9a3dc1b6aa9> /Applications/@xwikicristal-electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libffmpeg.dylib
       0x102b38000 -        0x102b3bfff com.electron.xwikicristal-electron (0.11.0) <4c4c44f8-5555-3144-a177-fbec4cffd889> /Applications/@xwikicristal-electron.app/Contents/MacOS/@xwikicristal-electron
       0x18efbd000 -        0x18f046507 dyld (*) <f635824e-318b-3f0c-842c-c369737f2b68> /usr/lib/dyld
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x18f199000 -        0x18f1e0fff libdispatch.dylib (*) <1a1ce00a-89cd-36ba-9678-5038aedd0d8d> /usr/lib/system/libdispatch.dylib
       0x18f347000 -        0x18f353fff libsystem_pthread.dylib (*) <e03e8478-6f5c-3d21-a79a-58408f514000> /usr/lib/system/libsystem_pthread.dylibExternal 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: 0VM Region Summary:
ReadOnly portion of Libraries: Total=1.5G resident=0K(0%) swapped_out_or_unallocated=1.5G(100%)
Writable regions: Total=30.7M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=30.7M(100%)                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Activity Tracing                   256K        1 
Kernel Alloc Once                   32K        1 
MALLOC                            18.2M       12 
MALLOC guard page                   96K        6 
Memory Tag 253                    32.0G       28 
PROTECTED_MEMORY                    16K        1 
STACK GUARD                       56.0M        1 
Stack                             8176K        1 
__AUTH                            3247K      546 
__AUTH_CONST                      39.8M      795 
__CTF                               824        1 
__DATA                            19.5M      786 
__DATA_CONST                      47.0M      809 
__DATA_DIRTY                      2869K      317 
__FONT_DATA                          4K        1 
__INFO_FILTER                         8        1 
__LINKEDIT                       528.2M        7 
__OBJC_RO                         71.9M        1 
__OBJC_RW                         2200K        1 
__TEXT                           975.7M      826 
dyld private memory                272K        2 
mapped file                         64K        1 
shared memory                       32K        2 
===========                     =======  ======= 
TOTAL                             33.7G     4147