mautrix / imessage

A Matrix-iMessage puppeting bridge
https://go.mau.fi/mautrix-imessage/
GNU Affero General Public License v3.0
332 stars 36 forks source link

Crashes #118

Open tezlm opened 11 months ago

tezlm commented 11 months ago

[!NOTE] this may be a barcelona issue instead of mautrix-imessage?

Macos 12.6.5 (no sip) mautrix-imessage 0.1.0+dev.49d33ae6 (Aug 3 2023, 06:20:42 with go1.20.7) barcelona downloaded from github actions commit 6a80060

Logs:

Aug  3, 2023 06:34:07 INF 2023-08-03T06:34:07-0700 warning Chat : [Barcelona] Processing chat dictionaryRepresentation for guid iMessage;-;+[redactedphonenumber] and hoping it returns a chat module=iMessage/Barcelona/Stdout
Aug  3, 2023 06:34:07 ERR 2023-08-03 06:34:07.862 darwin-barcelona-mautrix[9527:36127] -[IMChatRegistry _processLoadedChatDictionaries:]: unrecognized selector sent to instance 0x7fd2581040c0 module=iMessage/Barcelona/Stderr
Aug  3, 2023 06:34:07 ERR 2023-08-03 06:34:07.904 darwin-barcelona-mautrix[9527:36127] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[IMChatRegistry _processLoadedChatDictionaries:]: unrecognized selector sent to instance 0x7fd2581040c0'
*** First throw call stack:
(
        0   CoreFoundation                      0x00007ff811f7e773 __exceptionPreprocess + 242
        1   libobjc.A.dylib                     0x00007ff811cdebc3 objc_exception_throw + 48
        2   CoreFoundation                      0x00007ff81200335b -[NSObject(NSObject) __retain_OA] + 0
        3   CoreFoundation                      0x00007ff811ee5535 ___forwarding___ + 1356
        4   CoreFoundation                      0x00007ff811ee4f58 _CF_forwarding_prep_0 + 120
        5   darwin-barcelona-mautrix            0x0000000104d7c536 $s9Barcelona20loadChatMatchingGUID_03badC0So6IMChatCSgSS_AEtF + 4550
        6   darwin-barcelona-mautrix            0x0000000104d76cd0 $s9Barcelona20getIMChatForChatGuidySo0C0CSgSSYaFTY0_ + 480
        7   darwin-barcelona-mautrix            0x0000000104d3f261 $s9Barcelona14CBChatRegistryC9storeChat33_B631F2037A1B2332DAA100A57B2DC58DLL11withDetailsAA0B10IdentifierVSgSDys11AnyHashableVypG_tYaFTQ3_ + 1
        8   darwin-barcelona-mautrix            0x0000000104d40c61 $s9Barcelona14CBChatRegistryC11internalize33_B631F2037A1B2332DAA100A57B2DC58DLL5chatsSaySo6IMChatCGSaySDys11AnyHashableVypGG_tYaFAHSgALYaXEfU0_TQ1_ + 1
        9   darwin-barcelona-mautrix            0x0000000104d46f21 $s9Barcelona14CBChatRegistryC11internalize33_B631F2037A1B2332DAA100A57B2DC58DLL5chatsSaySo6IMChatCGSaySDys11AnyHashableVypGG_tYaFAHSgALYaXEfU0_TATQ0_ + 1
        10  darwin-barcelona-mautrix            0x00000001052897b1 $sST10ExtensionsE8asyncMapySayqd__Gqd__7ElementQzYaKXEYaKlFTQ1_ + 1
        11  darwin-barcelona-mautrix            0x0000000104d40331 $s9Barcelona14CBChatRegistryC11internalize33_B631F2037A1B2332DAA100A57B2DC58DLL5chatsSaySo6IMChatCGSaySDys11AnyHashableVypGG_tYaFTQ1_ + 1
        12  darwin-barcelona-mautrix            0x0000000104d3dad1 $s9Barcelona14CBChatRegistryC11loadedChatsyySaySDys11AnyHashableVypGGSgYaFTQ1_ + 1
        13  darwin-barcelona-mautrix            0x0000000104dbe571 $s9Barcelona22IMDaemonListenerBridgeC11loadedChatsyySaySDys11AnyHashableVypGGSgFyyYaYbcfU_TQ1_ + 1
        14  darwin-barcelona-mautrix            0x0000000104dc0701 $s9Barcelona22IMDaemonListenerBridgeC11loadedChatsyySaySDys11AnyHashableVypGGSgFyyYaYbcfU_TATQ0_ + 1
        15  darwin-barcelona-mautrix            0x0000000104c57521 $sxIeghHr_xs5Error_pIegHrzo_s8SendableRzs5NeverORs_r0_lTRyt_Tg5TQ0_ + 1
        16  darwin-barcelona-mautrix            0x0000000104c53d51 $sxIeghHr_xs5Error_pIegHrzo_s8SendableRzs5NeverORs_r0_lTRyt_Tg5TATQ0_ + 1
        17  libswift_Concurrency.dylib          0x00007ffb2b367441 _ZL23completeTaskWithClosurePN5swift12AsyncContextEPNS_10SwiftErrorE + 1
)
libc++abi: terminating with uncaught exception of type NSException module=iMessage/Barcelona/Stderr
Aug  3, 2023 06:34:07 DBG Standard input closed, ending IPC loop module=iMessage/Mac-noSIP/IPC
Aug  3, 2023 06:34:07 ERR Barcelona died with exit code -1 and error signal: abort trap, exiting bridge... module=iMessage/Mac-noSIP
bobsfriend12 commented 10 months ago

@tezlm I have a similar issue, have been able to find a solution?

tezlm commented 10 months ago

Not yet, unfortunately

one-om-jha commented 10 months ago

I've been trying to compile barcelona myself—unfortunately basically all recent commits immediately segfault when I attempt them.