Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • G gajim-plugins
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gajimgajim
  • gajim-plugins
  • Issues
  • #320

Gajim hangs during closing with url-image-preview plugin

Gajim with url-image-preview plugin (git master) hangs during closing.

05/30/2018 15:32:37 (I) nbxmpp.client_nb Disconnecting NBClient: 
05/30/2018 15:32:37 (D) nbxmpp.client_nb Client disconnected..
05/30/2018 15:32:37 (D) nbxmpp.client_nb Calling disconnect handler <bound method Connection.disconnectedReconnCB of <gajim.common.connection.Connection object at 0x7f529f97f978>>
05/30/2018 15:32:37 (I) gajim.c.connection disconnectedReconnCB called
^C^C
^CSIGINT/SIGTERM received
^CSIGINT/SIGTERM received
^CSIGINT/SIGTERM received
SIGINT/SIGTERM received
SIGINT/SIGTERM received
SIGINT/SIGTERM received
Killed

$ date
Wed May 30 19:05:55 CEST 2018

It was not even possible to interrupt Gajim with ctrl-c (SIGINT) or kill it with default SIGTERM. Only hard way with SIGKILL.

gdb shows Gajim waits for url image preview plugin to finish all its downloads. After ctrl-c Gajim's thread disappeared and only downloading thread remained hanging.

url-image-preview plugin should allow interruption when downloading. Gajim should interrupt downloads when quitting.

P.S. Does url-image-preview plugin support download resuming?

Assignee
Assign to
Time tracking