Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python2 server crashes on SIGINT #2364

Closed
totaam opened this issue Jul 22, 2019 · 3 comments
Closed

python2 server crashes on SIGINT #2364

totaam opened this issue Jul 22, 2019 · 3 comments
Labels

Comments

@totaam
Copy link
Collaborator

totaam commented Jul 22, 2019

Issue migrated from trac ticket # 2364

component: server | priority: blocker | resolution: invalid

2019-07-22 18:46:59: antoine created the issue


In gdb, using handle SIGINT noprint nostop pass:

(gdb) py-bt
Traceback (most recent call first):
  File "/usr/lib64/python3.7/site-packages/xpra/gtk_common/error.py", line 120, in Xexit
    gdk.flush()
  File "/usr/lib64/python3.7/site-packages/xpra/gtk_common/error.py", line 143, in _call
    self.Xexit(need_sync)
  File "/usr/lib64/python3.7/site-packages/xpra/gtk_common/error.py", line 150, in call_synced
    return self._call(True, fun, args, kwargs)
  File "/usr/lib64/python3.7/site-packages/xpra/gtk_common/error.py", line 167, in swallow_synced
    self.call_synced(fun, *args, **kwargs)
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/composite.py", line 57, in do_destroy
    trap.swallow_synced(X11Window.XCompositeUnredirectWindow, self.xid)
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/window_damage.py", line 78, in destroy
    self.do_destroy(win)
  File "/usr/lib64/python3.7/site-packages/xpra/x11/models/core.py", line 314, in do_unmanaged
    self._composite.destroy()
  File "/usr/lib64/python3.7/site-packages/xpra/x11/models/window.py", line 342, in do_unmanaged
    BaseWindowModel.do_unmanaged(self, wm_exiting)
  File "/usr/lib64/python3.7/site-packages/xpra/x11/models/core.py", line 300, in unmanage
    self.emit("unmanaged", exiting)
  File "/usr/lib64/python3.7/site-packages/xpra/x11/gtk_x11/wm.py", line 418, in cleanup
    win.unmanage(True)
  File "/usr/lib64/python3.7/site-packages/xpra/x11/server.py", line 297, in do_cleanup
    self._wm.cleanup()
  File "/usr/lib64/python3.7/site-packages/xpra/server/server_core.py", line 445, in cleanup
    self.do_cleanup()
  File "/usr/lib64/python3.7/site-packages/xpra/server/server_core.py", line 356, in clean_quit
    self.cleanup()
  File "/usr/lib64/python3.7/site-packages/gi/overrides/Gtk.py", line 1630, in main
    return _Gtk_main(*args, **kwargs)
  File "/usr/lib64/python3.7/site-packages/xpra/server/gtk_server_base.py", line 107, in do_run
    gtk_main()
  File "/usr/lib64/python3.7/site-packages/xpra/server/server_core.py", line 420, in run
    self.do_run()
  File "/usr/lib64/python3.7/site-packages/xpra/scripts/server.py", line 971, in do_run_server
    r = app.run()
  File "/usr/lib64/python3.7/site-packages/xpra/scripts/server.py", line 445, in run_server
    return do_run_server(error_cb, opts, mode, xpra_file, extra_args, desktop_display)
  File "/usr/lib64/python3.7/site-packages/xpra/scripts/main.py", line 440, in run_mode
    return run_server(error_cb, options, mode, script_file, args, current_display)
  File "/usr/lib64/python3.7/site-packages/xpra/scripts/main.py", line 105, in main
    return run_mode(script_file, err, options, args, mode, defaults)
  File "/usr/bin/xpra", line 26, in <module>
    sys.exit(main(sys.argv[0], sys.argv))
@totaam
Copy link
Collaborator Author

totaam commented Jul 25, 2019

2019-07-25 15:15:05: antoine changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented Jul 25, 2019

2019-07-25 15:15:05: antoine set resolution to invalid

@totaam
Copy link
Collaborator Author

totaam commented Jul 25, 2019

2019-07-25 15:15:05: antoine commented


Can no longer reproduce..

@totaam totaam closed this as completed Jul 25, 2019
@totaam totaam added the v2.5.x label Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant