Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330377 - games-kids/gcompris-9.2.2 window flashes and disappears
Summary: games-kids/gcompris-9.2.2 window flashes and disappears
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-29 15:36 UTC by Mike Gualtieri
Modified: 2011-10-17 21:12 UTC (History)
0 users

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 Mike Gualtieri 2010-07-29 15:36:23 UTC
I'm having an issue with gcompris-9.2.2 that I just noticed this morning.  Upon starting gcompris, the window flashes and then immediately disappears.  I have tried various flags (such is for fullscreen) and all appear to have the same result.  Even though the window disappears, the application continues to run and needs to be killed with a ^C.

I am running it in FVWM, and starting it from an xterm window.

Reproducible: Always

Steps to Reproduce:
1. Start gcompris from xterm
2. 
3.

Actual Results:  
Window starts then disappears

Expected Results:  
Window should stay open

Here is the results of running it in debug mode.  The window starts and disappears as this line is shown:  gcompris: gcompris window is now mapped


Full output:

gcompris -D
** Message: Binary relocation disabled

** (process:27015): WARNING **: exec_prefix NONE

package_data_dir         = /usr/share/games/gcompris/boards
package_skin_dir         = /usr/share/games/gcompris/boards/skins
package_menu_dir         = /usr/share/games/gcompris/boards
package_locale_dir       = /usr/share/locale
package_plugin_dir       = /usr/games/lib/gcompris
package_python_plugin_dir= /usr/share/games/gcompris/python
gcompris: Loading config file '/home/mikeg/.config/gcompris/gcompris.conf'

gcompris: gc_locale_set 'en_US.UTF-8'


Infos:
   Config dir '/home/mikeg/.config/gcompris'
   Users dir '/home/mikeg/My GCompris'
   Database '/home/mikeg/.config/gcompris/gcompris_sqlite.db'
gcompris: Database /home/mikeg/.config/gcompris/gcompris_sqlite.db opened

gcompris: Database Integrity ok

gcompris: Couldn't find skin file babytoy !

gcompris: No users' groups for profile Default

gcompris: No activities for profile Default

gcompris: Request get_conf : SELECT conf_key, conf_value FROM board_profile_conf WHERE profile_id=1 AND board_id=-1;

gcompris: No user, getting one from system.

gcompris: opened module /usr/games/lib/gcompris/libmenu.so with name menu


gcompris: We found the correct plugin for board  (type=menu)


gcompris: Fine, we got the gcomprisBoardMenu, xml boards parsing went fine

gcompris: opened module /usr/games/lib/gcompris/libpython.so with name python


gcompris: Executing import sys; sys.path.append('/usr/share/games/gcompris/python')



gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'redraw'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'searace'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'followline'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'melody'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'clickanddraw'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'drawnumber'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'administration'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'sudoku'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'gnumch'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'hexagon'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'gnumch'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'pythontest'

gcompris: The board 'pythontest' has a configuration entry

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'gnumch'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'ballcatch'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'watercycle'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'gnumch'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'gnumch'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'searace'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'algorithm'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'redraw'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'chat'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'connect4'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'guessnumber'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'pythontemplate'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'penalty'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'tuxpaint'


gcompris: The board 'tuxpaint' has a configuration entry

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'anim'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'login'

gcompris: The board 'login' has a configuration entry

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'mosaic'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'electric'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'bargame'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'anim'

gcompris: board_dir: '/usr/share/games/gcompris/boards' python_plugin_dir '/usr/share/games/gcompris/python' file_name 'connect4'

gcompris: We found the correct plugin for board hexagon (type=python:hexagon)


gcompris: opened module /usr/games/lib/gcompris/libhanoi_real.so with name hanoi_real


gcompris: We found the correct plugin for board hanoi_real (type=hanoi_real)


gcompris: opened module /usr/games/lib/gcompris/libmenu.so with name menu


gcompris: We found the correct plugin for board algebramenu (type=menu)


gcompris: opened module /usr/games/lib/gcompris/libmenu.so with name menu


gcompris: We found the correct plugin for board memory_op_group_tux (type=menu)


gcompris: opened module /usr/games/lib/gcompris/libmemory.so with name memory


gcompris: We found the correct plugin for board memory_add_minus_mult_div_tux (type=memory)


gcompris: opened module /usr/games/lib/gcompris/libmenu.so with name menu


gcompris: We found the correct plugin for board mazeMenu (type=menu)


gcompris: opened module /usr/games/lib/gcompris/libmaze.so with name maze


gcompris: We found the correct plugin for board maze3D (type=maze)


gcompris: opened module /usr/games/lib/gcompris/libclick_on_letter.so with name click_on_letter


gcompris: We found the correct plugin for board click_on_letter (type=click_on_letter)


gcompris: opened module /usr/games/lib/gcompris/libmenu.so with name menu


gcompris: We found the correct plugin for board chess (type=menu)


gcompris: opened module /usr/games/lib/gcompris/libchess.so with name chess


gcompris: We found the correct plugin for board chess_movelearn (type=chess)


gcompris: opened module /usr/games/lib/gcompris/libmenu.so with name menu


gcompris: We found the correct plugin for board mouse (type=menu)


gcompris: opened module /usr/games/lib/gcompris/libpython.so with name python


gcompris: We found the correct plugin for board followline (type=python:followline)


gcompris: opened module /usr/games/lib/gcompris/libparatrooper.so with name paratrooper


gcompris: We found the correct plugin for board paratrooper (type=paratrooper)


gcompris: The screen_width=800.000000 screen_height=520.000000 ratio=1.000000


gcompris: Adding voices/$LOCALE/misc/welcome.ogg in the play list queue


gcompris: adding queue file (voices/$LOCALE/misc/welcome.ogg)

gcompris: ... get_next_sound_to_play : voices/$LOCALE/misc/welcome.ogg


gcompris:   fx_play voices/$LOCALE/misc/welcome.ogg

gcompris:    uri 'file:///usr/share/games/gcompris/boards/voices/en/misc/welcome.ogg'

gcompris: gcompris window is now mapped

gcompris: fx_bus: EOS START

gcompris: gc_sound_fx_close

gcompris: gc_sound_fx_close done

gcompris: fx_bus: EOS END
Comment 1 Mike Gualtieri 2010-07-29 15:37:28 UTC
$ emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-tuxonice-r1 i686)
=================================================================
System uname: Linux-2.6.34-tuxonice-r1-i686-Intel-R-_Pentium-R-_Dual_CPU_T3400_@_2.16GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 28 Jul 2010 19:30:02 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.1.2, 4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j3"
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="/usr/local/portage"

SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr dvdread emboss encode exif fam firefox flac gdbm gif gpm gtk gtk2 hal iconv jpeg lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis win32codecs x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" CAMERAS="adc65 agfa_cl20 aox barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 jl2005a kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z template topfield toshiba_pdrm11" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa fbdev" 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2010-07-29 17:17:21 UTC
try running it under strace and see if you can tell what actually failed.
Works fine for me on stable x86.

Another thing to try is to move aside the existing ~/.config/gcompris directory and see if that makes a difference.
Comment 3 Mike Gualtieri 2010-07-31 17:30:00 UTC
I deleted the config directory as suggested, and that helped to some extent.  Now I can start gcompris in fullscreen mode, but I still have an issue with windowed mode.  I ran with strace, and it's difficult to say when the window closes, but I believe it's when this output is displayed:

read(3, 0x80861a0, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0 (Timeout)

I've seen these "Resource temporarily unavailable" errors in the past with some of my own GTK programs.  This might mean it is an upstream issue.  Running gcompris with the GTK --sync option actually starts the application in windowed mode, but causes the window to start at a normal size and get smaller and smaller:

gcompris -w --sync


Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2011-10-17 21:12:39 UTC
This bug is about 9.2.2 which is old.  Closing WONTFIX.  Reopen if there are issues with 9.6.1.