From: Stefan S. <ma...@ss...> - 2016-01-04 18:04:10
|
On Mon, 2016-01-04 at 21:38 +0900, Kouhei Sutou wrote: > > It seems that your cairo XCB surface is destroyed twice. > It may be caused by Ruby's sweep (in GC) timing. Ruby script > can't control object order to be swept. > > > It seems that your script was finished by exception. > Could you confirm that your script raises any exception? > > For example: > > --- > # ... > > begin > Gtk.main > rescue Exception > puts "#{$!.class}: #{$!}" > puts $@ > end > --- > > The code is still exactly the same as in http://ssalewski.de/pet20150928.tar I had no spare time since then to work on it. At the end of peted.rb there is no exception, only plain Gtk.main at the end. And for termination of the program there is self.signal_connect('destroy') {Gtk.main_quit} in file peted.rb |