Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Rootston: Gksudo #705

Closed
rolfen opened this issue Mar 5, 2018 · 6 comments
Closed

Rootston: Gksudo #705

rolfen opened this issue Mar 5, 2018 · 6 comments
Labels

Comments

@rolfen
Copy link

rolfen commented Mar 5, 2018

Launching gksudo or gksu will kill rootston.

@emersion
Copy link
Member

emersion commented Mar 5, 2018

Can you dump the stack trace?

@rolfen
Copy link
Author

rolfen commented Mar 5, 2018

How do I do that, please?

@emersion
Copy link
Member

emersion commented Mar 5, 2018

  1. gdb build/rootston/rootston
  2. run
  3. Make rootston crash
  4. bt

@rolfen
Copy link
Author

rolfen commented Mar 5, 2018

Thank you for your instructions.
Program received signal SIGSEGV, Segmentation fault.

#0  0x00007ffff795d327 in wl_list_remove () at /usr/lib/x86_64-linux-gnu/libwayland-server.so.0
#1  0x0000555555564ec9 in roots_seat_set_focus (seat=0x555555e46620, view=0x555556125f00) at ../rootston/seat.c:713
#2  0x0000555555564d02 in seat_view_destroy (seat_view=0x5555561089e0) at ../rootston/seat.c:656
#3  0x0000555555564d32 in seat_view_handle_destroy (listener=0x555556108a18, data=0x555556125720) at ../rootston/seat.c:663
#4  0x000055555555c646 in wl_signal_emit (signal=0x5555561257f8, data=0x555556125720) at /usr/include/wayland-server-core.h:388
#5  0x000055555555d79f in view_finish (view=0x555556125720) at ../rootston/desktop.c:407
#6  0x00005555555688a2 in handle_destroy (listener=0x5555560f61b8, data=0x5555561012c0) at ../rootston/xwayland.c:124
#7  0x00007ffff7bb7083 in wlr_signal_emit_safe (signal=0x5555561013a0, data=0x5555561012c0) at ../util/signal.c:29
#8  0x00007ffff7b7f315 in wlr_xwayland_surface_destroy (xsurface=0x5555561012c0) at ../xwayland/xwm.c:216
#9  0x00007ffff7b8015a in xwm_handle_destroy_notify (xwm=0x55555610f9a0, ev=0x55555609bdf0) at ../xwayland/xwm.c:601
#10 0x00007ffff7b80e8b in x11_event_handler (fd=12, mask=0, data=0x55555610f9a0) at ../xwayland/xwm.c:1036
#11 0x00007ffff795ac68 in wl_event_loop_dispatch () at /usr/lib/x86_64-linux-gnu/libwayland-server.so.0
#12 0x00007ffff795944a in wl_display_run () at /usr/lib/x86_64-linux-gnu/libwayland-server.so.0
#13 0x000055555556066d in main (argc=3, argv=0x7fffffffe238) at ../rootston/main.c:81
$ git show
commit c986cc24a9bd6f09acb99c1ae4f3b95dc7c560c5 (HEAD -> master, origin/master, origin/HEAD)
Merge: 3a291b1 925d7a4
Author: SirCmpwn
Date:   Sun Mar 4 16:37:17 2018 -0500

    Merge pull request #703 from swaywm/drop-travis
    
    Remove Travis in favor of builds.sr.ht

@rolfen
Copy link
Author

rolfen commented Mar 5, 2018

Can anyone else reproduce it?

@chebykinn
Copy link
Contributor

Yes, it fails after closing polkit popup.

wl_list_remove(&view->link) is called on empty link.
I suppose this means that it is called twice on the same link. Is it related to #650?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

3 participants