View previous topic :: View next topic |
Author |
Message |
dom_cyrus Tux's lil' helper
Joined: 06 Jun 2005 Posts: 102
|
Posted: Thu Jun 16, 2005 11:50 am Post subject: xine(64bit) glibc strange behavior, bug? |
|
|
Hi@all
Everytime when i try to switch to fullscreen xine will crash with the message: Quote: | *** glibc detected *** double free or corruption (!prev): 0x00000000015f1ee0 ***
Aborted
|
I've tried to install newer glibc(2.3.5) but the error is still the same. Can anyone give me a hint? I'm using gentoo 2005.0...
Last edited by dom_cyrus on Tue Jun 21, 2005 11:11 am; edited 1 time in total |
|
Back to top |
|
|
AngelM Tux's lil' helper
Joined: 07 Dec 2004 Posts: 139 Location: Erlangen
|
Posted: Thu Jun 16, 2005 12:16 pm Post subject: |
|
|
Are your CFLAGS to aggressive?
Try the standard CFLAGS and emerge glibc and xine new. |
|
Back to top |
|
|
dom_cyrus Tux's lil' helper
Joined: 06 Jun 2005 Posts: 102
|
Posted: Thu Jun 16, 2005 12:42 pm Post subject: |
|
|
This are my CFLAGS Quote: | -march=k8 -pipe -O2 -mfpmath=sse -msse2 -mmmx -m3dnow" |
I don't know, but I think they are not aggressive according to https://forums.gentoo.org/viewtopic-t-221361.html.
And yes I know that it is useless to put the -mfpmath=sse -msse2 -mmmx -m3dnow, but it also doesn't matter. But is there a difference between the k8 and amd64? Because in the Gentoo installation guide it says for amd64 users take --> k8 not amd64. |
|
Back to top |
|
|
mwplinux n00b
Joined: 25 Feb 2004 Posts: 39 Location: Copenhagen, Denmark
|
Posted: Thu Jun 16, 2005 1:33 pm Post subject: |
|
|
dom_cyrus wrote: | This are my CFLAGS Quote: | -march=k8 -pipe -O2 -mfpmath=sse -msse2 -mmmx -m3dnow" |
I don't know, but I think they are not aggressive according to https://forums.gentoo.org/viewtopic-t-221361.html.
And yes I know that it is useless to put the -mfpmath=sse -msse2 -mmmx -m3dnow, but it also doesn't matter. But is there a difference between the k8 and amd64? Because in the Gentoo installation guide it says for amd64 users take --> k8 not amd64. |
The Gentoo amd64 technotes says:
Code: | The mmx, 3dnow, sse and sse2 USE flags are ignored on AMD64, since all AMD64 processors support those instruction sets. The are ignored because they enable 32bit assembly optimisation for some packages. |
It dosn't matter if you use march k8, athlon64 (not amd64) or opteron. I use -march=athlon64. _________________ From the John F. Kennedy Moon Speech:
We choose to go to the moon in this decade and do the other things, not because they are easy, but because they are hard. |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Thu Jun 16, 2005 2:58 pm Post subject: |
|
|
mwplinux wrote: | The Gentoo amd64 technotes says:
Code: | The mmx, 3dnow, sse and sse2 USE flags are ignored on AMD64, since all AMD64 processors support those instruction sets. The are ignored because they enable 32bit assembly optimisation for some packages. |
It dosn't matter if you use march k8, athlon64 (not amd64) or opteron. I use -march=athlon64. |
The technotes are talking about USE flags, not CFLAGS.
Which version of xine-lib and xine-ui are you using, anyway? I don't have this issue, and these are the versions I'm running:
Code: | [ebuild R ] media-libs/xine-lib-1.0.1-r3 +X -a52 -aac -aalib +alsa (-altivec) -arts -cle266 -debug -directfb +dvd -dxr3 -esd -fbcon -ffmpeg +flac -gnome -i8x0 -ipv6 -libcaca -mad +mng +nls -nvidia +opengl -oss +png +samba -sdl -speex -theora -v4l -vcd -vidix -vorbis (-win32codecs) -xinerama +xv -xvmc 0 kB
[ebuild R ] media-video/xine-ui-0.99.3-r1 +X -aalib -curl -libcaca -lirc +ncurses +nls +readline 2 kB |
_________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
dom_cyrus Tux's lil' helper
Joined: 06 Jun 2005 Posts: 102
|
Posted: Thu Jun 16, 2005 4:43 pm Post subject: |
|
|
My version for xine-lib is Code: | [ebuild R ] media-libs/xine-lib-1.0.1-r3 +X +a52 +aac +aalib +alsa (-altivec) -arts -cle266 -debug -directfb +dvd -dxr3 +esd -fbcon +ffmpeg +flac +gnome -i8x0 +ipv6 -libcaca +mad -mng +nls +nvidia +opengl +oss +png +samba +sdl -speex +theora +v4l +vcd +vidix +vorbis (-win32codecs) +xinerama +xv +xvmc 0 kB |
My version for xine-ui is Code: | [ebuild R ] media-video/xine-ui-0.99.3-r1 +X +aalib +curl -libcaca -lirc +ncurses +nls +readline 0 kB |
My version for glibc is Code: | [ebuild R ] sys-libs/glibc-2.3.5 -build -debug -erandom -hardened (-multilib) +nls -nomalloccheck -nptl -nptlonly -pic +userlocales 0 kB |
So I think all packages are the latest ones in portage... Can it be that it has something to do with the nvidia driver? There i use also the newest one Code: | [ebuild R ] media-video/nvidia-kernel-1.0.7664 0 kB |
Further information: It crashes always if i want to switch to fullscreen, no matter if I am playing a movie or not. But without fullscreen it works-->strange...
@Maedhros: Which version of glibc are you using?
edit: found a bug report here http://sourceforge.net/mailarchive/message.php?msg_id=11796716 |
|
Back to top |
|
|
hvengel Guru
Joined: 19 Sep 2004 Posts: 515
|
Posted: Thu Jun 16, 2005 8:41 pm Post subject: |
|
|
Newer versions of glibc have better runtime error checking than did ealier versions. You can force the old behavior when you get one of these messages but my experience is that you will still get a seg fault error and the app will fail. It appears that for some reason you have some bad pointer code somewhere. But it could be in any of the libraries that are linked into the app. So for example it could be a problem in the nvidia or ffmpeg code . You might consider building xine-lib and xine-ui with debug turned on and run it in the debugger to see where is it actualy crashing.
I am currently runing xine-lib-1.0.1-r3 and xine-ui-0.9.23-r2 with no problems. My CFLAGS are -march=k8 -pipe -O2 |
|
Back to top |
|
|
dom_cyrus Tux's lil' helper
Joined: 06 Jun 2005 Posts: 102
|
Posted: Thu Jun 16, 2005 9:45 pm Post subject: |
|
|
I changed my CFLAGS also to -march=k8 -pipe -O2 and compiled all the libs again, but with no solution. I think for the moment I just dont use xine and use instead mplayer which runs without any problems... Thanks for the help even it doesn't work right now. |
|
Back to top |
|
|
dom_cyrus Tux's lil' helper
Joined: 06 Jun 2005 Posts: 102
|
Posted: Mon Jun 20, 2005 1:47 pm Post subject: |
|
|
I just want to revive this thread, because I still have the error from xine glibc... |
|
Back to top |
|
|
dom_cyrus Tux's lil' helper
Joined: 06 Jun 2005 Posts: 102
|
Posted: Tue Jun 21, 2005 11:11 am Post subject: |
|
|
I played around little bit with xine and noticed that the error about the glibc doesn't appears when I double click xine to switch to fullscreen. After doing this it works all fine, but when I switch to fullscreen --> right click, press fullscreen it crashes with the error message i posted above. There is also a shortkey [f], when I switch to fullscreen with this one it also doesn't crash.
I want to ask if this error is reproducible by ohters, so that maybe there should be a bug report. |
|
Back to top |
|
|
freke l33t
Joined: 23 Jan 2003 Posts: 992 Location: Somewhere in Denmark
|
Posted: Sun Jul 03, 2005 3:21 pm Post subject: |
|
|
That's the exact same behaviour as I'm experiencing.
right click to switch to full screen causes crash with the glibc error
trying to start the skin-downloader causes crash with the glibc error
double-clicking to switch to full screen works fine, same goes for using 'f'
glibc 2.3.4.20041102-r1
xine-ui 0.99.3
xine-lib 1.0-r2
using march=k8 -O2 -pipe |
|
Back to top |
|
|
crazycat l33t
Joined: 26 Aug 2003 Posts: 838 Location: Hamburg, Germany
|
Posted: Sun Jul 03, 2005 5:27 pm Post subject: |
|
|
same here with cflags -march=athlon64 -O2 -pipe |
|
Back to top |
|
|
dom_cyrus Tux's lil' helper
Joined: 06 Jun 2005 Posts: 102
|
Posted: Mon Jul 04, 2005 9:42 am Post subject: |
|
|
seems that it is really a bug, but I don't know where. It can be in xine-ui or xine-lib... But I think its strange, that not all users have this error... |
|
Back to top |
|
|
battersea Tux's lil' helper
Joined: 08 Nov 2003 Posts: 122 Location: Hove, Belgium
|
Posted: Tue Jul 19, 2005 1:34 am Post subject: |
|
|
I have it too... xine-ui crashes if I set it to fullscreen.
My config:
Code: |
Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12-gentoo-r4 x86_64)
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
USE="amd64 X alsa avi berkdb bitmap-fonts cdr crypt cups curl dvd encode fam flac foomaticdb fortran gdbm gif gpm gtk gtk2 imagemagick imlib java jpeg kde kdex lzw lzw-tiff motif mp3 mpeg ncurses network nls nptl nptlonly nvidia ogg opengl pam pdflib perl png python qt quicktime readline samba sdl spell ssl tcltk tcpd tiff truetype-fonts type1-fonts usb userlocales vorbis xine xml2 xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc"
|
xine-ui-0.99.3-r1
xine-lib-1.0.1-r3 |
|
Back to top |
|
|
root_at_localhost n00b
Joined: 10 Aug 2005 Posts: 8
|
Posted: Sat Aug 13, 2005 11:00 pm Post subject: |
|
|
same here... |
|
Back to top |
|
|
battersea Tux's lil' helper
Joined: 08 Nov 2003 Posts: 122 Location: Hove, Belgium
|
Posted: Sat Aug 13, 2005 11:59 pm Post subject: |
|
|
problem is gone now!
I upgraded to:
xine-ui-0.99.4-r1
xine-lib-1.1.0 |
|
Back to top |
|
|
|