Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 412303

Summary: sci-chemistry/gsim[opengl] segfaults
Product: Gentoo Linux Reporter: Michelangelo Scopelliti <kernelpanic>
Component: Current packagesAssignee: Justin Lecher (RETIRED) <jlec>
Status: RESOLVED FIXED    
Severity: normal CC: sci
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michelangelo Scopelliti 2012-04-17 07:56:42 UTC
gsim[opengl] fails execution with message

X Error: BadMatch (invalid parameter attributes) 8
  Major opcode: 1 (X_CreateWindow)
  Resource id:  0x2200004
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 3 (X_GetWindowAttributes)
  Resource id:  0x220000c
Errore di segmentazione

execution is fine w/ USE="-opengl".


USE=opengl emerge -pqv gsim
[ebuild   R   ] sci-chemistry/gsim-0.20.1  USE="emf opengl"

eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *

there are not build errors.


Reproducible: Always




Portage 2.2.0_alpha100 (default/linux/amd64/10.0, gcc-4.6.2, glibc-2.14.1-r3, 3.3.2 x86_64)
=================================================================
System uname: Linux-3.3.2-x86_64-AMD_A8-3870_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.1
Timestamp of tree: Tue, 17 Apr 2012 06:15:01 +0000
app-shells/bash:          4.2_p24
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3, 3.2.2-r1
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.5
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.2
sys-devel/gcc-config:     1.7
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.3 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo science kernelpanic
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA @EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/portage/distfiles"
FEATURES="assume-digests binpkg-logs candy clean-logs compress-build-logs distlocks ebuild-locks fixlafiles news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it en fr"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext SECURITY_HAZARD X a52 aac aacplus aalib acl alisp alsa amd64 amr ao apache2 apng archive ass atlas audiofile bazaar berkdb bidi binfilter bitmap bluetooth bluray branding bs2b bzip2 cairo calendar caps cdda cdio chm cjk clamdtop cli colord compact conntrack consolekit context contrast contrib corefonts cracklib crypt cscope ctypes-python cups curl cvs cxx dbus detex device-mapper dga dia dirac discouraged djbfft djvu dri dts dv dvb dvd dvi dvi2tty dvipdfm ebook egl eigen emf encode epspdf excel exif extensions extra extra-tools extras faac ffmpeg fftw fits flac flatfile fltk fontconfig fontforge fortran fpx frei0r ftp fuse g3dvl games gbm gcj gd gdbm gdu gif gimp git glade gles1 gles2 gmp gnome gnutls go gold gpg gphoto2 gpm graphics graphicsmagick graphite graphviz gs gsm gstreamer gtk gtk3 gtkstyle gudev guile hddtemp hdri heterogeneous http humanities hwdb iconv icu id3tag idn imagemagick imaging imlib inkjar ios iostats ipod ipv6 ipython ithreads jadetex java jbig jemalloc jpeg jpeg2k json kdrive knem kpathsea ladspa lame lapack lasi latex lcms lensfun libcaca libkms libnl libnotify libproxy libv4l lpsol lqr lua lua-cairo lua-imlib luatex lzma lzo mad math mathml matplotlib mdev mem-scramble mercurial metis mjpeg mmap mms mmx mmxext mng modplug modules mongodb mp3 mp3rtp mpeg mpi mpi-threads mudflap multilib multimedia multitarget musepack music musicbrainz mysql mysqli mysqlnd nat-pmp natspec ncurses netlink nettle network network-cron networking nlpsolver nls nptl nptlonly numpy nut objc objc++ objc-gc ocaml ocr odk offlinehelp ogg openal openexr opengl openmp openssl openvg optimized-qmake osmesa pam pango passwdqc pch pcre pcre16 pcsc-lite pdf pdfannotextractor pdfimport pdo perl pgf pgo phonon pkcs11 plotutils plugins png pnm policykit postgres postproc pppd pstricks pth publishers pvr pyglet python python3 q16 q32 q64 q8 qt3support qt4 quicktime rar raw readline rle romio rpc rss rtmp ruby scanner schroedinger science script sctp sdl sdlgfx secure-delete session shared-dricore slang smartcard smi smp sndfile soap sockets soundex sox sparse speex spell spoof-source sql sqlite sqlite3 sse sse2 sse3 ssl startup-notification subversion suid svg sysfs syslog system-sqlite sysvipc t1lib taglib tcl templates tex4ht tftp tga theora thin-splines threads threadsafe tidy tiff timezone tk transparent-proxy truetype twolame type3 udev udis86 udisks umfpack unicode unlock-notify usb v4l v8 vaapi vala vcd vdr vim-syntax vorbis vpx wavpack wayland weather-metar weather-xoap webgl webkit webkit2 webp wmf wxwidgets x264 xa xanim xcb xcomposite xetex xft xindy xine xml xmlpatterns xmlreader xmlrpc xmlwriter xmp xorg xpm xps xscreensaver xsl xv xvfb xvid xvmc zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="gnutls" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en fr" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2013-03-06 14:27:03 UTC
+*gsim-21.0 (06 Mar 2013)
+
+  06 Mar 2013; Justin Lecher <jlec@gentoo.org> +gsim-21.0.ebuild,
+  +files/gsim-21.0-build.conf.patch:
+  Version BUmp, seems to fix segf #412303
+


Could you please test the new version?
Comment 2 Michelangelo Scopelliti 2013-03-07 09:11:48 UTC
(In reply to comment #1)
> +*gsim-21.0 (06 Mar 2013)
> +
> +  06 Mar 2013; Justin Lecher <jlec@gentoo.org> +gsim-21.0.ebuild,
> +  +files/gsim-21.0-build.conf.patch:
> +  Version BUmp, seems to fix segf #412303
> +
> 
> 
> Could you please test the new version?

Tested.
It works; thank you.