[Kde-bindings] ruby+korundum app crashes at exit

Thibauld Favre thibauld.favre at laposte.net
Sun Oct 10 23:23:47 UTC 2004


Hi Richard,

I wasn't able to spot exactly what made my app crash again but the fact is 
that it crashes again from time to time at exit. If you play with the UI a 
little bit, you should be able to get a crash at exit rather easily.

Here's the backtrace :
----------------------------------
Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1076401248 (LWP 12580)]
[KCrash handler]
#3  0x4212d599 in QPalette::QPalette () from /usr/lib/libqt-mt.so.3
#4  0x420c1bba in QApplication::style () from /usr/lib/libqt-mt.so.3
#5  0x4215297a in QWidget::style () from /usr/lib/libqt-mt.so.3
#6  0x422327bf in QScrollBar::rangeValueToSliderPos ()
   from /usr/lib/libqt-mt.so.3
#7  0x4223274e in QScrollBar::positionSliderFromValue ()
   from /usr/lib/libqt-mt.so.3
#8  0x4223166b in QScrollBar::valueChange () from /usr/lib/libqt-mt.so.3
#9  0x42230a19 in QRangeControl::setValue () from /usr/lib/libqt-mt.so.3
#10 0x42232dd9 in QScrollBar::setValue () from /usr/lib/libqt-mt.so.3
#11 0x422376e0 in QScrollView::setContentsPos () from /usr/lib/libqt-mt.so.3
#12 0x421f206e in QListBox::clear () from /usr/lib/libqt-mt.so.3
#13 0x421f1658 in QListBox::~QListBox () from /usr/lib/libqt-mt.so.3
#14 0x42151c1d in QWidget::~QWidget () from /usr/lib/libqt-mt.so.3
#15 0x421b83a6 in QComboBox::~QComboBox () from /usr/lib/libqt-mt.so.3
#16 0x42151c1d in QWidget::~QWidget () from /usr/lib/libqt-mt.so.3
#17 0x41a1b602 in KDatePicker::~KDatePicker () from /usr/lib/libkdeui.so.4
#18 0x408ff40f in x_KDatePicker::~x_KDatePicker ()
   from /usr/lib/libsmokekde.so.1
#19 0x42151c1d in QWidget::~QWidget () from /usr/lib/libqt-mt.so.3
#20 0x422ab1de in QDialog::~QDialog () from /usr/lib/libqt-mt.so.3
#21 0x40ca16cf in x_QDialog::~x_QDialog () from /usr/lib/libsmokekde.so.1
#22 0x40c68853 in xcall_QDialog () from /usr/lib/libsmokekde.so.1
#23 0x402e7d26 in smokeruby_free ()
   from /usr/local/lib/site_ruby/1.8/i386-linux/korundum.so
#24 0x40068e87 in rb_gc_call_finalizer_at_exit ()
   from /usr/lib/libruby1.8.so.1.8
#25 0x4004a935 in ruby_options () from /usr/lib/libruby1.8.so.1.8
#26 0x4004aa72 in ruby_cleanup () from /usr/lib/libruby1.8.so.1.8
#27 0x4004abff in ruby_stop () from /usr/lib/libruby1.8.so.1.8
#28 0x4004ac61 in ruby_run () from /usr/lib/libruby1.8.so.1.8
#29 0x080486f3 in main ()
----------------------------------------------------

Note that I'm using qtruby and korundum HEAD updated sunday (10/10) night.

I'm joining my little app to this email so that you can test by yourself. The 
problem is that it normally requires a database connection. I commented the 
"createConnection" method so you'll be able to use it anyway but it will 
generate errors messages and, of course, object won't be persistent. Also, 
don't worry for the passwd being written in my config file, I replaced it 
with a dumb one...
The app is far from being feature complete... so don't worry if contracts and 
propositions features don't fully work.

Thanks a lot,
Regards,

Thibauld


-------------- next part --------------
A non-text attachment was scrubbed...
Name: tableau_bord-1010.tgz
Type: application/x-tgz
Size: 83949 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20041011/562df36c/attachment.bin>


More information about the Kde-bindings mailing list