[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#500627: x11vnc: segfault with xrandr -o 0 on arm



Package: x11vnc
Version: 0.9.3.dfsg.1-1
Severity: normal

Steps to reproduce:
1) Get openmoko freerunner and install xserver-xglamo package from
pkg-fso repository http://pkg-fso.alioth.debian.org/debian/
2) run xrandr -o 3
3) start x11vnc
4) connect to the vncserver with xvnc4viewer
5) run xrandr -o 0

Expected results:
5) x11vnc does not crash

Actual results:
5) x11vnc segfaults

More info:
1) Full output of x11vnc:

29/09/2008 23:31:29 Using X display :0
29/09/2008 23:31:29 
29/09/2008 23:31:29 ------------------ USEFUL INFORMATION ------------------
29/09/2008 23:31:29 X DAMAGE available on display, using it for polling hints.
29/09/2008 23:31:29   To disable this behavior use: '-noxdamage'
29/09/2008 23:31:29 
29/09/2008 23:31:29 Wireframing: -wireframe mode is in effect for window moves.
29/09/2008 23:31:29   If this yields undesired behavior (poor response, painting
29/09/2008 23:31:29   errors, etc) it may be disabled:
29/09/2008 23:31:29    - use '-nowf' to disable wireframing completely.
29/09/2008 23:31:29    - use '-nowcr' to disable the Copy Rectangle after the
29/09/2008 23:31:29      moved window is released in the new position.
29/09/2008 23:31:29   Also see the -help entry for tuning parameters.
29/09/2008 23:31:29   You can press 3 Alt_L's (Left "Alt" key) in a row to 
29/09/2008 23:31:29   repaint the screen, also see the -fixscreen option for
29/09/2008 23:31:29   periodic repaints.
29/09/2008 23:31:29 
29/09/2008 23:31:29 XFIXES available on display, resetting cursor mode
29/09/2008 23:31:29   to: '-cursor most'.
29/09/2008 23:31:29   to disable this behavior use: '-cursor arrow'
29/09/2008 23:31:29   or '-noxfixes'.
29/09/2008 23:31:29 using XFIXES for cursor drawing.
29/09/2008 23:31:29 GrabServer control via XTEST.
29/09/2008 23:31:29 
29/09/2008 23:31:29 Scroll Detection: -scrollcopyrect mode is in effect to
29/09/2008 23:31:29   use RECORD extension to try to detect scrolling windows
29/09/2008 23:31:29   (induced by either user keystroke or mouse input).
29/09/2008 23:31:29   If this yields undesired behavior (poor response, painting
29/09/2008 23:31:29   errors, etc) it may be disabled via: '-noscr'
29/09/2008 23:31:29   Also see the -help entry for tuning parameters.
29/09/2008 23:31:29   You can press 3 Alt_L's (Left "Alt" key) in a row to 
29/09/2008 23:31:29   repaint the screen, also see the -fixscreen option for
29/09/2008 23:31:29   periodic repaints.
29/09/2008 23:31:29 warning: XKEYBOARD extension not present.
29/09/2008 23:31:29 warning: disabling bell. XKEYBOARD ext. not present.
29/09/2008 23:31:29 X FBPM extension not supported.
29/09/2008 23:31:29 X display is not capable of DPMS.
29/09/2008 23:31:29 --------------------------------------------------------
29/09/2008 23:31:29 
29/09/2008 23:31:29 Default visual ID: 0x21
29/09/2008 23:31:30 Read initial data from X display into framebuffer.
29/09/2008 23:31:30 initialize_screen: fb_depth/fb_bpp/fb_Bpl 16/16/1280
29/09/2008 23:31:30 
29/09/2008 23:31:30 X display :0.0 is 16bpp depth=16 true color
29/09/2008 23:31:30 
29/09/2008 23:31:30 Autoprobing TCP port 
29/09/2008 23:31:30 Autoprobing selected port 5900
29/09/2008 23:31:30 fb read rate: 1 MB/sec
29/09/2008 23:31:30 screen setup finished.
29/09/2008 23:31:30 
29/09/2008 23:31:30 WARNING: You are running x11vnc WITHOUT a password.  See
29/09/2008 23:31:30 WARNING: the warning message printed above for more info.
29/09/2008 23:31:30 

The VNC desktop is:      ginger:0
PORT=5900

******************************************************************************
Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?

The scheme stores pixel data offscreen on the VNC viewer side for faster
retrieval.  It should work with any VNC viewer.  Try it by running:

    x11vnc -ncache 10 ...

more info: http://www.karlrunge.com/x11vnc/#faq-client-caching

29/09/2008 23:31:31 Got connection from client 192.168.0.200
29/09/2008 23:31:31   other clients:
29/09/2008 23:31:31 Disabled X server key autorepeat.
29/09/2008 23:31:31   to force back on run: 'xset r on' (3 times)
29/09/2008 23:31:31 created xdamage object: 0x1200018
29/09/2008 23:31:32 Client Protocol Version 3.8
29/09/2008 23:31:32 Protocol version sent 3.8, using 3.8
29/09/2008 23:31:32 rfbProcessClientSecurityType: executing handler for type 1
29/09/2008 23:31:32 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8
29/09/2008 23:31:32 Pixel format for client 192.168.0.200:
29/09/2008 23:31:32   8 bpp, depth 6
29/09/2008 23:31:32   true colour: max r 3 g 3 b 3, shift r 4 g 2 b 0
29/09/2008 23:31:32 Enabling full-color cursor updates for client 192.168.0.200
29/09/2008 23:31:32 Enabling NewFBSize protocol extension for client 192.168.0.200
29/09/2008 23:31:32 Using ZRLE encoding for client 192.168.0.200
29/09/2008 23:31:32 Pixel format for client 192.168.0.200:
29/09/2008 23:31:32   32 bpp, depth 24, little endian
29/09/2008 23:31:32   true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
29/09/2008 23:31:32 Enabling full-color cursor updates for client 192.168.0.200
29/09/2008 23:31:32 Enabling NewFBSize protocol extension for client 192.168.0.200
29/09/2008 23:31:32 Switching from ZRLE to hextile Encoding for client 192.168.0.200

29/09/2008 23:31:39 check_xrandr_event():
29/09/2008 23:31:39 Detected XRANDR event at location 'before-scan':
29/09/2008 23:31:39 check_xrandr_event: Resize; enabling full XRANDR trapping.
29/09/2008 23:31:39 xrandr_mode: default
29/09/2008 23:31:39 check_xrandr_event: trying to create new framebuffer...
29/09/2008 23:31:39 deleted 20 tile_row polling images.
29/09/2008 23:31:39 Default visual ID: 0x21
29/09/2008 23:31:39 Read initial data from X display into framebuffer.
29/09/2008 23:31:39 initialize_screen: fb_depth/fb_bpp/fb_Bpl 16/16/1280
29/09/2008 23:31:39 rfbNewFramebuffer(0x2c9410, 0x0, 640, 480, 5, 1, 2)
29/09/2008 23:31:39 Pixel format for client 192.168.0.200:
29/09/2008 23:31:39   32 bpp, depth 24, little endian
29/09/2008 23:31:39   true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
29/09/2008 23:31:39 
29/09/2008 23:31:39 X display :0.0 is 16bpp depth=16 true color
29/09/2008 23:31:39 
29/09/2008 23:31:39 calling setTranslateFunction()...
29/09/2008 23:31:39 Pixel format for client 192.168.0.200:
29/09/2008 23:31:39   32 bpp, depth 24, little endian
29/09/2008 23:31:39   true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
29/09/2008 23:31:39   done.
29/09/2008 23:31:39 check_xrandr_event: fb       WxH: 640x480
29/09/2008 23:31:39 check_xrandr_event():
29/09/2008 23:31:39 Detected XRANDR event at location 'scan_display-set':
29/09/2008 23:31:39   serial:          1076
29/09/2008 23:31:39   timestamp:       -1346579058
29/09/2008 23:31:39   cfg_timestamp:   -1346197028
29/09/2008 23:31:39   size_id:         1
29/09/2008 23:31:39   sub_pixel:       0
29/09/2008 23:31:39   rotation:        8
29/09/2008 23:31:39   width:           640
29/09/2008 23:31:39   height:          480
29/09/2008 23:31:39   mwidth:          43 mm
29/09/2008 23:31:39   mheight:         58 mm
29/09/2008 23:31:39 
29/09/2008 23:31:39 check_xrandr_event: previous WxH: 640x480
29/09/2008 23:31:39 check_xrandr_event: updating config...
29/09/2008 23:31:39 xrandr_mode: default
29/09/2008 23:31:39 check_xrandr_event: trying to create new framebuffer...
29/09/2008 23:31:39 deleted 20 tile_row polling images.
29/09/2008 23:31:39 Default visual ID: 0x21
29/09/2008 23:31:39 Read initial data from X display into framebuffer.
29/09/2008 23:31:39 Read initial data from X display into framebuffer.
caught signal: 11
Segmentation fault

If I have time I can try to recompile x11vnc with debugging symbols so
that we can get a useful backtrace.



Reply to: