Ticket #76 (new Bug)
Bad root window with vncserver
| Reported by: | mcalamelli | Owned by: | |
|---|---|---|---|
| Priority: | Major | Milestone: | Enlightenment 0.17.1 |
| Component: | enlightenment | Keywords: | vncserver xrandr root window |
| Cc: | Blocked By: | ||
| Blocking: |
Description
If I try to run e17 under vncserver I get a segfault in xrandr because the root window passed is invalid.
I traced the error all the way back to the roots array in the e17 startup contains an invalid pointer (always 0x25 here)
This roots array is filled from ecore_x_window_root_list() but I don't know enough X to be able to understand what is going on in this function.
Can others reproduce this please? (Xrandr and vncserver are both the latest debian versions)
Attachments
Change History
comment:3 in reply to: ↑ 1 Changed 18 months ago by beber
Replying to mcalamelli:
BUGZILLA ID 133
Comment 1 From mehturt 2007-07-30 05:06:24
I get a crash dialog each time I run e17 in vnc.. The recover (F1) does not work.. Xrandr does not work - it says extension RANDR missing on display :1 - do I need to configure anything?
this is a test
comment:4 Changed 7 months ago by Sleep_Walker
I can confirm that this doesn't work. But E is handling the issue correctly, but Xvnc sagfaults.
output of X:
# Xvnc :1 01/11/2011 09:19:23 Xvnc version X.org/xf4vnc custom version 01/11/2011 09:19:23 Copyright (C) 2001-2004 Alan Hourihane. 01/11/2011 09:19:23 Copyright (C) 2000-2004 Constantin Kaplinsky 01/11/2011 09:19:23 Copyright (C) 1999 AT&T Laboratories Cambridge 01/11/2011 09:19:23 All Rights Reserved. 01/11/2011 09:19:23 See http://www.tightvnc.com/ for information on TightVNC 01/11/2011 09:19:23 See http://xf4vnc.sf.net for xf4vnc-specific information 01/11/2011 09:19:23 Desktop name 'x11' (crashnator:1) 01/11/2011 09:19:23 Protocol versions supported: 3.7, 3.3 01/11/2011 09:19:23 Listening for VNC connections on TCP port 5901 [dix] Could not init font path element /usr/share/fonts/TTF/, removing from list! [dix] Could not init font path element /usr/share/fonts/OTF/, removing from list! [dix] Could not init font path element /usr/share/fonts/misc/sgi:unscaled, removing from list! 01/11/2011 09:19:29 01/11/2011 09:19:29 Got VNC connection from client 127.0.0.1 01/11/2011 09:19:29 Using protocol version 3.7 01/11/2011 09:19:29 Enabling TightVNC protocol extensions 01/11/2011 09:19:29 Pixel format for client 127.0.0.1: 01/11/2011 09:19:29 32 bpp, depth 24, little endian 01/11/2011 09:19:29 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0 01/11/2011 09:19:29 Using raw encoding for client 127.0.0.1 01/11/2011 09:19:29 Using copyrect encoding for client 127.0.0.1 01/11/2011 09:19:29 Using compression level 1 for client 127.0.0.1 01/11/2011 09:19:29 Using image quality level 6 for client 127.0.0.1 01/11/2011 09:19:29 Enabling X-style cursor updates for client 127.0.0.1 01/11/2011 09:19:29 Enabling cursor position updates for client 127.0.0.1 01/11/2011 09:19:29 Enabling LastRect protocol extension for client 127.0.0.1 01/11/2011 09:19:29 rfbProcessClientNormalMessage: ignoring unknown encoding -223 Backtrace: 0: Xvnc (xorg_backtrace+0x28) [0x55b338] 1: Xvnc (0x400000+0x15ebf9) [0x55ebf9] 2: /lib64/libc.so.6 (0x7fce92fb5000+0x32b30) [0x7fce92fe7b30] 3: /lib64/libc.so.6 (0x7fce92fb5000+0x7d7e2) [0x7fce930327e2] 4: Xvnc (0x400000+0x124cbd) [0x524cbd] 5: Xvnc (0x400000+0x1253d1) [0x5253d1] 6: Xvnc (0x400000+0x6ee91) [0x46ee91] 7: Xvnc (0x400000+0x5dd7e) [0x45dd7e] 8: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7fce92fd3bfd] 9: Xvnc (0x400000+0x1a8f9) [0x41a8f9] Segmentation fault at address (nil) Fatal server error: Caught signal 11 (Segmentation fault). Server aborting
output of enlightenment_start:
$ DISPLAY=:1 enlightenment_start E - PID=16858, do_precache=0, valgrind=0 ESTART: 0.00000 [0.00000] - Begin Startup ESTART: 0.00013 [0.00013] - Signal Trap ESTART: 0.00016 [0.00003] - Signal Trap Done ESTART: 0.00036 [0.00020] - Eina Init ESTART: 0.00112 [0.00076] - Eina Init Done ESTART: 0.00114 [0.00002] - Determine Prefix ================================= Enlightenment relocation handling ================================= PREFIX: /usr BINDIR: /usr/bin LIBDIR: /usr/lib64 DATADIR: /usr/share/enlightenment LOCALE: /usr/share/locale ================================= ESTART: 0.00131 [0.00016] - Determine Prefix Done ESTART: 0.00135 [0.00004] - Environment Variables ESTART: 0.00140 [0.00005] - Environment Variables Done ESTART: 0.00142 [0.00001] - Parse Arguments ESTART: 0.00144 [0.00002] - Parse Arguments Done ESTART: 0.00233 [0.00089] - Eet Init ESTART: 0.00843 [0.00610] - Eet Init Done ESTART: 0.00849 [0.00006] - Ecore Init ESTART: 0.00900 [0.00051] - Ecore Init Done ESTART: 0.00902 [0.00002] - Ecore Event Handlers ESTART: 0.00903 [0.00001] - Ecore Event Handlers Done ESTART: 0.00904 [0.00001] - Ecore_IMF Init Xlib: extension "RANDR" missing on display ":1.0".
I'd suggest to move priority to Normal.

BUGZILLA ID 133
Comment 1 From mehturt 2007-07-30 05:06:24
I get a crash dialog each time I run e17 in vnc.. The recover (F1) does not work.. Xrandr does not work - it says extension RANDR missing on display :1 - do I need to configure anything?