Sublime Forum

Dev Build 3130

#21

So far, 3130 has fixed all the sidebar issues I reported against 3127. Thank you :slightly_smiling:

1 Like

#22

Thanks for the information!

0 Likes

#23

Jon, I can confirm Allenā€™s report (crash on dragging tabs):

  • Win 10 Pro 1703 (x64)
  • ST3130 x64 portable
  • Surface Pro 4
0 Likes

#24

Confirming crashing on tab drag too. macOS Sierra 10.12.4

Also, this happens every time ST starts: http://prntscr.com/ez4add (using the Adaptative theme).
Have to resize the window (downsize) and then maximize it to eliminate that grey bar at the bottom.

0 Likes

#25

Any more details you can provide? I donā€™t crash on OS X with 3130.

I havenā€™t tested Windows or Linux yet.

0 Likes

#26

Iā€™ll look into this.

0 Likes

#27

Iā€™ve just pressed and started drag the tab.

0 Likes

#28
$ mkdir test
$ cd test
$ touch a.txt
$ touch b.txt
$ subl .

Open the tabs a.txt and b.txt.

Drag a.txt down, then put it back before b.txt. This works OK.
Drag a.txt down, then put it after b.txt. This crashes for me.

MacOS 10.12.4, build 3130.

Hereā€™s a stacktrace from LLDB:

$ lldb
(lldb) process attach --name "Sublime Text"
(lldb) c
Process 15192 resuming
Process 15192 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x5c)
    frame #0: 0x0000000105187421 Sublime Text`label_control::on_apply_theme() + 23
Sublime Text`label_control::on_apply_theme:
->  0x105187421 <+23>: movl   0x5c(%rax), %esi
    0x105187424 <+26>: callq  0x10517bf00               ; font_descriptor::set_base_attrs(unsigned int)
    0x105187429 <+31>: movq   0x30(%rbx), %rdi
    0x10518742d <+35>: testq  %rdi, %rdi
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x5c)
  * frame #0: 0x0000000105187421 Sublime Text`label_control::on_apply_theme() + 23
    frame #1: 0x000000010516c88f Sublime Text`control::add_child(control*) + 255
    frame #2: 0x00000001051bec81 Sublime Text`tab_control::tab_control(tabset_control*, control*) + 151
    frame #3: 0x000000010500d79a Sublime Text`sheet_tab_control::sheet_tab_control(tabset_control*, control*) + 22
    frame #4: 0x000000010500d60f Sublime Text`pane_tabset_control::create_tab_control(control*) + 43
    frame #5: 0x00000001051c9f41 Sublime Text`tabset_control::update_tab(int, control*) + 131
    frame #6: 0x00000001051c964e Sublime Text`tabset_control::refresh_tabs() + 84
    frame #7: 0x00000001051c9451 Sublime Text`tabset_control::end_update() + 77
    frame #8: 0x00000001051ca733 Sublime Text`tabset_control::drag_update() + 245
    frame #9: 0x00000001051cae55 Sublime Text`tabset_control::drag_enter(vec2, drag_data*, vec2) + 503
    frame #10: 0x0000000105191257 Sublime Text`message_handler::handle_message(ui_message_type, void*) + 155
    frame #11: 0x000000010516e796 Sublime Text`route_message_using_position(ui_message_type, void*, control*, vec2) + 212
    frame #12: 0x0000000105170e69 Sublime Text`drag_operation::handle_event(px_event_t const*) + 1239
    frame #13: 0x00000001051e378e Sublime Text`window_drag_enabler::handle_event(px_event_t*) + 254
    frame #14: 0x00000001051e610d Sublime Text`window_impl::handle_event(px_event_t*) + 103
    frame #15: 0x00000001051ef763 Sublime Text`send_event(px_window_t*, px_event_t*) + 20
    frame #16: 0x00000001051f3bfd Sublime Text`-[PXWindow sendEvent:] + 3012
    frame #17: 0x00007fff82eda6f1 AppKit`-[NSApplication(NSEvent) sendEvent:] + 1145
    frame #18: 0x00007fff827557f7 AppKit`-[NSApplication run] + 1002
    frame #19: 0x00000001051ee88f Sublime Text`px_run_event_loop() + 190
    frame #20: 0x0000000104f5ec1f Sublime Text`main + 3215
    frame #21: 0x0000000104f5dbe4 Sublime Text`start + 52
2 Likes

#29

Can users experiencing tab-drag crashing on windows with 3130 provide any more information?

I canā€™t reproduce with a (fairly default) configuration on Windows 10 running ST 3130 x64.

0 Likes

#30

Excellent, thanks for the detailed info ā€“ I will work on reproducing and fixing that now.

1 Like

#31
  1. Open up ST 3130 x64 portable (clean) on Win 7
  2. File menu -> New File
  3. File menu -> New File
  4. Click and hold first tab, move mouse left or right a bit, no crash. Let go of the left mouse button.
  5. Click and hold second tab
  6. Move mouse in any direction, ST crashes
0 Likes

#32

Unfortunately it does not crash for me.

0 Likes

#33

I hope it helps. Windows 7.

P.S. ST Portable. Only Package Control & PackageResourceViewer installed.

Dump Summary
------------
Dump File:	c509ecff-09a0-4de2-81d1-05c6ce8ac943.dmp : C:\Development\Sublime\DEFAULT\Dev\c509ecff-09a0-4de2-81d1-05c6ce8ac943.dmp
Last Write Time:	21.04.2017 17:25:26
Process Name:	sublime_text.exe : C:\Development\Sublime\DEFAULT\Dev\sublime_text.exe
Process Architecture:	x64
Exception Code:	0xC0000005
Exception Information:	The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Heap Information:	Not Present

System Information
------------------
OS Version:	6.1.7601
CLR Version(s):	

Modules
-------
Module Name	Module Path	Module Version
-----------	-----------	--------------
sublime_text.exe	C:\Development\Sublime\DEFAULT\Dev\sublime_text.exe	1.0.0.1
ntdll.dll	C:\Windows\System32\ntdll.dll	6.1.7601.23714
kernel32.dll	C:\Windows\System32\kernel32.dll	6.1.7601.23714
KERNELBASE.dll	C:\Windows\System32\KERNELBASE.dll	6.1.7601.23714
usp10.dll	C:\Windows\System32\usp10.dll	1.626.7601.23688
msvcrt.dll	C:\Windows\System32\msvcrt.dll	7.0.7601.21878
user32.dll	C:\Windows\System32\user32.dll	6.1.7601.23594
gdi32.dll	C:\Windows\System32\gdi32.dll	6.1.7601.23739
lpk.dll	C:\Windows\System32\lpk.dll	6.1.7601.23717
comdlg32.dll	C:\Windows\System32\comdlg32.dll	6.1.7601.17514
shlwapi.dll	C:\Windows\System32\shlwapi.dll	6.1.7601.17514
comctl32.dll	C:\Windows\winsxs\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_fa3b1e3d17594757\comctl32.dll	6.10.7601.18837
shell32.dll	C:\Windows\System32\shell32.dll	6.1.7601.23155
advapi32.dll	C:\Windows\System32\advapi32.dll	6.1.7601.23714
sechost.dll	C:\Windows\System32\sechost.dll	6.1.7600.16385
rpcrt4.dll	C:\Windows\System32\rpcrt4.dll	6.1.7601.23714
ole32.dll	C:\Windows\System32\ole32.dll	6.1.7601.23714
wininet.dll	C:\Windows\System32\wininet.dll	11.0.9600.18639
api-ms-win-downlevel-user32-l1-1-0.dll	C:\Windows\System32\api-ms-win-downlevel-user32-l1-1-0.dll	6.2.9200.16492
api-ms-win-downlevel-shlwapi-l1-1-0.dll	C:\Windows\System32\api-ms-win-downlevel-shlwapi-l1-1-0.dll	6.2.9200.16492
api-ms-win-downlevel-version-l1-1-0.dll	C:\Windows\System32\api-ms-win-downlevel-version-l1-1-0.dll	6.2.9200.16492
version.dll	C:\Windows\System32\version.dll	6.1.7600.16385
api-ms-win-downlevel-normaliz-l1-1-0.dll	C:\Windows\System32\api-ms-win-downlevel-normaliz-l1-1-0.dll	6.2.9200.16492
normaliz.dll	C:\Windows\System32\normaliz.dll	6.1.7600.16385
iertutil.dll	C:\Windows\System32\iertutil.dll	11.0.9600.18639
api-ms-win-downlevel-advapi32-l1-1-0.dll	C:\Windows\System32\api-ms-win-downlevel-advapi32-l1-1-0.dll	6.2.9200.16492
userenv.dll	C:\Windows\System32\userenv.dll	6.1.7601.17514
profapi.dll	C:\Windows\System32\profapi.dll	6.1.7600.16385
imm32.dll	C:\Windows\System32\imm32.dll	6.1.7600.16385
msctf.dll	C:\Windows\System32\msctf.dll	6.1.7601.23572
api-ms-win-core-synch-l1-2-0.DLL	C:\Windows\System32\api-ms-win-core-synch-l1-2-0.DLL	10.0.10586.788
dbghelp.dll	C:\Windows\System32\dbghelp.dll	6.1.7601.17514
CRYPTBASE.dll	C:\Windows\System32\CRYPTBASE.dll	6.1.7601.23714
uxtheme.dll	C:\Windows\System32\uxtheme.dll	6.1.7600.16385
dwmapi.dll	C:\Windows\System32\dwmapi.dll	6.1.7600.16385
DWrite.dll	C:\Windows\System32\DWrite.dll	6.2.9200.22082
cryptsp.dll	C:\Windows\System32\cryptsp.dll	6.1.7601.23471
rsaenh.dll	C:\Windows\System32\rsaenh.dll	6.1.7600.16385
RpcRtRemote.dll	C:\Windows\System32\RpcRtRemote.dll	6.1.7601.17514
secur32.dll	C:\Windows\System32\secur32.dll	6.1.7601.23714
sspicli.dll	C:\Windows\System32\sspicli.dll	6.1.7601.23714
api-ms-win-downlevel-advapi32-l2-1-0.dll	C:\Windows\System32\api-ms-win-downlevel-advapi32-l2-1-0.dll	6.2.9200.16492
api-ms-win-downlevel-ole32-l1-1-0.dll	C:\Windows\System32\api-ms-win-downlevel-ole32-l1-1-0.dll	6.2.9200.16492
ws2_32.dll	C:\Windows\System32\ws2_32.dll	6.1.7601.23451
nsi.dll	C:\Windows\System32\nsi.dll	6.1.7600.16385
mswsock.dll	C:\Windows\System32\mswsock.dll	6.1.7601.23451
crypt32.dll	C:\Windows\System32\crypt32.dll	6.1.7601.23566
msasn1.dll	C:\Windows\System32\msasn1.dll	6.1.7601.17514
wship6.dll	C:\Windows\System32\wship6.dll	6.1.7600.16385
IPHLPAPI.DLL	C:\Windows\System32\IPHLPAPI.DLL	6.1.7601.17514
winnsi.dll	C:\Windows\System32\winnsi.dll	6.1.7600.16385
urlmon.dll	C:\Windows\System32\urlmon.dll	11.0.9600.18639
api-ms-win-downlevel-shlwapi-l2-1-0.dll	C:\Windows\System32\api-ms-win-downlevel-shlwapi-l2-1-0.dll	6.2.9200.16492
dnsapi.dll	C:\Windows\System32\dnsapi.dll	6.1.7601.21673
clbcatq.dll	C:\Windows\System32\clbcatq.dll	2001.12.8530.16385
oleaut32.dll	C:\Windows\System32\oleaut32.dll	6.1.7601.23569
dhcpcsvc6.DLL	C:\Windows\System32\dhcpcsvc6.DLL	6.1.7601.22130
netprofm.dll	C:\Windows\System32\netprofm.dll	6.1.7600.16385
nlaapi.dll	C:\Windows\System32\nlaapi.dll	6.1.7601.22137
WSHTCPIP.DLL	C:\Windows\System32\WSHTCPIP.DLL	6.1.7600.16385
rasadhlp.dll	C:\Windows\System32\rasadhlp.dll	6.1.7600.16385
dhcpcsvc.dll	C:\Windows\System32\dhcpcsvc.dll	6.1.7600.16385
npmproxy.dll	C:\Windows\System32\npmproxy.dll	6.1.7600.16385
FWPUCLNT.DLL	C:\Windows\System32\FWPUCLNT.DLL	6.1.7601.18283
credssp.dll	C:\Windows\System32\credssp.dll	6.1.7601.23714
schannel.dll	C:\Windows\System32\schannel.dll	6.1.7601.23714
apphelp.dll	C:\Windows\System32\apphelp.dll	6.1.7601.17514
ncrypt.dll	C:\Windows\System32\ncrypt.dll	6.1.7601.23714
bcrypt.dll	C:\Windows\System32\bcrypt.dll	6.1.7601.23714
bcryptprimitives.dll	C:\Windows\System32\bcryptprimitives.dll	6.1.7601.23451
wintrust.dll	C:\Windows\System32\wintrust.dll	6.1.7601.23566
gpapi.dll	C:\Windows\System32\gpapi.dll	6.1.7601.23452
cryptnet.dll	C:\Windows\System32\cryptnet.dll	6.1.7601.23566
Wldap32.dll	C:\Windows\System32\Wldap32.dll	6.1.7601.17514
SensApi.dll	C:\Windows\System32\SensApi.dll	6.1.7600.16385
powrprof.dll	C:\Windows\System32\powrprof.dll	6.1.7600.16385
setupapi.dll	C:\Windows\System32\setupapi.dll	6.1.7601.17514
cfgmgr32.dll	C:\Windows\System32\cfgmgr32.dll	6.1.7601.17514
devobj.dll	C:\Windows\System32\devobj.dll	6.1.7600.16385
0 Likes

#34

Here it crashes:
arch linux, simply extracted the tgz into a folder the user owns.
Starting Sublime, create 2 new files, doesnā€™t matter if you save them or not. Simply move the first tab behind the second -> Sublime crashes and is gone.

0 Likes

#35

Jon has a fix for the tab crash queued up for a new build. Iā€™m checking out some of the font issues highlighted.

6 Likes

#36

This seems to be an issue with Windows font loading. It appears that using the font name Ubuntu works fine with DirectWrite, whereas Ubuntu Condensed is required for GDI. Iā€™ll see if there is anything we can do about that.

0 Likes

#37

It crashes for me on Windows 7 64-bit. I have the dump files and can attach them if it would be of any help.

0 Likes

#38

Iā€™m having a hard time reproducing this on Windows 10 x64. I installed your theme and configured MacType. Any other tips? What profile are you using for MacType?

Actually, I just got it. I had to load with directwrite, then change to gdi after loading.

1 Like

#39

3131 is out now, addressing the above issues

15 Likes

#40

The tab dragging crash is gone in 3131 but I just noticed ST still has this old bug on HiDPI screens that when you drag a tab, during the dragging, it does not use @2x assets and the font rendering is also pixelated.

0 Likes