Your message dated Mon, 10 Nov 2025 07:08:08 -0500
with message-id 
<CAAajCMa0=b3suX244a4xL_uQU1-QQfNB8bdpTBHHO77xkq=i...@mail.gmail.com>
and subject line Re: python3-gobject: python3 crashes randomly when invoking 
Gtk.Menu.popup with Gtk.StatusIcon.position_menu
has caused the Debian Bug report #642072,
regarding python3-gobject: python3 crashes randomly when invoking 
Gtk.Menu.popup with Gtk.StatusIcon.position_menu
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
642072: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642072
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-gobject
Version: 2.28.6-5
Severity: normal

(test.py is attached)

$ python3 test.py # then right-click the icon
popup_menu
Segmentation fault
$ python3 test.py # then right-click the icon
popup_menu
Illegal instruction
$ python test.py # then right-click the icon, and then click `Quit'
popup_menu
$

While test.py works with python 2, it crashes randomly with python
3. Thus there is very likely to be a bug in python3-gobject.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=zh_CN.utf8, LC_CTYPE=zh_CN.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python3-gobject depends on:
ii  gir1.2-glib-2.0        0.10.8-2     
ii  libc6                  2.13-21      
ii  libffi5                3.0.10~rc10-3
ii  libgirepository-1.0-1  0.10.8-2     
ii  libglib2.0-0           2.28.6-1     
ii  python3                3.2-3        

python3-gobject recommends no packages.

Versions of packages python3-gobject suggests:
pn  python3-gobject-dbg  <none>

-- no debconf information
#!/usr/bin/env python3

from gi.repository import Gtk

def popup_menu(si, button, act_time):
    global m
    print('popup_menu')
    m.popup(None, None,
            # Workaround a bug in GTK+.
            # https://bugzilla.gnome.org/show_bug.cgi?id=645192
            lambda m, p, s:
                Gtk.StatusIcon.position_menu(m, s),
            si, button, act_time)

Gtk.init(None)
si = Gtk.StatusIcon(title='Info',
                    icon_name='info')
si.connect('popup-menu', popup_menu)
m = Gtk.Menu()
q = Gtk.ImageMenuItem(label=Gtk.STOCK_QUIT,
                      use_stock=True)
q.connect('activate', lambda i: Gtk.main_quit())
m.append(q)
m.show_all()
Gtk.main()

--- End Message ---
--- Begin Message ---
There have been many changes to Debian since this bug was originally
reported. If you are still experiencing this issue with Debian 13 (or
with Debian 12 or Testing or Unstable), please report a new bug.

Thank you,
Jeremy BĂ­cha

--- End Message ---

Reply via email to