From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-181644-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 91DD413873B
	for <garchives@archives.gentoo.org>; Fri, 29 Dec 2017 23:50:10 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id DC69FE0ECB;
	Fri, 29 Dec 2017 23:50:05 +0000 (UTC)
Received: from mail-ot0-x22d.google.com (mail-ot0-x22d.google.com [IPv6:2607:f8b0:4003:c0f::22d])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 6F3EAE0E77
	for <gentoo-user@lists.gentoo.org>; Fri, 29 Dec 2017 23:50:05 +0000 (UTC)
Received: by mail-ot0-x22d.google.com with SMTP id w4so8367913otg.3
        for <gentoo-user@lists.gentoo.org>; Fri, 29 Dec 2017 15:50:05 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=mime-version:sender:in-reply-to:references:from:date:message-id
         :subject:to;
        bh=SMlmICfnaBi1GTTOXsXmGGlQSor47kMjLaT28EB6rnE=;
        b=EasifVyvkuo2Ulm1YNRv+VLDh7QR6ERwVEw/vY2apSz/FxCMFObKilriUGDGa095Kz
         rSKq51HFf2Wtpew9RCwNP4IDY1Tn3grqaEBHwrCQb4AQc15J8IrQH62nMLWUNYSdH9RE
         S/zpP3HTjJ+CkxzGzCu3Bn+k/7ZyTfId4ReVXP9g+UDMArOjWl5Zpcgvdais0NBL5K+y
         dSw+6sisRpS7Bb2DEbLwNr4+2Dh9Zu/vUpDzMORNHYHaFZ2KmD3lzJ9kmVeqkbpTiqNF
         /Vco0a7m+yrfc0mVxNMF1P/7TYDnfBFl7B+isTWyXdklbsiF0OICnV34VdyX22HvATxE
         bt3A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:sender:in-reply-to:references:from
         :date:message-id:subject:to;
        bh=SMlmICfnaBi1GTTOXsXmGGlQSor47kMjLaT28EB6rnE=;
        b=RhStx28/VKrX47qVXAMv+p9mhew2BUnmGrDxEWprEQ8XUvyAfsyqGU3lOJxYorqcbt
         5VbVaFdEwP3Xd/Hi5mBQZsUfU+km466CQtLdmmlT1j3Sl7S/IPJr2AuvXFON+fiF2Ms4
         8Id/za4gFvApMJAzNCIkNGarRwCIPyy6j5EfkdEV8MBNrvv8za3mzX70GP9HIoA2ZpL2
         AtGWEweumRuV5nhQI7VGXoubei8EiZYyA57xqFtUU+zC7DCqybENj4mbQ9TRiH5q4mfd
         Vy49pNe4Gpw23LZMpDVFmCnC3V2s1focyFWH4tVKeW6VzFZo4zKhSa/1373pUmRdhd/E
         Q1Dg==
X-Gm-Message-State: AKGB3mLT6FgF30BjeFZgSW/hFMC1D5BnRu2yKPLVwg5Wm0b/qlyT9fHW
	BKvU3qY4S7ORhVjrtDNQyLh0MMgQAuSFPhdvYKw=
X-Google-Smtp-Source: ACJfBovo2Fh7RvknzRqoY/SWTGvvRis70XBdiA4RlgQdTKkE1U0dkKmPjZYMzmLYUqn5vHt8oSbr804JiYwqmkUKr1A=
X-Received: by 10.157.51.120 with SMTP id u53mr20749762otd.265.1514591404592;
 Fri, 29 Dec 2017 15:50:04 -0800 (PST)
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Sender: nsane457@gmail.com
Received: by 10.74.92.206 with HTTP; Fri, 29 Dec 2017 15:49:44 -0800 (PST)
In-Reply-To: <CAC=wYCEgyrF6LbMydsd1DpAmt1gqT43wV995h6Kbg28nzmKkJA@mail.gmail.com>
References: <CAC=wYCFCduMjWCAFKrVPEi2ZGoRYbCso+3U2tkCAV5hurFtGBw@mail.gmail.com>
 <CADX8ZBJsDuWibjfPOQ7kUGw-J2-4F1UjjrDEvM8dnGCy=Rtbjw@mail.gmail.com> <CAC=wYCEgyrF6LbMydsd1DpAmt1gqT43wV995h6Kbg28nzmKkJA@mail.gmail.com>
From: P Levine <plevine457@gmail.com>
Date: Fri, 29 Dec 2017 18:49:44 -0500
X-Google-Sender-Auth: IJbjcB3XSi8pEzRXCjYdVNSIb1c
Message-ID: <CADX8ZB+c1Mf6VigbSoaGSTdBZxjL7sYiBSv73UMyVzFu0aNoFw@mail.gmail.com>
Subject: Re: [gentoo-user] segfault in gedit / glib
To: gentoo-user@lists.gentoo.org
Content-Type: multipart/alternative; boundary="001a113d75a6a690e80561834a85"
X-Archives-Salt: 5f83b372-24ef-4d33-965a-9982feb04093
X-Archives-Hash: 97a9a42c7efd9b6d84cbe902f1b43194

--001a113d75a6a690e80561834a85
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Fri, Dec 29, 2017 at 3:07 AM, Adam Carter <adamcarter3@gmail.com> wrote:

>
>
> On Fri, Dec 29, 2017 at 4:59 PM, P Levine <plevine457@gmail.com> wrote:
>
>> 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>
>>>
>>
>> Try opening the file via gedit in a user shell and see if segfaults and
>> if there is any other output.
>>
>
> The "Segmentation fault (core dumped)" from above is the only non-strace
> output (or have I misunderstood your instruction?)
>

The segfault message would exist in the dmesg/journalctl.  Please open a
user shell in Gnome and type "gedit <file>",=E2=80=8B substituting a text f=
ile for
<file>.  Press enter.  Does this segfault and if so is there anything else
printed?
=E2=80=8B =E2=80=8B

--001a113d75a6a690e80561834a85
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:tahoma,s=
ans-serif;font-size:small"><span style=3D"font-family:arial,sans-serif">On =
Fri, Dec 29, 2017 at 3:07 AM, Adam Carter </span><span dir=3D"ltr" style=3D=
"font-family:arial,sans-serif">&lt;<a href=3D"mailto:adamcarter3@gmail.com"=
 target=3D"_blank">adamcarter3@gmail.com</a>&gt;</span><span style=3D"font-=
family:arial,sans-serif"> wrote:</span><br></div><div class=3D"gmail_extra"=
><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"marg=
in:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1e=
x"><div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_=
quote"><span class=3D"m_2631176477279334581gmail-">On Fri, Dec 29, 2017 at =
4:59 PM, P Levine <span dir=3D"ltr">&lt;<a href=3D"mailto:plevine457@gmail.=
com" target=3D"_blank">plevine457@gmail.com</a>&gt;</span> wrote:<br></span=
><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border=
-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><span c=
lass=3D"m_2631176477279334581gmail-"><div><div class=3D"m_26311764772793345=
81gmail-m_9220181734203409869gmail-h5"><div style=3D"font-family:tahoma,san=
s-serif;font-size:small"><span style=3D"font-family:arial,sans-serif">On Th=
u, Dec 28, 2017 at 9:01 PM, Adam Carter </span><span dir=3D"ltr" style=3D"f=
ont-family:arial,sans-serif">&lt;<a href=3D"mailto:adamcarter3@gmail.com" t=
arget=3D"_blank">adamcarter3@gmail.com</a>&gt;</span><span style=3D"font-fa=
mily:arial,sans-serif"> wrote:</span><br></div><div class=3D"gmail_extra"><=
div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin=
:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"=
><div dir=3D"ltr"><div><div><div><div><div>System is ~amd64. If i try to op=
en a text file in gnome via double click, i get;<br>$ journalctl -b | grep =
segf<br>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[=
7f7c25<wbr>4c0000+114000]<br></div><div><br></div><div>The following work;<=
br></div>Open gedit first, then open the file<br></div>Use right click -&gt=
; Open With Other Application and chose LibreOffice writer.<br><br></div>I&=
#39;ve rebuild glib and gedit. Are there any clues on the issue in this tra=
ce?<br><br></div>$ strace gedit &lt;filename&gt;<br></div>&lt;snip&gt;<br><=
/div>
</blockquote></div><br></div></div></div></span><span class=3D"m_2631176477=
279334581gmail-"><div class=3D"gmail_extra"><span style=3D"font-family:taho=
ma,sans-serif">Try opening the file via gedit in a user shell and see if se=
gfaults and if there is any other output.</span><br></div></span></div>
</blockquote></div></div><div class=3D"gmail_extra"><br></div><div class=3D=
"gmail_extra">The &quot;Segmentation fault (core dumped)&quot; from above i=
s the only non-strace output (or have I misunderstood your instruction?)<br=
></div></div>
</blockquote></div><br></div><div class=3D"gmail_extra"><div class=3D"gmail=
_default" style=3D"font-family:tahoma,sans-serif;font-size:small">The segfa=
ult message would exist in the dmesg/journalctl.=C2=A0 Please open a user s=
hell in Gnome and type &quot;gedit &lt;file&gt;&quot;,=E2=80=8B substitutin=
g a text file for &lt;file&gt;.=C2=A0 Press enter.=C2=A0 Does this segfault=
 and if so is there anything else printed?</div><div class=3D"gmail_default=
" style=3D"font-family:tahoma,sans-serif;font-size:small">=E2=80=8B =E2=80=
=8B</div><br></div></div>

--001a113d75a6a690e80561834a85--