From: P Levine <plevine457@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] segfault in gedit / glib
Date: Fri, 29 Dec 2017 00:59:23 -0500 [thread overview]
Message-ID: <CADX8ZBJsDuWibjfPOQ7kUGw-J2-4F1UjjrDEvM8dnGCy=Rtbjw@mail.gmail.com> (raw)
In-Reply-To: <CAC=wYCFCduMjWCAFKrVPEi2ZGoRYbCso+3U2tkCAV5hurFtGBw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2223 bytes --]
On Thu, Dec 28, 2017 at 9:01 PM, Adam Carter <adamcarter3@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.
[-- Attachment #2: Type: text/html, Size: 3104 bytes --]
next prev parent reply other threads:[~2017-12-29 5:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-29 2:01 [gentoo-user] segfault in gedit / glib Adam Carter
2017-12-29 5:59 ` P Levine [this message]
2017-12-29 8:07 ` Adam Carter
2017-12-29 23:49 ` P Levine
2017-12-30 0:58 ` Adam Carter
2017-12-30 16:16 ` Mart Raudsepp
2017-12-30 22:47 ` Adam Carter
2018-01-02 11:33 ` Mart Raudsepp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADX8ZBJsDuWibjfPOQ7kUGw-J2-4F1UjjrDEvM8dnGCy=Rtbjw@mail.gmail.com' \
--to=plevine457@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox