[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KToolBar problem
From:       Michael Reiher <michael.reiher () gmx ! de>
Date:       2000-10-07 13:52:08
[Download RAW message or body]

Reginald Stadlbauer wrote:
> 
> Ok, following patch in KToolBar fixes the problem for me. Could be done
> cleaner with using QGuarderPtr<QWidget> in the list and maps instead of
> QWidget, but I think this wouldn't be binary compatible. So please review and
> test this one:
> 
Ha! I missed the destroyed signal. Your patch doesn´t fix the problem though.
The problem is just that ChildInserted doesn´t get through. But with this
slight modification it seems to work fine.
Unforunately it crashes now with the following backtrace:(

0x40fff019 in __wait4 () from /lib/libc.so.6
#0  0x40fff019 in __wait4 () from /lib/libc.so.6
#1  0x4105c718 in __DTOR_END__ () from /lib/libc.so.6
#2  0x405c0350 in KCrash::defaultCrashHandler ()
    at /home/michael/kde/cvs-src/kdelibs/kdecore/kcrash.cpp:205
#3  0x40f9c9e8 in __restore ()
    at ../sysdeps/unix/sysv/linux/i386/sigaction.c:127
#4  0x40fd01cf in free () at malloc.c:2952
#5  0x40f401c4 in __builtin_delete () at ./cp/new2.cc:55
#6  0x40b76d78 in QCollection::~QCollection ()
   from /usr/local/qt2-debug/lib/libqt.so.2
#7  0x40866e4e in QGList::~QGList () at tools/qglist.cpp:924
#8  0x404ce6bc in QList<QObject>::~QList ()
   from /opt/kde2-CVS-debug/lib/libkdeui.so.3
#9  0x404ce5ec in QObjectList::~QObjectList ()
   from /opt/kde2-CVS-debug/lib/libkdeui.so.3
#10 0x4092838a in QObject::~QObject () at kernel/qobject.cpp:290
#11 0x40454094 in KAction::~KAction ()
    at /home/michael/kde/cvs-src/kdelibs/kdeui/kaction.cpp:68
#12 0x40928560 in QObject::~QObject () at kernel/qobject.cpp:290
#13 0x4045bf66 in KActionCollection::~KActionCollection ()
    at /home/michael/kde/cvs-src/kdelibs/kdeui/kaction.cpp:68
#14 0x404c549d in KXMLGUIClientPrivate::~KXMLGUIClientPrivate ()
   from /opt/kde2-CVS-debug/lib/libkdeui.so.3
#15 0x40479092 in KXMLGUIClient::~KXMLGUIClient ()
    at /home/michael/kde/cvs-src/kdelibs/kdeui/kxmlguiclient.cpp:463

#16 0x4004b41a in KonqMainWindow::~KonqMainWindow () at konq_mainwindow.moc:539

#17 0x40983226 in QWidget::close () at kernel/qwidget.cpp:3225
#18 0x408a219e in QETWidget::translateCloseEvent ()
    at kernel/qapplication_x11.cpp:4398
#19 0x4089b980 in QApplication::x11ClientMessage ()
    at kernel/qapplication_x11.cpp:2318
#20 0x4089c6cb in QApplication::x11ProcessEvent ()
    at kernel/qapplication_x11.cpp:2318
#21 0x4089b49b in QApplication::processNextEvent ()
    at kernel/qapplication_x11.cpp:2318
#22 0x408dfbdf in QApplication::enter_loop () at kernel/qapplication.cpp:2147
#23 0x4089b3cb in QApplication::exec () at kernel/qapplication_x11.cpp:2318
#24 0x40048d25 in main ()
    at /home/michael/kde/cvs-src/kdebase/konqueror/konq_main.cc:122
#25 0x40f96a8e in __libc_start_main () at ../sysdeps/generic/libc-start.c:93

Greets

Michael

-- 
Michael Reiher                                    :  michael.reiher@gmx.de
Student of Computer Science at TU Dresden/Germany : mr23@inf.tu-dresden.de
KDE Developer                                     :         reiher@kde.org

As the New Gnu knew very soon at the Zoo Guinness is good for you

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic