Glib warnings and errors generated in console

Bug #1237211 reported by Arthur Borsboom
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xpad
Fix Released
Medium
Arthur Borsboom

Bug Description

In xpad 4.2 rev 648 (development version) for a yet unknown reason the following errors appear in the console.

(xpad:1776): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'XpadToolbar'

(xpad:1776): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GObject'

(xpad:1776): GLib-GObject-CRITICAL **: g_object_get_data: assertion 'G_IS_OBJECT (object)' failed

(xpad:1776): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GObject'

(xpad:1776): GLib-GObject-CRITICAL **: g_object_set_data: assertion 'G_IS_OBJECT (object)' failed

Tags: errors

Related branches

Revision history for this message
Arthur Borsboom (arthurborsboom) wrote :

Reproduce by:

- Start Xpad
- Open a pad
- Select a text
- Right click on the selected text
- Choose CUT

Changed in xpad:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Arthur Borsboom (arthurborsboom) wrote :

The reproduction scenario above is incorrect.

Revision history for this message
Arthur Borsboom (arthurborsboom) wrote :

Yes! I have found the right way of reproducing the issue.

- Start Xpad
- Open 2 pads
- Type in Pad 1 something
- Cut or copy a piece of text
- Delete pad 1
- Select text in pad 2
- Cut or copy a piece of text

Changed in xpad:
status: Confirmed → In Progress
Revision history for this message
Arthur Borsboom (arthurborsboom) wrote :

Getting closer...

- Start Xpad
- Open 2 pads
- Type in Pad 1 something
- Cut or copy a piece of text
- Delete pad 1
- Rightclick in pad 2
- (De)select [Hide toolbar]

Revision history for this message
Arthur Borsboom (arthurborsboom) wrote :

The origins of this issue were the incomplete/incorrect implementation of the dispose and finalize functions, and signal handler calls to non-existing objects.

This issue has been corrected, including different memory leaks which came along the path.
Fix will be released with v4.2

Changed in xpad:
status: In Progress → Fix Committed
Changed in xpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.