[gtk-vnc-devel] Segfault



Hi, folks.

I'm getting a segmentation fault in vinagre, related to gtk-vnc:

-I connect into 200.100.100.246, type my password, the connection is OK;
-I connect into 200.100.100.191, type my password, and vinagre crashes.

I'm attaching the gdb log, i guess it can be useful.

Any idea?
-- 
Jonh Wendell
jonh wendell gmail com (MSN / Google Talk)

Linux User #114432
https://launchpad.net/~wendell
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) handle SIG33 pass nostop noprint
Signal        Stop	Print	Pass to program	Description
SIG33         No	No	Yes		Real-time event 33
(gdb) set pagination 0
(gdb) run(gdb) run
Starting program: /home/wendell/sistemas/gnome/vinagre/src/vinagre 
[Thread debugging using libthread_db enabled]
[New Thread -1221941584 (LWP 23243)]
Started background coroutine
Resolving host 200.100.100.246 5900
Trying socket 15
Protocol initialization
Negotiated protocol 3 6
Possible auth 2
Requested auth type 2
Waiting for auth type
Choose auth 2
Requesting missing credentials
Set password credential
Waiting for missing credentials
Got all credentials
Do Challenge
Checking auth result
Success
Pixel format BPP: 32,  Depth: 32, Byte order: 1234, True color: 1
             Mask  red: 255, green: 255, blue: 255
             Shift red:  16, green:   8, blue:   0
Display name 'mac_cpd_lab ( 200.100.100.246 )'
Mask local: 255 255 255
    remote: 255 255 255
    merged: 255 255 255
Pixel shifts
   right:  16   8   0
    left:  16   8   0
Running main loop
FramebufferUpdate(5, 0, 0, 1024, 768)
FramebufferUpdate(5, 0, 0, 1024, 768)
FramebufferUpdate(5, 959, 744, 16, 16)
FramebufferUpdate(5, 959, 744, 16, 16)
FramebufferUpdate(5, 959, 744, 16, 16)
Started background coroutine
Resolving host 200.100.100.191 5900
Trying socket 16
Protocol initialization
Negotiated protocol 3 6
Possible auth 2
Requested auth type 2
Waiting for auth type
Choose auth 2
Requesting missing credentials
FramebufferUpdate(5, 959, 744, 16, 16)
Set password credential
Waiting for missing credentials
Got all credentials
Do Challenge
Checking auth result

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1221941584 (LWP 23243)]
0xb7dc9e85 in g_io_wait (channel=0x83a7d18, cond=G_IO_IN) at gvnc.c:149
149		return *ret;
(gdb) backtrace full
#0  0xb7dc9e85 in g_io_wait (channel=0x83a7d18, cond=G_IO_IN) at gvnc.c:149
	ret = (GIOCondition *) 0x0
#1  0xb7dca208 in gvnc_read (gvnc=0x839ce00, data=0xb4432a28, len=4) at gvnc.c:285
	ret = -1
	tmp = 3084745926
	fd = 16
	ptr = 0xb4432a28 ""
	offset = 0
#2  0xb7dca6bf in gvnc_read_u32 (gvnc=0x839ce00) at gvnc.c:442
	value = 0
#3  0xb7dd11e0 in gvnc_check_auth_result (gvnc=0x839ce00) at gvnc.c:1314
	result = 2
#4  0xb7dd14b8 in gvnc_perform_auth_vnc (gvnc=0x839ce00) at gvnc.c:1359
	challenge = "\b�&\003�&U�Q���"
	key = "passwd\000"
#5  0xb7dd271c in gvnc_perform_auth (gvnc=0x839ce00) at gvnc.c:1805
	nauth = 1
	i = 1
	auth = {2, 3076145491, 3084753052, 3084690367, 3074996011, 3084753052, 3076081024, 137963208, 3024301856, 3075033346}
#6  0xb7dd2d10 in gvnc_initialize (gvnc=0x839ce00, shared_flag=0) at gvnc.c:1979
	ret = 2
	version = "RFB 003.006\000"
	n_name = 3076081024
#7  0xb7dd5943 in vnc_coroutine (opaque=0x834c4d8) at vncdisplay.c:696
	obj = (VncDisplay *) 0x834c4d8
	priv = (VncDisplayPrivate *) 0x834c520
	encodings = {-223, -239, -240, -258, -257, 5, 1, 0}
	ret = 0
#8  0xb7dc92e5 in coroutine_trampoline (cc=0x834c588) at coroutine.c:37
	co = (struct coroutine *) 0x834c570
#9  0xb74885d4 in makecontext () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#10 0x0834c588 in ?? ()

(gdb) quit
The program is running.  Exit anyway? (y or n) 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]