Bug#765892: pidgin: Pidgin does not disconnect on suspend

2015-04-27 Thread Bruno Bierbaumer
Hello all,
I did further investigation on Pidgin's failure to disconnect on suspend
and I think it's a bug in NetworkManager that is causing this behavior.

I reported it upstream here:
https://bugzilla.gnome.org/show_bug.cgi?id=748531

Greetings,
Bruno


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#765892: pidgin: Pidgin does not disconnect on suspend

2015-03-27 Thread Bruno Bierbaumer
Package: pidgin
Version: 2.10.11-1
Followup-For: Bug #765892

Hello Ari!
I am also affected by this bug.
When I suspend the computer Pidgin never succeeds to mark me offline and so I 
appear online till my XMPP connections time out.
So I have lots of confusion and lost messages with my buddies. 

I think the failing disconnecting is caused by systemd + NetworkManager.
It seems that NetworkManager cuts of the network connection instantly when 
going to suspend.
Then Pidgin tries to disconnect the chat accounts and of course it never 
reaches the XMPP server. 

Regards,
Bruno  

-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing'), (102, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.19.0 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages pidgin depends on:
ii  gconf2  3.2.6-3
ii  libatk1.0-0 2.14.0-1
ii  libc6   2.19-15
ii  libcairo2   1.14.0-2.1
ii  libdbus-1-3 1.8.16-1
ii  libdbus-glib-1-20.102-1
ii  libfontconfig1  2.11.0-6.3
ii  libfreetype62.5.2-3
ii  libgadu31:1.12.0-5
ii  libgdk-pixbuf2.0-0  2.31.1-2+b1
ii  libglib2.0-02.42.1-1
ii  libgstreamer0.10-0  0.10.36-1.5
ii  libgtk2.0-0 2.24.25-3
ii  libgtkspell02.0.16-1.1
ii  libice6 2:1.0.9-1+b1
ii  libpango-1.0-0  1.36.8-3
ii  libpangocairo-1.0-0 1.36.8-3
ii  libpangoft2-1.0-0   1.36.8-3
ii  libpurple0  2.10.11-1
ii  libsm6  2:1.2.2-1+b1
ii  libx11-62:1.6.2-3
ii  libxml2 2.9.1+dfsg1-5
ii  libxss1 1:1.2.2-1
ii  perl-base [perlapi-5.20.1]  5.20.2-2
ii  pidgin-data 2.10.11-1

Versions of packages pidgin recommends:
ii  gstreamer0.10-alsa  0.10.36-2
pn  gstreamer0.10-ffmpegnone
ii  gstreamer0.10-plugins-base  0.10.36-2
ii  gstreamer0.10-plugins-good  0.10.31-3+nmu4+b1

Versions of packages pidgin suggests:
ii  libsqlite3-0  3.8.7.1-1

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#765892: pidgin: Pidgin does not disconnect on suspend

2014-10-21 Thread Peter Spiess-Knafl
Thanks for responding so quickly.

I am not entirely sure no, but I tried with various different XMPP
servers (prosody, ejabberd, public ones like google-talk).
It does mark me offline if I exit manually, yes.

So you cannot reproduce this behaviour?

On 10/19/2014 02:35 AM, Ari Pollak wrote:

 Given that the pidgin logs say that it disconnected correctly, are you
 sure this is a pidgin bug and not the XMPP server? Does the server
 immediately mark you as offline if you exit pidgin manually?






Bug#765892: pidgin: Pidgin does not disconnect on suspend

2014-10-18 Thread Peter Spiess-Knafl
Package: pidgin
Version: 2.10.9-1+b1
Severity: important

When I close the laptop lid something goes wrong with proper account
disconnecting.
After my notebook suspended, I still appear online for my contacts, even though
I am not (on any computer).

It is strange, that in the (attached) pidgin log I see the NetworkManager event
which should disconnect my account, so that I am no longer online, but it
doesn't work.


I am using systemd as init system (if that is important).

Pidgin Debug log (after suspending and resuming again):

(01:25:56) network: Got StateChange from NetworkManager: 10.
(01:25:56) account: Disconnecting account p...@autistici.org/ (0x7f1c46c1ccc0)
(01:25:56) connection: Disconnecting connection 0x7f1c478b1c10
(01:25:56) connection: Deactivating keepalive.
(01:25:56) jabber: Sending (ssl)
(p...@autistici.org/17910177181413678280191277): /stream:stream
(01:25:56) connection: Destroying connection 0x7f1c478b1c10
(01:26:06) network: Got StateChange from NetworkManager: 20.
(01:26:07) util: Writing file blist.xml to directory /home/cinemast/.purple
(01:26:07) util: Writing file /home/cinemast/.purple/blist.xml
(01:26:07) util: Writing file accounts.xml to directory /home/cinemast/.purple
(01:26:07) util: Writing file /home/cinemast/.purple/accounts.xml
(01:26:09) network: Got StateChange from NetworkManager: 40.
(01:26:09) network: Got StateChange from NetworkManager: 50.
(01:26:09) autorecon: do_signon called
(01:26:09) autorecon: calling purple_account_connect
(01:26:09) account: Connecting to account p...@autistici.org/.
(01:26:09) connection: Connecting. gc = 0x7f1c4789e680
(01:26:09) dnssrv: querying SRV record for autistici.org: _xmpp-
client._tcp.autistici.org
(01:26:09) autorecon: done calling purple_account_connect
(01:26:09) dnssrv: res_query returned an error
(01:26:09) dnsquery: Performing DNS lookup for autistici.org
(01:26:09) dns: Wait for DNS child 21589 failed: No child processes
(01:26:09) dns: Created new DNS child 21808, there are now 1 children.
(01:26:09) dns: Successfully sent DNS request to child 21808
(01:26:09) network: Got StateChange from NetworkManager: 70.
(01:26:15) dns: Got response for 'autistici.org'
(01:26:15) dnsquery: IP resolved for autistici.org
(01:26:15) proxy: Attempting connection to 82.94.249.234
(01:26:15) proxy: Connecting to autistici.org:5222 with no proxy
(01:26:15) proxy: Connection in progress
(01:26:15) proxy: Connecting to autistici.org:5222.
(01:26:15) proxy: Connected to autistici.org:5222.



-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pidgin depends on:
ii  gconf2  3.2.6-3
ii  libatk1.0-0 2.14.0-1
ii  libc6   2.19-11
ii  libcairo2   1.12.16-5
ii  libdbus-1-3 1.8.8-1+b1
ii  libdbus-glib-1-20.102-1
ii  libfontconfig1  2.11.0-6.1
ii  libfreetype62.5.2-2
ii  libgdk-pixbuf2.0-0  2.30.8-1+b1
ii  libglib2.0-02.42.0-2
ii  libgstreamer0.10-0  0.10.36-1.4
ii  libgtk2.0-0 2.24.25-1
ii  libgtkspell02.0.16-1.1
ii  libice6 2:1.0.9-1
ii  libpango-1.0-0  1.36.8-2
ii  libpangocairo-1.0-0 1.36.8-2
ii  libpangoft2-1.0-0   1.36.8-2
ii  libpurple0  2.10.9-1+b1
ii  libsm6  2:1.2.2-1
ii  libx11-62:1.6.2-3
ii  libxml2 2.9.1+dfsg1-4
ii  libxss1 1:1.2.2-1
ii  perl-base [perlapi-5.20.0]  5.20.1-1
ii  pidgin-data 2.10.9-1

Versions of packages pidgin recommends:
ii  gstreamer0.10-plugins-base  0.10.36-2
ii  gstreamer0.10-plugins-good  0.10.31-3+nmu4

Versions of packages pidgin suggests:
ii  libsqlite3-0  3.8.6-1

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#765892: pidgin: Pidgin does not disconnect on suspend

2014-10-18 Thread Ari Pollak
Given that the pidgin logs say that it disconnected correctly, are you sure
this is a pidgin bug and not the XMPP server? Does the server immediately
mark you as offline if you exit pidgin manually?