Sublime Forum

Dev Build 3111 - no repaint if ran from command line with > 1 file

#1

Sublime 3111 Dev Build
Linux (Fedora 23, x64, Intel video)

If I start sublime from the command line with more than one file then:

  • the current tab (the one showing initially) does not paint its contents
  • clicking on other tabs “does not work”, the other tab’s contents does not paint

Exiting sublime and running it with one file (sublime_text foo.bar) or with no files does not have this issue, even though it reopens the same two (or more) files.

0 Likes

Dev Build 3111
Dev Build 3112
#2

This seems to work fine on Ubuntu 15.10 x64 (VM hosted on Windows 7x64) with build 3111. Fresh state, so default theme etc. using subl ./file1 ./file2

0 Likes

#3

Definitely there. Downgrading to 3109 makes the issue go away.

I tried blowing away .config/sublime_text_3 and it made the issue go away too, but it returned as soon as I opened a project, quit, and then tried to start sublime again (this is still with a brand new, blank .config folder).

So it’s specific to 3111, and the trigger is: 1) having a project (which is then opened on startup) and 2) passing some files on the command line.

I can actually see a stuck “refresh wheel” on one of the project’s folders, in the left (project) panel.

The project has Java and XML files (it’s Android), never had any issues with it before.

Some technical bits I was able to gather, hopefully it helps:

$ ps -ef | grep subl
kman      6879     1  0 14:43 ?        00:00:00 sublime_text ./Documents/dalvik_memory_corruption_logcat.txt ./Documents/eclipse-xml-slow_finally-opened.txt
kman      6890  6879  0 14:43 ?        00:00:00 /home/kman/sublime_text_3/plugin_host 6879

$ pstack 6879
Thread 8 (Thread 0x7f6f97c53700 (LWP 6880)):
#0  0x00007f6fa6a51fdd in poll () at /lib64/libc.so.6
#1  0x00007f6fa77c916c in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007f6fa77c927c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f6fa77c92b9 in glib_worker_main () at /lib64/libglib-2.0.so.0
#4  0x00007f6fa77ef835 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#5  0x00007f6fa756960a in start_thread () at /lib64/libpthread.so.0
#6  0x00007f6fa6a5da4d in clone () at /lib64/libc.so.6
Thread 7 (Thread 0x7f6f96c51700 (LWP 6882)):
#0  0x00007f6fa6a51fdd in poll () at /lib64/libc.so.6
#1  0x00007f6fa77c916c in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007f6fa77c94f2 in g_main_loop_run () at /lib64/libglib-2.0.so.0
#3  0x00007f6fa011a336 in gdbus_shared_thread_func () at /lib64/libgio-2.0.so.0
#4  0x00007f6fa77ef835 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#5  0x00007f6fa756960a in start_thread () at /lib64/libpthread.so.0
#6  0x00007f6fa6a5da4d in clone () at /lib64/libc.so.6
Thread 6 (Thread 0x7f6f96450700 (LWP 6883)):
#0  0x00007f6fa756eb10 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00000000005c5d31 in  ()
#2  0x00000000005c5e2e in  ()
#3  0x00007f6fa756960a in start_thread () at /lib64/libpthread.so.0
#4  0x00007f6fa6a5da4d in clone () at /lib64/libc.so.6
Thread 5 (Thread 0x7f6f95c4f700 (LWP 6884)):
#0  0x00007f6fa756eb10 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00000000005c9e1f in  ()
#2  0x00000000005c9e91 in  ()
#3  0x00000000005c9ec9 in  ()
#4  0x00007f6fa756960a in start_thread () at /lib64/libpthread.so.0
#5  0x00007f6fa6a5da4d in clone () at /lib64/libc.so.6
Thread 4 (Thread 0x7f6f9544e700 (LWP 6885)):
#0  0x00007f6fa756eb10 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00000000005c9e1f in  ()
#2  0x00000000005c9e91 in  ()
#3  0x00000000005c9ec9 in  ()
#4  0x00007f6fa756960a in start_thread () at /lib64/libpthread.so.0
#5  0x00007f6fa6a5da4d in clone () at /lib64/libc.so.6
Thread 3 (Thread 0x7f6f7ca4c700 (LWP 6889)):
#0  0x00007f6fa7570e57 in do_futex_wait.constprop () at /lib64/libpthread.so.0
#1  0x00007f6fa7570f04 in __new_sem_wait_slow.constprop.0 () at /lib64/libpthread.so.0
#2  0x00007f6fa7570faa in sem_wait@@GLIBC_2.2.5 () at /lib64/libpthread.so.0
#3  0x00000000005c7e55 in  ()
#4  0x00000000005c7f12 in  ()
#5  0x0000000000411075 in  ()
#6  0x00007f6fa756960a in start_thread () at /lib64/libpthread.so.0
#7  0x00007f6fa6a5da4d in clone () at /lib64/libc.so.6
Thread 2 (Thread 0x7f6f69dff700 (LWP 6891)):
#0  0x00007f6fa75725db in waitpid () at /lib64/libpthread.so.0
#1  0x00000000005c840b in  ()
#2  0x0000000000738d20 in  ()
#3  0x00007f6fa756960a in start_thread () at /lib64/libpthread.so.0
#4  0x00007f6fa6a5da4d in clone () at /lib64/libc.so.6
Thread 1 (Thread 0x7f6fa810b740 (LWP 6879)):
#0  0x00007f6fa6a51fdd in poll () at /lib64/libc.so.6
#1  0x00007f6fa77c916c in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007f6fa77c94f2 in g_main_loop_run () at /lib64/libglib-2.0.so.0
#3  0x00007f6f9ea82e57 in gtk_main () at /lib64/libgtk-x11-2.0.so
#4  0x00000000005b007a in  ()
#5  0x0000000000407ba2 in  ()
#6  0x00007f6fa697b580 in __libc_start_main () at /lib64/libc.so.6
#7  0x000000000040bae7 in  ()

$ pstack 6890
Thread 3 (Thread 0x7f3cf6dda700 (LWP 6892)):
#0  0x00007f3cf7ab9b10 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000000004ce10f in ?? ()
#2  0x00000000004ce20c in ?? ()
#3  0x00007f3cf7ab460a in start_thread () from /lib64/libpthread.so.0
#4  0x00007f3cf6edda4d in clone () from /lib64/libc.so.6
Thread 2 (Thread 0x7f3cef8b4700 (LWP 6893)):
#0  0x00007f3cf7abd27d in nanosleep () from /lib64/libpthread.so.0
#1  0x00000000004cfe2a in ?? ()
#2  0x000000000085fcd0 in execute_native_thread_routine ()
#3  0x00007f3cf7ab460a in start_thread () from /lib64/libpthread.so.0
#4  0x00007f3cf6edda4d in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x7f3cf7ec5740 (LWP 6890)):
#0  0x00007f3cf7abbe57 in do_futex_wait.constprop () from /lib64/libpthread.so.0
#1  0x00007f3cf7abbf04 in __new_sem_wait_slow.constprop.0 () from /lib64/libpthread.so.0
#2  0x00007f3cf7abbfaa in sem_wait@@GLIBC_2.2.5 () from /lib64/libpthread.so.0
#3  0x00000000004cfa6b in ?? ()
#4  0x00000000004cfb28 in ?? ()
#5  0x00000000004a8cd8 in ?? ()
#6  0x00007f3cf6dfb580 in __libc_start_main () from /lib64/libc.so.6
#7  0x00000000004aa417 in _start ()
0 Likes