Sublime Forum

ST3 Bug: crash on non_SSE systems

#1

Subtime Text 3 betas falls on non_SSE systems. Please compile it for non_SSE. :frowning:

0 Likes

#2

Which OS?

0 Likes

#3

Windows 2003 Server R2 SP2 x32

and we have:

Π˜ΡΠΊΠ»ΡŽΡ‡Π΅Π½ΠΈΠ΅ Π² ΠΏΡ€ΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠΈ:
        ΠŸΡ€ΠΈΠ».: F:\old_tmp\new\sublimetext\3\Sublime Text Build 3038\sublime_text.exe (pid=2696)
        ВрСмя: 09.06.2013 @ 23:53:02.895
        НомСр: c000001d
*----> 0xbc<----*

eax=00000000 ebx=00000000 ecx=0075f9b0 edx=7c82845c esi=0075f9b0 edi=0075f9b0
eip=004349c1 esp=0012fef8 ebp=0012ff00 iopl=0         nv up ei pl zr na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010246

*** ERROR: Module load completed but symbols could not be loaded for F:\old_tmp\new\sublimetext\3\Sublime Text Build 3038\sublime_text.exe
функция: sublime_text
        004349a5 53               push    ebx
        004349a6 33db             xor     ebx,ebx
        004349a8 56               push    esi
        004349a9 8bf1             mov     esi,ecx
        004349ab 33c0             xor     eax,eax
        004349ad 895e04           mov     [esi+0x4],ebx
        004349b0 895e08           mov     [esi+0x8],ebx
        004349b3 6689460c         mov     [esi+0xc],ax
        004349b7 885e0e           mov     [esi+0xe],bl
        004349ba c746100000003f   mov     dword ptr [esi+0x10],0x3f000000
Π‘Π‘ΠžΠ™ -> 004349c1 f30f100550067200 movss xmm0,dword ptr [sublime_text+0x320650 (00720650)] ds:0023:00720650=3e4ccccd
        004349c9 f30f114614       movss   dword ptr [esi+0x14],xmm0
        004349ce 895e20           mov     [esi+0x20],ebx
        004349d1 394508           cmp     [ebp+0x8],eax
        004349d4 7505             jnz     sublime_text+0x349db (004349db)
        004349d6 6a20             push    0x20
        004349d8 58               pop     eax
        004349d9 eb09             jmp     sublime_text+0x349e4 (004349e4)
        004349db 53               push    ebx
        004349dc ff7508           push    dword ptr [ebp+0x8]
        004349df e82d0e0000       call    sublime_text+0x35811 (00435811)

*---->  <----*
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\WINDOWS\system32\kernel32.dll - 
ChildEBP RetAddr  Args to Child              
WARNING: Stack unwind information not available. Following frames may be wrong.
0012ff00 00434b37 00000000 0012ff1f 0012ff1f sublime_text+0x349c1
0012ff20 004fa2c8 9ae122ea 0067c7ac 0067c57c sublime_text+0x34b37
0012ff58 0067a420 0075f9b0 00000030 0000001d sublime_text+0xfa2c8
0012ff80 004f44c5 00000001 9ae12272 00000000 sublime_text+0x27a420
0012ffc0 77e6f1eb 00000000 00000000 7ffdf000 sublime_text+0xf44c5
0012fff0 00000000 004f456a 00000000 78746341 kernel32!ProcessIdToSessionId+0x209

*---->  <----*
000000000012fef8  00 00 00 00 30 00 00 00 - 20 ff 12 00 37 4b 43 00  ....0... ...7KC.
000000000012ff08  00 00 00 00 1f ff 12 00 - 1f ff 12 00 1f ff 12 00  ................
000000000012ff18  1f ff 12 00 b0 f9 75 00 - 58 ff 12 00 c8 a2 4f 00  ......u.X.....O.
000000000012ff28  ea 22 e1 9a ac c7 67 00 - 7c c5 67 00 00 00 00 00  ."....g.|.g.....
000000000012ff38  00 00 00 00 00 00 00 00 - 28 ff 12 00 1c fb 12 00  ........(.......
000000000012ff48  b0 ff 12 00 10 98 4f 00 - 82 8a 83 9a 00 00 00 00  ......O.........
000000000012ff58  80 ff 12 00 20 a4 67 00 - b0 f9 75 00 30 00 00 00  .... .g...u.0...
000000000012ff68  1d 00 00 00 1c 4b 43 00 - ba 4a 43 00 40 b3 4f 00  .....KC..JC.@.O.
000000000012ff78  00 00 00 00 00 00 00 00 - c0 ff 12 00 c5 44 4f 00  .............DO.
000000000012ff88  01 00 00 00 72 22 e1 9a - 00 00 00 00 00 00 00 00  ....r"..........
000000000012ff98  00 f0 fd 7f a8 ff 12 00 - 1d 00 00 c0 00 00 00 00  ................
000000000012ffa8  8c ff 12 00 1c fb 12 00 - e0 ff 12 00 10 98 4f 00  ..............O.
000000000012ffb8  ba 88 83 9a 00 00 00 00 - f0 ff 12 00 eb f1 e6 77  ...............w
000000000012ffc8  00 00 00 00 00 00 00 00 - 00 f0 fd 7f 1d 00 00 c0  ................
000000000012ffd8  c8 ff 12 00 2c fb 12 00 - ff ff ff ff 48 1a e6 77  ....,.......H..w
000000000012ffe8  f8 f1 e6 77 00 00 00 00 - 00 00 00 00 00 00 00 00  ...w............
000000000012fff8  6a 45 4f 00 00 00 00 00 - 41 63 74 78 20 00 00 00  jEO.....Actx ...
0000000000130008  01 00 00 00 84 4f 00 00 - 24 01 00 00 00 00 00 00  .....O..$.......
0000000000130018  20 00 00 00 00 00 00 00 - 14 00 00 00 01 00 00 00   ...............
0000000000130028  0a 00 00 00 34 00 00 00 - b4 01 00 00 01 00 00 00  ....4...........

*----> 0x9bc<----*

eax=7c80e08a ebx=00e8fef0 ecx=00000000 edx=00000000 esi=00000002 edi=00000000
eip=7c82845c esp=00e8fea4 ebp=00e8ff48 iopl=0         nv up ei pl zr na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000246

*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\WINDOWS\system32\ntdll.dll - 
функция: ntdll!KiFastSystemCallRet
        7c82843e e82c000000       call    ntdll!RtlRaiseException (7c82846f)
        7c828443 8b0424           mov     eax,[esp]
        7c828446 8be5             mov     esp,ebp
        7c828448 5d               pop     ebp
        7c828449 c3               ret
        7c82844a 8da42400000000   lea     esp,[esp]
        7c828451 8da42400000000   lea     esp,[esp]
        ntdll!KiFastSystemCall:
        7c828458 8bd4             mov     edx,esp
        7c82845a 0f34             sysenter
        ntdll!KiFastSystemCallRet:
        7c82845c c3               ret
        7c82845d 8da42400000000   lea     esp,[esp]
        7c828464 8d642400         lea     esp,[esp]
        ntdll!KiIntSystemCall:
        7c828468 8d542408         lea     edx,[esp+0x8]
        7c82846c cd2e             int     2e
        7c82846e c3               ret
        ntdll!RtlRaiseException:
        7c82846f 55               push    ebp
        7c828470 8bec             mov     ebp,esp
        7c828472 8da42430fdffff   lea     esp,[esp-0x2d0]

*----> <----*
ChildEBP RetAddr  Args to Child              
WARNING: Stack unwind information not available. Following frames may be wrong.
00e8ff48 7c80e332 00000002 00e8ff70 00000000 ntdll!KiFastSystemCallRet
00e8ffb8 77e6481f 00000000 00000000 00000000 ntdll!RtlSetLastWin32ErrorAndNtStatusFromNtStatus+0x301
00e8ffec 00000000 7c80e08a 00000000 00000000 kernel32!GetModuleHandleA+0xdf

movss xmm0 is from SSE, not from pure x86.

0 Likes

#4

3.3040 crashes again

*----> Stream 0xdc4<----*

eax=00000000 ebx=00000000 ecx=00760db8 edx=7c82845c esi=00760db8 edi=00760db8
eip=0043593f esp=0012fef8 ebp=0012ff00 iopl=0         nv up ei pl zr na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010246

*** ERROR: Module load completed but symbols could not be loaded for \Sublime Text Build 3040\sublime_text.exe
функция: sublime_text
        00435923 53               push    ebx
        00435924 33db             xor     ebx,ebx
        00435926 56               push    esi
        00435927 8bf1             mov     esi,ecx
        00435929 33c0             xor     eax,eax
        0043592b 895e04           mov     [esi+0x4],ebx
        0043592e 895e08           mov     [esi+0x8],ebx
        00435931 6689460c         mov     [esi+0xc],ax
        00435935 885e0e           mov     [esi+0xe],bl
        00435938 c746100000003f   mov     dword ptr [esi+0x10],0x3f000000
CRASH -> 0043593f f30f100500177200 movss xmm0,dword ptr [sublime_text+0x321700 (00721700)] ds:0023:00721700=3e4ccccd
        00435947 f30f114614       movss   dword ptr [esi+0x14],xmm0
        0043594c 895e20           mov     [esi+0x20],ebx
        0043594f 394508           cmp     [ebp+0x8],eax
        00435952 7505             jnz     sublime_text+0x35959 (00435959)
        00435954 6a20             push    0x20
        00435956 58               pop     eax
        00435957 eb09             jmp     sublime_text+0x35962 (00435962)
        00435959 53               push    ebx
        0043595a ff7508           push    dword ptr [ebp+0x8]
        0043595d e82d0e0000       call    sublime_text+0x3678f (0043678f)

Again movss xmm0.

0 Likes

#5

Sublime Text requires SSE2, which was introduced in 2000 with the P4. I have no plans at this stage to change this.

0 Likes

#6

I believe that there is no reason to use SSE_only and text editor. I have not met any other text editor, which would require SSE, it is very strange, since SSE-mathematics aims to work with graphics and morphing, but not with the texts. Well, you do what you want.

In AMD until 2004 in K8.

2.0.1 have to use forever.

0 Likes

[BUG] unknown software exception (0xc000001d) at 0x00436ae1
#7

I think sse2 is not an issue for desktop, but there are lot of people that have old laptops for writing and some basic coding.
I wonder what functions really need it ?

There is a huge part of the world that is not that rich to buy new stuff, they must use second hand hardware.

0 Likes