{"thread":{"id":"53570","subject":"Git gui freeze on ubuntu 18.04","startedAt":"2020-05-28T14:24:21Z","lastAt":"2020-05-30T19:28:32Z","messageCount":4,"participants":["Peter Jensen","Pratyush Yadav"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"398736","messageId":"CAHgM7c4PQQvTrfn4fqKy8evQ2ydbO7ggBn4hPUTF5e2G+ApMvQ@mail.gmail.com","threadId":"53570","inReplyTo":null,"subject":"Git gui freeze on ubuntu 18.04","fromName":"Peter Jensen","fromEmail":"report.jensen@gmail.com","sentAt":"2020-05-28T14:24:04Z","receivedAt":"2020-05-28T14:24:21Z","isPatch":false,"sender":{"key":"report.jensen@gmail.com","avatar":null},"body":"git gui often freezes on Ubuntu 18.04. I can reproduce the problem by\nlaunching the gui several times. If I press the \"ctrl\" key then the\ngui becomes visible.\n\nCollected information.\n\nuname -a\nLinux optiplex 5.3.0-53-generic #47~18.04.1-Ubuntu SMP Thu May 7\n13:10:50 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux\n\nenv | grep -i git\nGIT_EDITOR=nano\n\n# Strace up to freeze.\nsudo strace -p 568\nstrace: Process 568 attached\nwait4(572,\n\n#Verbose output does not provide more information\nsudo strace -v -p 1991\nstrace: Process 1991 attached\nwait4(2003,\n\nPeter\n"},{"id":"398840","messageId":"76f5b3ff-21a7-bff7-4785-b56c34eda644@gmail.com","threadId":"53570","inReplyTo":"CAHgM7c4PQQvTrfn4fqKy8evQ2ydbO7ggBn4hPUTF5e2G+ApMvQ@mail.gmail.com","subject":"Re: Git gui freeze on ubuntu 18.04","fromName":"Peter Jensen","fromEmail":"home.jensen@gmail.com","sentAt":"2020-05-29T08:37:24Z","receivedAt":"2020-05-29T08:37:30Z","isPatch":false,"sender":{"key":"home.jensen@gmail.com","avatar":null},"body":"strace from the very beginning until crash\n\n-------------------------------------------------------------------------------------------------------\nstrace git gui\nexecve(\"/usr/bin/git\", [\"git\", \"gui\"], 0x7ffc195900c8 /* 59 vars */) = 0\nbrk(NULL)                               = 0x55c206a34000\naccess(\"/etc/ld.so.nohwcap\", F_OK)      = -1 ENOENT (No such file or \ndirectory)\naccess(\"/etc/ld.so.preload\", R_OK)      = -1 ENOENT (No such file or \ndirectory)\nopenat(AT_FDCWD, \"/etc/ld.so.cache\", O_RDONLY|O_CLOEXEC) = 3\nfstat(3, {st_mode=S_IFREG|0644, st_size=96441, ...}) = 0\nmmap(NULL, 96441, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fa7e6533000\nclose(3)                                = 0\naccess(\"/etc/ld.so.nohwcap\", F_OK)      = -1 ENOENT (No such file or \ndirectory)\nopenat(AT_FDCWD, \"/usr/lib/x86_64-linux-gnu/libpcre2-8.so.0\", \nO_RDONLY|O_CLOEXEC) = 3\nread(3, \n\"\\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\"..., \n832) = 832\nfstat(3, {st_mode=S_IFREG|0644, st_size=530984, ...}) = 0\nmmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) \n= 0x7fa7e6531000\nmmap(NULL, 2626312, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, \n0) = 0x7fa7e60a2000\nmprotect(0x7fa7e6123000, 2093056, PROT_NONE) = 0\nmmap(0x7fa7e6322000, 8192, PROT_READ|PROT_WRITE, \nMAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x80000) = 0x7fa7e6322000\nclose(3)                                = 0\naccess(\"/etc/ld.so.nohwcap\", F_OK)      = -1 ENOENT (No such file or \ndirectory)\nopenat(AT_FDCWD, \"/lib/x86_64-linux-gnu/libz.so.1\", O_RDONLY|O_CLOEXEC) = 3\nread(3, \n\"\\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\"..., \n832) = 832\nfstat(3, {st_mode=S_IFREG|0644, st_size=116960, ...}) = 0\nmmap(NULL, 2212016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, \n0) = 0x7fa7e5e85000\nmprotect(0x7fa7e5ea1000, 2093056, PROT_NONE) = 0\nmmap(0x7fa7e60a0000, 8192, PROT_READ|PROT_WRITE, \nMAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0x7fa7e60a0000\nclose(3)                                = 0\naccess(\"/etc/ld.so.nohwcap\", F_OK)      = -1 ENOENT (No such file or \ndirectory)\nopenat(AT_FDCWD, \"/lib/x86_64-linux-gnu/libpthread.so.0\", \nO_RDONLY|O_CLOEXEC) = 3\nread(3, \n\"\\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\"..., \n832) = 832\nfstat(3, {st_mode=S_IFREG|0755, st_size=144976, ...}) = 0\nmmap(NULL, 2221184, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, \n0) = 0x7fa7e5c66000\nmprotect(0x7fa7e5c80000, 2093056, PROT_NONE) = 0\nmmap(0x7fa7e5e7f000, 8192, PROT_READ|PROT_WRITE, \nMAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19000) = 0x7fa7e5e7f000\nmmap(0x7fa7e5e81000, 13440, PROT_READ|PROT_WRITE, \nMAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa7e5e81000\nclose(3)                                = 0\naccess(\"/etc/ld.so.nohwcap\", F_OK)      = -1 ENOENT (No such file or \ndirectory)\nopenat(AT_FDCWD, \"/lib/x86_64-linux-gnu/librt.so.1\", O_RDONLY|O_CLOEXEC) = 3\nread(3, \n\"\\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\"..., \n832) = 832\nfstat(3, {st_mode=S_IFREG|0644, st_size=31680, ...}) = 0\nmmap(NULL, 2128864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, \n0) = 0x7fa7e5a5e000\nmprotect(0x7fa7e5a65000, 2093056, PROT_NONE) = 0\nmmap(0x7fa7e5c64000, 8192, PROT_READ|PROT_WRITE, \nMAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fa7e5c64000\nclose(3)                                = 0\naccess(\"/etc/ld.so.nohwcap\", F_OK)      = -1 ENOENT (No such file or \ndirectory)\nopenat(AT_FDCWD, \"/lib/x86_64-linux-gnu/libc.so.6\", O_RDONLY|O_CLOEXEC) = 3\nread(3, \n\"\\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\"..., \n832) = 832\nfstat(3, {st_mode=S_IFREG|0755, st_size=2030544, ...}) = 0\nmmap(NULL, 4131552, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, \n0) = 0x7fa7e566d000\nmprotect(0x7fa7e5854000, 2097152, PROT_NONE) = 0\nmmap(0x7fa7e5a54000, 24576, PROT_READ|PROT_WRITE, \nMAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e7000) = 0x7fa7e5a54000\nmmap(0x7fa7e5a5a000, 15072, PROT_READ|PROT_WRITE, \nMAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa7e5a5a000\nclose(3)                                = 0\nmmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) \n= 0x7fa7e652f000\narch_prctl(ARCH_SET_FS, 0x7fa7e6530080) = 0\nmprotect(0x7fa7e5a54000, 16384, PROT_READ) = 0\nmprotect(0x7fa7e5e7f000, 4096, PROT_READ) = 0\nmprotect(0x7fa7e5c64000, 4096, PROT_READ) = 0\nmprotect(0x7fa7e60a0000, 4096, PROT_READ) = 0\nmprotect(0x7fa7e6322000, 4096, PROT_READ) = 0\nmprotect(0x55c204d21000, 16384, PROT_READ) = 0\nmprotect(0x7fa7e654b000, 4096, PROT_READ) = 0\nmunmap(0x7fa7e6533000, 96441)           = 0\nset_tid_address(0x7fa7e6530350)         = 21766\nset_robust_list(0x7fa7e6530360, 24)     = 0\nrt_sigaction(SIGRTMIN, {sa_handler=0x7fa7e5c6bcb0, sa_mask=[], \nsa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7fa7e5c78890}, NULL, 8) = 0\nrt_sigaction(SIGRT_1, {sa_handler=0x7fa7e5c6bd50, sa_mask=[], \nsa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fa7e5c78890}, \nNULL, 8) = 0\nrt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0\nprlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, \nrlim_max=RLIM64_INFINITY}) = 0\nopenat(AT_FDCWD, \"/dev/null\", O_RDWR)   = 3\nclose(3)                                = 0\nrt_sigprocmask(SIG_UNBLOCK, [PIPE], NULL, 8) = 0\nrt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], \nsa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fa7e56abf20}, \n{sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0\nbrk(NULL)                               = 0x55c206a34000\nbrk(0x55c206a55000)                     = 0x55c206a55000\nstat(\"/usr/share/locale\", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0\nopenat(AT_FDCWD, \"/usr/lib/locale/locale-archive\", O_RDONLY|O_CLOEXEC) = 3\nfstat(3, {st_mode=S_IFREG|0644, st_size=10281936, ...}) = 0\nmmap(NULL, 10281936, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fa7e4c9e000\nclose(3)                                = 0\naccess(\"/etc/gitconfig\", R_OK)          = -1 ENOENT (No such file or \ndirectory)\naccess(\"/home/peter/.config/git/config\", R_OK) = -1 ENOENT (No such file \nor directory)\naccess(\"/home/peter/.gitconfig\", R_OK)  = 0\nopenat(AT_FDCWD, \"/home/peter/.gitconfig\", O_RDONLY) = 3\nfstat(3, {st_mode=S_IFREG|0775, st_size=170, ...}) = 0\nfstat(3, {st_mode=S_IFREG|0775, st_size=170, ...}) = 0\nread(3, \"[push]\\n\\tdefault = current\\n\\n[user\"..., 4096) = 170\nread(3, \"\", 4096)                       = 0\nread(3, \"\", 4096)                       = 0\nclose(3)                                = 0\ngetcwd(\"/home/peter/git/gh_code\", 129)  = 24\nstat(\"/home/peter/git/gh_code\", {st_mode=S_IFDIR|0775, st_size=4096, \n...}) = 0\nstat(\"/home/peter/git/gh_code/.git\", {st_mode=S_IFDIR|0775, \nst_size=4096, ...}) = 0\nlstat(\"/home/peter/git/gh_code/.git/HEAD\", {st_mode=S_IFREG|0664, \nst_size=23, ...}) = 0\nopenat(AT_FDCWD, \"/home/peter/git/gh_code/.git/HEAD\", O_RDONLY) = 3\nread(3, \"ref: refs/heads/master\\n\", 255) = 23\nread(3, \"\", 232)                        = 0\nclose(3)                                = 0\nlstat(\"/home/peter/git/gh_code/.git/commondir\", 0x7ffd14998020) = -1 \nENOENT (No such file or directory)\naccess(\"/home/peter/git/gh_code/.git/objects\", X_OK) = 0\naccess(\"/home/peter/git/gh_code/.git/refs\", X_OK) = 0\nlstat(\".git/commondir\", 0x7ffd149981a0) = -1 ENOENT (No such file or \ndirectory)\nopenat(AT_FDCWD, \".git/config\", O_RDONLY) = 3\nfstat(3, {st_mode=S_IFREG|0664, st_size=834, ...}) = 0\nfstat(3, {st_mode=S_IFREG|0664, st_size=834, ...}) = 0\nread(3, \"[core]\\n\\trepositoryformatversion \"..., 4096) = 834\nread(3, \"\", 4096)                       = 0\nclose(3)                                = 0\naccess(\"/etc/gitconfig\", R_OK)          = -1 ENOENT (No such file or \ndirectory)\naccess(\"/home/peter/.config/git/config\", R_OK) = -1 ENOENT (No such file \nor directory)\naccess(\"/home/peter/.gitconfig\", R_OK)  = 0\nopenat(AT_FDCWD, \"/home/peter/.gitconfig\", O_RDONLY) = 3\nfstat(3, {st_mode=S_IFREG|0775, st_size=170, ...}) = 0\nfstat(3, {st_mode=S_IFREG|0775, st_size=170, ...}) = 0\nread(3, \"[push]\\n\\tdefault = current\\n\\n[user\"..., 4096) = 170\nread(3, \"\", 4096)                       = 0\nread(3, \"\", 4096)                       = 0\nclose(3)                                = 0\naccess(\".git/config\", R_OK)             = 0\nopenat(AT_FDCWD, \".git/config\", O_RDONLY) = 3\nfstat(3, {st_mode=S_IFREG|0664, st_size=834, ...}) = 0\nfstat(3, {st_mode=S_IFREG|0664, st_size=834, ...}) = 0\nread(3, \"[core]\\n\\trepositoryformatversion \"..., 4096) = 834\nread(3, \"\", 4096)                       = 0\nclose(3)                                = 0\nstat(\"/usr/lib/git-core/git-gui\", {st_mode=S_IFREG|0755, st_size=105779, \n...}) = 0\npipe([3, 4])                            = 0\nrt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0\nclone(child_stack=NULL, \nflags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, \nchild_tidptr=0x7fa7e6530350) = 21767\nrt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0\nrt_sigaction(SIGINT, {sa_handler=0x55c204a01810, sa_mask=[INT], \nsa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fa7e56abf20}, \n{sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0\nrt_sigaction(SIGHUP, {sa_handler=0x55c204a01810, sa_mask=[HUP], \nsa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fa7e56abf20}, \n{sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0\nrt_sigaction(SIGTERM, {sa_handler=0x55c204a01810, sa_mask=[TERM], \nsa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fa7e56abf20}, \n{sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0\nrt_sigaction(SIGQUIT, {sa_handler=0x55c204a01810, sa_mask=[QUIT], \nsa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fa7e56abf20}, \n{sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0\nrt_sigaction(SIGPIPE, {sa_handler=0x55c204a01810, sa_mask=[PIPE], \nsa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fa7e56abf20}, \n{sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, \nsa_restorer=0x7fa7e56abf20}, 8) = 0\nclose(4)                                = 0\nread(3, \"\", 8)                          = 0\nclose(3)                                = 0\nwait4(21767, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 21767\n--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=21767, \nsi_uid=1000, si_status=0, si_utime=8, si_stime=2} ---\nexit_group(0)                           = ?\n+++ exited with 0 +++\npeter@optiplex[ master* ]>\npeter@optiplex[ master* ]> strace git gui\nexecve(\"/usr/bin/git\", [\"git\", \"gui\"], 0x7fffe2ceb3d8 /* 59 vars */) = 0\nbrk(NULL)                               = 0x5555e3e40000\naccess(\"/etc/ld.so.nohwcap\", F_OK)      = -1 ENOENT (No such file or \ndirectory)\naccess(\"/etc/ld.so.preload\", R_OK)      = -1 ENOENT (No such file or \ndirectory)\nopenat(AT_FDCWD, \"/etc/ld.so.cache\", O_RDONLY|O_CLOEXEC) = 3\nfstat(3, {st_mode=S_IFREG|0644, st_size=96441, ...}) = 0\nmmap(NULL, 96441, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fcb00ac3000\nclose(3)                                = 0\naccess(\"/etc/ld.so.nohwcap\", F_OK)      = -1 ENOENT (No such file or \ndirectory)\nopenat(AT_FDCWD, \"/usr/lib/x86_64-linux-gnu/libpcre2-8.so.0\", \nO_RDONLY|O_CLOEXEC) = 3\nread(3, \n\"\\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\"..., \n832) = 832\nfstat(3, {st_mode=S_IFREG|0644, st_size=530984, ...}) = 0\nmmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) \n= 0x7fcb00ac1000\nmmap(NULL, 2626312, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, \n0) = 0x7fcb00632000\nmprotect(0x7fcb006b3000, 2093056, PROT_NONE) = 0\nmmap(0x7fcb008b2000, 8192, PROT_READ|PROT_WRITE, \nMAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x80000) = 0x7fcb008b2000\nclose(3)                                = 0\naccess(\"/etc/ld.so.nohwcap\", F_OK)      = -1 ENOENT (No such file or \ndirectory)\nopenat(AT_FDCWD, \"/lib/x86_64-linux-gnu/libz.so.1\", O_RDONLY|O_CLOEXEC) = 3\nread(3, \n\"\\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\"..., \n832) = 832\nfstat(3, {st_mode=S_IFREG|0644, st_size=116960, ...}) = 0\nmmap(NULL, 2212016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, \n0) = 0x7fcb00415000\nmprotect(0x7fcb00431000, 2093056, PROT_NONE) = 0\nmmap(0x7fcb00630000, 8192, PROT_READ|PROT_WRITE, \nMAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0x7fcb00630000\nclose(3)                                = 0\naccess(\"/etc/ld.so.nohwcap\", F_OK)      = -1 ENOENT (No such file or \ndirectory)\nopenat(AT_FDCWD, \"/lib/x86_64-linux-gnu/libpthread.so.0\", \nO_RDONLY|O_CLOEXEC) = 3\nread(3, \n\"\\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\"..., \n832) = 832\nfstat(3, {st_mode=S_IFREG|0755, st_size=144976, ...}) = 0\nmmap(NULL, 2221184, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, \n0) = 0x7fcb001f6000\nmprotect(0x7fcb00210000, 2093056, PROT_NONE) = 0\nmmap(0x7fcb0040f000, 8192, PROT_READ|PROT_WRITE, \nMAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19000) = 0x7fcb0040f000\nmmap(0x7fcb00411000, 13440, PROT_READ|PROT_WRITE, \nMAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fcb00411000\nclose(3)                                = 0\naccess(\"/etc/ld.so.nohwcap\", F_OK)      = -1 ENOENT (No such file or \ndirectory)\nopenat(AT_FDCWD, \"/lib/x86_64-linux-gnu/librt.so.1\", O_RDONLY|O_CLOEXEC) = 3\nread(3, \n\"\\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\"..., \n832) = 832\nfstat(3, {st_mode=S_IFREG|0644, st_size=31680, ...}) = 0\nmmap(NULL, 2128864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, \n0) = 0x7fcafffee000\nmprotect(0x7fcaffff5000, 2093056, PROT_NONE) = 0\nmmap(0x7fcb001f4000, 8192, PROT_READ|PROT_WRITE, \nMAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fcb001f4000\nclose(3)                                = 0\naccess(\"/etc/ld.so.nohwcap\", F_OK)      = -1 ENOENT (No such file or \ndirectory)\nopenat(AT_FDCWD, \"/lib/x86_64-linux-gnu/libc.so.6\", O_RDONLY|O_CLOEXEC) = 3\nread(3, \n\"\\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\"..., \n832) = 832\nfstat(3, {st_mode=S_IFREG|0755, st_size=2030544, ...}) = 0\nmmap(NULL, 4131552, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, \n0) = 0x7fcaffbfd000\nmprotect(0x7fcaffde4000, 2097152, PROT_NONE) = 0\nmmap(0x7fcafffe4000, 24576, PROT_READ|PROT_WRITE, \nMAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e7000) = 0x7fcafffe4000\nmmap(0x7fcafffea000, 15072, PROT_READ|PROT_WRITE, \nMAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fcafffea000\nclose(3)                                = 0\nmmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) \n= 0x7fcb00abf000\narch_prctl(ARCH_SET_FS, 0x7fcb00ac0080) = 0\nmprotect(0x7fcafffe4000, 16384, PROT_READ) = 0\nmprotect(0x7fcb0040f000, 4096, PROT_READ) = 0\nmprotect(0x7fcb001f4000, 4096, PROT_READ) = 0\nmprotect(0x7fcb00630000, 4096, PROT_READ) = 0\nmprotect(0x7fcb008b2000, 4096, PROT_READ) = 0\nmprotect(0x5555e1e2a000, 16384, PROT_READ) = 0\nmprotect(0x7fcb00adb000, 4096, PROT_READ) = 0\nmunmap(0x7fcb00ac3000, 96441)           = 0\nset_tid_address(0x7fcb00ac0350)         = 21805\nset_robust_list(0x7fcb00ac0360, 24)     = 0\nrt_sigaction(SIGRTMIN, {sa_handler=0x7fcb001fbcb0, sa_mask=[], \nsa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7fcb00208890}, NULL, 8) = 0\nrt_sigaction(SIGRT_1, {sa_handler=0x7fcb001fbd50, sa_mask=[], \nsa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fcb00208890}, \nNULL, 8) = 0\nrt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0\nprlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, \nrlim_max=RLIM64_INFINITY}) = 0\nopenat(AT_FDCWD, \"/dev/null\", O_RDWR)   = 3\nclose(3)                                = 0\nrt_sigprocmask(SIG_UNBLOCK, [PIPE], NULL, 8) = 0\nrt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], \nsa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fcaffc3bf20}, \n{sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0\nbrk(NULL)                               = 0x5555e3e40000\nbrk(0x5555e3e61000)                     = 0x5555e3e61000\nstat(\"/usr/share/locale\", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0\nopenat(AT_FDCWD, \"/usr/lib/locale/locale-archive\", O_RDONLY|O_CLOEXEC) = 3\nfstat(3, {st_mode=S_IFREG|0644, st_size=10281936, ...}) = 0\nmmap(NULL, 10281936, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fcaff22e000\nclose(3)                                = 0\naccess(\"/etc/gitconfig\", R_OK)          = -1 ENOENT (No such file or \ndirectory)\naccess(\"/home/peter/.config/git/config\", R_OK) = -1 ENOENT (No such file \nor directory)\naccess(\"/home/peter/.gitconfig\", R_OK)  = 0\nopenat(AT_FDCWD, \"/home/peter/.gitconfig\", O_RDONLY) = 3\nfstat(3, {st_mode=S_IFREG|0775, st_size=170, ...}) = 0\nfstat(3, {st_mode=S_IFREG|0775, st_size=170, ...}) = 0\nread(3, \"[push]\\n\\tdefault = current\\n\\n[user\"..., 4096) = 170\nread(3, \"\", 4096)                       = 0\nread(3, \"\", 4096)                       = 0\nclose(3)                                = 0\ngetcwd(\"/home/peter/git/gh_code\", 129)  = 24\nstat(\"/home/peter/git/gh_code\", {st_mode=S_IFDIR|0775, st_size=4096, \n...}) = 0\nstat(\"/home/peter/git/gh_code/.git\", {st_mode=S_IFDIR|0775, \nst_size=4096, ...}) = 0\nlstat(\"/home/peter/git/gh_code/.git/HEAD\", {st_mode=S_IFREG|0664, \nst_size=23, ...}) = 0\nopenat(AT_FDCWD, \"/home/peter/git/gh_code/.git/HEAD\", O_RDONLY) = 3\nread(3, \"ref: refs/heads/master\\n\", 255) = 23\nread(3, \"\", 232)                        = 0\nclose(3)                                = 0\nlstat(\"/home/peter/git/gh_code/.git/commondir\", 0x7ffd6bbf1280) = -1 \nENOENT (No such file or directory)\naccess(\"/home/peter/git/gh_code/.git/objects\", X_OK) = 0\naccess(\"/home/peter/git/gh_code/.git/refs\", X_OK) = 0\nlstat(\".git/commondir\", 0x7ffd6bbf1400) = -1 ENOENT (No such file or \ndirectory)\nopenat(AT_FDCWD, \".git/config\", O_RDONLY) = 3\nfstat(3, {st_mode=S_IFREG|0664, st_size=834, ...}) = 0\nfstat(3, {st_mode=S_IFREG|0664, st_size=834, ...}) = 0\nread(3, \"[core]\\n\\trepositoryformatversion \"..., 4096) = 834\nread(3, \"\", 4096)                       = 0\nclose(3)                                = 0\naccess(\"/etc/gitconfig\", R_OK)          = -1 ENOENT (No such file or \ndirectory)\naccess(\"/home/peter/.config/git/config\", R_OK) = -1 ENOENT (No such file \nor directory)\naccess(\"/home/peter/.gitconfig\", R_OK)  = 0\nopenat(AT_FDCWD, \"/home/peter/.gitconfig\", O_RDONLY) = 3\nfstat(3, {st_mode=S_IFREG|0775, st_size=170, ...}) = 0\nfstat(3, {st_mode=S_IFREG|0775, st_size=170, ...}) = 0\nread(3, \"[push]\\n\\tdefault = current\\n\\n[user\"..., 4096) = 170\nread(3, \"\", 4096)                       = 0\nread(3, \"\", 4096)                       = 0\nclose(3)                                = 0\naccess(\".git/config\", R_OK)             = 0\nopenat(AT_FDCWD, \".git/config\", O_RDONLY) = 3\nfstat(3, {st_mode=S_IFREG|0664, st_size=834, ...}) = 0\nfstat(3, {st_mode=S_IFREG|0664, st_size=834, ...}) = 0\nread(3, \"[core]\\n\\trepositoryformatversion \"..., 4096) = 834\nread(3, \"\", 4096)                       = 0\nclose(3)                                = 0\nstat(\"/usr/lib/git-core/git-gui\", {st_mode=S_IFREG|0755, st_size=105779, \n...}) = 0\npipe([3, 4])                            = 0\nrt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0\nclone(child_stack=NULL, \nflags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, \nchild_tidptr=0x7fcb00ac0350) = 21806\nrt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0\nrt_sigaction(SIGINT, {sa_handler=0x5555e1b0a810, sa_mask=[INT], \nsa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fcaffc3bf20}, \n{sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0\nrt_sigaction(SIGHUP, {sa_handler=0x5555e1b0a810, sa_mask=[HUP], \nsa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fcaffc3bf20}, \n{sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0\nrt_sigaction(SIGTERM, {sa_handler=0x5555e1b0a810, sa_mask=[TERM], \nsa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fcaffc3bf20}, \n{sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0\nrt_sigaction(SIGQUIT, {sa_handler=0x5555e1b0a810, sa_mask=[QUIT], \nsa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fcaffc3bf20}, \n{sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0\nrt_sigaction(SIGPIPE, {sa_handler=0x5555e1b0a810, sa_mask=[PIPE], \nsa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fcaffc3bf20}, \n{sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, \nsa_restorer=0x7fcaffc3bf20}, 8) = 0\nclose(4)                                = 0\nread(3, \"\", 8)                          = 0\nclose(3)                                = 0\nwait4(21806, 0x7ffd6bbf1684, 0, NULL)   = ? ERESTARTSYS (To be restarted \nif SA_RESTART is set)\n--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---\nwait4(21806, 0x7ffd6bbf1684, 0, NULL)   = ? ERESTARTSYS (To be restarted \nif SA_RESTART is set)\n--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---\nwait4(21806, 0x7ffd6bbf1684, 0, NULL)   = ? ERESTARTSYS (To be restarted \nif SA_RESTART is set)\n--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---\nwait4(21806,\n\n\n\n"},{"id":"398939","messageId":"20200530180259.yv6vfsv3ysk7yg5c@yadavpratyush.com","threadId":"53570","inReplyTo":"76f5b3ff-21a7-bff7-4785-b56c34eda644@gmail.com","subject":"Re: Git gui freeze on ubuntu 18.04","fromName":"Pratyush Yadav","fromEmail":"me@yadavpratyush.com","sentAt":"2020-05-30T18:02:59Z","receivedAt":"2020-05-30T18:03:21Z","isPatch":false,"sender":{"key":"me@yadavpratyush.com","avatar":"https://avatars.githubusercontent.com/u/8817931?v=4"},"body":"Hi Peter,\n\nOn 29/05/20 09:37AM, Peter Jensen wrote:\n> strace from the very beginning until crash\n\ngit-gui is written in Tcl. So while strace output might give some clues, \nit is not as helpful as I'd hope. And anyway, I'm afraid I just don't \nhave the bandwidth to look through it and figure out what's going on.\n\nIf you could try the latest master [0], it would be nice. The build is \npretty simple and quick. Any hints more specific than \"something \ncrashes\" would be much more helpful in figuring out what's going wrong.\n\n[0] https://github.com/prati0100/git-gui/\n\n-- \nRegards,\nPratyush Yadav\n"},{"id":"398945","messageId":"CAHgM7c4GkPafhtTCJ4uk0wUq3CwVpg1XSZmB9qaUtYpdz1pKyQ@mail.gmail.com","threadId":"53570","inReplyTo":"20200530180259.yv6vfsv3ysk7yg5c@yadavpratyush.com","subject":"Re: Git gui freeze on ubuntu 18.04","fromName":"Peter Jensen","fromEmail":"report.jensen@gmail.com","sentAt":"2020-05-30T19:28:16Z","receivedAt":"2020-05-30T19:28:32Z","isPatch":false,"sender":{"key":"report.jensen@gmail.com","avatar":null},"body":"Pratyush,\n\n>Any hints more specific than \"something\n> crashes\" would be much more helpful in figuring out what's going wrong.\nThe program freeze before the main window appears.\nAs far as I can see from the strace log \"tcl\" is waiting for something\nto happen.\nI think \"tcl\" is waiting for the output from a git command.\n\nIf the strace log does not give you any useful information, what do you suggest\nI do to track the bug down? Has git-gui got any logging build in that I can\nactivate via an option e.g \"-debug\" or by setting an environment variable?\n\nIf not can you suggest anything that would be useful?\n\nI installed 18.04 on my laptop, and the bug also showed up here.\nThe machines have very little in common, except that they\nboth have a SSD disk.\n\nPeter\n\nOn Sat, May 30, 2020 at 7:03 PM Pratyush Yadav <me@yadavpratyush.com> wrote:\n>\n> Hi Peter,\n>\n> On 29/05/20 09:37AM, Peter Jensen wrote:\n> > strace from the very beginning until crash\n>\n> git-gui is written in Tcl. So while strace output might give some clues,\n> it is not as helpful as I'd hope. And anyway, I'm afraid I just don't\n> have the bandwidth to look through it and figure out what's going on.\n>\n> If you could try the latest master [0], it would be nice. The build is\n> pretty simple and quick. Any hints more specific than \"something\n> crashes\" would be much more helpful in figuring out what's going wrong.\n>\n> [0] https://github.com/prati0100/git-gui/\n>\n> --\n> Regards,\n> Pratyush Yadav\n"}]}