Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351149 - net-misc/vinagre-2.30.3 crash when i put a bad password logging on local vnc (vino)
Summary: net-misc/vinagre-2.30.3 crash when i put a bad password logging on local vnc ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-08 20:01 UTC by Pablo Cholaky
Modified: 2011-02-17 09:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,5.34 KB, text/plain)
2011-01-08 20:06 UTC, Pablo Cholaky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo Cholaky 2011-01-08 20:01:43 UTC
Vinagre just crash when i put a incorrect password, setted on vino, works fine when the password is correct.

Vino-server says:


08/01/2011 16:56:16 Autoprobing TCP port in (all) network interface
08/01/2011 16:56:16 Listening IPv{4,6}://*:5900
08/01/2011 16:56:16 Autoprobing selected port 5900
08/01/2011 16:56:16 Advertising security type: 'TLS' (18)
08/01/2011 16:56:16 Advertising authentication type: 'VNC Authentication' (2)
08/01/2011 16:56:16 Advertising security type: 'VNC Authentication' (2)
08/01/2011 16:56:38 [IPv6] Got connection from client miniCompuOne
08/01/2011 16:56:38   other clients:
08/01/2011 16:56:38 Client Protocol Version 3.7
08/01/2011 16:56:38 Advertising security type 18
08/01/2011 16:56:38 Advertising security type 2
08/01/2011 16:56:38 Client returned security type 18
08/01/2011 16:56:43 Advertising authentication type 2
08/01/2011 16:56:43 Client returned authentication type 2

** (vino-server:16116): WARNING **: VNC authentication failure from 'miniCompuOne'

08/01/2011 16:56:46 rfbAuthPasswordChecked: password check failed
08/01/2011 16:56:46 Client miniCompuOne gone
08/01/2011 16:56:46 Statistics:
08/01/2011 16:56:46   framebuffer updates 0, rectangles 0, bytes 0

Backtrace of vinagre when the problem happen:


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xadcddb70 (LWP 15750)]
g_socket_send (socket=0x0, buffer=0x82eb2a0 "\025\003\002", size=181, cancellable=0x0, error=0xadcdcf1c) at gsocket.c:1948
1948	gsocket.c: No such file or directory.
	in gsocket.c
(gdb) bt
#0  g_socket_send (socket=0x0, buffer=0x82eb2a0 "\025\003\002", size=181, cancellable=0x0, error=0xadcdcf1c) at gsocket.c:1948
#1  0xb63f080c in vnc_connection_tls_push (transport=0x82bc698, data=0x82eb2a0, len=181) at vncconnection.c:942
#2  0xb6357b63 in _gnutls_io_write_buffered (session=0x82a6b60, iptr=0x82eb2a0, n=181) at gnutls_buffers.c:707
#3  0xb6353a10 in _gnutls_send_int (session=0x82a6b60, type=GNUTLS_ALERT, htype=4294967295, _data=0xadcdd0de, sizeofdata=2)
    at gnutls_record.c:439
#4  0xb6376509 in gnutls_alert_send (session=0x82a6b60, level=GNUTLS_AL_WARNING, desc=GNUTLS_A_CLOSE_NOTIFY) at gnutls_alert.c:136
#5  0xb6354cc2 in gnutls_bye (session=0x82a6b60, how=GNUTLS_SHUT_RDWR) at gnutls_record.c:229
#6  0xb63f0b7d in vnc_connection_close (conn=0x82bc698) at vncconnection.c:4359
#7  0xb63f5a95 in vnc_connection_coroutine (opaque=0x82bc698) at vncconnection.c:4735
#8  0xb63f8e8b in coroutine_thread (opaque=0x82bc6a8) at coroutine_gthread.c:77
#9  0xb767f4ff in g_thread_create_proxy (data=0x83b4aa8) at gthread.c:1897
#10 0xb7e0fcf3 in start_thread (arg=0xadcddb70) at pthread_create.c:301
#11 0xb745c2ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Vino version: 2.32.1
Vinagre version: 2.30.3
GnuTLS version: 2.10.4

Thanks

Reproducible: Always
Comment 1 Pablo Cholaky 2011-01-08 20:04:24 UTC
I will add another problem with vinagre.

When im just disconnecting from vnc (vino-server), i get another Segmentation Fault:


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xadcddb70 (LWP 18743)]
g_socket_send (socket=0x0, buffer=0x84a7d38 "\025\003\002", size=133, cancellable=0x0, error=0xadcdcf1c) at gsocket.c:1948
1948	gsocket.c: No such file or directory.
	in gsocket.c
(gdb) bt
#0  g_socket_send (socket=0x0, buffer=0x84a7d38 "\025\003\002", size=133, cancellable=0x0, error=0xadcdcf1c) at gsocket.c:1948
#1  0xb63f080c in vnc_connection_tls_push (transport=0x832c800, data=0x84a7d38, len=133) at vncconnection.c:942
#2  0xb6357b63 in _gnutls_io_write_buffered (session=0x82e1088, iptr=0x84a7d38, n=133) at gnutls_buffers.c:707
#3  0xb6353a10 in _gnutls_send_int (session=0x82e1088, type=GNUTLS_ALERT, htype=4294967295, _data=0xadcdd0de, sizeofdata=2)
    at gnutls_record.c:439
#4  0xb6376509 in gnutls_alert_send (session=0x82e1088, level=GNUTLS_AL_WARNING, desc=GNUTLS_A_CLOSE_NOTIFY) at gnutls_alert.c:136
#5  0xb6354cc2 in gnutls_bye (session=0x82e1088, how=GNUTLS_SHUT_RDWR) at gnutls_record.c:229
#6  0xb63f0b7d in vnc_connection_close (conn=0x832c800) at vncconnection.c:4359
#7  0xb63f5a95 in vnc_connection_coroutine (opaque=0x832c800) at vncconnection.c:4735
#8  0xb63f8e8b in coroutine_thread (opaque=0x832c810) at coroutine_gthread.c:77
#9  0xb767f4ff in g_thread_create_proxy (data=0x82dff50) at gthread.c:1897
#10 0xb7e0fcf3 in start_thread (arg=0xadcddb70) at pthread_create.c:301
#11 0xb745c2ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thanks
Comment 2 Pablo Cholaky 2011-01-08 20:06:23 UTC
Created attachment 259309 [details]
emerge --info
Comment 3 Pacho Ramos gentoo-dev 2011-01-09 11:11:29 UTC
This looks to me more like an upstream problem, please report it to:
https://bugzilla.gnome.org/enter_bug.cgi?product=vinagre
Comment 4 Pacho Ramos gentoo-dev 2011-01-27 14:14:49 UTC
(In reply to comment #3)
> This looks to me more like an upstream problem, please report it to:
> https://bugzilla.gnome.org/enter_bug.cgi?product=vinagre
> 

ping