On Wed, 07 Jun 2006 11:18:06 -0400, Kevin F. Quinn <[EMAIL PROTECTED]> wrote:

THANK YOU for quickly replying to this newbie question!

First thing to do is to run kdesktop_lock from a terminal, and see
whether the error is the same.

Got this:

kdesktop_lock: stack smashing attack in function virtual void QWidget::create(WId, bool, bool)()
Aborted


Also do:

readelf -d $(which kdesktop_lock)

and see which QT version it links to - if the rpath
includes /usr/qt/3/lib then it's linking to QT3 not QT4.


Got this:

 ~ $ readelf -d $(which kdesktop_lock)

Dynamic section at offset 0x2d7d8 contains 66 entries:
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libXau.so.6]
 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
 0x00000001 (NEEDED)                     Shared library: [libkio.so.4]
 0x00000001 (NEEDED)                     Shared library: [libkdeui.so.4]
 0x00000001 (NEEDED)                     Shared library: [libkdesu.so.4]
0x00000001 (NEEDED) Shared library: [libkwalletclient.so.1]
 0x00000001 (NEEDED)                     Shared library: [libkdecore.so.4]
 0x00000001 (NEEDED)                     Shared library: [libDCOP.so.4]
 0x00000001 (NEEDED)                     Shared library: [libresolv.so.2]
 0x00000001 (NEEDED)                     Shared library: [libutil.so.1]
0x00000001 (NEEDED) Shared library: [libart_lgpl_2.so.2]
 0x00000001 (NEEDED)                     Shared library: [libidn.so.11]
 0x00000001 (NEEDED)                     Shared library: [libkdefx.so.4]
 0x00000001 (NEEDED)                     Shared library: [libqt-mt.so.3]
 0x00000001 (NEEDED)                     Shared library: [libmng.so.1]
 0x00000001 (NEEDED)                     Shared library: [liblcms.so.1]
 0x00000001 (NEEDED)                     Shared library: [libjpeg.so.62]
 0x00000001 (NEEDED)                     Shared library: [libXrandr.so.2]
 0x00000001 (NEEDED)                     Shared library: [libXcursor.so.1]
 0x00000001 (NEEDED)                     Shared library: [libXft.so.2]
0x00000001 (NEEDED) Shared library: [libfontconfig.so.1]
 0x00000001 (NEEDED)                     Shared library: [libfreetype.so.6]
 0x00000001 (NEEDED)                     Shared library: [libexpat.so.0]
 0x00000001 (NEEDED)                     Shared library: [libpng.so.3]
 0x00000001 (NEEDED)                     Shared library: [libXrender.so.1]
 0x00000001 (NEEDED)                     Shared library: [libz.so.1]
 0x00000001 (NEEDED)                     Shared library: [libfam.so.0]
 0x00000001 (NEEDED)                     Shared library: [libstdc++.so.6]
0x00000001 (NEEDED) Shared library: [libXxf86misc.so.1]
 0x00000001 (NEEDED)                     Shared library: [libGLU.so.1]
 0x00000001 (NEEDED)                     Shared library: [libGL.so.1]
 0x00000001 (NEEDED)                     Shared library: [libSM.so.6]
 0x00000001 (NEEDED)                     Shared library: [libICE.so.6]
 0x00000001 (NEEDED)                     Shared library: [libXmu.so.6]
 0x00000001 (NEEDED)                     Shared library: [libXt.so.6]
 0x00000001 (NEEDED)                     Shared library: [libXext.so.6]
 0x00000001 (NEEDED)                     Shared library: [libXi.so.6]
 0x00000001 (NEEDED)                     Shared library: [libdl.so.2]
 0x00000001 (NEEDED)                     Shared library: [libpthread.so.0]
 0x00000001 (NEEDED)                     Shared library: [libX11.so.6]
 0x00000001 (NEEDED)                     Shared library: [libm.so.6]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
0x0000000f (RPATH) Library rpath: [/usr/kde/3.5/lib:/usr/qt/3/lib:/usr/lib/gcc/i686-pc-linux-gnu/3.4.6:/usr/lib/opengl/xorg-x11/lib:/usr/lib] 0x0000001d (RUNPATH) Library runpath: [/usr/kde/3.5/lib:/usr/qt/3/lib:/usr/lib/gcc/i686-pc-linux-gnu/3.4.6:/usr/lib/opengl/xorg-x11/lib:/usr/lib]
 0x0000000c (INIT)                       0xa400
 0x0000000d (FINI)                       0x29ba0
 0x00000004 (HASH)                       0x188
 0x00000005 (STRTAB)                     0x39e8
 0x00000006 (SYMTAB)                     0x1358
 0x0000000a (STRSZ)                      17950 (bytes)
 0x0000000b (SYMENT)                     16 (bytes)
 0x00000015 (DEBUG)                      0x0
 0x00000003 (PLTGOT)                     0x2ea08
 0x00000002 (PLTRELSZ)                   2760 (bytes)
 0x00000014 (PLTREL)                     REL
 0x00000017 (JMPREL)                     0x9938
 0x00000011 (REL)                        0x8588
 0x00000012 (RELSZ)                      5040 (bytes)
 0x00000013 (RELENT)                     8 (bytes)
 0x0000001e (FLAGS)                      BIND_NOW
 0x6ffffffb (FLAGS_1)                    Flags: NOW
 0x6ffffffe (VERNEED)                    0x84d8
 0x6fffffff (VERNEEDNUM)                 3
 0x6ffffff0 (VERSYM)                     0x8006
 0x6ffffffa (RELCOUNT)                   171
 0x00000000 (NULL)                       0x0


So IIUC,

1. It is indeed using the qt 3 directory; which means 3.3.6.r-1 libraries, and your patch will then still work!? I -guess- that I copy the "edit" notes from your bugzilla patch, insert it into a file named "qt-3.3.6-r1-dirty-ssp.patch"; put that into /usr/portage/x11-libs/qt/files, and then reemerge qt!? (I just noticed that my first attempt at this was deleted - I guess by portage - do I have to put the name of this patch into some sort of manifest?)

2. If I have the 4.1.2 qt version, why are the 3x libraries still around?

3. (IIRC, I recompiled KDE* after installing the new QT - yet KDE still uses 3.)

No...  Are you sure it's using qt-4?  qt major versions are slotted and
from qt3 to qt4 the library names have changed.

4. What does "slotted" mean, please? (webopedia and google didn't help :-( )

Report any findings on the same bug.

TIA (newbie)



Thanks AGAIN!!! newbie
--
[email protected] mailing list

Reply via email to