gtk3 problem

Ryan Schmidt ryandesign at
Sat Dec 11 14:00:34 UTC 2021

On Dec 10, 2021, at 13:51, Langer, Stephen A. (Fed) wrote:

> 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.

Probably the first diagnostic step should be to look into the crash report. If it doesn't help you figure out the problem, you could send it here; maybe someone here can decipher it. Look for the log in ~/Library/Logs/DiagnosticReports.

More information about the macports-users mailing list