Menu

#143 Parcellite fails to start as a daemon because of glib critical warnings

Stable_Release
closed-fixed
nobody
None
8
2015-08-27
2015-05-16
No

Hi,

I'm the debian maintainer of the parcellite package, and I received the following bug report (available online at http://bugs.debian.org/785472).

The bugreporter haven't sent me his parcelliterc, but I can ask him. This bug have been successfully reproduced on an i3 Debian Jessie computer.

Thanks for providing parcellite.


Package: parcellite
Version: 1.1.9-1
Severity: grave
Justification: renders package unusable

If I run parcellite in the daemon mode, it prints the clipboard and then spits out errors, approximately 2-3 per second, and this goes on forever:

$ parcellite -d
Flag 0x0001, status 0, EXIT 1 STAT 0

<the clipboard content>
(parcellite:22789): GLib-CRITICAL **: Source ID 8 was not found when
attempting to remove it

(parcellite:22789): GLib-CRITICAL **: Source ID 11 was not found when
attempting to remove it

(parcellite:22789): GLib-CRITICAL **: Source ID 14 was not found when
attempting to remove it

(...)

and the application never starts.

I tried to remove the configuration file, but that had no effect.

I have somewhat unusual setup, I'm using Xmonad, but before upgrading to Jessie I had never had problems.

-- System Information:
Debian Release: 8.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)


Additionnal infos:
After looking at this bug, I've noticed that it was due to some recent (2013) changes in glib (commit a919be3d39150328874ff647fb2c2be7af3df996).

Discussion

  • Hugo Lefeuvre

    Hugo Lefeuvre - 2015-05-17

    After a closer look, I found this interesting comment of Bastien Nocera which could maybe help you:

    GLib recently started throwing a warning when g_source_remove() is passed garbage (as per warning). Your applications have probably been broken for a while, and there's no telling what could actually have happened in the past when g_source_remove() would happily close any random source because the programmer got the wrong argument to g_source_remove().

     
  • rickyrockrat

    rickyrockrat - 2015-05-18

    The -d option is depreciated and should not be used. I will remove it in the next release.

    The fix is to run without -d.

     
  • Hugo Lefeuvre

    Hugo Lefeuvre - 2015-06-14

    Thanks. The Debian bug will stay open until the removal of this option.

     
  • rickyrockrat

    rickyrockrat - 2015-08-27
    • status: open --> closed-fixed
     

Log in to post a comment.