Bug 730 - [Sisimedia] X crash after run any video player with any video format
Summary: [Sisimedia] X crash after run any video player with any video format
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2011-04-09 04:06 CEST by Filipe Saraiva
Modified: 2012-06-22 22:03 CEST (History)
6 users (show)

See Also:
Source RPM: x11-driver-video-sisimedia
CVE:
Status comment:


Attachments
Xorg.0.log of my notebook (47.82 KB, text/plain)
2011-04-18 20:19 CEST, Filipe Saraiva
Details
X crash log (50.78 KB, text/plain)
2011-04-22 06:42 CEST, Filipe Saraiva
Details
Xorg.0.log from last crash on my radeon machine (33.46 KB, application/octet-stream)
2011-05-09 20:35 CEST, Peter Schwanemann
Details
GDB backtrack of X after crash (10.00 KB, text/plain)
2011-05-28 17:31 CEST, Filipe Saraiva
Details
Output from lspci | grep SiS (1010 bytes, text/plain)
2011-10-04 22:12 CEST, Marcel Sichitiu
Details

Description Filipe Saraiva 2011-04-09 04:06:24 CEST
After press maximize button in kmplayer with a rmvb video running, X crash and the system return to login screen.

But, the fullscreen mode, pressing F button, it's ok.

I use KDE SC 4.6.1 and my video card is (lspci):
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 771/671 PCIE VGA Display Adapter (rev 10)

Thank's.
Comment 1 Ahmad Samir 2011-04-10 05:25:11 CEST
KDE-4.6.2 is already in the repos.
Comment 2 Thierry Vignaud 2011-04-13 23:49:49 CEST
What's the output of the following command:
lspcidrake -v | grep Card

Please _attach_ your /var/log/Xorg.0.log or Xorg.0.log.1 after a crash.
Look for error also in /var/log/gdm/*

Keywords: (none) => NEEDINFO
CC: (none) => thierry.vignaud

Comment 3 Filipe Saraiva 2011-04-18 20:19:56 CEST
Created attachment 243 [details]
Xorg.0.log of my notebook

The log of Xorg after crash in mplayer running.
Comment 4 Filipe Saraiva 2011-04-18 20:25:33 CEST
Hello,

I updated complete my system.

Thierry, I have attached above. There are no gdm logs on my system.

The lspcidrake | grep Card output is:
--
$ lspcidrake | grep Card
Card:SiS SiS 670 / 671-based cards: Silicon Integrated Systems [SiS]|771/671 PCIE VGA Display Adapter [DISPLAY_VGA] (rev: 10)
--

And more: the problem is with mplayer, not with kmplayer. Run mplayer direct also break the X too. I will update the title this bug report.

Thanks.
Filipe Saraiva 2011-04-18 20:26:43 CEST

Summary: X break after maximize Kmplayer => X break after run mplayer with rmvb video

Comment 5 Filipe Saraiva 2011-04-19 00:37:47 CEST
Ok, I did more tests, with various video players (vlc, mplayer, the mplayer frontend kmplayer and kaffeine) with various video formats (rmvb, avi and ISO dvd) and always crash X server, returning to login screen.

Sometimes, the video running but, in few times (seconds or minutes), the X server crash.

I will update, again, the bug report's title.
Filipe Saraiva 2011-04-19 00:41:12 CEST

Summary: X break after run mplayer with rmvb video => X crash after run any video player with any video format
Severity: normal => major

Filipe Saraiva 2011-04-19 00:42:19 CEST

Severity: major => critical

Comment 6 Thierry Vignaud 2011-04-19 08:55:52 CEST
There's no error in your /var/log/Xorg.0.log.
If X11 has aleady restarted after the crash, it's  /var/log/Xorg.0.log.1 that's needed.

What's would be even better would be :
Please download both https://bugs.mageia.org/attachment.cgi?id=121 and
https://bugs.mageia.org/attachment.cgi?id=122

Then enable the core/debug_release media/repository and install
x11-server-debug, x11-driver-video-sis-debug, glibc-debug

Then just run "sh ./Xgdb2.sh" on a text terminal (not from a terminal within X11!!! use Ctrl+Alt+F1), then switch back to X11 until it segfaults (Ctrl+Alt+F7).

Source RPM: (none) => x11-driver-video-sis

Ahmad Samir 2011-04-20 19:31:16 CEST

Attachment 243 mime type: text/x-log => text/plain

Comment 7 Ahmad Samir 2011-04-20 19:38:11 CEST
I see this in the Xorg.0.log from comment#3:
(EE) AIGLX error: dlopen of /usr/lib64/dri/sis671_dri.so failed (/usr/lib64/dri/sis671_dri.so: cannot open shared object file: No such file or directory)
Comment 8 Thierry Vignaud 2011-04-20 22:50:24 CEST
That's totally unrelated, it means there's no 3d support for that card and that software fallback will be used, which is totally orthogonal to this issue
Comment 9 Ahmad Samir 2011-04-21 05:38:23 CEST
OK.
Comment 10 Filipe Saraiva 2011-04-22 06:42:21 CEST
Created attachment 274 [details]
X crash log

The log of X crash. Backtrace begin in line 1000.
Comment 11 Filipe Saraiva 2011-04-22 06:43:30 CEST
Thierry, the correct X log attached above.

Thanks.
Thierry Vignaud 2011-04-22 08:53:07 CEST

Attachment 274 mime type: application/octet-stream => text/plain

Comment 12 Thierry Vignaud 2011-04-22 08:54:03 CEST
Please try to provide the GDB trace too

Summary: X crash after run any video player with any video format => [SisImedia] X crash after run any video player with any video format
Source RPM: x11-driver-video-sis => x11-driver-video-sisimedia

Filipe Saraiva 2011-04-23 23:22:55 CEST

Summary: [SisImedia] X crash after run any video player with any video format => [Sisimedia] X crash after run any video player with any video format

Comment 13 Filipe Saraiva 2011-04-23 23:26:51 CEST
Please Thierry, explain how to provide the GDB. The first file in comment#6, https://bugs.mageia.org/attachment.cgi?id=121, is "Xgdb2.sh"? And what to do with the second file, (https://bugs.mageia.org/attachment.cgi?id=122)?

Thanks.
Comment 14 Thierry Vignaud 2011-04-27 00:03:25 CEST
Just save both files.
Then just run "sh ./Xgdb2.sh" on a text terminal (not from a terminal within
X11!!! use Ctrl+Alt+F1), then switch back to X11 until it segfaults
(Ctrl+Alt+F7).
Comment 15 Filipe Saraiva 2011-05-01 03:35:19 CEST
Thierry, I am with some doubts.

The second file, https://bugs.mageia.org/attachment.cgi?id=122, is gcmds2 file? If yes, the gdb backtrace result is http://pastebin.ca/2052412

I put in pastebin because this is not the correct backtrace yet.
Comment 16 Thierry Vignaud 2011-05-03 08:51:52 CEST
Yes it is.
But you're using it incorrectly since X is not running and
thus GDB cannot attach to X.
Comment 17 Peter Schwanemann 2011-05-09 20:19:47 CEST
just wanted to note, that my girlfriend and I faced the same(?) problem a few times in the last days - we both have current Mageia repository updates installed and different graphic setting (she has a nvidia card, I have got a radeon card)

for both of us switching flash movies to fullscreen leads to a in most cases reproduceable crash - it does not crash directly but after some mouse interaction (moving a bit, clicking a bit...)

e.g. I was interested in a new add of my favourite drink and so entered their page (irn-bru.co.uk/) the page directly loads the add and opens it up in fullscreen after a few seconds. Without interaction the add just runs fine, moving the mouse a bit and/or clicking most likely leads to a crash.

If needed:
Both using kde4.6.3 and everything else working as it should, just my girlfrind had to add vmalloc=128M to the kernel call at startup (up to date kernel), as else she was not able to see my skype video transfer during a skype call

CC: (none) => Nasenbaer

Comment 18 Peter Schwanemann 2011-05-09 20:24:13 CEST
ahh just wanted to notice: dragonplayer and vlc work fine in fullscreen, only noticed this problem with flash players - so maybe this is a different bug but similar symptoms?

anyways: she uses a 32bit system I use a 64bit system.
Comment 19 Peter Schwanemann 2011-05-09 20:35:43 CEST
Created attachment 374 [details]
Xorg.0.log from last crash on my radeon machine

here is my Xorg.0.log from after a crash.

And I noticed something else: Both my girlfriends and my pc have a second graphics card for the hdmi output - both are intel graphics card.
Comment 20 Thierry Vignaud 2011-05-09 21:16:15 CEST
Your crash is a totally different problem so please stop commenting on that bug and open another one against x11-driver-video-intel.

Try to get a GDB trace as explained in Comment 6, and attach it to the newly created bug report (not to this bug report).
Just install x11-driver-video-intel-debug instead of x-d-v-sis-debug.

And open another one for the radeon one.
Comment 21 Filipe Saraiva 2011-05-28 17:31:53 CEST
Created attachment 485 [details]
GDB backtrack of X after crash

Attachment 243 is obsolete: 0 => 1
Attachment 274 is obsolete: 0 => 1
Attachment 374 is obsolete: 0 => 1

Comment 22 Filipe Saraiva 2011-05-28 17:33:05 CEST
Hello,

Finally I did the debug X. I used this tutorial (http://wiki.debian.org/XStrikeForce/XserverDebugging#Obtaining_a_backtrace_with_gdb), with an extra machine accessing my machine via ssh and capturing the backtrack X.

I ran a video with VLC and hit "f" for fullscreen. That broke the X.

The backtack is in Comment 21. I hope it's correct now.

Thanks,
Comment 23 Filipe Saraiva 2011-06-07 19:49:33 CEST
Hello, my attachment 485 [details] in Comment 21 is the correct GDB backtrace of X?
Thanks.
Filipe Saraiva 2011-07-14 22:02:33 CEST

Keywords: NEEDINFO => (none)

Comment 24 Filipe Saraiva 2011-09-10 20:40:49 CEST
Nothing about this bug?
:'(
Comment 25 Samuel Verschelde 2011-10-01 01:45:57 CEST
Assigning to maintainer now that our maintainer's database has an entry for
this package. Please assign back to bugsquad@mageia.org in case of a mistake
from me.

Version set to 1 as it's a pre-Mageia 1 issue.

Version: Cauldron => 1
Assignee: bugsquad => thierry.vignaud

Comment 26 Filipe Saraiva 2011-10-01 16:39:05 CEST
Hello Samuel, thanks.

But I use Mageia Cauldron, and this bug continue in the package.
I will change version to Cauldron.
Filipe Saraiva 2011-10-01 16:39:29 CEST

Version: 1 => Cauldron

Comment 27 Marcel Sichitiu 2011-10-04 22:12:03 CEST
Created attachment 893 [details]
Output from lspci | grep SiS

Share the list of SiS driven devices on my laptop, which faces the issues described in this bug report.
Comment 28 Mark 2011-10-26 01:07:03 CEST
Hi,

I had the same problem on Mageia 1 with sis 672 chipset: Playing video with VLC or mlayer in full-screen mode crashed the X-server.

Changing the players video output from xv to x11 brought improvement.

However, there seems to be exactly the same issue with ubuntu but somebody already wrote a patch for the sisimedia driver:

http://ubuntuforums.org/showthread.php?t=958967&page=76

I don't know much about patching drivers and compiling kernels, so it would be really cool if one of the maintainers could have a look at that. Thanks!

CC: (none) => markv

Comment 29 Ken Johnson 2011-10-30 12:45:48 CET
I get this from any player on any setting, full screen not required.

I'm running : VGA compatible controller: VIA Technologies, Inc. CN896/VN896/P4M900 [Chrome 9 HC] (rev 01)

CC: (none) => johnsonken1
Hardware: x86_64 => i586
Version: Cauldron => 1

Comment 30 Marja Van Waes 2012-02-01 07:31:40 CET
Pinging, because nothing has happened with this report for more than 3 months, it still has the status NEW or REOPENED.

CC: (none) => marja11

Comment 31 luca savio 2012-04-21 18:36:03 CEST
I can workaround the issue changing the video output in X11 with SMPlayer or VLC: cannot do the same in Dragon Player (removed) Mageia 2 beta 3 VGA compatible controller: Silicon Integrated Systems [SiS] 771/671 PCIE VGA Display Adapter (rev 10)

CC: (none) => l.savio
Version: 1 => Cauldron

Comment 32 Marja Van Waes 2012-05-26 13:03:30 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 33 Filipe Saraiva 2012-05-26 19:19:08 CEST
I changed my machine, I can not return a feedback about this bug.
Thanks.
Comment 34 Ken Johnson 2012-05-27 01:25:50 CEST
Same here.
Manuel Hiebel 2012-05-27 01:42:06 CEST

Status: NEW => UNCONFIRMED
Ever confirmed: 1 => 0

Comment 35 Marja Van Waes 2012-06-22 22:03:55 CEST
(In reply to comment #33)
> I changed my machine, I can not return a feedback about this bug.
> Thanks.

(In reply to comment #34)
> Same here.

Thanks for replying.

Closing as OLD

Anyone still suffering from this bug: feel free to reopen and provide additional information

Status: UNCONFIRMED => RESOLVED
Resolution: (none) => OLD


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