git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Git gui freeze on ubuntu 18.04
@ 2020-05-28 14:24 Peter Jensen
  2020-05-29  8:37 ` Peter Jensen
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Jensen @ 2020-05-28 14:24 UTC (permalink / raw)
  To: git

git gui often freezes on Ubuntu 18.04. I can reproduce the problem by
launching the gui several times. If I press the "ctrl" key then the
gui becomes visible.

Collected information.

uname -a
Linux optiplex 5.3.0-53-generic #47~18.04.1-Ubuntu SMP Thu May 7
13:10:50 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

env | grep -i git
GIT_EDITOR=nano

# Strace up to freeze.
sudo strace -p 568
strace: Process 568 attached
wait4(572,

#Verbose output does not provide more information
sudo strace -v -p 1991
strace: Process 1991 attached
wait4(2003,

Peter

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Git gui freeze on ubuntu 18.04
  2020-05-28 14:24 Git gui freeze on ubuntu 18.04 Peter Jensen
@ 2020-05-29  8:37 ` Peter Jensen
  2020-05-30 18:02   ` Pratyush Yadav
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Jensen @ 2020-05-29  8:37 UTC (permalink / raw)
  To: report.jensen; +Cc: git

strace from the very beginning until crash

-------------------------------------------------------------------------------------------------------
strace git gui
execve("/usr/bin/git", ["git", "gui"], 0x7ffc195900c8 /* 59 vars */) = 0
brk(NULL)                               = 0x55c206a34000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or 
directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=96441, ...}) = 0
mmap(NULL, 96441, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fa7e6533000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libpcre2-8.so.0", 
O_RDONLY|O_CLOEXEC) = 3
read(3, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\36\0\0\0\0\0\0"..., 
832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=530984, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa7e6531000
mmap(NULL, 2626312, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0x7fa7e60a2000
mprotect(0x7fa7e6123000, 2093056, PROT_NONE) = 0
mmap(0x7fa7e6322000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x80000) = 0x7fa7e6322000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\37\0\0\0\0\0\0"..., 
832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=116960, ...}) = 0
mmap(NULL, 2212016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0x7fa7e5e85000
mprotect(0x7fa7e5ea1000, 2093056, PROT_NONE) = 0
mmap(0x7fa7e60a0000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0x7fa7e60a0000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", 
O_RDONLY|O_CLOEXEC) = 3
read(3, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000b\0\0\0\0\0\0"..., 
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=144976, ...}) = 0
mmap(NULL, 2221184, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0x7fa7e5c66000
mprotect(0x7fa7e5c80000, 2093056, PROT_NONE) = 0
mmap(0x7fa7e5e7f000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19000) = 0x7fa7e5e7f000
mmap(0x7fa7e5e81000, 13440, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa7e5e81000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\"\0\0\0\0\0\0"..., 
832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=31680, ...}) = 0
mmap(NULL, 2128864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0x7fa7e5a5e000
mprotect(0x7fa7e5a65000, 2093056, PROT_NONE) = 0
mmap(0x7fa7e5c64000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fa7e5c64000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, 
"\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\34\2\0\0\0\0\0"..., 
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=2030544, ...}) = 0
mmap(NULL, 4131552, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0x7fa7e566d000
mprotect(0x7fa7e5854000, 2097152, PROT_NONE) = 0
mmap(0x7fa7e5a54000, 24576, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e7000) = 0x7fa7e5a54000
mmap(0x7fa7e5a5a000, 15072, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa7e5a5a000
close(3)                                = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fa7e652f000
arch_prctl(ARCH_SET_FS, 0x7fa7e6530080) = 0
mprotect(0x7fa7e5a54000, 16384, PROT_READ) = 0
mprotect(0x7fa7e5e7f000, 4096, PROT_READ) = 0
mprotect(0x7fa7e5c64000, 4096, PROT_READ) = 0
mprotect(0x7fa7e60a0000, 4096, PROT_READ) = 0
mprotect(0x7fa7e6322000, 4096, PROT_READ) = 0
mprotect(0x55c204d21000, 16384, PROT_READ) = 0
mprotect(0x7fa7e654b000, 4096, PROT_READ) = 0
munmap(0x7fa7e6533000, 96441)           = 0
set_tid_address(0x7fa7e6530350)         = 21766
set_robust_list(0x7fa7e6530360, 24)     = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x7fa7e5c6bcb0, sa_mask=[], 
sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7fa7e5c78890}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x7fa7e5c6bd50, sa_mask=[], 
sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fa7e5c78890}, 
NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, 
rlim_max=RLIM64_INFINITY}) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR)   = 3
close(3)                                = 0
rt_sigprocmask(SIG_UNBLOCK, [PIPE], NULL, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], 
sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fa7e56abf20}, 
{sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
brk(NULL)                               = 0x55c206a34000
brk(0x55c206a55000)                     = 0x55c206a55000
stat("/usr/share/locale", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=10281936, ...}) = 0
mmap(NULL, 10281936, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fa7e4c9e000
close(3)                                = 0
access("/etc/gitconfig", R_OK)          = -1 ENOENT (No such file or 
directory)
access("/home/peter/.config/git/config", R_OK) = -1 ENOENT (No such file 
or directory)
access("/home/peter/.gitconfig", R_OK)  = 0
openat(AT_FDCWD, "/home/peter/.gitconfig", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0775, st_size=170, ...}) = 0
fstat(3, {st_mode=S_IFREG|0775, st_size=170, ...}) = 0
read(3, "[push]\n\tdefault = current\n\n[user"..., 4096) = 170
read(3, "", 4096)                       = 0
read(3, "", 4096)                       = 0
close(3)                                = 0
getcwd("/home/peter/git/gh_code", 129)  = 24
stat("/home/peter/git/gh_code", {st_mode=S_IFDIR|0775, st_size=4096, 
...}) = 0
stat("/home/peter/git/gh_code/.git", {st_mode=S_IFDIR|0775, 
st_size=4096, ...}) = 0
lstat("/home/peter/git/gh_code/.git/HEAD", {st_mode=S_IFREG|0664, 
st_size=23, ...}) = 0
openat(AT_FDCWD, "/home/peter/git/gh_code/.git/HEAD", O_RDONLY) = 3
read(3, "ref: refs/heads/master\n", 255) = 23
read(3, "", 232)                        = 0
close(3)                                = 0
lstat("/home/peter/git/gh_code/.git/commondir", 0x7ffd14998020) = -1 
ENOENT (No such file or directory)
access("/home/peter/git/gh_code/.git/objects", X_OK) = 0
access("/home/peter/git/gh_code/.git/refs", X_OK) = 0
lstat(".git/commondir", 0x7ffd149981a0) = -1 ENOENT (No such file or 
directory)
openat(AT_FDCWD, ".git/config", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0664, st_size=834, ...}) = 0
fstat(3, {st_mode=S_IFREG|0664, st_size=834, ...}) = 0
read(3, "[core]\n\trepositoryformatversion "..., 4096) = 834
read(3, "", 4096)                       = 0
close(3)                                = 0
access("/etc/gitconfig", R_OK)          = -1 ENOENT (No such file or 
directory)
access("/home/peter/.config/git/config", R_OK) = -1 ENOENT (No such file 
or directory)
access("/home/peter/.gitconfig", R_OK)  = 0
openat(AT_FDCWD, "/home/peter/.gitconfig", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0775, st_size=170, ...}) = 0
fstat(3, {st_mode=S_IFREG|0775, st_size=170, ...}) = 0
read(3, "[push]\n\tdefault = current\n\n[user"..., 4096) = 170
read(3, "", 4096)                       = 0
read(3, "", 4096)                       = 0
close(3)                                = 0
access(".git/config", R_OK)             = 0
openat(AT_FDCWD, ".git/config", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0664, st_size=834, ...}) = 0
fstat(3, {st_mode=S_IFREG|0664, st_size=834, ...}) = 0
read(3, "[core]\n\trepositoryformatversion "..., 4096) = 834
read(3, "", 4096)                       = 0
close(3)                                = 0
stat("/usr/lib/git-core/git-gui", {st_mode=S_IFREG|0755, st_size=105779, 
...}) = 0
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
clone(child_stack=NULL, 
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7fa7e6530350) = 21767
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {sa_handler=0x55c204a01810, sa_mask=[INT], 
sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fa7e56abf20}, 
{sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGHUP, {sa_handler=0x55c204a01810, sa_mask=[HUP], 
sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fa7e56abf20}, 
{sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGTERM, {sa_handler=0x55c204a01810, sa_mask=[TERM], 
sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fa7e56abf20}, 
{sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGQUIT, {sa_handler=0x55c204a01810, sa_mask=[QUIT], 
sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fa7e56abf20}, 
{sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=0x55c204a01810, sa_mask=[PIPE], 
sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fa7e56abf20}, 
{sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, 
sa_restorer=0x7fa7e56abf20}, 8) = 0
close(4)                                = 0
read(3, "", 8)                          = 0
close(3)                                = 0
wait4(21767, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 21767
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=21767, 
si_uid=1000, si_status=0, si_utime=8, si_stime=2} ---
exit_group(0)                           = ?
+++ exited with 0 +++
peter@optiplex[ master* ]>
peter@optiplex[ master* ]> strace git gui
execve("/usr/bin/git", ["git", "gui"], 0x7fffe2ceb3d8 /* 59 vars */) = 0
brk(NULL)                               = 0x5555e3e40000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or 
directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=96441, ...}) = 0
mmap(NULL, 96441, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fcb00ac3000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libpcre2-8.so.0", 
O_RDONLY|O_CLOEXEC) = 3
read(3, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\36\0\0\0\0\0\0"..., 
832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=530984, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fcb00ac1000
mmap(NULL, 2626312, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0x7fcb00632000
mprotect(0x7fcb006b3000, 2093056, PROT_NONE) = 0
mmap(0x7fcb008b2000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x80000) = 0x7fcb008b2000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\37\0\0\0\0\0\0"..., 
832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=116960, ...}) = 0
mmap(NULL, 2212016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0x7fcb00415000
mprotect(0x7fcb00431000, 2093056, PROT_NONE) = 0
mmap(0x7fcb00630000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0x7fcb00630000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", 
O_RDONLY|O_CLOEXEC) = 3
read(3, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000b\0\0\0\0\0\0"..., 
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=144976, ...}) = 0
mmap(NULL, 2221184, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0x7fcb001f6000
mprotect(0x7fcb00210000, 2093056, PROT_NONE) = 0
mmap(0x7fcb0040f000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19000) = 0x7fcb0040f000
mmap(0x7fcb00411000, 13440, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fcb00411000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\"\0\0\0\0\0\0"..., 
832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=31680, ...}) = 0
mmap(NULL, 2128864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0x7fcafffee000
mprotect(0x7fcaffff5000, 2093056, PROT_NONE) = 0
mmap(0x7fcb001f4000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fcb001f4000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, 
"\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\34\2\0\0\0\0\0"..., 
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=2030544, ...}) = 0
mmap(NULL, 4131552, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0x7fcaffbfd000
mprotect(0x7fcaffde4000, 2097152, PROT_NONE) = 0
mmap(0x7fcafffe4000, 24576, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e7000) = 0x7fcafffe4000
mmap(0x7fcafffea000, 15072, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fcafffea000
close(3)                                = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x7fcb00abf000
arch_prctl(ARCH_SET_FS, 0x7fcb00ac0080) = 0
mprotect(0x7fcafffe4000, 16384, PROT_READ) = 0
mprotect(0x7fcb0040f000, 4096, PROT_READ) = 0
mprotect(0x7fcb001f4000, 4096, PROT_READ) = 0
mprotect(0x7fcb00630000, 4096, PROT_READ) = 0
mprotect(0x7fcb008b2000, 4096, PROT_READ) = 0
mprotect(0x5555e1e2a000, 16384, PROT_READ) = 0
mprotect(0x7fcb00adb000, 4096, PROT_READ) = 0
munmap(0x7fcb00ac3000, 96441)           = 0
set_tid_address(0x7fcb00ac0350)         = 21805
set_robust_list(0x7fcb00ac0360, 24)     = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x7fcb001fbcb0, sa_mask=[], 
sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7fcb00208890}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x7fcb001fbd50, sa_mask=[], 
sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fcb00208890}, 
NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, 
rlim_max=RLIM64_INFINITY}) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR)   = 3
close(3)                                = 0
rt_sigprocmask(SIG_UNBLOCK, [PIPE], NULL, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], 
sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fcaffc3bf20}, 
{sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
brk(NULL)                               = 0x5555e3e40000
brk(0x5555e3e61000)                     = 0x5555e3e61000
stat("/usr/share/locale", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=10281936, ...}) = 0
mmap(NULL, 10281936, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fcaff22e000
close(3)                                = 0
access("/etc/gitconfig", R_OK)          = -1 ENOENT (No such file or 
directory)
access("/home/peter/.config/git/config", R_OK) = -1 ENOENT (No such file 
or directory)
access("/home/peter/.gitconfig", R_OK)  = 0
openat(AT_FDCWD, "/home/peter/.gitconfig", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0775, st_size=170, ...}) = 0
fstat(3, {st_mode=S_IFREG|0775, st_size=170, ...}) = 0
read(3, "[push]\n\tdefault = current\n\n[user"..., 4096) = 170
read(3, "", 4096)                       = 0
read(3, "", 4096)                       = 0
close(3)                                = 0
getcwd("/home/peter/git/gh_code", 129)  = 24
stat("/home/peter/git/gh_code", {st_mode=S_IFDIR|0775, st_size=4096, 
...}) = 0
stat("/home/peter/git/gh_code/.git", {st_mode=S_IFDIR|0775, 
st_size=4096, ...}) = 0
lstat("/home/peter/git/gh_code/.git/HEAD", {st_mode=S_IFREG|0664, 
st_size=23, ...}) = 0
openat(AT_FDCWD, "/home/peter/git/gh_code/.git/HEAD", O_RDONLY) = 3
read(3, "ref: refs/heads/master\n", 255) = 23
read(3, "", 232)                        = 0
close(3)                                = 0
lstat("/home/peter/git/gh_code/.git/commondir", 0x7ffd6bbf1280) = -1 
ENOENT (No such file or directory)
access("/home/peter/git/gh_code/.git/objects", X_OK) = 0
access("/home/peter/git/gh_code/.git/refs", X_OK) = 0
lstat(".git/commondir", 0x7ffd6bbf1400) = -1 ENOENT (No such file or 
directory)
openat(AT_FDCWD, ".git/config", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0664, st_size=834, ...}) = 0
fstat(3, {st_mode=S_IFREG|0664, st_size=834, ...}) = 0
read(3, "[core]\n\trepositoryformatversion "..., 4096) = 834
read(3, "", 4096)                       = 0
close(3)                                = 0
access("/etc/gitconfig", R_OK)          = -1 ENOENT (No such file or 
directory)
access("/home/peter/.config/git/config", R_OK) = -1 ENOENT (No such file 
or directory)
access("/home/peter/.gitconfig", R_OK)  = 0
openat(AT_FDCWD, "/home/peter/.gitconfig", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0775, st_size=170, ...}) = 0
fstat(3, {st_mode=S_IFREG|0775, st_size=170, ...}) = 0
read(3, "[push]\n\tdefault = current\n\n[user"..., 4096) = 170
read(3, "", 4096)                       = 0
read(3, "", 4096)                       = 0
close(3)                                = 0
access(".git/config", R_OK)             = 0
openat(AT_FDCWD, ".git/config", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0664, st_size=834, ...}) = 0
fstat(3, {st_mode=S_IFREG|0664, st_size=834, ...}) = 0
read(3, "[core]\n\trepositoryformatversion "..., 4096) = 834
read(3, "", 4096)                       = 0
close(3)                                = 0
stat("/usr/lib/git-core/git-gui", {st_mode=S_IFREG|0755, st_size=105779, 
...}) = 0
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
clone(child_stack=NULL, 
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7fcb00ac0350) = 21806
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {sa_handler=0x5555e1b0a810, sa_mask=[INT], 
sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fcaffc3bf20}, 
{sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGHUP, {sa_handler=0x5555e1b0a810, sa_mask=[HUP], 
sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fcaffc3bf20}, 
{sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGTERM, {sa_handler=0x5555e1b0a810, sa_mask=[TERM], 
sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fcaffc3bf20}, 
{sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGQUIT, {sa_handler=0x5555e1b0a810, sa_mask=[QUIT], 
sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fcaffc3bf20}, 
{sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=0x5555e1b0a810, sa_mask=[PIPE], 
sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fcaffc3bf20}, 
{sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, 
sa_restorer=0x7fcaffc3bf20}, 8) = 0
close(4)                                = 0
read(3, "", 8)                          = 0
close(3)                                = 0
wait4(21806, 0x7ffd6bbf1684, 0, NULL)   = ? ERESTARTSYS (To be restarted 
if SA_RESTART is set)
--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
wait4(21806, 0x7ffd6bbf1684, 0, NULL)   = ? ERESTARTSYS (To be restarted 
if SA_RESTART is set)
--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
wait4(21806, 0x7ffd6bbf1684, 0, NULL)   = ? ERESTARTSYS (To be restarted 
if SA_RESTART is set)
--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
wait4(21806,




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Git gui freeze on ubuntu 18.04
  2020-05-29  8:37 ` Peter Jensen
@ 2020-05-30 18:02   ` Pratyush Yadav
  2020-05-30 19:28     ` Peter Jensen
  0 siblings, 1 reply; 5+ messages in thread
From: Pratyush Yadav @ 2020-05-30 18:02 UTC (permalink / raw)
  To: Peter Jensen; +Cc: report.jensen, git

Hi Peter,

On 29/05/20 09:37AM, Peter Jensen wrote:
> strace from the very beginning until crash

git-gui is written in Tcl. So while strace output might give some clues, 
it is not as helpful as I'd hope. And anyway, I'm afraid I just don't 
have the bandwidth to look through it and figure out what's going on.

If you could try the latest master [0], it would be nice. The build is 
pretty simple and quick. Any hints more specific than "something 
crashes" would be much more helpful in figuring out what's going wrong.

[0] https://github.com/prati0100/git-gui/

-- 
Regards,
Pratyush Yadav

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Git gui freeze on ubuntu 18.04
  2020-05-30 18:02   ` Pratyush Yadav
@ 2020-05-30 19:28     ` Peter Jensen
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Jensen @ 2020-05-30 19:28 UTC (permalink / raw)
  To: Pratyush Yadav; +Cc: git, Peter Jensen

Pratyush,

>Any hints more specific than "something
> crashes" would be much more helpful in figuring out what's going wrong.
The program freeze before the main window appears.
As far as I can see from the strace log "tcl" is waiting for something
to happen.
I think "tcl" is waiting for the output from a git command.

If the strace log does not give you any useful information, what do you suggest
I do to track the bug down? Has git-gui got any logging build in that I can
activate via an option e.g "-debug" or by setting an environment variable?

If not can you suggest anything that would be useful?

I installed 18.04 on my laptop, and the bug also showed up here.
The machines have very little in common, except that they
both have a SSD disk.

Peter

On Sat, May 30, 2020 at 7:03 PM Pratyush Yadav <me@yadavpratyush.com> wrote:
>
> Hi Peter,
>
> On 29/05/20 09:37AM, Peter Jensen wrote:
> > strace from the very beginning until crash
>
> git-gui is written in Tcl. So while strace output might give some clues,
> it is not as helpful as I'd hope. And anyway, I'm afraid I just don't
> have the bandwidth to look through it and figure out what's going on.
>
> If you could try the latest master [0], it would be nice. The build is
> pretty simple and quick. Any hints more specific than "something
> crashes" would be much more helpful in figuring out what's going wrong.
>
> [0] https://github.com/prati0100/git-gui/
>
> --
> Regards,
> Pratyush Yadav

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Git gui freeze on ubuntu 18.04
@ 2020-05-28 21:05 Peter Jensen
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Jensen @ 2020-05-28 21:05 UTC (permalink / raw)
  To: git

git gui often freezes on Ubuntu 18.04. I can reproduce the problem by
launching the gui several times. If I press the "ctrl" key then the
gui becomes visible.

Collected information.

uname -a
Linux optiplex 5.3.0-53-generic #47~18.04.1-Ubuntu SMP Thu May 7
13:10:50 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

env | grep -i git
GIT_EDITOR=nano

# Strace up to freeze.
sudo strace -p 568
strace: Process 568 attached
wait4(572,

#Verbose output does not provide more information
sudo strace -v -p 1991
strace: Process 1991 attached
wait4(2003,

Peter

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-05-30 19:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-28 14:24 Git gui freeze on ubuntu 18.04 Peter Jensen
2020-05-29  8:37 ` Peter Jensen
2020-05-30 18:02   ` Pratyush Yadav
2020-05-30 19:28     ` Peter Jensen
2020-05-28 21:05 Peter Jensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).