Bug#498289: More info on mplayer crash
Thanks for all the debugging! Can you try the attached patch (against the xorg-server source)? Without the patch, it crashes; with the patch it works. Thank you. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#498289: More info on mplayer crash
On Mon, Sep 8, 2008 at 17:59:11 -0400, Anthony DeRobertis wrote: 000::0014: 32: Request(98): QueryExtension name='XFree86-VidModeExtension' 000::0x0014:32: Reply to QueryExtension: present=true(0x01) major-opcode=134 first-event=0 first-error=130 000::0015: 4: XFree86-VidModeExtension-Request(134,0): XF86VidModeQueryVersion 000::0x0015:32: Reply to XF86VidModeQueryVersion: major-version=2 minor-version=2 000::0016: 8: XFree86-VidModeExtension-Request(134,14): XF86VidModeSetClientVersion major=2 minor=2 000::0017: 8: XFree86-VidModeExtension-Request(134,1): XF86VidModeGetModeLine screen=0 [EMAIL PROTECTED]:~$ Thanks for all the debugging! Can you try the attached patch (against the xorg-server source)? Cheers, Julien From c8af7ce35a900ac9b898f51c1b95dabad3ba1d76 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade [EMAIL PROTECTED] Date: Fri, 23 May 2008 13:50:39 -0300 Subject: [PATCH] Correct a NULL pointer deference The problem happens if Monitor/Card combo doesn't provide EDID info, and the XFree86-VidModeExtension extension is used. Signed-off-by: Peter Hutterer [EMAIL PROTECTED] --- hw/xfree86/common/xf86VidMode.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/hw/xfree86/common/xf86VidMode.c b/hw/xfree86/common/xf86VidMode.c index 38d605c..9260bb5 100644 --- a/hw/xfree86/common/xf86VidMode.c +++ b/hw/xfree86/common/xf86VidMode.c @@ -150,10 +150,14 @@ VidModeGetCurrentModeline(int scrnIndex, pointer *mode, int *dotClock) return FALSE; pScrn = xf86Screens[scrnIndex]; -*mode = (pointer)(pScrn-currentMode); -*dotClock = pScrn-currentMode-Clock; -return TRUE; +if (pScrn-currentMode) { + *mode = (pointer)(pScrn-currentMode); + *dotClock = pScrn-currentMode-Clock; + + return TRUE; +} +return FALSE; } _X_EXPORT int -- 1.5.6.5
Bug#498289: More info on mplayer crash
Package: xserver-xorg-video-intel Version: 2:2.3.2-2+lenny4 Followup-For: Bug #498289 Note that mplayer crashes with both -vo xv and -vo x11. Also, the crash is preserved even with NoAccel... Attached is an xtrace of mplayer, along with the crash log (now with another -dbg package) [EMAIL PROTECTED]:~$ xtrace No display name to create specified, trying :9 Got connection from unknown(local) 000:: am lsb-first want 11:0 authorising with 'MIT-MAGIC-COOKIE-1' of length 16 000:: Success, version is 11:0-47312. 000::0001: 20: Request(55): CreateGC cid=0x0340 drawable=0x008c values={background=0x00ff} 000::0002: 20: Request(98): QueryExtension name='BIG-REQUESTS' 000::0x0002:32: Reply to QueryExtension: present=true(0x01) major-opcode=130 first-event=0 first-error=0 000::0003: 4: BIG-REQUESTS-Request(130,0): BigReqEnable 000::0x0003:32: Reply to BigReqEnable: maximum-request-length=4194303 000::0004: 24: Request(20): GetProperty delete=false(0x00) window=0x008c property=0x17(RESOURCE_MANAGER) type=0x1f(STRING) long-offset=0x long-length=0x05f5e100 000::0x0004:716: Reply to GetProperty: type=0x1f(STRING) bytes-after=0x data='*customization:\t-color\n.xterm.termName:\txterm\n.xterm.vt100.background:\tgray90\n.xterm.vt100.cursorBlink:\tyes\n.xterm.vt100.cutNewline:\tno\n.xterm.vt100.cutToBeginningOfLine:\tno\n.xterm.vt100.foreground:\tblack\n.xterm.vt100.multiScroll:\ttrue\n.xterm.vt100.on4Clicks:\tgroup\n.xterm.vt100.on5Clicks:\tpage\n.xterm.vt100.rightScrollBar:\tyes\n.xterm.vt100.saveLines:\t1\n.xterm.vt100.scrollBar:\tyes\n.xterm.vt100.scrollKey:\tno\n.xterm.vt100.scrollTtyOutput:\tno\n.xterm.vt100.showMissingGlyphs:\ttrue\n.xterm.vt100.utf8Title:\ttrue\nXcursor.size:\t32\nXcursor.theme:\tComixCursors-Orange-Small\nXcursor.theme_core:\ttrue\nXft.antialias:\t1\nXft.dpi:\t100\nXft.hinting:\t1\nXft.hintstyle:\thintmedium\nXft.rgba:\tnone\n' 000::0005: 20: Request(98): QueryExtension name='XKEYBOARD' 000::0x0005:32: Reply to QueryExtension: present=true(0x01) major-opcode=149 first-event=111 first-error=176 000::0006: 8: XKEYBOARD-Request(149,0): unknown 000::0006:32: unexpected reply 000::0007: 24: Request(16): InternAtom only-if-exists=false(0x00) name='_NET_SUPPORTED' 000::0x0007:32: Reply to InternAtom: atom=0x168(_NET_SUPPORTED) 000::0008: 24: Request(16): InternAtom only-if-exists=false(0x00) name='_NET_WM_STATE' 000::0x0008:32: Reply to InternAtom: atom=0x10c(_NET_WM_STATE) 000::0009: 32: Request(16): InternAtom only-if-exists=false(0x00) name='_NET_WM_STATE_FULLSCREEN' 000::0x0009:32: Reply to InternAtom: atom=0x110(_NET_WM_STATE_FULLSCREEN) 000::000a: 28: Request(16): InternAtom only-if-exists=false(0x00) name='_NET_WM_STATE_ABOVE' 000::0x000a:32: Reply to InternAtom: atom=0x181(_NET_WM_STATE_ABOVE) 000::000b: 36: Request(16): InternAtom only-if-exists=false(0x00) name='_NET_WM_STATE_STAYS_ON_TOP' 000::0x000b:32: Reply to InternAtom: atom=0x1b7(_NET_WM_STATE_STAYS_ON_TOP) 000::000c: 28: Request(16): InternAtom only-if-exists=false(0x00) name='_NET_WM_STATE_BELOW' 000::0x000c:32: Reply to InternAtom: atom=0x182(_NET_WM_STATE_BELOW) 000::000d: 20: Request(16): InternAtom only-if-exists=false(0x00) name='_NET_WM_PID' 000::0x000d:32: Reply to InternAtom: atom=0x10a(_NET_WM_PID) 000::000e: 24: Request(16): InternAtom only-if-exists=false(0x00) name='_WIN_PROTOCOLS' 000::0x000e:32: Reply to InternAtom: atom=0x15b(_WIN_PROTOCOLS) 000::000f: 20: Request(16): InternAtom only-if-exists=false(0x00) name='_WIN_LAYER' 000::0x000f:32: Reply to InternAtom: atom=0x15c(_WIN_LAYER) 000::0010: 20: Request(16): InternAtom only-if-exists=false(0x00) name='_WIN_HINTS' 000::0x0010:32: Reply to InternAtom: atom=0x15e(_WIN_HINTS) 000::0011: 24: Request(16): InternAtom only-if-exists=false(0x00) name='_BLACKBOX_PID' 000::0x0011:32: Reply to InternAtom: atom=0x258(_BLACKBOX_PID) 000::0012: 20: Request(16): InternAtom only-if-exists=false(0x00) name='WM_PROTOCOLS' 000::0x0012:32: Reply to InternAtom: atom=0x104(WM_PROTOCOLS) 000::0013: 24: Request(16): InternAtom only-if-exists=false(0x00) name='WM_DELETE_WINDOW' 000::0x0013:32: Reply to InternAtom: atom=0x102(WM_DELETE_WINDOW) 000::0014: 32: Request(98): QueryExtension name='XFree86-VidModeExtension' 000::0x0014:32: Reply to QueryExtension: present=true(0x01) major-opcode=134 first-event=0 first-error=130 000::0015: 4: XFree86-VidModeExtension-Request(134,0): XF86VidModeQueryVersion 000::0x0015:32: Reply to XF86VidModeQueryVersion: major-version=2 minor-version=2 000::0016: 8: XFree86-VidModeExtension-Request(134,14): XF86VidModeSetClientVersion major=2 minor=2 000::0017: 8: XFree86-VidModeExtension-Request(134,1): XF86VidModeGetModeLine screen=0 [EMAIL PROTECTED]:~$ X.Org X Server 1.4.2 Release Date: 11 June 2008 X Protocol Version 11, Revision 0 Build Operating System: Linux Debian (xorg-server 2:1.4.2-5) Current Operating System: Linux Tao 2.6.26-1-686 #1 SMP Thu Aug 28 12:00:54 UTC 2008