From kde-core-devel Tue Feb 19 01:30:02 2008 From: Alex Merry Date: Tue, 19 Feb 2008 01:30:02 +0000 To: kde-core-devel Subject: Re: [PATCH] Solid circular deletion Message-Id: <200802190130.08035.huntedhacker () tiscali ! co ! uk> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=120338465408940 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart3182236.fGxSL7oTQk" --nextPart3182236.fGxSL7oTQk Content-Type: multipart/mixed; boundary="Boundary-01=_aEjuHP2du+fr4AS" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_aEjuHP2du+fr4AS Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 t= hat=20 the patch causes crashes when quitting any application that uses Solid. Alex =2D-=20 KDE: http://www.kde.org Ubuntu/Kubuntu: http://www.ubuntu.org http://www.kubuntu.org --Boundary-01=_aEjuHP2du+fr4AS Content-Type: text/plain; charset="iso-8859-6"; name="dolphin.bt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="dolphin.bt" 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::append (this=3D0xbfebec00= ,=20 t=3D@0x4d) at /home/kde-devel/src/qt-copy/include/QtCore/../../src/corelib/tools/q= list.h:426 #7 0xb75270ec in QMap::values (this=3D0x8266514) at /home/kde-devel/src/qt-copy/include/QtCore/../../src/corelib/tools/q= map.h:802 #8 0xb7525394 in ~DevicePrivate (this=3D0x8266500) at /home/kde-devel/src/KDE/kdelibs/solid/solid/device.cpp:250 #9 0xb7527b29 in ~DeviceManagerPrivate (this=3D0x81bcf30) 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=3D0xb7577a9c) 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 () --Boundary-01=_aEjuHP2du+fr4AS-- --nextPart3182236.fGxSL7oTQk Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iEYEABECAAYFAke6MRoACgkQBRauKLutZ9BongCfW6fqi5maN5s4T9nhX7x8y8De umwAn3P+W2HUuq1vI2FB8/T/HWq5IoX+ =SEKG -----END PGP SIGNATURE----- --nextPart3182236.fGxSL7oTQk--