Registered Member
|
Hey,
trying my luck with writing a Ruby Plasmoid. This is the source so far:
This runs smoothly, since I don't call the fetchList method. Once I do that, it quits unexpected and I can't find any useful error messages. I attached the traceroute of the seg-fault. Is anyone experienced with this?
|
Registered Member
|
What version of KDE are you using? Can you install Qt's, KDE's and Ruby's debug symbols and report a bug? (or send a mail to kde-bindings)
Possible workarounds: * Create all child items in member variables. i.e. @layout = Qt::GraphicsLinearLayout.new Qt::Horizontal, self @label = Plasma::Label.new self * If everything else fails, add in the beginning of the file: GC.disable
connect(post, SIGNAL(readSignature()), qapp, SLOT(quit()));
|
Registered Member
|
Hey,
thanks for the reply! GC.disable solves the probelm. So it's a bug in garbage collection, so it would be useful if I would be able to install the dbg packages - correct? I'm running Kubuntu 9.10 and don't know, which packages I should install. |
Registered Member
|
Install kdelibs5-dbg libqt4-dbg libruby1.8-dbg. With GC enabled run the plasmoid. Then mail kde-bindings @ kde.org with the KDE version, source code and backtrace.
connect(post, SIGNAL(readSignature()), qapp, SLOT(quit()));
|
Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]