Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340443 - app-emulation/fceux opens a 2nd gui window which is not called for && throws gtk-related error on closing
Summary: app-emulation/fceux opens a 2nd gui window which is not called for && throws ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-11 00:18 UTC by shiny666
Modified: 2011-09-03 03:01 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 shiny666 2010-10-11 00:18:35 UTC
=games-emulation/fceux-2.1.4a amd64
(with or without both of opengl and lua use flags)

(fceux:7994): Gtk-CRITICAL **: gtk_main_quit: assertion `main_loops != NULL' failed

displays only after closing all windows related to one instance of the fceux app.

fceux core functionality (vid, sound, intput, file i/o) fully intact afaik.
i call the app from various bash scripts and/or the command-line [directly], and the behavior persists. rebuilt from a recent (i.e. less than 1hr ago) emerge --sync and the behavior persists. i see no settings in the config to supress the extra window, and know of no shortcuts in the sdl version that toggle a menu, which should theoretically either be attached, or suspend the app and work from a cli-menu like the cheats menu does.

take note that i attempted to file a bug report at the fceux sourceforge project page, but the server(s) were dreadfully unresponsive. feel free to pass that info upstream as far as you'd like with my name attached, as it may save others some similar grief. (i.e. quote, "user was going to file a bug, but the bugtrac site was unresponsive.") even reloading a page i was already viewing was timed out. no terrible dns timeouts or tcp ones here as of late.

Reproducible: Always

Steps to Reproduce:
open fceux, noting that a related window containing a menu element not only opens, but steals focus. closing this window closes fceux in its entirety. not closing it but closing the display window lets it persist. upon program closure, gtk-related error is thrown, but exiting is successful and appears otherwise clean.
Actual Results:  
extra gui window. 

gtk error. main loops not null assertion failure.

Expected Results:  
other than drawing video to a window handled by the wm, all gui elements should exist only in gfceu, which is not installed, as per the notion of separate ebuilds/subprojects. only cli/script options should be implemented here if possible. if this is not agreeble, then allowance for supression of the window, and/or at least not having it steal focus and not show up in the taskbar are fairly reasonable.

upon exiting, obviously we hope, but don't always expect, perfectly clean closure.

myaction info
myopts {'--debug': True}
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.33-gentoo-r2 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.33-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T5550_@_1.83GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 10 Oct 2010 23:15:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL AdobeFlash-10.1 Broadcom"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-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/gentoo-release /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -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"
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"
SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage"
USE="X a52 acl acpi alsa amd64 berkdb bzip2 cli cracklib crypt cups curl cxx dbus dri dts ffmpeg firefox flac fortran gdbm gpm gstreamer gtk hal iconv ipv6 jabber javascript jpeg jpeg2k lame lock lua mmx modules mp3 mudflap multilib mysql ncurses nls nptl nptlonly offensive ogg opengl openmp pam pcre perl png pppd python qt3support qt4 readline reflection session sql sse sse2 ssl startup-notification svg sysfs tcpd threads thunar truetype unicode vorbis webkit wxwidgets xine xorg xvid zlib" ALSA_CARDS="intel sb16 emu10k1" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php-5.2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa" 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, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

=================================================================
                        Package Settings
=================================================================

games-emulation/fceux-2.1.4a was built with the following:
USE="(multilib) -lua -opengl"
Comment 1 shiny666 2010-10-11 00:51:58 UTC
not sure why i used the debug flag. perhaps i just like the letter d. i am a dummy, brought to you by the letter d. anyways i may upload some links to screenshots whenever gimp merges.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2010-10-11 00:57:56 UTC
You should file a bug upstream.
Comment 3 shiny666 2010-10-11 01:21:09 UTC
if you would read that i could not due to their bugtrac
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2010-10-11 01:24:24 UTC
Yes, I read your bug report bug it doesn't change the fact that it's still appropriate to report this kind of bug upstream.  It's not a bug specific to the Gentoo package.
Comment 5 shiny666 2010-10-11 01:28:35 UTC
well i give up on their server response times. and you've obviously got higher
priorities than fixing other people's problems. mark wontfix at least, since
it's not actually resolved.
Comment 6 shiny666 2010-10-11 01:36:35 UTC
ahh well fair enough. thanks for your time anwyays.
Comment 7 shiny666 2010-10-11 05:44:48 UTC
bug report filed upstream at
http://sourceforge.net/tracker/?func=detail&aid=3084999&group_id=13536&atid=113536
for anyone that has the same problem and is searching the gentoo bugtrac.
Comment 8 Patrick McMunn 2011-09-03 03:01:24 UTC
I was getting the exact same error message and a segfault with FCEUX and with a few other programs as well. I had been using -flto in my CFLAGS and had rebuilt nearly my entire system. I resolved the issue by reemerging glib 2.x without -flto. FCEUX ran just fine afterward (without any need of rebuilding FCEUX without -flto). So this might have been the cause for shiny666 as well.