Bug 1292832

Summary: [abrt] devassistant-gui: display_handle_error(): python3.4 killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Christian Stadelmann <fedora>
Component: devassistantAssignee: Bohuslav "Slavek" Kabrda <bkabrda>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: arnaldo.polce, bkabrda, ofourdan, phracek, tradej
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/bfba68203487702ecbe786f92d18c742039280da
Whiteboard: abrt_hash:8993aac1ea5eefb86f031d4a9cf8f82e87fd750e;VARIANT_ID=workstation;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-24 16:41:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 1277927    
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: dso_list
none
File: exploitable
none
File: limits
none
File: maps
none
File: namespaces
none
File: open_fds
none
File: proc_pid_status none

Description Christian Stadelmann 2015-12-18 13:10:09 UTC
Description of problem:
Steps to reproduce:
1. run a gnome+wayland session
2. open devassistant-gui
3. select python, than click on "gtk3" in popup menu
devassistant immediately crashes.

This issue is not present when using CLI or running devassistant-gui inside XWayland (with GDK_BACKEND=x11).

Version-Release number of selected component:
devassistant-gui-0.11.2-1.fc23

Additional info:
reporter:       libreport-2.6.3
backtrace_rating: 4
cmdline:        /usr/bin/python3 /usr/bin/da-gui
crash_function: display_handle_error
executable:     /usr/bin/python3.4
kernel:         4.2.7-300.fc23.x86_64
runlevel:       N 5
type:           CCpp

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 display_handle_error at src/wayland-client.c:716
 #1 ffi_call_unix64 at ../src/x86/unix64.S:76
 #2 ffi_call at ../src/x86/ffi64.c:525
 #3 wl_closure_invoke at src/connection.c:945
 #4 dispatch_event at src/wayland-client.c:1173
 #5 dispatch_queue at src/wayland-client.c:1341
 #6 wl_display_dispatch_queue at src/wayland-client.c:1587
 #7 wl_display_roundtrip_queue at src/wayland-client.c:987
 #8 gtk_menu_shell_activate_item at gtkmenushell.c:1373
 #9 gtk_menu_shell_button_release at gtkmenushell.c:788

Comment 1 Christian Stadelmann 2015-12-18 13:10:15 UTC
Created attachment 1107145 [details]
File: backtrace

Comment 2 Christian Stadelmann 2015-12-18 13:10:17 UTC
Created attachment 1107146 [details]
File: core_backtrace

Comment 3 Christian Stadelmann 2015-12-18 13:10:18 UTC
Created attachment 1107147 [details]
File: dso_list

Comment 4 Christian Stadelmann 2015-12-18 13:10:20 UTC
Created attachment 1107148 [details]
File: exploitable

Comment 5 Christian Stadelmann 2015-12-18 13:10:21 UTC
Created attachment 1107149 [details]
File: limits

Comment 6 Christian Stadelmann 2015-12-18 13:10:23 UTC
Created attachment 1107150 [details]
File: maps

Comment 7 Christian Stadelmann 2015-12-18 13:10:25 UTC
Created attachment 1107151 [details]
File: namespaces

Comment 8 Christian Stadelmann 2015-12-18 13:10:26 UTC
Created attachment 1107152 [details]
File: open_fds

Comment 9 Christian Stadelmann 2015-12-18 13:10:28 UTC
Created attachment 1107153 [details]
File: proc_pid_status

Comment 10 arnaldo 2016-06-30 11:47:36 UTC
*** Bug 1351586 has been marked as a duplicate of this bug. ***

Comment 11 Olivier Fourdan 2016-09-01 07:26:59 UTC
WAYLAND_DEBUG to the rescue, shows the app gets killed because of a Wayland protocol error:

[528761.079] wl_display@1.error(xdg_shell@13, 2, "destroyed popup not top most popup")

Comment 12 Olivier Fourdan 2016-09-01 12:24:48 UTC
Seems like devassistant-gui is umapping its toplevel window while the popup are still present, causing handle_popup_parent_destroyed() to be reached in mutter which will rightfully send back an error to the client, which kills it...

While this is no problem in X11, xsg-shell on Wayland won't allow that - So I am trying to see if we could avoid that at the gtk+ level, when an app does that, otherwise the fix would belong to the app.

Comment 13 Olivier Fourdan 2016-09-12 08:07:17 UTC
A fix for this has been pushed upstream in gtk+

Comment 14 Christian Stadelmann 2016-09-26 18:57:18 UTC
The crasher is gone, thanks!

Now the window is putting itself into background, which looks pretty weird. The window still has focus, but is not displayed topmost. Instead an inactive (insensitive) window is printed in front of devassistant-gui

Comment 15 Fedora End Of Life 2016-11-24 14:20:15 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.