Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322697 - app-emulation/wine breaks with app-emulation/emul-linux-x86-baselibs-20100409 due to libpng changes
Summary: app-emulation/wine breaks with app-emulation/emul-linux-x86-baselibs-20100409...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: emul-tracker
  Show dependency tree
 
Reported: 2010-06-03 21:46 UTC by Daniel Santos
Modified: 2010-07-08 00:29 UTC (History)
3 users (show)

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


Attachments
Wine output of libpng mixup (wine-lpng-mixup.txt,30.45 KB, text/plain)
2010-06-09 04:25 UTC, Ken Rushia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Santos 2010-06-03 21:46:11 UTC
LoTRO will usually hang after the logo displays.  Occasionally, it wont hang there, but once in-game, chatting in chat channels (ooc, regional, etc.) is non-functional.  Additionally, it will usually hang when existing as well.

This effects wine versions 1.1.44 and 1.2-rc2. Simply put, masking app-emulation/emul-linux-x86-baselibs-20100409 and remerging wine solves the problem.

In order to reproduce this bug, you would have to install LoTRO using these instructions: http://appdb.winehq.org/objectManager.php?sClass=version&iId=19108 . Hopefully, an easier way to reproduce the bug will surface soon. 

It's possible that this is an issue in Wine and I'll be posting a bug there as well.  As you know, memory corruption issues can express themselves differently depending upon a vast number of practically incalculable factors.  So this could simply be a memory corruption in Wine that only expresses its self (as the reported problem) when using this version of baselibs.

Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.10.1-r1, 2.6.32-gentoo-r7 x86_64)
=================================================================                                      
System uname: Linux-2.6.32-gentoo-r7-x86_64-AMD_Phenom-tm-_9850_Quad-Core_Processor-with-gentoo-1.12.13
Timestamp of tree: Thu, 03 Jun 2010 04:00:15 +0000                                                     
distcc 3.1 x86_64-pc-linux-gnu [disabled]                                                              
ccache version 2.4 [enabled]                                                                           
app-shells/bash:     4.0_p37                                                                           
dev-java/java-config: 2.1.10                                                                           
dev-lang/python:     2.6.5-r2, 3.1.2-r3                                                                
dev-util/ccache:     2.4-r7                                                                            
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.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1                                                
sys-devel/binutils:  2.18-r3                                                                           
sys-devel/gcc:       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="amd64"                                                                                
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm skype-eula"                                          
CBUILD="x86_64-pc-linux-gnu"                                                                           
CFLAGS="-march=amdfam10 -O2 -ggdb"                                                                     
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=amdfam10 -O2 -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-j2"
FEATURES="assume-digests buildpkg ccache distlocks fixpackages installsources news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirrors.cs.wmich.edu/gentoo http://mirror.mcs.anl.gov/pub/gentoo/ http://osmirrors.cerias.purdue.edu/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="bzip2"
PORTAGE_COMPRESS_FLAGS="-9"
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 --exclude '/lost+found'"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/pro-audio /var/lib/layman/java-overlay /var/lib/layman/kde-sunset /var/lib/layman/zugaina /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3ds 64bit 7zip X Xaw3d a52 aac aalib acl acpi adns aim aio akode alsa amd64 amr ao aotuv apache2 applet ares arts async audacious audiofile authdaemond authfile autoipd automount bash-completion berkdb binfilter bittorrent bl bluetooth bonjour boost branding bsf bzip2 c3p0 cairo calendar cdaudio cdb cdda cddb cdparanoia cdr cegui cg cgi chm cjk cleartype cli commons-digester console consolekit corefonts cpufreq cpulimit cracklib crypt cscope css cups curl curlwrappers custom-optimization cvs cxx dbus dedicated devil dga dirac directfb divx djbfft djvu dmx dns dolby-record-switch dri dssi dtmf dts dv dvb dvd dvdr editor emboss emoticon encode enscript excel exif expat extraicons faac faad fam fasttrack fax fbcon ffmpeg fftw firefox fits flac flash fltk fluidsynth fmod font-server fontconfig fontforge foomaticdb fortran fping fpx ftp fuse fusion gadu gcj gd gdbm geoip geos ggi gif ginac git glib glitz glut gmedia gmp gmtfull gnokii gnome gnutella gnutls gphoto2 gpm gps graphviz gs gsl gsm gtk gzip h323 hal hddtemp html htmlhandbook hwmixer icecast iceweasel iconv icq icu id3 id3tag idn ieee1394 ilbc imagemagick imap imlib inifile irc irda irrlicht jabber jack jackmidi jadetex java java5 java6 javascript jbig jce jingle jmx joystick jpeg jpeg2k kde kdrive kpathsea ladspa lame lash latex lcms ldap libcaca libnotify libsamplerate libvisual libwww lirc live lm_sensors log4j logitech-mouse lua lzma lzo mad maildir maps math md5sum meanwhile midi mikmod mime mjpeg mmap mmkeys mmx mmxext mng modperl modplug modules motif mouse mozdevelop mozilla mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer msn mtp mudflap multicall multilib multislot multitarget musepack music musicbrainz mysql mysqli mythtv nas ncurses net netjack network njb nls nntp nptl nptlonly nsplugin nss nvidia nvtv ode odk offensive ogg openal openexr opengl openmp oscar otr pam pango pch pcntl pcre pda pdf perl php player plotutils png policykit portaudio posix postproc ppds pppd pulseaudio python qq qt3support qt4 quicktime radio rar raw readline reflection rrdcgi rss rtc ruby samba sametime sasl scanner schroedinger sdl sdl-image sdl-sound semantic-desktop sensord session sharedext silc sip slp smp smtp sndfile snmp soap sockets sound speex spell spl sql sqlite sqlite3 sse sse2 sse3 ssl startup-notification stream subtitles subversion suexec svg sysfs syslog sysvipc t1lib tagwriting tcl tcpd test tga theora threads thumbnail tidy tiff timidity tk tokenizer tools transcode translator trayicon truetype tse3 twolame type3 udev unicode upnp urandom usb userlocales v4l v4l2 vcd vdpau vdr vhosts videos vim-syntax vim-with-x visualization vorbis vorbis-psy vst vxml wav wavpack webdav wifi wma wmf wxwidgets wxwindows x264 xanim xattr xcb xcomposite xface xforms xft xine xinerama xinetd xml xmlreader xmlrpc xmlwriter xorg xpm xprint xscreensaver xsl xulrunner xv xvid xvmc yaepg yahoo yv12 zeroconf zip zlib" ALSA_CARDS="hdsp emu10k1 hda-intel" 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 auth_digest authn_alias authn_dbd 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 dbd deflate dir disk_cache dumpio env expires ext_filter file_cache filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias substitute" ELIBC="glibc" FOO2ZJS_DEVICES="hpp1006" INPUT_DEVICES="keyboard mouse joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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"


(possibly) relevant portions of /etc/portage/package.keywords
app-emulation/wine ~amd64
app-portage/esearch ~amd64
app-portage/porthole ~amd64
dev-cpp/libgnomecanvasmm ~amd64
dev-games/cegui ~amd64
dev-games/flatzebra ~amd64
dev-games/guichan ~amd64
dev-games/ode ~amd64
dev-games/ois ~amd64
dev-games/physfs ~amd64
dev-libs/boost ~amd64
dev-python/pyalsa ~amd64
dev-util/boost-build ~amd64
dev-util/codeblocks ~amd64
dev-util/ftjam ~amd64
dev-util/kdevelop ~amd64
dev-util/kdevplatform ~amd64
media-gfx/blender ~amd64
media-libs/alsa-lib ~amd64
media-plugins/alsa-plugins ~amd64
media-sound/alsa-firmware ~amd64
media-sound/alsa-headers ~amd64
media-sound/alsa-tools ~amd64
media-sound/alsa-utils ~amd64
media-video/nvidia-settings ~amd64
net-analyzer/tcptrace ~amd64
net-misc/moblock ~amd64
net-print/foo2zjs ~amd64
sci-geosciences/googleearth ~amd64
sci-physics/bullet ~amd64
sys-devel/gdb ~amd64
=sys-process/procps-3.2.8-r1 ~amd64
x11-drivers/nvidia-drivers ~amd64
x11-libs/libvdpau ~amd64
x11-misc/gaia ~amd64
Comment 1 Daniel Santos 2010-06-03 21:53:46 UTC
Related Wine bug here: http://bugs.winehq.org/show_bug.cgi?id=23024
Comment 2 Michael Weber (RETIRED) gentoo-dev 2010-06-07 08:23:26 UTC
Ther might be a bigger problem: Someone on #gentoo-bugs reported today, that his wine complains about running against libpng1.2 but was compiled against libpng1.4.

This was a result of a amd64 bit system w/o USE wine64 (regular 32bit wine)  having ~arch libpng1.4 installed. Wine picked up the "systems" includes but was confronted with the emul-linux-* ELS32 libraries during runtime.

Please adjust wine's build system to pick up the headers of emul-linux-* or replace emul-linux in favor of the transparen multilib overlay solution ( http://wiki.github.com/sjnewbury/multilib-overlay/)

Michael
Comment 3 Pacho Ramos gentoo-dev 2010-06-07 08:30:40 UTC
(In reply to comment #2)
> Ther might be a bigger problem: Someone on #gentoo-bugs reported today, that
> his wine complains about running against libpng1.2 but was compiled against
> libpng1.4.
> 

Yes, it's bug 319205 ;-), for now, please keep on stable libpng version (emul packages are prepared to work on stable systems), switch to multilib-overlay or wait until I find time to update emul set :-)

> This was a result of a amd64 bit system w/o USE wine64 (regular 32bit wine) 
> having ~arch libpng1.4 installed. Wine picked up the "systems" includes but was
> confronted with the emul-linux-* ELS32 libraries during runtime.
> 
> Please adjust wine's build system to pick up the headers of emul-linux-* 

For now, emul packages only provide libs, not their headers :-/

>or
> replace emul-linux in favor of the transparen multilib overlay solution (
> http://wiki.github.com/sjnewbury/multilib-overlay/)
> 
> Michael
> 

It's bug 145737 , but I have no idea about its status :-(

Regarding original problem, the only different between emul-linux-x86-baselibs versions are some updated packages:
http://www.gentoo.org/proj/en/base/amd64/emul/emul-linux-x86-20100220.xml
http://www.gentoo.org/proj/en/base/amd64/emul/emul-linux-x86-20100409.xml

But, for trying to find the culprit, I would like to see some error message, some wine output...

Please provide it
Comment 4 Ken Rushia 2010-06-09 04:25:15 UTC
Created attachment 234627 [details]
Wine output of libpng mixup

(In reply to comment #3)
> 
> But, for trying to find the culprit, I would like to see some error message,
> some wine output...
> 
> Please provide it
> 

Mine is broken at the moment. Though it is just the /usr/lib32/wine/windowscodecs.dll.so and /usr/lib32/wine/winemenubuilder.exe.so components. Also should note that /usr/sbin/libpng-1.4.x-update.sh and lafilefixer were both run.

The summary is:
libpng warning: Application was compiled with png.h from libpng-1.4.2
libpng warning: Application  is  running with png.c from libpng-1.2.40
libpng error: Incompatible libpng version in application and library
Comment 5 Pacho Ramos gentoo-dev 2010-06-09 07:05:19 UTC
For libpng vs emul-linux problem, please go to bug 319205

This bug is for the original hang problem

Thanks
Comment 6 Pacho Ramos gentoo-dev 2010-06-10 15:54:29 UTC
Does this hang problem occur on systems still running stable libpng?
Comment 7 Pacho Ramos gentoo-dev 2010-06-11 15:13:51 UTC
Please check how does it work with 20100611 (it is built against libpng14)
Comment 8 David Philippi 2010-06-13 16:29:56 UTC
Doesn't work here as expected. wine-1.2rc2 was compiled against the old emul package with the libpng mismatch and worked quite fine...

Crashing game here is Dungeons & Dragons Online which is a sister game from the same company, running ~AMD64.
Comment 9 Daniel Santos 2010-06-13 20:27:33 UTC
I have media-libs/libpng-1.2.43-r2, which is the current stable version.  I have not tried against emul-linux 20100611 yet.  I'll try to do that tonight when I get some time.  Will get you some winedbg output as well.  Since there are no error messages, this will be the best I can do.  Just remember that this can still be a long standing wine bug that only surfaces when something in memory changes.  I've run into a lot of memory corruption issues in Wine in the past.
Comment 10 Pacho Ramos gentoo-dev 2010-07-01 18:09:02 UTC
What is the status with latest stable? (libpng-1.4 and latest emul set on amd64)