[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] gst-browser crashes when loading modified images.

From: Holger Freyther
Subject: Re: [Help-smalltalk] gst-browser crashes when loading modified images.
Date: Sat, 14 Sep 2019 20:21:37 +0800

> On 14. Sep 2019, at 08:24, Colton Lewis <address@hidden> wrote:


> As best as I can tell, the problem occurs because loading the program
> image resumes GTK's never-shut-down event loop and attempts to continue
> processing events. The stale events from the last session cause
> operations on nonexistent widgets, causing the crash. Interestingly, the
> variables pointing to the nonexistent widgets seem to already be nil.
> I don't yet have a good handle on the GTK code. The fix could be as
> simple as clearing the event queue immediately before saving the
> image. The question is if the existing code will recreate the GTK widgets by
> resuming the same event loop with an empty queue. If not, things get tricky.

Maybe we can save the image in a "clean" non-preemptible process that
recreates the browser on resume?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]