tigase / beagle-im

(M) XMPP client for macOS based on TigaseSwift XMPP library
GNU General Public License v3.0
184 stars 21 forks source link

Crash when adding account #62

Open hknoerrer opened 4 years ago

hknoerrer commented 4 years ago

Describe the bug BeagleIM dies unexpectedly when adding XMPP account.

To Reproduce Steps to reproduce the behavior: Installed BeagleIM 4.1 (110) via AppStore on OSX 10.15.7. Open BeagleIM. Window "No account" appears. Click on "Yes" to add a XMPP account. Enter Username and Password. Click on "Log in" BeagleIM dies unexpectedly.

Expected behavior Should not die

Screenshots

Desktop (please complete the following information):

Additional context Process: BeagleIM [15038] Path: /Applications/BeagleIM.app/Contents/MacOS/BeagleIM Identifier: org.tigase.messenger.BeagleIM Version: 4.1 (110) App Item ID: 1445349494 App External ID: 838873620 Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: BeagleIM [15038] User ID: 501

Date/Time: 2020-11-20 10:51:39.723 +0100 OS Version: Mac OS X 10.15.7 (19H15) Report Version: 12 Bridge OS Version: 3.0 (14Y908) Anonymous UUID: 3441BCD9-70D1-309E-EE3A-F5FBFCA41DD7

Time Awake Since Boot: 14000 seconds

System Integrity Protection: enabled

Crashed Thread: 7 Dispatch queue: accountValidatorSync

Exception Type: EXC_BAD_INSTRUCTION (SIGILL) Exception Codes: 0x0000000000000001, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Illegal instruction: 4 Termination Reason: Namespace SIGNAL, Code 0x4 Terminating Process: exc handler [15038]

Thread 0:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff738b4dfa mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff738b5170 mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff39703ef5 CFRunLoopServiceMachPort + 247 3 com.apple.CoreFoundation 0x00007fff397029c2 CFRunLoopRun + 1319 4 com.apple.CoreFoundation 0x00007fff39701e3e CFRunLoopRunSpecific + 462 5 com.apple.HIToolbox 0x00007fff3832eabd RunCurrentEventLoopInMode + 292 6 com.apple.HIToolbox 0x00007fff3832e7d5 ReceiveNextEventCommon + 584 7 com.apple.HIToolbox 0x00007fff3832e579 _BlockUntilNextEventMatchingListInModeWithFilter + 64 8 com.apple.AppKit 0x00007fff36974039 _DPSNextEvent + 883 9 com.apple.AppKit 0x00007fff36972880 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352 10 com.apple.AppKit 0x00007fff3696458e -[NSApplication run] + 658 11 com.apple.AppKit 0x00007fff36936396 NSApplicationMain + 777 12 org.tigase.messenger.BeagleIM 0x000000010ea37e69 0x10ea32000 + 24169 13 libdyld.dylib 0x00007fff73773cc9 start + 1

Thread 1:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x00007fff738b4dfa mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff738b5170 mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff39703ef5 CFRunLoopServiceMachPort + 247 3 com.apple.CoreFoundation 0x00007fff397029c2 CFRunLoopRun + 1319 4 com.apple.CoreFoundation 0x00007fff39701e3e CFRunLoopRunSpecific + 462 5 com.apple.AppKit 0x00007fff36b15954 _NSEventThread + 132 6 libsystem_pthread.dylib 0x00007fff73978109 _pthread_start + 148 7 libsystem_pthread.dylib 0x00007fff73973b8b thread_start + 15

Thread 2: 0 libsystem_pthread.dylib 0x00007fff73973b68 start_wqthread + 0

Thread 3: 0 libsystem_pthread.dylib 0x00007fff73973b68 start_wqthread + 0

Thread 4: 0 libsystem_pthread.dylib 0x00007fff73973b68 start_wqthread + 0

Thread 5: 0 libsystem_pthread.dylib 0x00007fff73973b68 start_wqthread + 0

Thread 6: 0 libsystem_pthread.dylib 0x00007fff73973b68 start_wqthread + 0

Thread 7 Crashed:: Dispatch queue: accountValidatorSync 0 org.tigase.messenger.BeagleIM 0x000000010ec09703 0x10ea32000 + 1931011 1 org.tigase.messenger.BeagleIM 0x000000010ea94273 0x10ea32000 + 402035 2 org.tigase.messenger.BeagleIM 0x000000010eb8d1bc 0x10ea32000 + 1421756 3 org.tigase.messenger.BeagleIM 0x000000010eb8d1de 0x10ea32000 + 1421790 4 libdispatch.dylib 0x00007fff7371a658 _dispatch_client_callout + 8 5 libdispatch.dylib 0x00007fff737266ec _dispatch_lane_barrier_sync_invoke_and_complete + 60 6 org.tigase.messenger.BeagleIM 0x000000010ea93dd1 0x10ea32000 + 400849 7 org.tigase.messenger.BeagleIM 0x000000010ecc6be4 0x10ea32000 + 2706404 8 org.tigase.messenger.BeagleIM 0x000000010ec8f14e 0x10ea32000 + 2478414 9 libdispatch.dylib 0x00007fff737196c4 _dispatch_call_block_and_release + 12 10 libdispatch.dylib 0x00007fff7371a658 _dispatch_client_callout + 8 11 libdispatch.dylib 0x00007fff7371fc44 _dispatch_lane_serial_drain + 597 12 libdispatch.dylib 0x00007fff737205d6 _dispatch_lane_invoke + 363 13 libdispatch.dylib 0x00007fff73729c09 _dispatch_workloop_worker_thread + 596 14 libsystem_pthread.dylib 0x00007fff73974a3d _pthread_wqthread + 290 15 libsystem_pthread.dylib 0x00007fff73973b77 start_wqthread + 15

Thread 8:: com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0x00007fff738b4dfa mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff738b5170 mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff39703ef5 CFRunLoopServiceMachPort + 247 3 com.apple.CoreFoundation 0x00007fff397029c2 CFRunLoopRun + 1319 4 com.apple.CoreFoundation 0x00007fff39701e3e CFRunLoopRunSpecific + 462 5 com.apple.CFNetwork 0x00007fff37f39e32 0x7fff37eef000 + 306738 6 com.apple.Foundation 0x00007fff3bd957a2 NSThreadstart__ + 1064 7 libsystem_pthread.dylib 0x00007fff73978109 _pthread_start + 148 8 libsystem_pthread.dylib 0x00007fff73973b8b thread_start + 15

Thread 9: 0 libsystem_pthread.dylib 0x00007fff73973b68 start_wqthread + 0

Thread 10:: com.apple.CFSocket.private 0 libsystem_kernel.dylib 0x00007fff738bd0fe select + 10 1 com.apple.CoreFoundation 0x00007fff3972cc53 CFSocketManager + 641 2 libsystem_pthread.dylib 0x00007fff73978109 _pthread_start + 148 3 libsystem_pthread.dylib 0x00007fff73973b8b thread_start + 15

Thread 7 crashed with X86 Thread State (64-bit): rax: 0x00006000027dd7a0 rbx: 0x00006000027dd7a0 rcx: 0x0000000000000000 rdx: 0x0000000200000000 rdi: 0x0000000000000000 rsi: 0x0000000600000002 rbp: 0x0000700003ab1680 rsp: 0x0000700003ab15e0 r8: 0x00000000000000ff r9: 0x00000000000007fb r10: 0x0000000000002640 r11: 0x0000000000000040 r12: 0x000060000104d260 r13: 0x000060000104d260 r14: 0x0000700003ab1690 r15: 0x0000000000000000 rip: 0x000000010ec09703 rfl: 0x0000000000010246 cr2: 0x000000010ec09350

Logical CPU: 0 Error Code: 0x00000000 Trap Number: 6

11Gilles commented 3 years ago

I have the exact same problem. Beagle Version 4.1 (110). MacOS Big Sur 11.2 (20D64).

hantu85 commented 3 years ago

This issue should be solved in version 5.0 which we are already working on.

michaelblyons commented 2 years ago

Version 5.0 is released. Try again?

Does Tigase want to do a cleanup of the fixed-in-5.0 tickets?