Red Hat Bugzilla – Bug 12267
DGA 1 apps compiled against 4.0 segfault when run under 3.3.6
Last modified: 2008-05-01 11:37:56 EDT
When I compile xmame with DGA 1 support on 6.9 beta1 (and thus against 4.0)
and after that run it under a 3.3.6 server it segfaults. I can't even get a
normal window stand alone an DGA screen.
Since xmame uses only DGA 1, I would expect it to still run under 3.3.6
even if compiled against 4.0 if this is not feasable atleast I would expect
to just get an DGA not available error and be able to run in a window.
If I remember correctly, there's a general bug in DGA1 support in XFree 4.0 (ie:
it doesn't work :) I remember hearing this is fixed in the current XFree CVS
tree; if XF 4.0.1 isn't released soon, this and the multitude of other bugs in
the released XFree4 are going to cause quite a bit of trouble :(
About compiling against the XFree 4 version, very rarely can you compile a
program against a newer lib and have it work with the older version. The other
way around is often desirable, although not always possible.
This however isn't a regular program but an X-windows program and the X protocol
is supposed to not suffer from this, if I compile xmame without DGA support it
works fine under the 3.3 servers even if compiled against the 4.0 libs.
I can even run it against the 3.3 libs.
So to be clear I'm not trying to run xmame + DGA1 suppport against 3.3 libs,
just against a 3.3 server, so we're not talking about dynamic linkijg against
older libs here, just about talking to an older server. This should work fine
(see http 1.0 vs 1.1 etc etc)
I jsut tried this again with XFree-devel-4.0-0.28 from the beta2/snapshot dir on
gribble and it still happens.
Still segafaults? Crud, that was supposed to be fixed.
Yes, I also tried it with the X-snapshot which was releaes a few hours later in
the /pub/X dir (0.29 I believe).
I'll try again with beta3 this weekend and lett you know.
Still there in beta3
Still there on beta5, come on fix this one please, it is the last anoying bug
left in 6.9 the rest of 6.9 is great.
I can't reproduce this here; xmame, aktion, etc. compiled against 4.0 X libs
seem to run OK on a 3.3.x server.
This should be fixed in 4.0.1-0.43.
Heuh, I thought you couldn't reproduce it, well anyway nice to have it fix, hint
for reproducing: most apps, atleast xmame need to be run with root rights to
even try to use dga and hence trip this bug.
But I guess you've figured that out in the end. Can I get this version anywhere
Ah its fixed in RC1, you rule! This is great, really great!