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

List:       kde-core-devel
Subject:    Re: [PATCH] Solid circular deletion
From:       Alex Merry <huntedhacker () tiscali ! co ! uk>
Date:       2008-02-19 1:30:02
Message-ID: 200802190130.08035.huntedhacker () tiscali ! co ! uk
[Download RAW message or body]

[Attachment #2 (multipart/mixed)]


On Tuesday 19 February 2008 01:21:24 Alex Merry wrote:
> The attached patch seems to fix it, but I'm not sure if it's really the
> correc t fix - can someone who knows about the code (or using
> QExplicitlySharedPointe r as a self reference) check it?  It may introduce
> memory leaks.

Actually, I'm pretty certain that's not the correct fix.  I've discovered that 
the patch causes crashes when quitting any application that uses Solid.

Alex


-- 
KDE: http://www.kde.org
Ubuntu/Kubuntu: http://www.ubuntu.org http://www.kubuntu.org


["dolphin.bt" (text/plain)]

Application: Dolphin (dolphin), signal SIGSEGV
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb5fd66d0 (LWP 15055)]
[New Thread 0xb4a0fb90 (LWP 15056)]
[KCrash handler]
#6  0xb752707c in QList<Solid::DeviceInterface*>::append (this=0xbfebec00, 
    t=@0x4d)
    at /home/kde-devel/src/qt-copy/include/QtCore/../../src/corelib/tools/qlist.h:426
#7  0xb75270ec in QMap<Solid::DeviceInterface::Type, Solid::DeviceInterface*>::values (this=0x8266514)
    at /home/kde-devel/src/qt-copy/include/QtCore/../../src/corelib/tools/qmap.h:802
#8  0xb7525394 in ~DevicePrivate (this=0x8266500)
    at /home/kde-devel/src/KDE/kdelibs/solid/solid/device.cpp:250
#9  0xb7527b29 in ~DeviceManagerPrivate (this=0x81bcf30)
    at /home/kde-devel/src/KDE/kdelibs/solid/solid/devicemanager.cpp:50
#10 0xb75273ae in destroy ()
    at /home/kde-devel/src/KDE/kdelibs/solid/solid/devicemanager.cpp:32
#11 0xb75289c5 in ~CleanUpGlobalStatic (this=0xb7577a9c)
    at /home/kde-devel/src/KDE/kdelibs/solid/solid/soliddefs_p.h:66
#12 0xb7527324 in __tcf_0 ()
    at /home/kde-devel/src/KDE/kdelibs/solid/solid/devicemanager.cpp:32
#13 0xb639ad44 in exit () from /lib/libc.so.6
#14 0xb6384398 in __libc_start_main () from /lib/libc.so.6
#15 0x0805f501 in _start ()
#0  0xb7eeb410 in __kernel_vsyscall ()

["signature.asc" (application/pgp-signature)]

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

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