[PATCH] Solid circular deletion
Alex Merry
huntedhacker at tiscali.co.uk
Tue Feb 19 01:30:02 GMT 2008
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
-------------- next part --------------
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 ()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080219/1c98a486/attachment.sig>
More information about the kde-core-devel
mailing list