[Kde-bindings] in korundum 4.5, calling super from event handlers causes SystemStackError
Arno Rehn
arno at arnorehn.de
Mon Jul 5 12:37:15 UTC 2010
On Monday 05 July 2010 14:16:58 Stefano Crocco wrote:
> On Monday 05 July 2010, Arno Rehn wrote:
> > |Hm, I can't reproduce that, using recent trunk. I've made some fixes to
> > |QtRuby in the last few days that should appear in RC2, but nothing of
> > |what I've done seems to be related to this.
> > |
> > |Is there anything like a full backtrace? And which Ruby version are you
> > |using?
>
> I'm using ruby 1.9.1p376. The exact exception I get is the following:
>
> /usr/lib/ruby19/site_ruby/1.9.1/Qt/qtruby4.rb:2636:in `find_class': stack
> level too deep (SystemStackError)
> from prova.rb:8:in `method_missing'
> from prova.rb:8:in `contextMenuEvent'
> from prova.rb:8:in `method_missing'
> from prova.rb:8:in `contextMenuEvent'
> from prova.rb:8:in `method_missing'
> from prova.rb:8:in `contextMenuEvent'
> from prova.rb:8:in `method_missing'
> from prova.rb:8:in `contextMenuEvent'
> ... 5803 levels...
> from prova.rb:8:in `contextMenuEvent'
> from /usr/lib/ruby19/site_ruby/1.9.1/Qt/qtruby4.rb:469:in
> `method_missing'
> from /usr/lib/ruby19/site_ruby/1.9.1/Qt/qtruby4.rb:469:in `exec'
> from prova.rb:16:in `<main>'
This looks like an infinite loop to me. And to correct myself: I do get that
bug, too. I didn't try to invoke a context menu when I first tested it - sorry
for that.
--
Arno Rehn
arno at arnorehn.de
More information about the Kde-bindings
mailing list