Bug 354615 - X Shared Memory related bug in vlc/amule triggered by X.Org security update
Summary: X Shared Memory related bug in vlc/amule triggered by X.Org security update
Status: RESOLVED DUPLICATE of bug 345131
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: X11 Applications (show other bugs)
Version: Final
Hardware: Other Other
: P1 - Urgent : Critical (vote)
Target Milestone: ---
Assignee: Ales Nosek
QA Contact: Stefan Dirsch
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-17 22:39 UTC by Forgotten User --EoyBps8f
Modified: 2008-01-18 23:41 UTC (History)
6 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
xshm.diff (2.87 KB, patch)
2008-01-18 12:35 UTC, Stefan Dirsch
Details | Diff
xorg log (20.44 KB, text/x-log)
2008-01-18 20:19 UTC, andrea florio
Details
nvidia log, there is missing symlink (2.57 KB, text/x-log)
2008-01-18 20:20 UTC, andrea florio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User --EoyBps8f 2008-01-17 22:39:34 UTC
After todays update, including restarting X, vlc does not work anymore. I reported this to videolan devs and they stated that it is not a vlc bug.

I uninstalled the update and vlc did work again.

The error it throws is:
VLC media player 0.8.6d Janus
The program '.' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 190 error_code 11 request_code 147 minor_code 5)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Comment 3 Stefan Dirsch 2008-01-18 06:44:35 UTC
I cannot reproduce this issue on Xnest (no MIT-SHM extension), but with Xephyr and a regular Xorg Xserver.
Comment 4 Stefan Dirsch 2008-01-18 07:37:24 UTC
As expected the issue bug has been triggered by the following security fix in xorg-x11-server:

- bug345131-IDEF2904.diff
  * X Server MIT-SHM Extension Integer Overflow Vulnerability
    [IDEF2904] (Bug #345131)
Comment 5 Dominique Leuenberger 2008-01-18 08:25:24 UTC
Stefan, can bug #345131 be made public available already?
Comment 6 Stefan Dirsch 2008-01-18 10:04:51 UTC
I think we don't do this with our Security bugreports. The security issue is known to the public known now. Which information are you missing? The patch is included in the xorg-x11-server source RPM.
Comment 7 Stefan Dirsch 2008-01-18 12:35:05 UTC
Created attachment 190983 [details]
xshm.diff

For your convenience.
Comment 8 andrea florio 2008-01-18 13:51:47 UTC
also amule has been broken!

fixed with a downgrade

Initialising aMule
Checking if there is an instance already running...
No other instances are running.
The program 'amule' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
(Details: serial 1183 error_code 11 request_code 146 minor_code 5)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Comment 9 andrea florio 2008-01-18 14:20:27 UTC
that package broke nvidia drivers too
Comment 10 Stefan Dirsch 2008-01-18 15:09:11 UTC
Never heard of amule. We also don't ship it. Any details for the nvidia driver issue. What's broken there exactly?
Comment 11 andrea florio 2008-01-18 16:04:25 UTC
yet fixed reinstalling it..anyway was a missing symlink...

starting init 5 the screen starts to flash like xmas lights ^_^

but, from init 3 with startx all works!

readng /var/log/Xorg.0.log i found sething broken with glx support or something like that.. i'll try to have another timke the problem.

about amule...if you check is the same error of VLC

i'll attach log when i'll reproduce problem
Comment 12 Stefan Dirsch 2008-01-18 18:15:51 UTC
I finally figured out that the vlc problem does *not* occur on x86_64. Looks like it only occurs on i386.

Please attach /var/log/Xorg.0.log for the nvidia driver problem.
Comment 13 andrea florio 2008-01-18 20:19:44 UTC
Created attachment 191041 [details]
xorg log
Comment 14 andrea florio 2008-01-18 20:20:23 UTC
Created attachment 191042 [details]
nvidia log, there is missing symlink
Comment 15 Stefan Dirsch 2008-01-18 21:22:44 UTC
Your problem with NVIDIA driver is completely unrelated. Looks like you installed the NVIDIA driver manually and now the xorg-x11-server update has overwritten the files installed by the NVIDIA driver.
Comment 16 Stefan Dirsch 2008-01-18 21:31:53 UTC

*** This bug has been marked as a duplicate of bug 345131 ***
Comment 17 andrea florio 2008-01-18 21:37:58 UTC
better if is like that..anyway..the problem is not only on suse..seems exist in UBUNTU 7.10 too:

"italian forum"

http://www.suseitalia.org/modules/newbb/viewtopic.php?topic_id=16169&start=6

in ubuntu the problem is provides bye the package:

xserver-xorg-core 1.3.0.0.dfsg-12ubuntu8.1

the solution is to comeback to previous version...

as you can see is xorg server package too

Comment 18 Alberto Passalacqua 2008-01-18 23:41:16 UTC
Just for knowledge, I didn't notice any issue with nvidia drivers on 64 bit here.

Regards,
Alberto