ubuntu 15.10 default editor for sftp remote files doesn't work

0

I'm using Ubuntu 15.10 64bit and trying to open a remote file (sftp) with sublimetext2.

All worked fine till yesterday.

Today all files listed in a remote sftp directory are opened with gedit, despite the default program to open these files (.php, .txt, etc) is set up to sublimetext2.

Also, in the "file properties" -> "Open with" there is already set up to default sublimetext2.

Opening this way still use gedit instead: right click on file -> open with other application -> select sublimetext2 (already set as default).

I already tried with leafpad but the result is exactly the same.

Edit:

I tried this: - opened sublime from terminal with " > fileName.log" to force it write some log in the terminal. - made a new file from sublime-text and then save it to the remote location. When pressing Ok to save the file, after some seconds the editor crashes. In the terminal appears:

(sublime_text:3228): Gtk-WARNING **: Operazione non supportata dal backend
(sublime_text:3228): Gtk-WARNING **: Operazione non supportata dal backend
/usr/bin/sublime-text: riga 3:  3228 Errore di segmentazione (core dump creato)
/opt/sublime_text_2/sublime_text --class=sublime-text-2 "$@"

In the /var/crash/ appeared the file "_opt_sublime_text_2_sublime_text.1000.crash", an excerpt is:

SegvAnalysis:
 Segfault happened at: 0x7fab2f9b66fa <strlen+42>:  movdqu (%rax),%xmm12
 PC (0x7fab2f9b66fa) ok
 source "(%rax)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%xmm12" ok
SegvReason: reading NULL VMA
Stacktrace:

Edit: crash log of Sublime text 3

SegvAnalysis:
 Segfault happened at: 0x7fa347c126fa <strlen+42>:  movdqu (%rax),%xmm12
 PC (0x7fa347c126fa) ok
 source "(%rax)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%xmm12" ok
SegvReason: reading NULL VMA
SourcePackage: sublime-text
Stacktrace:
 #0  strlen () at ../sysdeps/x86_64/strlen.S:106
 No locals.
 #1  0x000000000074c324 in ?? ()
 No symbol table info available.
 #2  0x00000000005c5ffe in ?? ()
 No symbol table info available.
 #3  0x000000000044c0eb in ?? ()
 No symbol table info available.
 #4  0x000000000044c7b8 in ?? ()
 No symbol table info available.
 #5  0x000000000044c904 in ?? ()
 No symbol table info available.
 #6  0x000000000057e3c6 in ?? ()
 No symbol table info available.
 #7  0x000000000058e640 in ?? ()
 No symbol table info available.
 #8  0x000000000058723c in ?? ()
 No symbol table info available.
 #9  0x00000000005af5fc in ?? ()
 No symbol table info available.
 #10 0x00000000005c3924 in ?? ()
 No symbol table info available.
 #11 0x00000000005c8747 in ?? ()
 No symbol table info available.
 #12 0x00007fa3426cbe5c in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
 No symbol table info available.
 [...]
 sublime_text crashed with SIGSEGV in strlen()

What I must do to solve that frustrating problem?

Thanks!

ubuntu
sublimetext2
sftp
asked on Stack Overflow Feb 9, 2016 by user2342558 • edited Sep 24, 2019 by user2342558

1 Answer

0

Solution founded in the italian Ubuntu-it forum: http://forum.ubuntu-it.org/viewtopic.php?f=8&t=607760

The solution is to use sshfs.

answered on Stack Overflow Feb 15, 2016 by user2342558

User contributions licensed under CC BY-SA 3.0