[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Segfault with latest rfb patch + qemu CVS
From: |
Johannes Schindelin |
Subject: |
Re: [Qemu-devel] Segfault with latest rfb patch + qemu CVS |
Date: |
Sat, 9 Oct 2004 16:13:45 +0200 (CEST) |
Hi,
On Sat, 9 Oct 2004, Matthew Bloch wrote:
> Am trying to get the latest rfb8 patch working with the latest CVS qemu
> (from libvncserver.sf.net/qemu) but not having a lot of luck. I made
> one modification to vnc.c which took out the reference to the SDL
> display driver which I didn't want to compile in.
And it doesn't work without your change, too?
> Starting program: /home/mattbee/builds/qemu/i386-softmmu/qemu -vnc -k
> en-gb ../../hda
> [Thread debugging using libthread_db enabled]
> [New Thread 1075684928 (LWP 19768)]
> Connected to host network interface: tun0
> Detaching after fork from child process 19772.
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1075684928 (LWP 19768)]
> 0x40118844 in strcmp () from /lib/tls/libc.so.6
> (gdb) bt
> #0 0x40118844 in strcmp () from /lib/tls/libc.so.6
> #1 0xffffffff in ?? ()
> #2 0x0807dc93 in get_keysym (name=0xbfffc860 "Shift_R")
> at keyboard_rdesktop.c:20
Strange. The STRCMP in my version is on line 13, not 20. Are you sure you
haven't made more changes? Anyway, this is a binary search through all
keysyms. The only way there can be a SIGSEGV is that the indexes go out of
bounds. Or your keysym_adapter_vnc.h is fscked. It should be a very long
array of struct name2keysym_t.
Hth,
Dscho