Re: gst-browser crashes when loading modified images.

Holger Freyther <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.gnu.general
Message-ID <[email protected]>

> On 14. Sep 2019, at 08:24, Colton Lewis <[email protected]> wrote:

Hi!



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

wdut?

holger


_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.