Bug 8221 - gedit crash when closing tab
Summary: gedit crash when closing tab
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Damien Lallement
QA Contact:
URL:
Whiteboard:
Keywords: Junior_job, PATCH, Triaged
Depends on:
Blocks:
 
Reported: 2012-11-27 14:07 CET by Marc Krämer
Modified: 2015-03-31 16:06 CEST (History)
1 user (show)

See Also:
Source RPM: gedit-3.4.1-1.mga2.src.rpm
CVE:
Status comment:


Attachments

Description Marc Krämer 2012-11-27 14:07:58 CET
problem looks like the one mentioned in http://permalink.gmane.org/gmane.linux.debian.devel.gnome.general/43039

many errors during startup of gedit:
 TypeError: can't convert return value to desired type

(gedit:19138): GLib-GObject-CRITICAL **: g_value_get_boolean: assertion `G_VALUE_HOLDS_BOOLEAN (value)' failed

(gedit:19138): GLib-GObject-CRITICAL **: g_value_reset: assertion `G_IS_VALUE (value)' failed

(gedit:19138): GLib-GObject-CRITICAL **: g_value_set_boolean: assertion `G_VALUE_HOLDS_BOOLEAN (value)' failed

(gedit:19138): GLib-GObject-CRITICAL **: g_value_get_boolean: assertion `G_VALUE_HOLDS_BOOLEAN (value)' failed

(gedit:19138): GLib-GObject-CRITICAL **: g_value_reset: assertion `G_IS_VALUE (value)' failed

(gedit:19138): GLib-GObject-CRITICAL **: g_value_unset: assertion `G_IS_VALUE (value)' failed


while running in some plugins:
Traceback (most recent call last):
  File "/usr/lib64/gedit/plugins/codecomment.py", line 70, in do_update_state
    doc = self.window.get_active_document()
  File "/usr/lib64/python2.7/site-packages/gi/_gobject/propertyhelper.py", line 167, in __get__
    value = instance.get_property(self.name)
TypeError: unknown type (null)
Traceback (most recent call last):
  File "/usr/lib64/gedit/plugins/latex/windowactivatable.py", line 385, in adjust
    for name in self._action_objects:
TypeError: Couldn't find conversion for foreign struct 'cairo.Context'




finally when closing a tab:
Exception TypeError: "Couldn't find conversion for foreign struct 'cairo.Context'" in 'garbage collection' ignored
Fatal Python error: unexpected exception during garbage collection
Comment 1 Samuel Verschelde 2013-08-28 11:23:12 CEST
Does installing python-gi-cairo solve this problem?

Keywords: (none) => UPSTREAM
CC: (none) => stormi

Samuel Verschelde 2013-08-28 11:23:26 CEST

Keywords: UPSTREAM => NEEDINFO

Comment 2 Samuel Verschelde 2013-08-28 11:27:15 CEST
I think it does, looking at this debian similar bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648913
Comment 3 Samuel Verschelde 2013-08-28 11:34:29 CEST
Damien, assigning to you. Apparently a simple missing dependency.

Keywords: NEEDINFO => PATCH, Triaged
Assignee: bugsquad => mageia

Comment 4 Marc Krämer 2013-08-28 22:45:02 CEST
thanks. I can confirm this solution to be working!
Didn't expect it to be that simple, or in reverse a missing python package to crash gedit.
Samuel Verschelde 2013-08-28 22:47:42 CEST

Keywords: (none) => Junior_job

Comment 5 Manuel Hiebel 2013-10-22 12:21:15 CEST
This message is a reminder that Mageia 2 is nearing its end of life.
Approximately one month from now Mageia will stop maintaining and issuing updates for Mageia 2. At that time this bug will be closed as WONTFIX (EOL) if it remains open with a Mageia 'version' of '2'.

Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Mageia version prior to Mageia 2's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Mageia 2 is end of life.  If you would still like to see this bug fixed and are able to reproduce it against a later version of Mageia, you are encouraged to click on "Version" and change it against that version of Mageia.

Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Mageia release includes newer upstream software that fixes bugs or makes them obsolete.

-- 
The Mageia Bugsquad
Marc Krämer 2013-10-23 14:20:54 CEST

Version: 2 => 3

Comment 6 Damien Lallement 2013-12-24 03:58:49 CET
Does this bug also available in gedit in Mageia 3?
BTW, can't reproduce on cauldron.

Status: NEW => ASSIGNED
Hardware: x86_64 => All

Comment 7 Marja Van Waes 2015-03-31 16:06:57 CEST
Mageia 3 changed to end-of-life (EOL) status 4 months ago.
http://blog.mageia.org/en/2014/11/26/lets-say-goodbye-to-mageia-3/ 

Mageia 3 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Mageia
please feel free to click on "Version" change it against that version of Mageia
and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
The Mageia Bugsquad

Status: ASSIGNED => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.