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