[Wayland-bugs] [Bug 734501] New: SIGTRAP when using Gtk in dbus service

gtk+ (bugzilla.gnome.org) bugzilla at gnome.org
Fri Aug 8 13:57:36 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=734501
  gtk+ | Backend: Wayland | unspecified

           Summary: SIGTRAP when using Gtk in dbus service
    Classification: Platform
           Product: gtk+
           Version: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: Backend: Wayland
        AssignedTo: gtk-bugs at gtk.org
        ReportedBy: gnome at cschramm.eu
         QAContact: gtk-bugs at gtk.org
                CC: rob at robster.org.uk, wayland-bugs at lists.freedesktop.org
     GNOME version: ---


Hi,

I'm debugging a strange issue in blueman that occurs if a GTK+ 3 library with
wayland support is used. It also involves Python and dbus, so I'm not 100 %
sure where exactly the issue comes from.

I was able to extract a minimal example to replicate it:

% cat /usr/share/dbus-1/system-services/cschramm.test.service 
[D-BUS Service]
Name=cschramm.test
Exec=/home/schramm/test
User=root

% cat /home/schramm/test 
#!/usr/bin/python
import gi.repository.Gtk

% python
>>> import dbus
>>> dbus.SystemBus().get_object('cschramm.test', '/')

This triggers a SIGTRAP that can be observed in both the python shell and
syslog.

If wayland support is disabled in GTK, the issue does not occur. Also, if the
service has another user than root it seems to work fine. We've seen the
problem at least in Debian, Gentoo, and Manjaro now, see
https://github.com/blueman-project/blueman/issues/83.

I appreciate any help with tracing this down!

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Wayland-bugs mailing list