Game crashes when creating new deck

Mac Technical Support
Computer Specs:
macOS Sierra Version 10.12.6
MacBook Pro (Retina, 13-inch, Early 2015)
2.7 GHz Intel Core i5
16 GB 1867 MHz DDR3

Steps to reproduce:
1. Open game
2. Click "My Collection"
3. Scroll down to the bottom of deck list and click "New Deck"
Game just instantly quits.

Logs from Player.log:

Unloading 22 unused Assets to reduce memory usage. Loaded Objects now: 19704.
Total: 115.284134 ms (FindLiveObjects: 3.163541 ms CreateObjectMapping: 3.123645 ms MarkObjects: 107.473991 ms DeleteObjects: 1.522044 ms)

FSM not Preprocessed: SocketFX : FSM

(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Unloading 3 Unused Serialized files (Serialized files now loaded: 70)
FSM not Preprocessed: SocketFX : FSM

(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Beginning Experiment: CollectionManager

(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Unloading 18 unused Assets to reduce memory usage. Loaded Objects now: 27448.
Total: 81.662453 ms (FindLiveObjects: 2.493903 ms CreateObjectMapping: 1.330958 ms MarkObjects: 77.738014 ms DeleteObjects: 0.098730 ms)

Unloading 0 Unused Serialized files (Serialized files now loaded: 70)

Unloading 94 unused Assets to reduce memory usage. Loaded Objects now: 27475.
Total: 79.611000 ms (FindLiveObjects: 5.018243 ms CreateObjectMapping: 4.441713 ms MarkObjects: 69.910347 ms DeleteObjects: 0.239407 ms)

Receiving unhandled NULL exception
Obtained 27 stack frames.
#0 0x007fffa0a8f069 in objc_msgSend
#1 0x00000100e656ec in GetCopyBuffer()
#2 0x00000100befad2 in GUIUtility_Get_Custom_PropSystemCopyBuffer()
#3 0x0000012c6cb94f in (wrapper managed-to-native) UnityEngine.GUIUtility:get_systemCopyBuffer () + 0x5f (0x12c6cb8f0 0x12c6cb960) [0x10d039cc0 - Unity Root Domain]
#4 0x0000011fec97a5 in PegUI:Update () + 0x15 (0x11fec9790 0x11fec97aa) [0x10d039cc0 - Unity Root Domain]
#5 0x000001020d6096 in mono_jit_runtime_invoke
#6 0x00000102200a82 in mono_runtime_invoke
#7 0x000001009edae9 in ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)
#8 0x00000100c6cb68 in MonoBehaviour::CallUpdateMethod(int)
#9 0x000001005e9cf5 in void BaseBehaviourManager::CommonUpdate<BehaviourManager>()
#10 0x00000100815ea0 in PlayerLoop()
#11 0x00000100e580b9 in -[PlayerAppDelegate UpdatePlayer]
#12 0x007fff8d68be0f in __NSFireTimer
#13 0x007fff8bc01c54 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
#14 0x007fff8bc018df in __CFRunLoopDoTimer
#15 0x007fff8bc0143a in __CFRunLoopDoTimers
#16 0x007fff8bbf8b81 in __CFRunLoopRun
#17 0x007fff8bbf8114 in CFRunLoopRunSpecific
#18 0x007fff8b158ebc in RunCurrentEventLoopInMode
#19 0x007fff8b158cf1 in ReceiveNextEventCommon
#20 0x007fff8b158b26 in _BlockUntilNextEventMatchingListInModeWithFilter
#21 0x007fff896efa54 in _DPSNextEvent
#22 0x007fff89e6b7ee in -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
#23 0x007fff896e43db in -[NSApplication run]
#24 0x007fff896aee0e in NSApplicationMain
#25 0x00000100e57c29 in PlayerMain(int, char const**)
#26 0x00000100001c34 in start
Stacktrace:

at (wrapper managed-to-native) UnityEngine.GUIUtility.get_systemCopyBuffer () <0x0005f>
at (wrapper managed-to-native) UnityEngine.GUIUtility.get_systemCopyBuffer () <0x0005f>
at UnityEngine.TextEditor.CanPaste () <0x00010>
at ClipboardUtils.get_PastedStringFromClipboard () <0x00052>
at ShareableDeck.DeserializeFromClipboard () <0x00010>
at CollectionManagerDisplay.CheckClipboardAndGetValidityMessaging (string&) <0x00031>
at CollectionManagerDisplay.CheckClipboardAndPromptPlayerToPaste () <0x00037>
at CollectionManagerDisplay.EnterSelectNewDeckHeroMode () <0x00111>
at DeckTrayDeckListContent.StartCreateNewDeck () <0x000c6>
at DeckTrayDeckListContent.OnNewDeckButtonPress () <0x000a1>
at DeckTrayDeckListContent.<Initialize>m__5 (UIEvent) <0x00014>
at PegUIElement.DispatchEvent (UIEvent) <0x000a0>
at PegUIElement.TriggerRelease () <0x00096>
at PegUI.UpdateMouseLeftClick () <0x00284>
at PegUI.MouseInputUpdate () <0x005f7>
at PegUI.Update () <0x00014>
at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0x0005e>

Native stacktrace:

0 libsystem_kernel.dylib 0x00007fffa14b1d42 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fffa1417420 abort + 129
2 Hearthstone 0x0000000100c72a44 _Z12HandleSignaliP9__siginfoPv + 36
3 libmono.0.dylib 0x000000010218c419 mono_chain_signal + 75
4 libmono.0.dylib 0x00000001020d440e mono_sigsegv_signal_handler + 210
5 libsystem_platform.dylib 0x00007fffa1592b3a _sigtramp + 26
6 Hearthstone 0x0000000100000001 Hearthstone + 1
7 Hearthstone 0x0000000100e656ec _Z13GetCopyBufferv + 300
8 Hearthstone 0x0000000100befad2 _Z42GUIUtility_Get_Custom_PropSystemCopyBufferv + 34
9 ??? 0x000000012c6cb94f 0x0 + 5040290127
10 ??? 0x000000011fec97a5 0x0 + 4830566309
11 libmono.0.dylib 0x00000001020d6096 mono_jit_runtime_invoke + 1766
12 libmono.0.dylib 0x0000000102200a82 mono_runtime_invoke + 117
13 Hearthstone 0x00000001009edae9 _ZN19ScriptingInvocation6InvokeEP21ScriptingExceptionPtrb + 73
14 Hearthstone 0x0000000100c6cb68 _ZN13MonoBehaviour16CallUpdateMethodEi + 296
15 Hearthstone 0x00000001005e9cf5 _ZN20BaseBehaviourManager12CommonUpdateI16BehaviourManagerEEvv + 405
16 Hearthstone 0x0000000100815ea0 _Z10PlayerLoopv + 880
17 Hearthstone 0x0000000100e580b9 -[PlayerAppDelegate UpdatePlayer] + 329
18 Foundation 0x00007fff8d68be0f __NSFireTimer + 83
19 CoreFoundation 0x00007fff8bc01c54 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
20 CoreFoundation 0x00007fff8bc018df __CFRunLoopDoTimer + 1071
21 CoreFoundation 0x00007fff8bc0143a __CFRunLoopDoTimers + 298
22 CoreFoundation 0x00007fff8bbf8b81 __CFRunLoopRun + 2065
23 CoreFoundation 0x00007fff8bbf8114 CFRunLoopRunSpecific + 420
24 HIToolbox 0x00007fff8b158ebc RunCurrentEventLoopInMode + 240
25 HIToolbox 0x00007fff8b158cf1 ReceiveNextEventCommon + 432
26 HIToolbox 0x00007fff8b158b26 _BlockUntilNextEventMatchingListInModeWithFilter + 71
27 AppKit 0x00007fff896efa54 _DPSNextEvent + 1120
28 AppKit 0x00007fff89e6b7ee -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2796
29 AppKit 0x00007fff896e43db -[NSApplication run] + 926
30 AppKit 0x00007fff896aee0e NSApplicationMain + 1237
31 Hearthstone 0x0000000100e57c29 _Z10PlayerMainiPPKc + 1129
32 Hearthstone 0x0000000100001c34 start + 52

Debug info from gdb:

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================



Any help much appreciated.

I've already tried the "scan & repair" which finished quickly & said nothing to repair, and then I tried uninstalling the game & reinstalling it, but I still get the same problem after both of these steps.
Hey, japhib!

Could we try clearing the Hearthstone cache?
    1. Open the Finder
    2. Go to the Menu bar, and open the Go Menu
    3. Select Go to Folder...
    4. Copy the path and past it into the input field.
    ~/Library/Preferences
    5. Delete the Blizzard folder.

Retry on Hearthstone!

I have a few more steps if it's still crashes:

Hope this helps!
04/04/2018 04:49 PMPosted by japhib
3. Scroll down to the bottom of deck list and click "New Deck"
Game just instantly quits.
Try workaround: clearing or have a valid deck string in your clipboard.
04/10/2018 08:55 AMPosted by Caterpepi
Hey, japhib!

Could we try clearing the Hearthstone cache?
    1. Open the Finder
    2. Go to the Menu bar, and open the Go Menu
    3. Select Go to Folder...
    4. Copy the path and past it into the input field.
    ~/Library/Preferences
    5. Delete the Blizzard folder.

Retry on Hearthstone!

I have a few more steps if it's still crashes:
  • [url="https://battle.net/support/article/71962?utm_source=internal-TechForum&utm_medium=posting&utm_campaign=BlizzardCS&utm_content=solution"]Reset Folder & File permissions[/url]
  • [url="https://battle.net/support/article/34721?utm_source=internal-TechForum&utm_medium=posting&utm_campaign=BlizzardCS&utm_content=solution"]Delete Blizzard Cache folders[/url]
  • Remove any personal fonts installed.

Hope this helps!


this solved the issue at first, but as soon as i set the game to "windowed mode" again and click outside of the game while in the collection it still crashes
04/10/2018 09:04 AMPosted by Fuschia
04/04/2018 04:49 PMPosted by japhib
3. Scroll down to the bottom of deck list and click "New Deck"
Game just instantly quits.
Try workaround: clearing or have a valid deck string in your clipboard.


This worked for me. I had some matlab code in my clipboard that I was working with, and the game crashed whenever I try to create a new deck. Since the game automatically tries to parse the content from the clipboard when making a new deck, the code in clipboard might have caused a plain syntax parsing error, or a forced shutdown if the Hearthstone team was meticulous with their security. If it's the former, there might be a security loophole that attackers can use to inject code. Either way, I think the development team can do better in informing the user that their clipboard content is invalid, instead of crashing the game and maxing out CPU.

TL;DR: copy a random word to clipboard, try making a new deck before clearing/reinstalling the game directory

Join the Conversation

Return to Forum