Gentoo - Springlobby 0.56 crash when resizing window !

Gentoo - Springlobby 0.56 crash when resizing window !

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
User avatar
Cremuss
Posts: 364
Joined: 28 Oct 2006, 21:38

Gentoo - Springlobby 0.56 crash when resizing window !

Post by Cremuss »

Hi.

I'm trying to play spring again but springlobby crash everytime !
I can launch and play spring, springlobby itself launchs fine but in a really small window and when I try to resize it, boum ! crash !

springlobby console output :

Code: Select all

(springlobby:784): Gtk-CRITICAL **: gtk_window_move: assertion `GTK_IS_WINDOW (window)' failed

(springlobby:784): Gtk-CRITICAL **: gtk_window_resize: assertion `GTK_IS_WINDOW (window)' failed

(springlobby:784): Gtk-CRITICAL **: gtk_window_unmaximize: assertion `GTK_IS_WINDOW (window)' failed
LogOutput initialized.                                                                              
Spring 0.80.5.2                                                                                     
Available log subsystems: ArchiveScanner, VFS-detail, VFS, unitsync                                 
Enabled log subsystems: unitsync                                                                    
Enable or disable log subsystems using the LogSubsystems configuration key                          
  or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated).                         
unitsync: loaded, 0.80.5.2                                                                          
Using read-write data directory: /home/cremuss/.spring/                                             
Using read-only  data directory: /usr/share/games/spring/                                           
Scanning: /usr/share/games/spring/maps                                                              
Scanning: /usr/share/games/spring/base                                                              
Scanning: /usr/share/games/spring/mods                                                              
Scanning: /usr/share/games/spring/packages                                                          
Scanning: /home/cremuss/.spring/maps                                                                
Scanning: /home/cremuss/.spring/base                                                                
Scanning: /home/cremuss/.spring/mods                                                                
Scanning: /home/cremuss/.spring/packages
unitsync: initialized, 0.80.5.2
unitsync: hosting
unitsync: archive checksum: /home/cremuss/.spring/maps/1944_BocageSmall.sd7
unitsync: archive checksum: /home/cremuss/.spring/maps/DeltaSiegeDry.sd7
unitsync: archive checksum: /home/cremuss/.spring/maps/DeltaSiege_Island_8_Way.sd7
unitsync: archive checksum: /home/cremuss/.spring/maps/DesertSiege_v2b.sd7
unitsync: archive checksum: /home/cremuss/.spring/maps/Eye_Of_Horus_v2.sd7
unitsync: archive checksum: /home/cremuss/.spring/maps/FolsomDamFinal.sd7
unitsync: archive checksum: /home/cremuss/.spring/maps/RustyDelta_v2.sd7
unitsync: archive checksum: /home/cremuss/.spring/maps/Small_Supreme_Battlefield_V2.sd7
unitsync: archive checksum: /home/cremuss/.spring/maps/Tabula-v2.sd7
unitsync: archive checksum: /home/cremuss/.spring/maps/Titan-v2.sd7
unitsync: archive checksum: /home/cremuss/.spring/maps/Tropical.sd7
unitsync: archive checksum: /home/cremuss/.spring/maps/Valles_Marineris_v2.sd7
unitsync: archive checksum: BA704.sd7
unitsync: archive checksum: BA704.sd7
unitsync: archive checksum: BA704.sd7
unitsync: archive checksum: BA704.sd7
unitsync: initfindvfs: Saves/*.ssf
unitsync: findfilesvfs: 0
unitsync: initfindvfs: demos/*.sdf
unitsync: findfilesvfs: 0
unitsync: findfilesvfs: 1
unitsync: findfilesvfs: 2
unitsync: findfilesvfs: 3

///////
/////// WINDOW RESIZE ! CRASH OUTPUT
//////

(springlobby:784): Gtk-WARNING **: Can't set a parent on a toplevel widget

unitsync: initfindvfs: demos/*.sdf
unitsync: findfilesvfs: 0
unitsync: findfilesvfs: 1
unitsync: findfilesvfs: 2
unitsync: findfilesvfs: 3
**
Gtk:ERROR:gtkcontainer.c:2717:IA__gtk_container_propagate_expose: assertion failed: (child->parent == GTK_WIDGET (container))
zsh: abort      springlobby
emerge --info

Code: Select all

Portage 2.1.6.13 (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_CPU_6420_@_2.13GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 21 Jan 2010 14:30:01 +0000                                                   
app-shells/bash:     4.0_p35                                                                         
dev-java/java-config: 2.1.9-r2                                                                       
dev-lang/python:     2.6.4                                                                           
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.63-r1                                                                   
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2                                                      
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-marche=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.Fr/mirrors/ftp.gentoo.org/"
LDFLAGS="-Wl,-O1"
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/layman/Spring"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib acl alsa amd64 apache2 berkdb bzip2 cdr cli cracklib crypt cups cxx dbus dri dts dvd encode flac fortran gdbm gif gpm iconv ipv6 jpeg kde mmx modules mp3 mudflap multilib mysql ncurses nls nptl nptlonly nvidia openal openexr opengl openmp oss pam pcre pdf perl png pppd python qt3support qt4 readline reflection samba session spl sse sse2 ssl svg sysfs tcl tcpd tga tiff tk truetype unicode usb vorbis xinerama xorg xv xvmc zlib ´┐¢" ALSA_CARDS="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 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 mouse wacom evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
wxwidgets info :

Code: Select all

|23:45 - root | : | /home/cremuss|> eselect wxwidgets list
Available wxWidgets profiles:
  [1]   gtk2-unicode-release-2.8 *
emerge spring springlobby info :

Code: Select all

[ebuild   R   ] games-strategy/spring-0.80.5.2  USE="-custom-cflags -debug -gml -gmlsim -java" 0 kB [1]
[ebuild   R   ] games-util/springlobby-0.56  USE="sound torrent -debug" 0 kB [1]
Any idea ?
Thx ;)
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Gentoo - Springlobby 0.56 crash when resizing window !

Post by Auswaschbar »

New SL always crashes when resizing the window, I think on every linux (since bugreports exist for ubuntu too).
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: Gentoo - Springlobby 0.56 crash when resizing window !

Post by koshi »

what does "USE= -debug" do and what window manager are you using?
User avatar
Cremuss
Posts: 364
Joined: 28 Oct 2006, 21:38

Re: Gentoo - Springlobby 0.56 crash when resizing window !

Post by Cremuss »

I'm on kde.

I'll enable the debug use flag and recompile springlobby in 5minutes and i'll tell you what it does cause I don't know :)

edit : debug use flag enabled, didn't change anything. No more error info...

Gentoo doc says :
"debug -- Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml"
malric
Posts: 521
Joined: 30 Dec 2005, 22:22

Re: Gentoo - Springlobby 0.56 crash when resizing window !

Post by malric »

Happens on OpenBox also.

Code: Select all

 games-util/springlobby::spring [R 0.56] <target>
    -debug sound torrent build_options: -optional_tests split strip -trace
Link to stack trace http://pastebin.com/m72839ff2 (I guess the relevant thing is #28 0x08253c3e in MapCtrl::UpdateMinimap() )
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: Gentoo - Springlobby 0.56 crash when resizing window !

Post by koshi »

I have a branch called resize_fix that might just do what it is named for in my repo: git://springlobby.info/git/koshi/springlobby.git

edit: neg that, 0.58 with fix upcoming shortly
malric
Posts: 521
Joined: 30 Dec 2005, 22:22

Re: Gentoo - Springlobby 0.56 crash when resizing window !

Post by malric »

I confirm... revision ae5d7b3..c407090 fixed the bug for me. Nice work ;).
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: Gentoo - Springlobby 0.56 crash when resizing window !

Post by koshi »

Actually it's a rather ugly hack 'fixing' a problem that probably lies somewhere in the depths of wxGTK, but thanks anyways ;-)

0.58 is out now

btw, I could not replicate the crash bug on xfwm4
Post Reply

Return to “Linux”