Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122044 - gimp-2.2.8-r1 crashes X (invalid window parameter)
Summary: gimp-2.2.8-r1 crashes X (invalid window parameter)
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: John N. Laliberte (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-07 14:39 UTC by hebus
Modified: 2006-07-02 03:31 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hebus 2006-02-07 14:39:03 UTC
# HOW TO REPRODUCE

1) On a shell: Launch gimp (command line).
2) Open the picture (about 3-4 MB).
3) Copy (CTRL + c) a small range (1/4 of the picture). It works.
4) Copy (CTRL + c) a larger range (2/3 of the picture).
5) GIMP crashes without any error message (popup window).

--> log on the console:

#tux-prod ~ $ gimp
/usr/lib/gimp/2.0/plug-ins/xscanimage: GIMP support missing.

(gimp:8634): LibGimpBase-WARNING **: gimp: wire_read(): error
sending pixbuf data as 'image/png' (png)
sending pixbuf data as 'image/png' (png)
sending pixbuf data as 'image/png' (png)
sending pixbuf data as 'image/png' (png)
sending pixbuf data as 'image/bmp' (bmp)
The program 'gimp' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 101397 error_code 3 request_code 18 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
#tux-prod ~ $
(script-fu:8636): LibGimpBase-WARNING **: script-fu: wire_read(): error

# SEARCHES ON THE WEB

I found some cases pretty similar, but not with exactly the same error code and application. These threads were related either to a problem in using GIMP remotely with ssh or with true type font issues.

I mainly focused on the X error (code 3, request code 18 ).

# CONFIGURATION

Distribution: Gentoo (2.6.12-gentoo-r.10).
RAM: 1GB
gimp: 2.2.8-r1
gtk+: 2.8.8
gcc: 3.4.4-r1
xorg-x11: 6.8.2-r6

# OTHER HINTS

a) I tried the same scenario on another linux distro, a brand new kubuntu (with 512 MO RAM). I cannot reproduce it! It seems to work quit well... It would mean that my problem is related to my gentoo environement, wouldn't it?
b) I tried the same scenario on gimp on Windows. No problem at all (a shame!).
c) Using gimp with root privileges doesn't solve anything.
d) I posted this thread on the linuxquestions forum without any success for the moment. I have also posted this question on a Gentoo forum and I was advised to raise a bug on gentoo bugzilla.

Cheers,

Sam
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-07 14:50:02 UTC
Wrong product, read the descriptions when filing a bug.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-02-07 14:51:34 UTC
emerge --info, please...
Comment 3 hebus 2006-02-08 14:36:55 UTC
tux-prod # emerge --info
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 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.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="fr_CH.UTF-8"
LC_ALL="fr_CH.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdparanoia cdr crypt cups curl dvd dvdr eds emboss encode exif expat fam ffmpeg flac foomaticdb fortran ftp gdbm gif gimp glut gpm gstreamer gtk gtk2 idn imagemagick imlib ipv6 java javascript jpeg kde lcms libg++ libwww mad mikmod mng motif mozilla mp3 mpeg msql mysql mysqli ncurses nis nls odbc ogg oggvorbis opengl oss pam pcre pdflib perl png ppds python qt quicktime readline samba scanner sdl slang spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts usb userlocales vorbis xine xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 4 Henrik Brix Andersen 2006-06-26 15:29:30 UTC
Can you reproduce this with either media-gfx/gimp-2.2.11-r1 or media-gfx/gimp-2.3.9? Please test those versions and report back.
Comment 5 hebus 2006-06-30 12:42:26 UTC
Sorry, but I had to crash my Gentoobox lately. So I am not able to try your advice.

However, I moved forward on this subject. I tried this issue on other linuxboxes, such as a Kubuntu and the problem is still present. It means that the problem is not gentoo specific, but actually linked to kde. 

I eventually found out the source of the problem : Klipper! Try to close it and reproduce the sequence. Everything works find! I also found out that a thread.

I hope that I helped!

Best regards,

Sam
Comment 6 Henrik Brix Andersen 2006-07-02 03:29:17 UTC
Thank you for responding.
Comment 7 Henrik Brix Andersen 2006-07-02 03:31:06 UTC
(In reply to comment #5)
> However, I moved forward on this subject. I tried this issue on other
> linuxboxes, such as a Kubuntu and the problem is still present. It means that
> the problem is not gentoo specific, but actually linked to kde. 

Ok. Please report this problem upstream then.

> I hope that I helped!

You did, thanks :)