Hi all,

I got a strange crash on Mac, never saw any similar crash dump.

Image: 6.0 #60447

5.0 ��Mac OS X built on Mar 10 2017 13:46:32 UTC Compiler: 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31) [Production Spur VM]
CoInterpreter * VMMaker.oscog-eem.2146 uuid: da6aee6e-4738-4161-b221-3c8135ac1bf7 Mar 10 2017
StackToRegisterMappingCogit * VMMaker.oscog-eem.2146 uuid: da6aee6e-4738-4161-b221-3c8135ac1bf7 Mar 10 2017
VM: 201703101242 https://github.com/pharo-project/pharo-vm.git $ Date: Fri Mar 10 13:42:34 2017 +0100 $
Plugins: 201703101242 https://github.com/pharo-project/pharo-vm.git $


First few lines of crash (the whole dump is in attachment):

C stack backtrace & registers:
eax 0x849671d0 ebx 0x7c6e3820 ecx 0x90301065 edx 0xe0000000
edi 0x7c6e3820 esi 0x7c6e3820 ebp 0xbff40708 esp 0xbff404c8
eip 0x9ef29013
0 �� libobjc.A.dylib �� �� �� �� �� �� �� �� �� �� 0x9ef29013 objc_msgSend + 19
1 �� Pharo �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� 0x0010227a reportStackState + 706
2 �� Pharo �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� 0x001025d2 sigsegv + 113
3 �� libsystem_platform.dylib �� �� �� �� �� ��0x9f98bebb _sigtramp + 43
4 �� ??? �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� 0xffffffff 0x0 + 4294967295
5 �� CoreFoundation �� �� �� �� �� �� �� �� �� �� ��0x94671888 _CFAutoreleasePoolPop + 24
6 �� HIToolbox �� �� �� �� �� �� �� �� �� �� �� �� �� 0x9401fa35 IMKInputSessionProcessEventRefWithCompletionHandler + 125
7 �� HIToolbox �� �� �� �� �� �� �� �� �� �� �� �� �� 0x9401ebd2 InputMethodInstanceProcessEventRef_WithCompletionHandler + 135
8 �� HIToolbox �� �� �� �� �� �� �� �� �� �� �� �� �� 0x94006c9c __TSMEventToInputMethod_WithCompletionHandler_block_invoke + 121
9 �� HIToolbox �� �� �� �� �� �� �� �� �� �� �� �� �� 0x9400b3fa __TrySendLockEvent_BeforeEventToInputMethod_WithContinuationHandler_block_invoke + 27
10 ��HIToolbox �� �� �� �� �� �� �� �� �� �� �� �� �� 0x9400b496 __SendTSMDocumentLockEvent_WithCompletionHandler_block_invoke + 90
11 ��HIToolbox �� �� �� �� �� �� �� �� �� �� �� �� �� 0x93ddc6a3 __SendTSMEvent_WithCompletionHandler_block_invoke + 66
12 ��HIToolbox �� �� �� �� �� �� �� �� �� �� �� �� �� 0x93ddf651 __SendEventToEventTargetWithCompletionHandler_block_invoke + 22


Cheers,
Alex

On 22 March 2017 at 21:26, Esteban Lorenzano <estebanlm@gmail.com> wrote:
Hi,

I do not think this is a windows problem.
At least, I had some crashes when performing compaction last days too��� this is a crash I collected 10 mins ago, in a mac.

cheers,
Esteban




> On 22 Mar 2017, at 10:31, Peter Uhnak <i.uhnak@gmail.com> wrote:
>
> Hi,
>
> Originally I thought my VM is crashing because of FT, so I applied some fix from FogBugz (that is now part of Pharo 6), but that didn't help.
>
> So I disabled FT in settings and changed fonts to non-FT ones; didn't help.
> So I completely removed FT2Plugin.dll (now settings just states that FT fonts are not available), but that didn't help either.
>
> And obviously there is no crash.dmp whatsoever (this is latest Windows VM).
>
> This crash is extremely frustrating because the crash happens _during saving_, which means I am losing code all the time and have to constantly recover them, which really makes my blood boil.
>
> Without crash dump I don't even know where and how to start investigating. Windows kindly opens Visual Studio when Pharo crashes, but all it shows to me is assembly, which is not very useful to me. I can somewhat orient myself in the C code of the VM (as I've alredy fixed some other issues in the VM), but here I am lost.
>
> <SNIP>
> 00407D7F�� ret
> 00407D80�� mov�� �� �� �� ��eax,dword ptr ds:[00596E44h]
> 00407D85�� test�� �� �� �� al,3
> 00407D87�� jne�� �� �� �� ��00407DB2
> 00407D89�� mov�� �� �� �� ��ecx,dword ptr ds:[596E08h]
> 00407D8F�� lea�� �� �� �� ��edx,[ecx-1]
> 00407D92�� cmp�� �� �� �� ��eax,edx
> 00407D94�� jb�� �� �� �� �� 00407DB2
> 00407D96�� cmp�� �� �� �� ��dword ptr ds:[596E10h],eax
> 00407D9C�� jb�� �� �� �� �� 00407DB2
> 00407D9E�� mov�� �� �� �� ��ecx,dword ptr ds:[5B89D0h]
> 00407DA4�� cmp�� �� �� �� ��dword ptr [eax-4],ecx
> 00407DA7�� jb�� �� �� �� �� 00407DB2
> 00407DA9�� mov�� �� �� �� ��eax,dword ptr ds:[00596E28h]
> ---> 00407DAE�� movzx�� �� �� ��eax,byte ptr [eax]
> 00407DB1�� ret
>
> eax = 00000000
> ecx = 04700000
> </SNIP>
>
> So my question I guess is:
> How can we fix this? How can I help fix this? Because I've lost countless days of time and energy on this f***ing problem...
>
> Peter
>