Bug 3584 - Xine causes a session crash
Summary: Xine causes a session crash
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Shlomi Fish
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2011-12-02 22:29 CET by papoteur
Modified: 2011-12-23 14:20 CET (History)
0 users

See Also:
Source RPM: xine
CVE:
Status comment:


Attachments
.xsession.errors (5.25 KB, application/octet-stream)
2011-12-03 15:00 CET, papoteur
Details
The dmesg (28.17 KB, text/plain)
2011-12-03 16:37 CET, papoteur
Details
Xorg.0.log.old (71.07 KB, application/x-trash)
2011-12-03 18:43 CET, papoteur
Details
Xorg.0.log (71.07 KB, application/x-trash)
2011-12-03 18:45 CET, papoteur
Details

Description papoteur 2011-12-02 22:29:40 CET
Description of problem:
When I lauch Xine, tha session closes.
This behaviour is the same if I try to open an mp3 file from file manager or directly from lxterm.

Version-Release number of selected component (if applicable):
Mageia 2 alpha1

How reproducible:
At each time

Steps to Reproduce:
1.Launch xine
Comment 1 Manuel Hiebel 2011-12-02 23:48:57 CET
Have you log in .xsession-errors.old ?

Shlomif, if you have something other to ask

Keywords: (none) => NEEDINFO
Assignee: bugsquad => shlomif
Source RPM: (none) => xine

Comment 2 Shlomi Fish 2011-12-03 09:59:13 CET
(In reply to comment #1)
> Have you log in .xsession-errors.old ?
> 
> Shlomif, if you have something other to ask

Yes, I do:

1. Which desktop environments did you try that?

2. Did you try in a new UNIX user account?

3. What are your computer's specifications?

4. You mean that the entire X closes, right?

5. Do you start X from startx or from gdm/kdm?

Regards,

-- Shlomi Fish
Comment 3 Shlomi Fish 2011-12-03 10:29:46 CET
(In reply to comment #2)
> (In reply to comment #1)
> > Have you log in .xsession-errors.old ?
> > 
> > Shlomif, if you have something other to ask
> 
> Yes, I do:
> 
> 1. Which desktop environments did you try that?
> 
> 2. Did you try in a new UNIX user account?
> 
> 3. What are your computer's specifications?
> 
> 4. You mean that the entire X closes, right?
> 
> 5. Do you start X from startx or from gdm/kdm?
> 
> Regards,
> 
> -- Shlomi Fish

I now tried running xine-ui from the command line on some .mp3 files, on LXDE, in a new UNIX account, and everything worked fine - X didn't crash. I'm on Mageia Cauldron.

Can you reproduce it with every .mp3 or only with one of them? Can you try in a new user?

Regards,

-- Shlomi Fish
Comment 4 papoteur 2011-12-03 15:00:07 CET
Created attachment 1168 [details]
.xsession.errors
Comment 5 papoteur 2011-12-03 15:01:31 CET
Here the .xsession.errors (I have added the .old)
Comment 6 papoteur 2011-12-03 15:10:09 CET
(In reply to comment #2)
> (In reply to comment #1)
> > Have you log in .xsession-errors.old ?
> > 
> > Shlomif, if you have something other to ask
> 
> Yes, I do:
> 
> 1. Which desktop environments did you try that?

LXDE

> 
> 2. Did you try in a new UNIX user account?

Not yet. But the installation is new, from scratch.

> 
> 3. What are your computer's specifications?
Processor VIA EDEN 1200 GHz
Sound card : VIA Technologies, Inc.|VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller)
Driver : ALSA "snd_hda_intel"
Graphic : VIA Chrome9-basedcards

>  
> 4. You mean that the entire X closes, right?
Yes, I think. I get the screen for connection with kdm

> 
> 5. Do you start X from startx or from gdm/kdm?
kdm (I suppose)

The crash occurs even if I launch xine alone from the menu.
Comment 7 Shlomi Fish 2011-12-03 15:51:55 CET
OK, is there anything relevant in the dmesg output? Anyway, it seems like a video driver, a kernel driver and/or a system configuration issue related to the hardware.

Also try to see if mplayer, VLC player and/or gst123 cause similar problems.

Regards,

-- Shlomi Fish
Comment 8 papoteur 2011-12-03 16:37:05 CET
Created attachment 1169 [details]
The dmesg

Here the result form dmesg, after the boot, a session crash and login.
Comment 9 papoteur 2011-12-03 16:37:49 CET
Vlc works fine.
Comment 10 Shlomi Fish 2011-12-03 16:58:55 CET
(In reply to comment #8)
> Created attachment 1169 [details]
> The dmesg
> 
> Here the result form dmesg, after the boot, a session crash and login.

OK, thanks for all that. Can you also post /var/log/Xorg.0 and /var/log/Xorg.0.log.old from the time immediately after the error occurs? I don't see any error in the dmesg logs.

Regards,

-- Shlomi Fish
Comment 11 papoteur 2011-12-03 18:43:54 CET
Created attachment 1170 [details]
Xorg.0.log.old
Comment 12 papoteur 2011-12-03 18:45:19 CET
Created attachment 1171 [details]
Xorg.0.log

The two files.
Comment 13 Shlomi Fish 2011-12-03 19:01:21 CET
Hi papoteur,

both Xorg.0.log files show this backtrace:

Backtrace:
[  9119.588] 0: /etc/X11/X (xorg_backtrace+0x37) [0x80a2f17]
[  9119.588] 1: /etc/X11/X (0x8048000+0x5f35a) [0x80a735a]
[  9119.588] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xffffe40c]
[  9119.588] 3: /usr/lib/xorg/modules/drivers/openchrome_drv.so (0xb721e000+0x25cf4) [0xb7243cf4]
[  9119.588] 4: /usr/lib/xorg/modules/drivers/openchrome_drv.so (0xb721e000+0x26918) [0xb7244918]
[  9119.588] 5: /etc/X11/X (0x8048000+0x13dcff) [0x8185cff]
[  9119.588] 6: /etc/X11/X (0x8048000+0x13e747) [0x8186747]
[  9119.589] 7: /etc/X11/X (miHandleValidateExposures+0x84) [0x81bb5e4]
[  9119.589] 8: /etc/X11/X (miSlideAndSizeWindow+0x870) [0x81bc150]
[  9119.589] 9: /etc/X11/X (0x8048000+0xa729f) [0x80ef29f]
[  9119.589] 10: /etc/X11/X (ConfigureWindow+0xac4) [0x80985a4]
[  9119.589] 11: /etc/X11/X (0x8048000+0x21977) [0x8069977]
[  9119.589] 12: /etc/X11/X (0x8048000+0x27a87) [0x806fa87]
[  9119.589] 13: /etc/X11/X (0x8048000+0x1a695) [0x8062695]
[  9119.590] 14: /lib/i686/libc.so.6 (__libc_start_main+0xe6) [0xb7422e86]
[  9119.590] 15: /etc/X11/X (0x8048000+0x1a271) [0x8062271]
[  9119.595] Segmentation fault at address 0x36


It seems like a problem with the openchrome_drv.so driver, so please report it at their bug tracker:

http://www.openchrome.org/

You might need to install the debugging symbols package and debug X in gdb per the instructions here:

http://www.x.org/wiki/Development/Documentation/ServerDebugging

Regards,

-- Shlomi Fish

Regards,

-- Shlomi Fish
Comment 14 papoteur 2011-12-04 11:41:18 CET
I have open a ticket with openchrome.
http://www.openchrome.org/trac/ticket/423
The guy asks me to compile the svn.
But I am blocked with an error during compiling process.
autoreconf: running: automake --add-missing --copy --no-force
libxvmc/Makefile.am:2: Libtool library used but `LIBTOOL' is undefined
libxvmc/Makefile.am:2:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
libxvmc/Makefile.am:2:   to `configure.ac' and run `aclocal' and `autoconf' again.
libxvmc/Makefile.am:2:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
libxvmc/Makefile.am:2:   its definition is in aclocal's search path.
src/Makefile.am:31: Libtool library used but `LIBTOOL' is undefined
src/Makefile.am:31:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/Makefile.am:31:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/Makefile.am:31:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/Makefile.am:31:   its definition is in aclocal's search path.
autoreconf: automake failed with exit status: 1

The packages libtool and libtool-base are installed.
Any idea to overcome this?
Yves
Comment 15 Shlomi Fish 2011-12-04 18:36:53 CET
Hi,

(In reply to comment #14)
> I have open a ticket with openchrome.
> http://www.openchrome.org/trac/ticket/423
> The guy asks me to compile the svn.
> But I am blocked with an error during compiling process.
> autoreconf: running: automake --add-missing --copy --no-force
> libxvmc/Makefile.am:2: Libtool library used but `LIBTOOL' is undefined
> libxvmc/Makefile.am:2:   The usual way to define `LIBTOOL' is to add
> `AC_PROG_LIBTOOL'
> libxvmc/Makefile.am:2:   to `configure.ac' and run `aclocal' and `autoconf'
> again.
> libxvmc/Makefile.am:2:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
> libxvmc/Makefile.am:2:   its definition is in aclocal's search path.
> src/Makefile.am:31: Libtool library used but `LIBTOOL' is undefined
> src/Makefile.am:31:   The usual way to define `LIBTOOL' is to add
> `AC_PROG_LIBTOOL'
> src/Makefile.am:31:   to `configure.ac' and run `aclocal' and `autoconf' again.
> src/Makefile.am:31:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
> src/Makefile.am:31:   its definition is in aclocal's search path.
> autoreconf: automake failed with exit status: 1
> 
> The packages libtool and libtool-base are installed.
> Any idea to overcome this?

Follow the instructions in this URL - http://www.openchrome.org/trac/ticket/423 although in a variation:

1. Download  http://mirrors.kernel.org/mageia/distrib/cauldron/SRPMS/core/release/x11-driver-video-openchrome-0.2.904-6.mga2.src.rpm .

2. As root, run «urpmi --buildrequires» with the downloaded .src.rpm file.

3. Try the ./autogen.sh command again.

Regards,

-- Shlomi Fish

 

> Yves
Comment 16 papoteur 2011-12-04 21:28:53 CET
Thanks for this help.
The package x11-util-macros has been added  with the urpmi --buildrequires.
But the problem stays the same :-(
Yves
Comment 17 Shlomi Fish 2011-12-05 08:25:35 CET
Hi Yves,

(In reply to comment #16)
> Thanks for this help.
> The package x11-util-macros has been added  with the urpmi --buildrequires.
> But the problem stays the same :-(
> Yves

maybe try it in a fresh "svn checkout" working copy. If that doesn't work, maybe try this package that already has a ./configure:

http://www.shlomifish.org/Files/files/openchrome-trunk-r1047.tar.gz

Regards,

-- Shlomi Fish
Comment 18 papoteur 2011-12-05 15:32:06 CET
Schlobinux asks me to install :
GL-devel libdrm-devel libx11-devel libxvmc-devel libxext-devel x11-proto-devel x11-server-devel x11-util-macros
However, urpmi doesn't find some of them. I have added all repositories with :
urpmi.addmedia --distrib --mirrorlist

What does lack?
Yves
Comment 19 Shlomi Fish 2011-12-05 15:59:20 CET
Hi Yves,

(In reply to comment #18)
> Schlobinux asks me to install :
> GL-devel libdrm-devel libx11-devel libxvmc-devel libxext-devel x11-proto-devel
> x11-server-devel x11-util-macros
> However, urpmi doesn't find some of them. I have added all repositories with :
> urpmi.addmedia --distrib --mirrorlist

You need to enable the "Tainted" repository. Go to "mcc" and enable that.

Furthermore, you may wish to ask some of the questions on IRC - http://freenode.net/ on channel #mageia. (I'm "rindolf" there).

Regards,

-- Shlomi Fish
Comment 20 papoteur 2011-12-06 08:06:20 CET
Tainted is selected.
Here the results of my search:
GL-devel : exists libftgl-devel (not installed)
libdrm-devel OK
libx11-devel : exists libx11_6-devel (installed) and libx11_6-static-devel (not installed)
libxvmc-devel : libxvmc1-devel, installed
libxext-devel : exists libxext6-devel (installed) and libxext6-static-devel (not installed)
x11-proto-devel OK
x11-server-devel OK
x11-util-macros OK

Yves
Comment 21 Shlomi Fish 2011-12-06 08:59:29 CET
(In reply to comment #20)
> Tainted is selected.
> Here the results of my search:
> GL-devel : exists libftgl-devel (not installed)
> libdrm-devel OK
> libx11-devel : exists libx11_6-devel (installed) and libx11_6-static-devel (not
> installed)
> libxvmc-devel : libxvmc1-devel, installed
> libxext-devel : exists libxext6-devel (installed) and libxext6-static-devel
> (not installed)
> x11-proto-devel OK
> x11-server-devel OK
> x11-util-macros OK
> 
> Yves

Hi, please consult #mageia on IRC (see the above message) about that (I'm rindolf there). This will likely be faster than trying to help you using bugzilla.

Regards,

â Shlomi Fish
Comment 22 papoteur 2011-12-08 08:23:30 CET
Xine works yet fine :-)
With the installation of the openchrome driver from svn.
Thanks to rindolf.
The driver must yet be integrated in the distrib.
Regards

Yves
Comment 23 Shlomi Fish 2011-12-08 09:02:41 CET
(In reply to comment #22)
> Xine works yet fine :-)
> With the installation of the openchrome driver from svn.
> Thanks to rindolf.
> The driver must yet be integrated in the distrib.

I suppose you mean that with the latest openchrome driver, Xine is now working. That's good to hear. We should put the new driver in the distribution, but it appears we're already shipping the latest release (0.2.904):

http://www.openchrome.org/releases/

However, it's from 2009 and the openchrome people should really make a new release.

Regards,

â Shlomi Fish
Comment 24 Shlomi Fish 2011-12-23 14:20:43 CET
Hi,

(In reply to comment #23)
> (In reply to comment #22)
> > Xine works yet fine :-)
> > With the installation of the openchrome driver from svn.
> > Thanks to rindolf.
> > The driver must yet be integrated in the distrib.
> 
> I suppose you mean that with the latest openchrome driver, Xine is now working.
> That's good to hear. We should put the new driver in the distribution, but it
> appears we're already shipping the latest release (0.2.904):
> 
> http://www.openchrome.org/releases/
> 
> However, it's from 2009 and the openchrome people should really make a new
> release.

Per the instructions here - http://www.openchrome.org/trac/ticket/426 - I've packaged a new version of the openchrome driver, and submitted it to the build system and it should arrive at Mageia Cauldron soon. Please test it with this driver and report it here.

I'm resolving this ticket for now.

Regards,

-- Shlomi Fish

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.