Bug 1239247

Summary: crash in gtk_text_iter_get_char of gtktextiter.c
Product: Red Hat Enterprise Linux 7 Reporter: Matěj Cepl <mcepl>
Component: gedit-pluginsAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: mcepl, mclasen, tpelka
Target Milestone: rcKeywords: Patch, Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gedit-plugins-3.14.1-3.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 06:18:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
partial traceback
none
perhaps patch resolving the issue
none
patches accepted by upstream as a solution
none
upsted version of the patch none

Description Matěj Cepl 2015-07-04 23:36:11 UTC
Created attachment 1046091 [details]
partial traceback

Description of problem:
There doesn't seem to be a good way how to reproduce this. When enabling joinlines plugin, gedit quite often suddenly crashes (without any actual use of the Join Lines method).

Version-Release number of selected component (if applicable):
gedit-plugins-3.14.1-2.el7.x86_64

How reproducible:
quite often (given I don't know how to reproduce it is hard to say more)

Core dump is attached to another bug as attachment 1046089 [details] and partial traceback (see bug 1239240 for more information, why just partial) is attached.

Comment 1 Matěj Cepl 2015-07-04 23:37:34 UTC
Created attachment 1046092 [details]
perhaps patch resolving the issue

This patch has been suggested in the upstream bug, but it needs more testing before I can say it is the solution.

Comment 6 Matěj Cepl 2016-01-25 23:59:32 UTC
Created attachment 1118274 [details]
patches accepted by upstream as a solution

Comment 7 Matthias Clasen 2016-01-28 13:33:14 UTC
thanks for the patches

Comment 8 Matěj Cepl 2016-02-15 15:34:16 UTC
Created attachment 1127317 [details]
upsted version of the patch

I was using a class method outside of the class.

Comment 9 Ray Strode [halfline] 2016-04-12 18:48:42 UTC
so actually it looks like I built this into 7.2 and forgot to update the bug.

Comment 10 Ray Strode [halfline] 2016-04-12 19:17:49 UTC
Oh, reopening. Some fixes related to this bug went into 7.2, but some additional fixes need to go in 7.3 (but they're already built), so moving back to MODIFIED.

Comment 12 Martin Simon 2016-07-27 12:55:03 UTC
I've used gedit-3.14.3-17.el7.x86_64 quiet lot with the mentioned joinlines plugin enabled and unicode characters in it and never mentioned this crash. Due the "quite often" in description and no better reproducer, I suppose the bug is fixed.

Matej, could you please confirm? Otherwise, reopen this report, please. Thank you.

Comment 13 Matěj Cepl 2016-08-12 23:11:54 UTC
(In reply to Martin Simon from comment #12)
> I've used gedit-3.14.3-17.el7.x86_64 quiet lot with the mentioned joinlines
> plugin enabled and unicode characters in it and never mentioned this crash.
> Due the "quite often" in description and no better reproducer, I suppose the
> bug is fixed.
> 
> Matej, could you please confirm? Otherwise, reopen this report, please.
> Thank you.

Yes, with gedit-plugins-3.14.1-5.el7.x86_64 (and specifically gedit-plugin-joinlines-3.14.1-5.el7.x86_64) and gedit-3.14.3-18.el7.x86_64, the crash is gone.

Comment 15 errata-xmlrpc 2016-11-04 06:18:41 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2424.html