bug using vnc
Bugs item #1689688, was opened at 2007-03-28 10:09
Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1689688&group_id=180599
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: das mensch (das_mensch)
Assigned to: Nobody/Anonymous (nobody)
Summary: bug using vnc
Initial Comment:
rather a qemu-bug:
after closing the vnc-window (because it doesn't resize if the guest changes the resolution) I get this:
Program received signal SIGSEGV, Segmentation fault.0x0805022a in main_loop_wait (timeout=165391440) at /usr/src/kernel/kvm-18/qemu/vl.c:6203
6203 ioh->fd_write(ioh->opaque);
(gdb) print ioh
$1 = (IOHandlerRecord *) 0x9e8a328
(gdb) print *ioh
$2 = {fd = 166535168, fd_read_poll = 0, fd_read = 0x80b6800 <vnc_client_read>, fd_write = 0, opaque = 0x9db1e40, ufd = 0x0,
next = 0x9dbac50}
simple to fix:
@@ -6196,10 +6197,10 @@ void main_loop_wait(int timeout)
/* XXX: better handling of removal */
for(ioh = first_io_handler; ioh != NULL; ioh = ioh_next) {
ioh_next = ioh->next;
- if (FD_ISSET(ioh->fd, &rfds)) {
+ if (FD_ISSET(ioh->fd, &rfds) && (ioh->fd_read)) {
ioh->fd_read(ioh->opaque);
}
- if (FD_ISSET(ioh->fd, &wfds)) {
+ if (FD_ISSET(ioh->fd, &wfds) && (ioh->fd_write)) {
ioh->fd_write(ioh->opaque);
}
}----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1689688&group_id=180599
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV