On Thu, Dec 28, 2017 at 9:01 PM, Adam Carter <adamcart...@gmail.com> wrote:
> System is ~amd64. If i try to open a text file in gnome via double click, > i get; > $ journalctl -b | grep segf > Dec 29 12:17:32 phat kernel: gedit[1177]: segfault at 7f7c0d36e880 ip > 00007f7c2550ba74 sp 00007fff66834850 error 4 in libglib-2.0.so.0.5200.3[ > 7f7c254c0000+114000] > > The following work; > Open gedit first, then open the file > Use right click -> Open With Other Application and chose LibreOffice > writer. > > I've rebuild glib and gedit. Are there any clues on the issue in this > trace? > > $ strace gedit <filename> > <snip> > futex(0x55bf3d691a90, FUTEX_WAKE_PRIVATE, 1) = 1 > access("/usr/share/fonts/liberation-fonts/LiberationMono-Regular.ttf", > R_OK) = 0 > openat(AT_FDCWD, "/usr/share/fonts/liberation- > fonts/LiberationMono-Regular.ttf", O_RDONLY) = 18 > fcntl(18, F_SETFD, FD_CLOEXEC) = 0 > fstat(18, {st_mode=S_IFREG|0644, st_size=313408, ...}) = 0 > mmap(NULL, 313408, PROT_READ, MAP_PRIVATE, 18, 0) = 0x7fbea8020000 > close(18) = 0 > brk(0x55bf3e33b000) = 0x55bf3e33b000 > write(11, "\1\0\0\0\0\0\0\0", 8) = 8 > futex(0x55bf3d79e270, FUTEX_WAKE_PRIVATE, 1) = 1 > futex(0x7fbec2c1c578, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource > temporarily unavailable) > futex(0x7fbec2c1c578, FUTEX_WAKE_PRIVATE, 1) = 0 > futex(0x55bf3d79e270, FUTEX_WAKE_PRIVATE, 1) = 1 > futex(0x7fbec2c1c608, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource > temporarily unavailable) > futex(0x7fbec2c1c608, FUTEX_WAKE_PRIVATE, 1) = 0 > futex(0x7fbec2c1c608, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource > temporarily unavailable) > futex(0x7fbec2c1c608, FUTEX_WAKE_PRIVATE, 1) = 0 > futex(0x7fbec2c1c578, FUTEX_WAKE_PRIVATE, 1) = 0 > futex(0x7fbec2c1c608, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource > temporarily unavailable) > futex(0x7fbec2c1c608, FUTEX_WAKE_PRIVATE, 1) = 0 > --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, > si_addr=0x7fbe9b976880} --- > +++ killed by SIGSEGV (core dumped) +++ > Segmentation fault (core dumped) > Try opening the file via gedit in a user shell and see if segfaults and if there is any other output.