Also happens on amd64 sid, Hyprland 0.41.2+ds-1.1, mypaint 2.0.1-10+b2. Trace just interrupts mid-print.
... --- modulename: command, funcname: _check_recording_started command.py(382): assert not self._recording_finished command.py(383): if self._recording_started: command.py(384): return command.py(432): model = self.doc command.py(433): layer = self._stroke_target_layer command.py(434): if layer is None: command.py(437): brush = model.brush command.py(438): if self._abrupt_start and not self._abrupt_start_done: command.py(449): self._stroke_seq.record_event( command.py(450): dtime, command.py(451): x, y, pressure, command.py(452): xtilt, ytilt, viewzoom, viewrotation, barrel_rotation, command.py(449): self._stroke_seq.record_event( --- modulename: stroke, funcname: record_event stroke.py(55): assert not self.finished stroke.py(56): self.tmp_event_list.append((dtime, x, y, pressure, xtilt, ytilt, stroke.py(57)