From: Kouhei S. <ko...@co...> - 2016-01-04 12:38:10
|
Hi, In <145...@ss...> "Re: [ruby-gnome2-devel-en] Crashes when cairo is compiled with xlib-xcb xcb options" on Sun, 03 Jan 2016 20:45:24 +0100, Stefan Salewski <ma...@ss...> wrote: > On Mon, 2016-01-04 at 00:11 +0900, Kouhei Sutou wrote: >> Could you get C level backtrace? >> >> segv-handler-gdb gem will help you: > > This is my first attempt to debug, is it helpful for you? > > http://ssalewski.de/tmp/debug.txt Thanks. 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 --- Thanks, -- kou |