http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1365
------- Comment #5 from zhigang.x.wang@xxxxxxxxxx 2008-10-08 01:57 -------
Samuel, your patch:
http://xen.markmail.org/message/txwhsca24fxabikx?q=xenfb:+make+restartable
nearly fixed this issue: this SDL console works, but the VNC console still
cannot:
# gdb -q qemu-dm /share/pkg/debug/core.31643
Core was generated by `/usr/lib/xen/bin/qemu-dm -d 34 -domain-name
OVM_EL5U1_X86_PVM_4GB -k en-us -vnc'.
Program terminated with signal 11, Segmentation fault.
#0 0x080d1d38 in _vnc_update_client (opaque=<value optimized out>) at
vnc.c:714
714 if (memcmp(old_ptr, ptr, tile_bytes)) {
(gdb) bt
#0 0x080d1d38 in _vnc_update_client (opaque=<value optimized out>) at
vnc.c:714
#1 0x080d2327 in vnc_update_client (opaque=0x82f29f0) at vnc.c:838
#2 0x0804cfec in qemu_run_timers (ptimer_head=0x8120660,
current_time=156930880)
at /share/tmp/repos/xen-3.3-testing/tools/ioemu-dir/vl.c:1115
#3 0x0805171b in main_loop_wait (timeout=10) at
/share/tmp/repos/xen-3.3-testing/tools/ioemu-dir/vl.c:7168
#4 0x080e94f6 in main_loop () at helper2.c:567
#5 0x08056a43 in main (argc=14, argv=0xbff07d14) at
/share/tmp/repos/xen-3.3-testing/tools/ioemu-dir/vl.c:8895
(gdb) p *vs
$3 = {timer = 0x82f3908, timer_interval = 30, last_update_time = 156929910,
lsock = 8, csock = 41, ds = 0x811e5c0, width = 640,
height = 480, dirty_row = 0x833b5a0, dirty_pixel_shift = 4, update_row =
0x833c4a8, has_update = 0, update_requested = 1,
old_data = 0xb7534008 "", depth = 4, has_resize = 1, has_hextile = 1,
has_pointer_type_change = 0, has_WMVi = 0, absolute = 1,
last_x = 380, last_y = 233, major = 3, minor = 8, display = 0x82f3af8
"0.0.0.0:0", password = 0x0, auth = 1, subauth = 0,
x509verify = 0, x509cacert = 0x0, x509cacrl = 0x0, x509cert = 0x0, x509key =
0x0, challenge = '\0' <repeats 15 times>, switchbpp = 0,
wiremode = 0, tls_session = 0x0, output = {capacity = 9379, offset = 0,
buffer = 0x833d3b0 ""}, input = {capacity = 5120, offset = 0,
buffer = 0x8338e78 "\004\001"}, upqueue = {queue_start = 0x0, start_count =
0, queue_end = 0x0, end_count = 0},
kbd_layout = 0x82f2c20, write_pixels = 0x80cea02 <vnc_write_pixels_generic>,
send_hextile_tile = 0x80cf94a <send_hextile_tile_generic_32>, pix_bpp = 2,
pix_big_endian = 0, red_shift = 11, red_max = 31,
red_shift1 = 16, red_max1 = 255, green_shift = 5, green_max = 63,
green_shift1 = 8, green_max1 = 255, blue_shift = 0, blue_max = 31,
blue_shift1 = 0, blue_max1 = 255, read_handler = 0x80d3391
<protocol_client_msg>, read_handler_expect = 1, visible_x = 0,
visible_y = 0, visible_w = 640, visible_h = 480, modifiers_state = '\0'
<repeats 69 times>, "\001", '\0' <repeats 185 times>}
(gdb) p *vs->ds
$8 = {data = 0xb6406000 <Address 0xb6406000 out of bounds>, linesize = 2560,
depth = 32, bgr = 0, width = 640, height = 480,
opaque = 0x82f29f0, palette = 0x0, gui_timer = 0x0, gui_timer_interval = 0,
idle = 0, shared_buf = 1,
dpy_update = 0x80ce04e <vnc_dpy_update>, dpy_resize = 0x80d4da3
<vnc_dpy_resize>,
dpy_resize_shared = 0x80d4686 <vnc_dpy_resize_shared>, dpy_setdata =
0x80ce25f <vnc_dpy_setdata>, dpy_refresh = 0,
dpy_copy = 0x80d2329 <vnc_copy>, dpy_fill = 0}
(gdb) p ptr
$4 = (uint8_t *) 0xb6406000 <Address 0xb6406000 out of bounds>
=========
Would please spend a bit more effort and make this fantastic feature working?
I'm very glad to test it.
--
Configure bugmail:
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs
|