Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112460 - xorg's Xevie extension not working on gentoo
Summary: xorg's Xevie extension not working on gentoo
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo X packagers
Depends on:
Blocks: 112004
  Show dependency tree
Reported: 2005-11-13 15:23 UTC by Renato Caldas
Modified: 2006-01-19 14:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Renato Caldas 2005-11-13 15:23:54 UTC
Xorg segfaults when using Xevie, after calling XNextEvent().

xorg-6.8.2-r6 suffers from this problem. I recently moved to the cvs ebuilds,
and it seemd to be corrected on, but reapeared on 7.0.0_rc4 (the
new "modular X").

Reproducible: Always
Steps to Reproduce:
1. Activate the Xevie extension on xorg.conf
2. Make a simple program using xevie or use the "demo" availiable on
3. Make it call XNextEvent() when appropriate
4. Compile and run
5. Comment out the XNextEvent() call
6. Compile and run

Actual Results:  
The version calling XNextEvent() crashes givig us "Segmentation fault".
The other version runs normally (without intercepting the events of course..)

Expected Results:  
The program shouldn't be crashing on that call.

Xorg's Xevie extension isn't working in gentoo's xorg. I googled around and
found no reference to this bug whatsoever. It may be because it's only used by
devs right now..

I suspect the problem may be related to gentoo's "modular X", but it may as well
be a xorg bug. Please "upstream-it" in such case.
Comment 1 Joshua Baergen (RETIRED) gentoo-dev 2005-11-27 11:03:33 UTC
Please attach your 'emerge info'.
Comment 2 Renato Caldas 2005-11-27 14:07:10 UTC
Here's the output of emerge info:

Portage (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.14-gentoo-r3 i686)
System uname: 2.6.14-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.2.3-r5, 2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r3
CFLAGS="-O3 -mcpu=pentium4 -fomit-frame-pointer -pipe"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/confi
g /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/
config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium4 -fomit-frame-pointer -pipe"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS=" ftp://gent
rsync://lin rsync://"
USE="x86 X aac aalib acpi alsa apm audiofile avi berkdb bitmap-fonts bzip2 cdb
cdparanoia cdr crypt cups curl directfb divx4linux dv
d dvdr eds emboss encode exif expat fam fbcon ffmpeg flac font-server foomaticdb
fortran gcj gdbm gif glibc-compat20 glut gpm gtk gt
k2 hal idn imagemagick imlib jack java jpeg lcms libcaca libg++ libwww lirc live
mad matroska mikmod mmx mmxext mng motif mozsvg mp3
 mpeg mppe-mppc nas ncurses network nls nptl nvidia offensive ogg oggvorbis
openal opengl oss pam pcre pdflib perl png ppds python q
t quicktime readline recode samba sdl slang sox spell sqlite sse sse2 ssl stroke
svg svga swsusp2 tcltk tcpd tetex threads tiff tls 
truetype truetype-fonts type1-fonts udev usb v4l v4l2 videos vorbis win32codecs
xine xml xml2 xmms xpm xv xvid zlib linguas_pt userl
and_GNU kernel_linux elibc_glibc"
Comment 3 Joshua Baergen (RETIRED) gentoo-dev 2005-11-27 19:26:27 UTC
Did you try any other versions of modular in between and the latest 7.0?
Comment 4 Renato Caldas 2005-11-28 01:17:24 UTC
No, I haven't. I only switched to modular when the "cvs" (hard masked) version
went modular..
Comment 5 Joshua Baergen (RETIRED) gentoo-dev 2005-11-28 08:20:24 UTC
Well, we've had a masked modular version in the tree since rc0, which was ~2
months ago, and there have been 3 different modular releases.  Was just
wondering how long you had been using modular.
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2006-01-19 12:07:07 UTC
Can you get a useful backtrace out of the app that segfaults?
Comment 7 Renato Caldas 2006-01-19 14:50:21 UTC
I'm sorry but it works perfectly now.. I'm using xorg-x11-7.0.0 and libxevie-1.0.0.

I thought it was already solved.. :/ I'm switching it to "fixed". I guess I should have done that before..

Thanks anyway!