Crash in com.apple.dt.Xcode.sourcecontrol.Git pushing branch named with soft hyphens

Originator:mxn
Number:rdar://23076863 Date Originated:12-Oct-2015
Status:Open Resolved:
Product:Developer Tools Product Version:
Classification:Crash/Hang/Data Loss Reproducible:I Didn't Try
 
Summary:
I attempted to commit and push to a Git branch named:

1ec5-taumata­whakatangi­hanga­koauau­o­tamatea­turi­pukaka­piki­maunga­horo­nuku­pokai­when­ua­ki­tana­tahu-2595

(Note the numerous invisible soft hyphens in that branch name.)

Steps to Reproduce:


Expected Results:


Actual Results:
The commit succeeded, but the push crashed Xcode’s Git XPC service:

Crashed Thread:        2  Dispatch queue: com.apple.NSXPCConnection.user.92039

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

Application Specific Information:
abort() called
*** error for object 0x7fde80e00518: incorrect checksum for freed object - object was probably modified after being freed.

Thread 2 Crashed:: Dispatch queue: com.apple.NSXPCConnection.user.92039
0   libsystem_kernel.dylib        	0x00007fff9877a286 __pthread_kill + 10
1   libsystem_c.dylib             	0x00007fff97c329b3 abort + 129
2   libsystem_malloc.dylib        	0x00007fff95791fe2 szone_error + 625
3   libsystem_malloc.dylib        	0x00007fff95785983 tiny_malloc_from_free_list + 347
4   libsystem_malloc.dylib        	0x00007fff957847e4 szone_malloc_should_clear + 317
5   libsystem_malloc.dylib        	0x00007fff95784667 malloc_zone_malloc + 71
6   libsystem_malloc.dylib        	0x00007fff9578b159 realloc + 203
7   libsystem_c.dylib             	0x00007fff97c37e97 reallocf + 21
8   libsystem_info.dylib          	0x00007fff9ae48bfa si_list_add + 72
9   libsystem_info.dylib          	0x00007fff9ae4a727 si_addrinfo_list + 1366
10  libsystem_info.dylib          	0x00007fff9ae49d9b si_addrinfo_list_from_hostent + 419
11  libsystem_info.dylib          	0x00007fff9ae498dc mdns_addrinfo + 795
12  libsystem_info.dylib          	0x00007fff9ae49581 search_addrinfo + 179
13  libsystem_info.dylib          	0x00007fff9ae41f2e si_addrinfo + 1395
14  libsystem_info.dylib          	0x00007fff9ae41917 getaddrinfo + 179
15  libgit2.dylib                 	0x000000010d6316f6 socket_connect + 74
16  libgit2.dylib                 	0x000000010d67d097 openssl_connect + 27
17  libgit2.dylib                 	0x000000010d67b81e http_connect + 140
18  libgit2.dylib                 	0x000000010d67b08c http_action + 87
19  libgit2.dylib                 	0x000000010d65a28a git_smart__connect + 177
20  libgit2.dylib                 	0x000000010d671dc3 git_remote_connect + 233
21  libgit2.dylib                 	0x000000010d67457a git_remote_push + 40
22  com.apple.dt.Xcode.sourcecontrol.Git	0x000000010d582db4 0x10d56d000 + 89524
23  com.apple.CoreFoundation      	0x00007fff960147bc __invoking___ + 140
24  com.apple.CoreFoundation      	0x00007fff96014612 -[NSInvocation invoke] + 290
25  com.apple.Foundation          	0x00007fff93d51998 __NSXPCCONNECTION_IS_CALLING_OUT_TO_EXPORTED_OBJECT__ + 17
26  com.apple.Foundation          	0x00007fff93d51292 -[NSXPCConnection _decodeAndInvokeMessageWithData:] + 1045
27  com.apple.Foundation          	0x00007fff93d50db6 message_handler + 654
28  libxpc.dylib                  	0x00007fff8e70dd15 _xpc_connection_call_event_handler + 58
29  libxpc.dylib                  	0x00007fff8e70d893 _xpc_connection_mach_event + 1901
30  libdispatch.dylib             	0x00007fff91c560f8 _dispatch_client_callout4 + 9
31  libdispatch.dylib             	0x00007fff91c571a3 _dispatch_mach_msg_invoke + 445
32  libdispatch.dylib             	0x00007fff91c54154 _dispatch_queue_drain + 571
33  libdispatch.dylib             	0x00007fff91c55a10 _dispatch_mach_invoke + 232
34  libdispatch.dylib             	0x00007fff91c54154 _dispatch_queue_drain + 571
35  libdispatch.dylib             	0x00007fff91c55ecc _dispatch_queue_invoke + 202
36  libdispatch.dylib             	0x00007fff91c536b7 _dispatch_root_queue_drain + 463
37  libdispatch.dylib             	0x00007fff91c61fe4 _dispatch_worker_thread3 + 91
38  libsystem_pthread.dylib       	0x00007fff950d0a9d _pthread_wqthread + 729
39  libsystem_pthread.dylib       	0x00007fff950ce3dd start_wqthread + 13


Version:
Xcode 7.1 beta 3 (7B85)
OS X 10.10.5 (14F27)

Notes:

Configuration:
Primary system language is set to Vietnamese, with Spanish and English as fallbacks. The remote is a GitHub repository over HTTPS. Pushing the same branch on the command line works just fine.

Attachments:
'com.apple.dt.Xcode.sourcecontrol.Git_2015-10-12-134307_kilogram.crash' was successfully uploaded.

Comments

This may be my new favorite radar.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!