From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47173) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTXuj-0003z2-W3 for qemu-devel@nongnu.org; Fri, 28 Mar 2014 10:37:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTXua-0001OI-US for qemu-devel@nongnu.org; Fri, 28 Mar 2014 10:37:45 -0400 Received: from [2001:41d0:8:2b42::1] (port=35730 helo=greensocs.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTXua-0001KU-MG for qemu-devel@nongnu.org; Fri, 28 Mar 2014 10:37:36 -0400 Message-ID: <5335892E.8080402@greensocs.com> Date: Fri, 28 Mar 2014 15:37:34 +0100 From: Frederic Konrad MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Bug with mpc8544ds machine. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann , qemu-devel Cc: fred.konrad@greensocs.com Hi everybody, I didn't see anything on the list about that. I get this bug in the current git. I configured qemu with the following command line: ./configure --target-list=ppc-softmmu I ran QEMU with the following command line: ./ppc-softmmu/qemu-system-ppc --M mpc8544ds I get this segfault: (gdb) bt #0 0x00007fecf8e2a578 in qemu_input_transform_abs_rotate (evt=) at ui/input.c:79 #1 qemu_input_event_send (src=src@entry=0x0, evt=evt@entry=0x7fecfaac3130) at ui/input.c:141 #2 0x00007fecf8e2a71a in qemu_input_event_send_key (src=0x0, key=, down=) at ui/input.c:185 #3 0x00007fecf8e2a7c2 in qemu_input_event_send_key_number (src=, num=, down=) at ui/input.c:195 #4 0x00007fecf8e26c9a in gd_key_event (widget=, key=, opaque=0x7fecfa790510) at ui/gtk.c:762 #5 0x00007fecf6864f0c in _gtk_marshal_BOOLEAN__BOXED () from /lib64/libgtk-x11-2.0.so.0 #6 0x00007fecf4f38910 in g_closure_invoke () from /lib64/libgobject-2.0.so.0 #7 0x00007fecf4f49d08 in signal_emit_unlocked_R () from /lib64/libgobject-2.0.so.0 #8 0x00007fecf4f518c7 in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0 #9 0x00007fecf4f51de2 in g_signal_emit () from /lib64/libgobject-2.0.so.0 #10 0x00007fecf6998fee in gtk_widget_event_internal () from /lib64/libgtk-x11-2.0.so.0 #11 0x00007fecf69af96b in gtk_window_propagate_key_event () from /lib64/libgtk-x11-2.0.so.0 #12 0x00007fecf69af9af in gtk_window_key_release_event () from /lib64/libgtk-x11-2.0.so.0 #13 0x00007fecf6864f0c in _gtk_marshal_BOOLEAN__BOXED () from /lib64/libgtk-x11-2.0.so.0 #14 0x00007fecf4f38910 in g_closure_invoke () from /lib64/libgobject-2.0.so.0 #15 0x00007fecf4f49a80 in signal_emit_unlocked_R () from /lib64/libgobject-2.0.so.0 #16 0x00007fecf4f518c7 in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0 #17 0x00007fecf4f51de2 in g_signal_emit () from /lib64/libgobject-2.0.so.0 #18 0x00007fecf6998fee in gtk_widget_event_internal () from /lib64/libgtk-x11-2.0.so.0 #19 0x00007fecf6862d67 in gtk_propagate_event () from /lib64/libgtk-x11-2.0.so.0 #20 0x00007fecf6863013 in gtk_main_do_event () from /lib64/libgtk-x11-2.0.so.0 #21 0x00007fecf64b9f1c in gdk_event_dispatch () from /lib64/libgdk-x11-2.0.so.0 #22 0x00007fecf80e0a55 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #23 0x00007fecf8dc6958 in glib_pollfds_poll () at main-loop.c:190 #24 os_host_main_loop_wait (timeout=) at main-loop.c:235 #25 main_loop_wait (nonblocking=) at main-loop.c:484 #26 0x00007fecf8caeece in main_loop () at vl.c:2051 #27 main (argc=, argv=, envp=) at vl.c:4507 Git bisect gives: 9784e5793000f27cf4b506511fedf207dcf8521c is the first bad commit commit 9784e5793000f27cf4b506511fedf207dcf8521c Author: Gerd Hoffmann Date: Wed Nov 27 11:59:25 2013 +0100 input: keyboard: switch legacy handlers to new core legacy kbd event handlers are registered in the new core, so they receive events from the new input core code. keycode -> scancode translation needed here. legacy kbd_put_keycode() sends events to the new core. scancode -> keycode translation needed here. So with this patch the new input core is fully functional for keyboard events. New + legacy interfaces can be mixed in any way. Signed-off-by: Gerd Hoffmann Did I miss something? Thanks, Fred