Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113876 - gkrellm2 crashes when gkrellmms plugin is loaded and xmms runing, if no xmms runing gkrellm2 works fine.
Summary: gkrellm2 crashes when gkrellmms plugin is loaded and xmms runing, if no xmms ...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 102121
  Show dependency tree
 
Reported: 2005-11-28 23:32 UTC by francisco jurado
Modified: 2006-10-09 13:33 UTC (History)
1 user (show)

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


Attachments
strace output for gkrellm until the crash happens (strace_output_gkrellm.txt,543.93 KB, text/plain)
2005-11-28 23:36 UTC, francisco jurado
Details

Note You need to log in before you can comment on or make changes to this bug.
Description francisco jurado 2005-11-28 23:32:49 UTC
i have gkrellm 2.2.7 and xmms 1.2.10 installed and working fine, then emerged
gkrellmms 2.1.22 plugin, when the plugin is loaded and if xmms is runing,
gkrellm crashes with no console output. if no xmms runing gkrellm works fine
with the plugin loaded.
Doesnt matter if either gkrellm or xmms run first, gkrellm always crashes when i
load the gkrellmms or if it starts loaded and xmms runing. 
After gkrellm crashes xmms continues working normally.


Reproducible: Always
Steps to Reproduce:
1.gkrellm runing
2.load gkrellmms plugin
3.run xmms (or runing before loading gkrellmms)


Actual Results:  
gkrellm crashes with no output, i dont know if it is useful here, but here i
post the last few lines of strace output for gkrellm before the crash happens:



Expected Results:  
to be controlling xmms from gkrellm

uname -a
Linux localhost 2.6.12-gentoo-r6 #1 Wed Sep 28 23:26:08 MDT 2005 x86_64 AMD
Athlon(tm) 64 Processor 2800+ AuthenticAMD GNU/Linux

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
/etc/make.conf

CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="amuled ansi apache apache2 apm bigger-fonts blender-game bzip2 c++ cap
     cdparanoia cdrom cgi cpudetection divx4linux doc dvd dvdr escreen
     fat finger flac flash ftp gcj gimp gmail gnuplot gnustep gphoto2 id3
     joystick mime mozilla mpeg2 mpeg4 mplayer msn net nls objc octave oggvorbis
     pnp posix ppds print spell svg unichrome utf8 v4l v4l2 vim vim-pager -eds
     -fam -qt"
GENTOO_MIRRORS="http://gentoo.osuosl.org/
ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://gentoo.seren.com/gentoo"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"

PORTDIR_OVERLAY="/usr/local/portage"
LINGUAS="en es"
ACCEPT_KEYWORDS="~amd64"
Comment 1 francisco jurado 2005-11-28 23:36:31 UTC
Created attachment 73780 [details]
strace output for gkrellm until the crash happens
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2005-11-29 06:28:36 UTC
Not sure why this was assigned to release... reassigning...
Comment 3 Muelli 2006-02-13 15:43:53 UTC
I have (had) same troubles.

I just recognized, that gkrellm2 is starting and then it just freezes.
It seems, that my (switched) locale caused that problem. I used to use POSIX and then switched to en_US.utf8.

When I remove the gkrellmms plugin or when gkrellm is running w/o an instance of xmms, everything is fine.
But as soon as I switch on xmms (either via the button on gkrellmms or manually from a shell) gkrellm freezes.
Starting a gkrellm2 with an UTF8 locale (e.g: en_US.utf8) or starting xmms with a non UTF8 locale (e.g: en_US) make gkrellm freeze, too.
The other way round seems to be no problem. (starting gkrellm w/o UTF8 and xmms w/ UTF8.)
Killing xmms doesn't make gkrellm2 react.

So a workaround could be starting gkrellm with a non UTF8 locale.
  $ LC_MESSAGES="en_US"; export LC_MESSAGES; gkrellm2
this works for me.

I found some information on other lists too: http://www.archivum.info/debian-bugs-dist@lists.debian.org/2005-01/msg06182.html
Maybe this is related to #87625
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-09-19 03:18:46 UTC
Please, go try w/ 2.2.9-r1 and report back.
Comment 5 Muelli 2006-10-09 13:33:21 UTC
Hi,

gkrellm2-2.2.9-r1 still freezes while using UTF8 locale.

Please see the last lines of strace gkrellm2, where you can see, that it stops working after it tried to read an utf8 encoded filename.

write(13, "\1\0\22\0\4\0\0\0", 8)       = 8
write(13, "\375\0\0\0", 4)              = 4
read(13, "\1\0\0\0C\0\0\0", 8)          = 8
read(13, "/path/to/utf8encoded/file"..., 67) = 67
read(13, "\1\0\0\0\0\0\0\0", 8)         = 8
close(13)                               = 0



Still, the only solution seems to be
LC_ALL=C gkrellm2 &

Regards