l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
November 4: Social gathering
Next Installfest:
TBD
Latest News:
Oct. 10: LUGOD Installfests coming again soon
Page last updated:
2008 Nov 09 11:22

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Xorg help new Ubuntu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Xorg help new Ubuntu



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@wildintellect.com> wrote:

> From: Alex Mandel <tech_dev@wildintellect.com>
> Subject: [vox-tech] Xorg help new Ubuntu
> To: "lugod's technical discussion forum" <vox-tech@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@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech



      
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!