[Kde-bindings] [Bug 113994] New: Ruby/Korundum programs crash when receiving a DCOP signal.

Michael Pyne michael.pyne at kdemail.net
Fri Oct 7 02:44:08 UTC 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=113994         
           Summary: Ruby/Korundum programs crash when receiving a DCOP
                    signal.
           Product: bindings
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kde-bindings kde org
        ReportedBy: michael.pyne kdemail net


Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.0.1 (Gentoo 4.0.1, pie-8.7.8)
OS:                Linux

Korundum scripts that use connectDCOPSignal() to listen for DCOP signals crash when the signal is emitted, with the following message (as tested with the example applications dcopsignal.rb and dcopslot.rb):

kde-cvs broadway ~/kdesvn/build/kdebindings/korundum/rubylib/examples/dcop $ /usr/lib/ruby/site_ruby/1.8/Qt/qtruby.rb:1063:in `method_missing': Cannot handle 'const QByteArray&' as argument of virtual method DCOPObject::process (ArgumentError)
        from /usr/lib/ruby/site_ruby/1.8/Qt/qtruby.rb:1063:in `exec'
        from /usr/lib/ruby/site_ruby/1.8/KDE/korundum.rb:408:in `exec'
        from ./dcopslot.rb:88
Mutex destroy failure: Device or resource busy

This happens with every script I use that connects to DCOP signals.  In fact, I first noticed when re-testing a script you can find here (http://grammarian.homelinux.net/~kde-cvs/showPlaying-signals.rb), which can be used in conjunction with KDE 3.5's JuK application, which gives the following error:

kde-cvs broadway ~/kdesvn/build/kdebindings $ ~/public_html/showPlaying-signals.rb
/usr/lib/ruby/site_ruby/1.8/Qt/qtruby.rb:1063:in `method_missing': Cannot handle 'const QByteArray&' as argument of virtual method DCOPObject::process (ArgumentError)
        from /usr/lib/ruby/site_ruby/1.8/Qt/qtruby.rb:1063:in `exec'
        from /usr/lib/ruby/site_ruby/1.8/KDE/korundum.rb:395:in `exec'
        from /home/kde-cvs/public_html/showPlaying-signals.rb:178
Mutex destroy failure: Device or resource busy

I just recently upgraded Ruby to 1.8.3.  I tried reinstalling qtruby and korundum but that didn't seem to help.  I will try downgrading Ruby back to 1.8.1 I suppose and see if that works, but I'm not sure when the behavior started to break as I haven't used the script in question in awhile.



More information about the Kde-bindings mailing list