** Branch linked: lp:~ci-train-bot/mir/mir-ubuntu-xenial-2736 ** Branch linked: lp:~ci-train-bot/mir/mir-ubuntu-yakkety-2783.1
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mir in Ubuntu. https://bugs.launchpad.net/bugs/1661704 Title: mir_window_request_persistent_id_sync seg faults when called twice Status in Mir: Fix Committed Status in Mir 0.26 series: Fix Released Status in mir package in Ubuntu: Fix Released Bug description: Thread 1 "gtk3-widget-fac" received signal SIGSEGV, Segmentation fault. __GI___pthread_mutex_lock (mutex=0x0) at ../nptl/pthread_mutex_lock.c:67 67 ../nptl/pthread_mutex_lock.c: No such file or directory. (gdb) bt #0 __GI___pthread_mutex_lock (mutex=0x0) at ../nptl/pthread_mutex_lock.c:67 #1 0x00007ffff37c1003 in __gthread_mutex_lock () at /usr/include/x86_64-linux-gnu/c++/6/bits/gthr-default.h:748 #2 std::mutex::lock() (this=0x0) at /usr/include/c++/6/bits/std_mutex.h:103 #3 std::unique_lock<std::mutex>::lock() (this=0x7fffffffbad0) at /usr/include/c++/6/bits/std_mutex.h:267 #4 std::unique_lock<std::mutex>::unique_lock(std::mutex&) () at /usr/include/c++/6/bits/std_mutex.h:197 #5 MirWaitHandle::wait_for_all() (this=0x0) at ./src/client/mir_wait_handle.cpp:51 #6 0x00007ffff37d0623 in mir_surface_request_persistent_id_sync (surface=<optimized out>) at ./src/client/mir_surface_api.cpp:1266 #7 0x00007ffff7b7137a in gdk_mir_display_convert_selection (display=0x5555557ad010, requestor=0x555556235af0, selection=0x45, target=0x52, time=34494073) at /home/william/Code/jhbuild/checkout/gtk+-3/gdk/mir/gdkmirdisplay.c:845 #8 0x00007ffff7aee577 in gdk_selection_convert (requestor=0x555556235af0, selection=0x45, target=0x52, time=34494073) at /home/william/Code/jhbuild/checkout/gtk+-3/gdk/gdkselection.c:273 #9 0x00007ffff73f675e in gtk_selection_convert (widget=0x555555fcaf80, selection=0x45, target=0x52, time_=34494073) at /home/william/Code/jhbuild/checkout/gtk+-3/gtk/gtkselection.c:1162 #10 0x00007ffff7537a04 in gtk_clipboard_real_request_contents (clipboard=0x555555fb7690, target=0x52, callback=0x7ffff74469cc <clipboard_clipboard_buffer_received>, user_data=0x7fffc00037b0) at /home/william/Code/jhbuild/checkout/gtk+-3/gtk/gtkclipboard.c:1023 #11 0x00007ffff753793f in gtk_clipboard_request_contents (clipboard=0x555555fb7690, target=0x52, callback=0x7ffff74469cc <clipboard_clipboard_buffer_received>, user_data=0x7fffc00037b0) at /home/william/Code/jhbuild/checkout/gtk+-3/gtk/gtkclipboard.c:994 #12 0x00007ffff74471be in gtk_text_buffer_paste_clipboard (buffer=0x55555594b2f0, clipboard=0x555555fb7690, override_location=0x0, default_editable=1) at /home/william/Code/jhbuild/checkout/gtk+-3/gtk/gtktextbuffer.c:3871 #13 0x00007ffff747f7e6 in gtk_text_view_paste_clipboard (text_view=0x555555ad28b0) at /home/william/Code/jhbuild/checkout/gtk+-3/gtk/gtktextview.c:7156 #14 0x00007ffff62b4fe7 in g_cclosure_marshal_VOID__VOID (closure=0x555555cac020, return_value=0x0, n_param_values=1, param_values=0x55555616a050, invocation_hint=0x7fffffffc0e0, marshal_data=0x7ffff747f78d <gtk_text_view_paste_clipboard>) at /home/william/Code/jhbuild/checkout/glib/gobject/gmarshal.c:875 #15 0x00007ffff62b24a4 in g_type_class_meta_marshal (closure=0x555555cac020, return_value=0x0, n_param_values=1, param_values=0x55555616a050, invocation_hint=0x7fffffffc0e0, marshal_data=0x410) at /home/william/Code/jhbuild/checkout/glib/gobject/gclosure.c:997 #16 0x00007ffff62b1dc0 in g_closure_invoke (closure=0x555555cac020, return_value=0x0, n_param_values=1, param_values=0x55555616a050, invocation_hint=0x7fffffffc0e0) at /home/william/Code/jhbuild/checkout/glib/gobject/gclosure.c:804 #17 0x00007ffff62d0532 in signal_emit_unlocked_R (node=0x555555cac050, detail=0, instance=0x555555ad28b0, emission_return=0x0, instance_and_params=0x55555616a050) at /home/william/Code/jhbuild/checkout/glib/gobject/gsignal.c:3673 #18 0x00007ffff62ce32d in g_signal_emitv (instance_and_params=0x55555616a050, signal_id=450, detail=0, return_value=0x0) at /home/william/Code/jhbuild/checkout/glib/gobject/gsignal.c:3129 #19 0x00007ffff71a598c in gtk_binding_entry_activate (entry=0x555555cc7c80, object=0x555555ad28b0) at /home/william/Code/jhbuild/checkout/gtk+-3/gtk/gtkbindings.c:646 #20 0x00007ffff71a7193 in binding_activate (binding_set=0x555555cac760, entries=0x5555562609c0, object=0x555555ad28b0, is_release=0, unbound=0x7fffffffc2ec) at /home/william/Code/jhbuild/checkout/gtk+-3/gtk/gtkbindings.c:1446 #21 0x00007ffff71a7320 in gtk_bindings_activate_list (object=0x555555ad28b0, entries=0x5555562609c0, is_release=0) at /home/william/Code/jhbuild/checkout/gtk+-3/gtk/gtkbindings.c:1505 #22 0x00007ffff71a7594 in gtk_bindings_activate_event (object=0x555555ad28b0, event=0x7fffdc002810) at /home/william/Code/jhbuild/checkout/gtk+-3/gtk/gtkbindings.c:1592 #23 0x00007ffff7505621 in gtk_widget_real_key_press_event (widget=0x555555ad28b0, event=0x7fffdc002810) at /home/william/Code/jhbuild/checkout/gtk+-3/gtk/gtkwidget.c:7149 #24 0x00007ffff747b71d in gtk_text_view_key_press_event (widget=0x555555ad28b0, event=0x7fffdc002810) at /home/william/Code/jhbuild/checkout/gtk+-3/gtk/gtktextview.c:5454 #25 0x00007ffff732b427 in _gtk_marshal_BOOLEAN__BOXEDv (closure=0x5555557f8350, return_value=0x7fffffffc7c0, instance=0x555555ad28b0, args=0x7fffffffc870, marshal_data=0x7ffff747b5bd <gtk_text_view_key_press_event>, n_params=1, param_types=0x5555557f84c0) at gtkmarshalers.c:131 #26 0x00007ffff62b2526 in g_type_class_meta_marshalv (closure=0x5555557f8350, return_value=0x7fffffffc7c0, instance=0x555555ad28b0, args=0x7fffffffc870, marshal_data=0x1b0, n_params=1, param_types=0x5555557f84c0) at /home/william/Code/jhbuild/checkout/glib/gobject/gclosure.c:1024 #27 0x00007ffff62b20a8 in _g_closure_invoke_va (closure=0x5555557f8350, return_value=0x7fffffffc7c0, instance=0x555555ad28b0, args=0x7fffffffc870, n_params=1, param_types=0x5555557f84c0) at /home/william/Code/jhbuild/checkout/glib/gobject/gclosure.c:867 #28 0x00007ffff62ce98e in g_signal_emit_valist (instance=0x555555ad28b0, signal_id=104, detail=0, var_args=0x7fffffffc870) at /home/william/Code/jhbuild/checkout/glib/gobject/gsignal.c:3300 #29 0x00007ffff62cfba9 in g_signal_emit (instance=0x555555ad28b0, signal_id=104, detail=0) at /home/william/Code/jhbuild/checkout/glib/gobject/gsignal.c:3447 #30 0x00007ffff7506781 in gtk_widget_event_internal (widget=0x555555ad28b0, event=0x7fffdc002810) at /home/william/Code/jhbuild/checkout/gtk+-3/gtk/gtkwidget.c:7723 #31 0x00007ffff7505b43 in gtk_widget_event (widget=0x555555ad28b0, event=0x7fffdc002810) at /home/william/Code/jhbuild/checkout/gtk+-3/gtk/gtkwidget.c:7293 #32 0x00007ffff752ab82 in gtk_window_propagate_key_event (window=0x555555a102a0, event=0x7fffdc002810) at /home/william/Code/jhbuild/checkout/gtk+-3/gtk/gtkwindow.c:7977 #33 0x00007ffff752ac5e in gtk_window_key_press_event (widget=0x555555a102a0, event=0x7fffdc002810) at /home/william/Code/jhbuild/checkout/gtk+-3/gtk/gtkwindow.c:8010 #34 0x00007ffff732b427 in _gtk_marshal_BOOLEAN__BOXEDv (closure=0x5555557f8350, return_value=0x7fffffffcdd0, instance=0x555555a102a0, args=0x7fffffffce80, marshal_data=0x7ffff752ac0a <gtk_window_key_press_event>, n_params=1, param_types=0x5555557f84c0) at gtkmarshalers.c:131 #35 0x00007ffff62b2526 in g_type_class_meta_marshalv (closure=0x5555557f8350, return_value=0x7fffffffcdd0, instance=0x555555a102a0, args=0x7fffffffce80, marshal_data=0x1b0, n_params=1, param_types=0x5555557f84c0) at /home/william/Code/jhbuild/checkout/glib/gobject/gclosure.c:1024 #36 0x00007ffff62b20a8 in _g_closure_invoke_va (closure=0x5555557f8350, return_value=0x7fffffffcdd0, instance=0x555555a102a0, args=0x7fffffffce80, n_params=1, param_types=0x5555557f84c0) at /home/william/Code/jhbuild/checkout/glib/gobject/gclosure.c:867 #37 0x00007ffff62ce98e in g_signal_emit_valist (instance=0x555555a102a0, signal_id=104, detail=0, var_args=0x7fffffffce80) at /home/william/Code/jhbuild/checkout/glib/gobject/gsignal.c:3300 #38 0x00007ffff62cfba9 in g_signal_emit (instance=0x555555a102a0, signal_id=104, detail=0) at /home/william/Code/jhbuild/checkout/glib/gobject/gsignal.c:3447 #39 0x00007ffff7506781 in gtk_widget_event_internal (widget=0x555555a102a0, event=0x7fffdc002810) at /home/william/Code/jhbuild/checkout/gtk+-3/gtk/gtkwidget.c:7723 #40 0x00007ffff7505b43 in gtk_widget_event (widget=0x555555a102a0, event=0x7fffdc002810) at /home/william/Code/jhbuild/checkout/gtk+-3/gtk/gtkwidget.c:7293 #41 0x00007ffff7329c8f in propagate_event (widget=0x555555a102a0, event=0x7fffdc002810, captured=0, topmost=0x0) at /home/william/Code/jhbuild/checkout/gtk+-3/gtk/gtkmain.c:2661 #42 0x00007ffff7329da7 in gtk_propagate_event (widget=0x555555a102a0, event=0x7fffdc002810) at /home/william/Code/jhbuild/checkout/gtk+-3/gtk/gtkmain.c:2705 #43 0x00007ffff73289bf in gtk_main_do_event (event=0x7fffdc002810) at /home/william/Code/jhbuild/checkout/gtk+-3/gtk/gtkmain.c:1901 ---Type <return> to continue, or q <return> to quit---q Quit (gdb) f 7 #7 0x00007ffff7b7137a in gdk_mir_display_convert_selection (display=0x5555557ad010, requestor=0x555556235af0, selection=0x45, target=0x52, time=34494073) at /home/william/Code/jhbuild/checkout/gtk+-3/gdk/mir/gdkmirdisplay.c:845 845 persistent_id = mir_surface_request_persistent_id_sync (surface); (gdb) l 840 surface = gdk_mir_window_get_mir_surface (mir_display->focused_window); 841 842 if (!surface) 843 return; 844 845 persistent_id = mir_surface_request_persistent_id_sync (surface); 846 847 if (!persistent_id) 848 return; 849 (gdb) p mir_surface_is_valid(surface) [Thread 0x7fffe49d4700 (LWP 31881) exited] $1 = true (gdb) p surface $2 = (MirSurface *) 0x7fffd8002f90 To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1661704/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp