[Kde-bindings] [Bug 210991] ruby Segmentation fault when Qt is uninitialized

David Palacio dpalacio at uninorte.edu.co
Sun Oct 18 18:39:34 UTC 2009


https://bugs.kde.org/show_bug.cgi?id=210991





--- Comment #2 from David Palacio <dpalacio uninorte edu co>  2009-10-18 20:39:32 ---
It is not Ruby crashing but Qt (see backtrace). You're not supposed to do GUI
stuff without creating a QApplication.

#0  0x00007f4b48026549 in XInternAtom () from /usr/lib/libX11.so.6
#1  0x00007f4b4c4fca31 in QSystemTrayIconSys::locateSystemTray () at
util/qsystemtrayicon_x11.cpp:72
#2  0x00007f4b4c4fcb09 in QSystemTrayIconPrivate::isSystemTrayAvailable_sys ()
at util/qsystemtrayicon_x11.cpp:379
#3  0x00007f4b4b393875 in __smokeqt::xcall_QSystemTrayIcon (xi=<value optimized
out>, obj=0x3, args=0x1d9cc50)    
    at /home/kde/build/KDE/kdebindings/smoke/qt/x_16.cpp:4553                   
#4  0x00007f4b4ae3fbb6 in QtRuby::MethodCall::callMethod (this=0x7fff56a578b0)
at /home/kde/src/KDE/kdebindings/ruby/qtruby/src/marshall_types.h:148
#5  0x00007f4b4ae3daea in QtRuby::MethodCallBase::next (this=0x7fff56a578b0) at
/home/kde/src/KDE/kdebindings/ruby/qtruby/src/marshall_types.cpp:467
#6  0x00007f4b4ae09a43 in class_method_missing (argc=1, argv=0x7fff56a57f10,
klass=<value optimized out>)                                           
    at /home/kde/src/KDE/kdebindings/ruby/qtruby/src/Qt.cpp:959                 
#7  0x00007f4b4e58c6c2 in rb_call0 (klass=139961418323440,
recv=139961267698000, id=4057, oid=4057, argc=1, argv=0x7fff56a57f10,           
[...]

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kde-bindings mailing list