gtk3 problem

Langer, Stephen A. (Fed) stephen.langer at
Fri Dec 10 19:51:27 UTC 2021

Hi --

Is anyone running gtk3 programs on an M1 or on Monterey?  The following simple script crashes on an M1 Mini with Monterey, when run with python 2.7:

import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk
window = Gtk.Window(Gtk.WindowType.TOPLEVEL, title="test")

The error message is "Trace/BPT trap: 5".

The same program runs without error on an Intel CPU and Big Sur.  Unfortunately I can't change the OS on either machine so I can't tell if the problem is due to the OS or the processor, or both.

 -- Steve

More information about the macports-users mailing list