marking as triaged, putting debugging info into the description, and
setting to "high" importance:

Has a severe impact on a small portion of Ubuntu users (estimated) 
Has a moderate impact on a large portion of Ubuntu users (estimated) 

And this is a regression, adding tag "regression-release"

** Description changed:

  Binary package hint: vino
  
- vino-server will no longer work for me - it crashes within 3 seconds of
- starting it.  I had been using it in 10.04 without issue and configured
- through vino-preferences.  apport does not intercept this crash either
- so i did a manual backtrace with gdb:
+ When starting vino-server, the following messages appear:
+ 
+ $ /usr/lib/vino/vino-server
+ 14/10/2010 07:47:39 PM Autoprobing TCP port in (all) network interface
+ 14/10/2010 07:47:39 PM Listening IPv6://[::]:5900
+ 14/10/2010 07:47:39 PM Listening IPv4://0.0.0.0:5900
+ 14/10/2010 07:47:39 PM Autoprobing selected port 5900
+ 14/10/2010 07:47:39 PM Advertising security type: 'TLS' (18)
+ 14/10/2010 07:47:39 PM Advertising authentication type: 'VNC Authentication' 
(2)
+ 14/10/2010 07:47:39 PM Advertising security type: 'VNC Authentication' (2)
+ ** Message: Received signal 11, exiting...
  
  
- m...@rounder:~$ gdb /usr/lib/vino/vino-server
- GNU gdb (GDB) 7.2-ubuntu
- Copyright (C) 2010 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
- and "show warranty" for details.
- This GDB was configured as "i686-linux-gnu".
- For bug reporting instructions, please see:
- <http://www.gnu.org/software/gdb/bugs/>...
- Reading symbols from /usr/lib/vino/vino-server...(no debugging symbols 
found)...done.
- (gdb) start
- Function "main" not defined.
- Make breakpoint pending on future shared library load? (y or [n]) 
+ The packaged worked in 10.04, but 10.10 appears to be buggy.
  
- Starting program: /usr/lib/vino/vino-server 
- [Thread debugging using libthread_db enabled]
- [New Thread 0xb7ddab70 (LWP 12058)]
- 30/09/2010 07:31:23 AM Autoprobing TCP port in (all) network interface
- 30/09/2010 07:31:23 AM Listening IPv6://[::]:5900
- 30/09/2010 07:31:23 AM Listening IPv4://0.0.0.0:5900
- 30/09/2010 07:31:23 AM Problems in NewSocketListenTCP()
- 30/09/2010 07:31:23 AM Listening IPv6://[::]:5901
- 30/09/2010 07:31:23 AM Listening IPv4://0.0.0.0:5901
- 30/09/2010 07:31:23 AM Autoprobing selected port 5901
- 30/09/2010 07:31:23 AM Advertising security type: 'TLS' (18)
- 30/09/2010 07:31:23 AM Advertising authentication type: 'VNC Authentication' 
(2)
- 30/09/2010 07:31:23 AM Advertising security type: 'VNC Authentication' (2)
+ valgrind yields:
  
- Program received signal SIGSEGV, Segmentation fault.
- 0x00c81370 in __nss_hostname_digits_dots () from /lib/libc.so.6
- (gdb) bt
- #0  0x00c81370 in __nss_hostname_digits_dots () from /lib/libc.so.6
- #1  0x00c85cca in gethostbyname () from /lib/libc.so.6
- #2  0x0807a5c2 in ?? ()
- #3  0x0807a9b1 in ?? ()
- #4  0x08079c53 in ?? ()
- #5  0x0805ce1d in ?? ()
- #6  0x0805d0b7 in ?? ()
- #7  0x08056d63 in ?? ()
- #8  0x08058208 in ?? ()
- #9  0x00a686f5 in ?? () from /usr/lib/libgobject-2.0.so.0
- #10 0x00a669fa in g_object_newv () from /usr/lib/libgobject-2.0.so.0
- #11 0x00a6755c in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
- #12 0x00a67677 in g_object_new () from /usr/lib/libgobject-2.0.so.0
- #13 0x08055dbf in ?? ()
- #14 0x08054557 in ?? ()
- #15 0x00bb4ce7 in __libc_start_main () from /lib/libc.so.6
- #16 0x08050bb1 in ?? ()
+ ==5334== Invalid read of size 1
+ ==5334==    at 0x4B47370: __nss_hostname_digits_dots (digits_dots.c:58)
+ ==5334==    by 0x4B4BCC9: gethostbyname (getXXbyYY.c:109)
+ ==5334==    by 0x807A5C1: miniwget2 (miniwget.c:45)
+ ==5334==    by 0x807A9B0: miniwget_getaddr (miniwget.c:223)
+ ==5334==    by 0x8079C52: UPNP_GetValidIGD (miniupnpc.c:676)
+ ==5334==    by 0x805CE1C: update_upnp_status (vino-upnp.c:96)
+ ==5334==    by 0x805D0B6: vino_upnp_add_port (vino-upnp.c:229)
+ ==5334==    by 0x8056D62: vino_server_control_upnp (vino-server.c:254)
+ ==5334==    by 0x8058207: vino_server_set_use_upnp (vino-server.c:275)
+ ==5334==    by 0x4930994: ??? (in /usr/lib/libgobject-2.0.so.0.2600.0)
+ ==5334==    by 0x492E869: g_object_newv (in 
/usr/lib/libgobject-2.0.so.0.2600.0)
+ ==5334==    by 0x492F3CB: g_object_new_valist (in 
/usr/lib/libgobject-2.0.so.0.2600.0)
+ ==5334==    by 0x492F4E6: g_object_new (in 
/usr/lib/libgobject-2.0.so.0.2600.0)
+ ==5334==    by 0x8055DBE: vino_prefs_create_server (vino-prefs.c:517)
+ ==5334==    by 0x8054556: main (vino-main.c:117)
+ ==5334==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
  
  
- not sure where to get any more debugging symbols from. Since this is somehow 
related to hostnames lemme just quote my /etc/hosts here:
+ gdb yields:
+ Thread 1 (Thread 0xb7fdba70 (LWP 5169)):
+ #0 0x00c34370 in __nss_hostname_digits_dots () from /lib/libc.so.6
+ #1 0x00c38cca in gethostbyname () from /lib/libc.so.6
+ #2 0x0807a5c2 in miniwget2 (url=<value optimized out>, host=0x0, port=2555, 
path=0x811f18b "/upnp/6c352473-8521-319e-8757-639e9dca9979/desc.xml", 
size=0xbfffefac, addr_str=0x80c0c58 "", addr_str_len=16) at miniwget.c:45
+ #3 0x0807a9b1 in miniwget_getaddr (url=0x811f174 
"http://192.168.1.1:2555/upnp/6c352473-8521-319e-8757-639e9dca9979/desc.xml";, 
size=0xbfffefac, addr=0x80c0c58 "", addrlen=16) at miniwget.c:223
+ #4 0x08079c53 in UPNP_GetValidIGD (devlist=0x811f168, urls=0x81104a8, 
data=0x811f1f8, lanaddr=0x80c0c58 "", lanaddrlen=16) at miniupnpc.c:676
+ #5 0x0805ce1d in update_upnp_status (upnp=0x80c0c40) at vino-upnp.c:96
+ #6 0x0805d0b7 in vino_upnp_add_port (upnp=0x80c0c40, port=5900) at 
vino-upnp.c:229
+ #7 0x08056d63 in vino_server_control_upnp (server=0x8108600) at 
vino-server.c:254
+ #8 0x08058208 in vino_server_set_use_upnp (server=0x8108600, use_upnp=1) at 
vino-server.c:275
+ #9 0x00a1d995 in ?? () from /usr/lib/libgobject-2.0.so.0
+ #10 0x00a1b86a in g_object_newv () from /usr/lib/libgobject-2.0.so.0
+ #11 0x00a1c3cc in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
+ #12 0x00a1c4e7 in g_object_new () from /usr/lib/libgobject-2.0.so.0
+ #13 0x08055dbf in vino_prefs_create_server (screen=0x80be0c8) at 
vino-prefs.c:517
+ #14 0x08054557 in main (argc=1, argv=0xbffff4a4) at vino-main.c:117
  
  
- m...@rounder:~$ cat /etc/hosts
- 192.168.1.3   rounder # Added by NetworkManager
- 127.0.0.1     localhost.localdomain   localhost
- ::1   rounder localhost6.localdomain6 localhost6
- 127.0.1.1     rounder
+ the appearance of upnp functions, and the fact the bug disappears when
+ upnp is disabled at the router, points to a UPnP bug in vino-server.
  
- # The following lines are desirable for IPv6 capable hosts
- ::1     localhost ip6-localhost ip6-loopback
- fe00::0 ip6-localnet
- ff00::0 ip6-mcastprefix
- ff02::1 ip6-allnodes
- ff02::2 ip6-allrouters
- ff02::3 ip6-allhosts
- 
- 
- Further information:
- 
- m...@rounder:~$ lsb_release -rd
- Description:  Ubuntu maverick (development branch)
- Release:      10.10
- 
- 
- m...@rounder:~$ apt-cache policy vino       
- vino:
-   Installed: 2.31.91-0ubuntu2
-   Candidate: 2.31.91-0ubuntu2
-   Version table:
-  *** 2.31.91-0ubuntu2 0
-         500 http://us.archive.ubuntu.com/ubuntu/ maverick/main i386 Packages
-         100 /var/lib/dpkg/status
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: vino 2.31.91-0ubuntu2
  ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
  Uname: Linux 2.6.35-22-generic i686
  Architecture: i386
  Date: Fri Oct  1 08:28:54 2010
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha i386 (20100602.2)
  ProcEnviron:
-  LANG=en_US.utf8
-  SHELL=/bin/bash
+  LANG=en_US.utf8
+  SHELL=/bin/bash
  SourcePackage: vino

** Changed in: vino (Ubuntu)
       Status: Confirmed => Triaged

** Changed in: vino (Ubuntu)
   Importance: Undecided => High

** Tags added: amd64 regression-release

-- 
vino-server won't start (SIGSEGV) when UPnP is enabled
https://bugs.launchpad.net/bugs/652961
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to