maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   VNC Server Crashes on Incoming Call (x11vnc) (https://talk.maemo.org/showthread.php?t=63458)

mail_e36 2010-10-06 19:44

VNC Server Crashes on Incoming Call (x11vnc)
 
I have noticed that the N900 VNC server (x11vnc) seems to crash upon getting an incoming call. I'm not sure if it crashes because of the change in device orientation, or because of something disruptive that happens during an incoming call.

Below is the text that comes up in the console when it crashes (debug dump):

HTML Code:

06/10/2010 15:33:24 check_xrandr_event():
06/10/2010 15:33:24 Detected XRANDR event at location 'check_xevents':
06/10/2010 15:33:24  timestamp:      12648
06/10/2010 15:33:24  cfg_timestamp:  12648
06/10/2010 15:33:24  size_id:        65535
06/10/2010 15:33:24  sub_pixel:      0
06/10/2010 15:33:24  rotation:        2
06/10/2010 15:33:24  width:          800
06/10/2010 15:33:24  height:          480
06/10/2010 15:33:24  mwidth:          211 mm
06/10/2010 15:33:24  mheight:        127 mm
06/10/2010 15:33:24
06/10/2010 15:33:24 check_xrandr_event: previous WxH: 480x800
06/10/2010 15:33:24 check_xrandr_event: updating config...
06/10/2010 15:33:24 xrandr_mode: default
06/10/2010 15:33:24 check_xrandr_event: trying to create new framebuffer...
06/10/2010 15:33:24 deleted 15 tile_row polling images.
06/10/2010 15:33:24 Default visual ID: 0x21
06/10/2010 15:33:24 Read initial data from X display into framebuffer.
06/10/2010 15:33:25 Read initial data from X display into framebuffer.
caught signal: 11
Segmentation fault

Any thoughts are welcome

AlMehdi 2010-10-06 19:54

Re: VNC Server Crashes on Incoming Call (x11vnc)
 
The incoming call have higher priority than a program..

mail_e36 2010-10-06 20:06

Re: VNC Server Crashes on Incoming Call (x11vnc)
 
Perhaps, but is that reason enough to kill x11vnc? Other programs seems to continue running fine when getting a call.

Quote:

Originally Posted by AlMehdi (Post 835034)
The incoming call have higher priority than a program..


Megaltariak 2010-10-06 21:04

Re: VNC Server Crashes on Incoming Call (x11vnc)
 
It is because the change of device orientation.
You can encapsulate it into a loop to force it to restart after crash (of course you will have also to restart the VNC connection.)

TiagoTiago 2010-10-06 21:12

Re: VNC Server Crashes on Incoming Call (x11vnc)
 
yeah, it crashes the same way when you are using the web browser and turn it sideways

krunge 2010-10-07 00:20

Re: VNC Server Crashes on Incoming Call (x11vnc)
 
Is the maemo version of x11vnc still 0.9.3? That is 3 years old, I think some XRANDR bugs have been fixed since then.

If you can't get a newer version, try adding the "-xrandr" option and see if that helps.

mail_e36 2010-10-07 13:56

Re: VNC Server Crashes on Incoming Call (x11vnc)
 
It would be super nice if someone with the proper skills updated the Maemo version of x11vnc.

colchaodemola 2011-04-03 18:40

Re: VNC Server Crashes on Incoming Call (x11vnc)
 
install the normal x11vnc from repository (0.9.3) and unpack the attached file like this: tar -xvzf x11vnc.tgz -C /usr ... this will update to 0.9.12 and fix the crashes when rotation ...


Please do not forget the -C /usr in the tar command or you will end up with 2 x11vnc in two different paths ...


i could not attache the file because it was over 448K, so i am uploading it to http://rapidshare.com/files/455735997/x11vnc.tgz

LightRain 2011-10-18 07:56

Re: VNC Server Crashes on Incoming Call (x11vnc)
 
Quote:

Originally Posted by colchaodemola (Post 981155)
install the normal x11vnc from repository (0.9.3) and unpack the attached file like this: tar -xvzf x11vnc.tgz -C /usr ... this will update to 0.9.12 and fix the crashes when rotation ...


Please do not forget the -C /usr in the tar command or you will end up with 2 x11vnc in two different paths ...


i could not attache the file because it was over 448K, so i am uploading it to http://rapidshare.com/files/455735997/x11vnc.tgz

The file is not available anymore. Can anyone help?

colchaodemola 2011-10-18 09:24

Re: VNC Server Crashes on Incoming Call (x11vnc)
 
try this:
http://www.megaupload.com/?d=MIAMMQ59


All times are GMT. The time now is 04:57.

vBulletin® Version 3.8.8