Sublime Forum

Sublime Text falls every time I try to open or to save file via dialog

#1

Greeting!

Before all, sorry for my poor English.

I like this editor very much, but I am suffering because of techical issue, as mentioned in the subject, after updating from 3142 to 3152.

So, every time I try to open or save file via dialog (for example, just pressing Ctrl+O), all running Sublime windows are closing unexpectedly. I can trick this bug using console to open files as a temporary workaround, but this situation is really annoying for me. =(

My environment is:
[user@host ~]$ uname -a
Linux host 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u4 (2015-09-19) x86_64 GNU/Linux
[user@host ~]$ python --version
Python 2.7.9
[user@host ~]$ subl --version
Sublime Text Build 3152

Is there some way to generate dumps or traceback (debug mode?) to help you solve this?

1 Like

#2

I am not sure how helpful this will be, but here is log of gdb session for this case:
[user@host ~]$ gdb /home/user/bin/subl
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright © 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type “show copying”
and “show warranty” for details.
This GDB was configured as “x86_64-linux-gnu”.
Type “show configuration” for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type “help”.
Type “apropos word” to search for commands related to “word”…
Reading symbols from /home/user/bin/subl…(no debugging symbols found)…done.
(gdb) set disassemble-next-line on
(gdb) set args -w
(gdb) run
Starting program: /home/user/bin/subl -w
[Thread debugging using libthread_db enabled]
Using host libthread_db library “/lib/x86_64-linux-gnu/libthread_db.so.1”.
[New Thread 0x7ffff0e52700 (LWP 11040)]
[New Thread 0x7fffebfff700 (LWP 11041)]
[New Thread 0x7fffeb7fe700 (LWP 11042)]
[New Thread 0x7fffeaffd700 (LWP 11043)]
[New Thread 0x7fffea7fc700 (LWP 11044)]
[New Thread 0x7fffe9ffb700 (LWP 11045)]
[Thread 0x7fffe9ffb700 (LWP 11045) exited]
[New Thread 0x7fffe9ffb700 (LWP 11046)]
[New Thread 0x7fffe90e1700 (LWP 11048)]
// here I pressed Ctrl+O
*** Error in `/home/user/bin/subl’: free(): invalid pointer: 0x00007fffd3ffef00 ***

Program received signal SIGABRT, Aborted.
0x00007ffff6898067 in __GI_raise (sig=sig@entry=6) at …/nptl/sysdeps/unix/sysv/linux/raise.c:56
56 …/nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
0x00007ffff6898057 <__GI_raise+39>: 48 63 d7 movslq %edi,%rdx
0x00007ffff689805a <__GI_raise+42>: 48 63 f6 movslq %esi,%rsi
0x00007ffff689805d <__GI_raise+45>: 48 63 f9 movslq %ecx,%rdi
0x00007ffff6898060 <__GI_raise+48>: b8 ea 00 00 00 mov $0xea,%eax
0x00007ffff6898065 <__GI_raise+53>: 0f 05 syscall
=> 0x00007ffff6898067 <__GI_raise+55>: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax
0x00007ffff689806d <__GI_raise+61>: 77 1e ja 0x7ffff689808d <__GI_raise+93>

1 Like

#3

Tried to erase ~/.config/sublime-text-3 folder, that didn’t help.
At last, will try to launch with locally built Python 3.6.3 in PATH.

1 Like

#4

That also wasn’t helpful. =(

For now, I’m stuck in ideas. Will temporary downgrade to 3142.
Ready to cooperate.

1 Like

#5

Issue resolved after recent 3153 dev build, thank you very much.

1 Like