Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312073 - sci-visualization/paraview-3.6.2 crashes with 'save screenshot'
Summary: sci-visualization/paraview-3.6.2 crashes with 'save screenshot'
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-30 13:09 UTC by Luyang Han
Modified: 2013-02-11 21:35 UTC (History)
3 users (show)

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


Attachments
backtrace (backtrace.log,26.92 KB, text/plain)
2010-03-30 14:19 UTC, Luyang Han
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luyang Han 2010-03-30 13:09:21 UTC
Paraview-3.6.2 will crash if one use the 'save screenshot' from the 'file' menu. The following error message is displayed in the console:

X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Extension:    137 (Uknown extension)
  Minor opcode: 4 (Unknown request)
  Resource id:  0x1a0e92a
paraview-real: xcb_io.c:176: process_responses: Assertion `!(req && current_request && !(((long) (req->sequence) - (long) (current_request)) <= 0))' failed.
Aborted

It seems has something to do with the Xwindows system and AIGLX. Similar bug is reported on debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=492869

For the Xwindows, I have enabled the AIGLX and composite extension, and working in KDE4 environment. The X-windows is the currently stable version. OpenGL related packages are:
x11-drivers/xf86-video-intel-2.9.1
media-libs/mesa-7.5.2
x11-libs/qt-opengl-4.6.2



Reproducible: Always




Portage 2.1.7.17 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 x86_64)
=================================================================                               
System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7250_@_2.00GHz-with-gentoo-1.12.13
Timestamp of tree: Tue, 30 Mar 2010 08:15:04 +0000                                                        
ccache version 2.4 [disabled]                                                                             
app-shells/bash:     4.0_p35                                                                              
dev-java/java-config: 2.1.10                                                                              
dev-lang/python:     2.6.5-r1                                                                             
dev-python/pycrypto: 2.1.0_beta1                                                                          
dev-util/ccache:     2.4-r7                                                                               
dev-util/cmake:      2.8.1                                                                                
sys-apps/baselayout: 1.12.13                                                                              
sys-apps/sandbox:    1.6-r2                                                                               
sys-devel/autoconf:  2.13, 2.63-r1                                                                        
sys-devel/automake:  1.4_p6, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1                                           
sys-devel/binutils:  2.18-r3                                                                              
sys-devel/gcc:       4.3.4                                                                                
sys-devel/gcc-config: 1.4.1                                                                               
sys-devel/libtool:   2.2.6b                                                                               
virtual/os-headers:  2.6.30-r1                                                                            
ACCEPT_KEYWORDS="amd64"                                                                                   
ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula"                                                              
CBUILD="x86_64-pc-linux-gnu"                                                                              
CFLAGS="-march=nocona -O2 -pipe"                                                                          
CHOST="x86_64-pc-linux-gnu"                                                                               
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"                                
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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=nocona -O2 -pipe"                                                                                     
DISTDIR="/usr/portage/distfiles"                                                                                       
FEATURES="assume-digests distlocks fixpackages metadata-transfer news nodoc parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"                                                                       
GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://de-mirror.org/distro/gentoo/ "                      
LANG="en_US.UTF-8"                                                                                                     
LDFLAGS="-Wl,-O1"                                                                                                      
LINGUAS="en de zh_CN"                                                                                                  
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/science /var/lib/layman/kde"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb bluetooth bzip2 cairo cjk cli consolekit cracklib crypt cups cxx dbus djvu dri flac fortran gdbm gif gnutls gpm gtk hal iconv ieee1394 ipv6 java jpeg jpeg2k kde lm_sensors mmx mng modules mp3 mudflap multilib ncurses nls nptl nptlonly nsplugin opengl openmp pam pch pcmcia pcre pdf png policykit pppd python qt3support qt4 readline reflection sdl session spell spl sqlite sqlite3 sse sse2 ssl svg sysfs tcpd threads tiff truetype unicode vorbis xcomposite xml xorg xvmc 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard evdev mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de zh_CN" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Luyang Han 2010-03-30 14:19:21 UTC
Created attachment 225829 [details]
backtrace

The backtrace of the crashing after reemerge mesa with +xcb
Comment 2 Luyang Han 2010-03-30 14:21:53 UTC
I just reemerge the mesa with +xcb flag. Now the mesa is with the following flags:

media-libs/mesa-7.5.2  USE="nptl xcb -debug -motif -pic" VIDEO_CARDS="intel -mach64 -mga -none -r128 -radeon -radeonhd -s3virge -savage -sis (-sunffb) -tdfx -trident -via"

The program still crashes at the same step. However the message to the console is a bit different. Now the following backtrace is produced.

http://bugs.gentoo.org/attachment.cgi?id=225829

Hope this can bring some light.
Comment 3 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-04-07 09:01:15 UTC
Does this happen on previous paraview versions? eg main tree's 3.6.1(-r1)?
Comment 4 Luyang Han 2010-04-07 14:25:03 UTC
Tested on 3.6.1-r1, the problem remains. The following error message:

X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Extension:    137 (Uknown extension)
  Minor opcode: 4 (Unknown request)
  Resource id:  0x2005ce2
paraview-real: xcb_io.c:176: process_responses: Assertion `!(req && current_request && !(((long) (req->sequence) - (long) (current_request)) <= 0))' failed.
Aborted

I think this is not a problem of paraview itself but is related to some other package, possibly opengl components.
Comment 5 Jordi Paul 2010-04-14 12:29:53 UTC
(In reply to comment #4)
> Tested on 3.6.1-r1, the problem remains. The following error message:
> 
> X Error: BadDrawable (invalid Pixmap or Window parameter) 9
>   Extension:    137 (Uknown extension)
>   Minor opcode: 4 (Unknown request)
>   Resource id:  0x2005ce2
> paraview-real: xcb_io.c:176: process_responses: Assertion `!(req &&
> current_request && !(((long) (req->sequence) - (long) (current_request)) <=
> 0))' failed.
> Aborted
> 
> I think this is not a problem of paraview itself but is related to some other
> package, possibly opengl components.
> 

I have had this problem before, see http://bugs.gentoo.org/show_bug.cgi?id=279060 , both in 3.6.1 and 3.6.2. The crash does not occur on my box with using nvidia, but happens on my notebook with Intel graphics. A while ago I did an emerge -e world, but the problem still persists. 

The other significant difference between my two systems is that I used libxcb prior to version 1.4 on the notebook. I followed the upgrade guide when libxcb 1.4 became stable, but maybe something is still polluted with the old stuff. Googling turned up quite some amount of similar xcb related crashes in other packages and distributions, but I cannot see the connection, as most of them were resolved by upgrading the affected package or something in its vicinity.
Comment 6 François Bissey 2010-05-28 11:29:53 UTC
It is probably an off-screen rendering problem. 
I suffered from that too. 
There is a preference where you can disable off-screen
rendering for snapshot, just disable it and you'll be fine.
UseOffscreenRenderingForScreenshots=false
In the [renderModule] section of .conf/Paraview/Paraview3.6.ini 
if you want to do it the hard way.
Comment 7 Julian Ospald 2013-02-11 21:35:46 UTC
try with sci-visualization/paraview-3.98.0