vino-server crashes after connect if resolution has been changed via xrandr

Bug #43050 reported by Andrew Jorgensen on 2006-05-05
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
vino (Ubuntu)
Ubuntu Desktop Bugs

Bug Description

If you connect to vino after having changed the resolution with "Screen Resolution Preferences" (or xrandr) it crashes the vino server and you have to connect again. This is odd because changing the resolution while connected to vino works fine (the client window is resized also and stays connected).

Dapper, updated daily.

Sebastien Bacher (seb128) wrote :

Thanks for your bug. What client do you use? Could you get a backtrace of the crash?
- gdb -p $(pidof vino-server)
(gdb) continue
.. connect to the server to get the crash
(gdb) thread apply all bt

Changed in vino:
assignee: nobody → desktop-bugs
status: Unconfirmed → Needs Info
Andrew Jorgensen (ajorg) wrote :

(gdb) thread apply all bt

Thread 1 (Thread -1223874880 (LWP 5422)):
#0 0x0806043b in defaultPtrAddEvent ()
#1 0x080648fa in rfbTranslateNone ()
#2 0x0805964e in defaultPtrAddEvent ()
#3 0x080561c5 in defaultPtrAddEvent ()
#4 0x080518d3 in ?? ()
#5 0x080f2c10 in ?? ()
#6 0x00000000 in ?? ()

Changed in vino:
status: Needs Info → Unconfirmed
Andrew Jorgensen (ajorg) wrote :

I have had this crash from both windows and linux vnc clients. And even if the client was causing the crash through some bad behavior (which it appears not to be) it would still be a bug in the server to crash.

For me it didn't crash, but it also didn't detect the new screen resolution. I made the resolution one size larger, and connecting on the client from another ubuntu machine just shows me a window that is "too small" (there is stuff cut off on the bottom and right and it does not scroll).

Andrew Jorgensen (ajorg) wrote :

I have also seen the behavior where changing the screen size will simply not be detected but I usually still see crashes as well.

Sebastien Bacher (seb128) wrote :

I've forwarded the issue upstream with a debug backtrace:

Changed in vino:
status: Unconfirmed → Confirmed
Changed in vino:
status: Unknown → Unconfirmed
Changed in vino:
status: Unconfirmed → Confirmed
Jonh Wendell (wendell) wrote :

Fixed in upstream.

Changed in vino:
status: Confirmed → Fix Released
Changed in vino:
status: Fix Released → Fix Committed
Changed in vino:
status: Confirmed → Fix Released
Jonh Wendell (wendell) on 2007-02-27
Changed in vino:
status: Fix Committed → Fix Released
Sebastien Bacher (seb128) wrote :

Fixed with that upload:

 vino (2.17.92-0ubuntu1) feisty; urgency=low
   * New upstream version:
     - A few issues related to new Vino Status Icon
     - Adjust Categories in desktop file according with new Control Center
     - Fix minor issues about GnomeIconTheme usage
     - Updates port number in preferences window when server starts
     - Fix "crashes after connect if resolution has been changed via xrandr"
       (Ubuntu: #43050)
   * debian/
     - package maintained by the Ubuntu Desktop Team
   * debian/patches/70_relibtoolize.patch:
     - dropped, the new tarball has been made with the Debian libtool

Changed in vino:
importance: Unknown → Critical
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.