[vox-tech] Xorg help new Ubuntu

Jan W jcwynholds at yahoo.com
Mon Nov 3 11:35:05 PST 2008


Hi Alex:

Let me preface: I don't know much about your problem, only what I have done in the past to correct problems like this.  I'm just going to suggest some things to look at.

Which version of the X11 libraries is the Qt library linked against?  It sounds like two different versions of libX11 is causing your Qt libs to have some problems.

Frames 9 and 10 are ones that I would try to fix.  Try looking at how /usr/lib/libQtGui.so.4 is linked.  Is this the lib that you compiled yourself, or is this libQtGui.so.4 part of the OS upgrade?  ldd on this file might point out problems with how it's linked.  If you compiled it yourself, you might be able to replace a '-lX11' with '/yourlib/theonethatworks/libX11.so' to tell the linker to link against a specific .so rather than the one found first in $LD_LIBRARY_PATH.  

I dislike it when I (ab)use the ability of the linker to accept hard-coded paths to a lib (it feels a bit dirty); it's one of those ugly things that is prettier than dead, but only by a little.  It makes libraries and programs more fragile and dependent on hard coded paths.

BTW, it looks as if the libQtGui.so.4 was not compiled with debugging symbols, which is why you don't see function names ("0xFFFFFFFF in ??"), I believe.  That also might be a clue...

Someone with GCC/ld knowledge beyond my own can correct me here (Please?).

--best of luck

jan

<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
"The most potent weapon in the hands of the oppressor is the 
mind of the oppressed."
-- Steven Biko
("White Racism and Black Consciousness", in I Write What I Like)
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>


--- On Sun, 11/2/08, Alex Mandel <tech_dev at wildintellect.com> wrote:

> From: Alex Mandel <tech_dev at wildintellect.com>
> Subject: [vox-tech] Xorg help new Ubuntu
> To: "lugod's technical discussion forum" <vox-tech at lists.lugod.org>
> Date: Sunday, November 2, 2008, 10:02 AM
> Just looking for some more ideas...
> 
> After upgrading to Ubuntu 8.10 a bunch of applications
> stopped working
> for me. Mostly qt based but the problem isn't that
> simple, I recompiled
> qt myself and the demo app runs fine, then recompiled one
> of my not
> working apps against this working qt and still no go.
> 
> Apps that have ceased to work:
> Qgis from ppa.launchpad.net/qgis
> eric4 from multiverse
> qt designer
> 
> the only clue I have right now is that it's not a
> problem with all
> machines just some, and it's possibly related to X due
> to the following
> backtrace.
> 
> Any ideas?
> 
> Thanks,
> Alex
> 
>    1.
>       (gdb) bt
>    2.
>       #0  0xb6541803 in _XrmInternalStringToQuark () from
> /usr/lib/libX11.so.6
>    3.
>       #1  0xb6541ca7 in XrmStringToQuark () from
> /usr/lib/libX11.so.6
>    4.
>       #2  0xb655dc95 in _XlcOpenConverter () from
> /usr/lib/libX11.so.6
>    5.
>       #3  0xb6565372 in _Xlcmbstowcs () from
> /usr/lib/libX11.so.6
>    6.
>       #4  0xb6565463 in _Xmbstowcs () from
> /usr/lib/libX11.so.6
>    7.
>       #5  0xb657b18f in _XimParseStringFile () from
> /usr/lib/libX11.so.6
>    8.
>       #6  0xb6579284 in _XimLocalOpenIM () from
> /usr/lib/libX11.so.6
>    9.
>       #7  0xb657792d in _XimOpenIM () from
> /usr/lib/libX11.so.6
>   10.
>       #8  0xb6577650 in _XimRegisterIMInstantiateCallback
> ()
>   11.
>          from /usr/lib/libX11.so.6
>   12.
>       #9  0xb655b8c8 in XRegisterIMInstantiateCallback ()
> from
> /usr/lib/libX11.so.6
>   13.
>       #10 0xb7a1b3a7 in ?? () from /usr/lib/libQtGui.so.4
>   14.
>       #11 0xb7a19ea1 in QInputContextFactory::create ()
> from
> /usr/lib/libQtGui.so.4
>   15.
>       #12 0xb3ff5c40 in ?? ()
>   16.
>          from
> /usr/lib/qt4/plugins/inputmethods/libqimsw-multi.so
>   17.
>       #13 0xb3ff63f6 in ?? ()
>   18.
>          from
> /usr/lib/qt4/plugins/inputmethods/libqimsw-multi.so
>   19.
>       #14 0xb7a19ee4 in QInputContextFactory::create ()
> from
> /usr/lib/libQtGui.so.4
>   20.
>       #15 0xb74a7605 in QApplication::inputContext () from
> /usr/lib/libQtGui.so.4
>   21.
>       #16 0xb74f0de8 in QWidgetPrivate::inputContext ()
> from
> /usr/lib/libQtGui.so.4
>   22.
>       #17 0xb74f97db in QWidget::setAttribute () from
> /usr/lib/libQtGui.so.4
>   23.
>       #18 0xb78b398c in ?? () from /usr/lib/libQtGui.so.4
>   24.
>       #19 0xb78b3fd7 in QTextEdit::QTextEdit () from
> /usr/lib/libQtGui.so.4
> _______________________________________________
> vox-tech mailing list
> vox-tech at lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech



      


More information about the vox-tech mailing list