GNOME Bugzilla – Bug 679975
Frequent freeze-ups when using SSL connections
Last modified: 2018-09-21 15:56:15 UTC
Created attachment 218868 [details] backtrace after freeze-up I'm using pan 0.139 on Debian Wheezy and am experiencing frequent freeze-ups which I think only occur when using SSL connections. I've had the same problem in the last few versions (since 0.136, I guess). I've attached a backtrace.
When do those occur? Under which circumstances? I'll change something in the code, could you compile pan yourself in 2 days and have a second look? Cheers.
I could not isolate any particular circumstances, except that it's been downloading articles for a few minutes (or more) when it happens, and only with SSL connections. Yes I can compile and test a change. let me know when. Thanks!
Could you post ldd -v /usr/lib/libgnutls.so | grep gcrypt ldd -v /usr/lib/libgnutls.so | grep nettle (or whereever your so file is) ? and additionally compile without dbus and report back in the meantime? Thanks.
ldd -v /usr/lib/i386-linux-gnu/libgnutls.so.28 | grep gcrypt yielded nothing ldd -v /usr/lib/i386-linux-gnu/libgnutls.so.28 | grep nettle: libnettle.so.4 => /usr/lib/i386-linux-gnu/libnettle.so.4 (0xb7651000) /usr/lib/i386-linux-gnu/libnettle.so.4:
Created attachment 219351 [details] backtrace pan GIT 314affc hangs while connecting
I've compiled pan from GIT 314affc. It hangs while connecting to the server (see backtrace) when using SSL. Works fine without SSL; regular Debian 0.139 pan (GIT bf56508) can connect OK using SSL to the same server.
Did you specify --with-gnutls on configure? Also run pan with --debug and post that.
OK, progress: after recompiling with "--with-gnutls" (thanks :-) it now connects fine. And initially I could not get it to freeze, until I left it alone for a while: then it froze by itself. So it sounds like it might be related to a timeout on the SSL connection or something?? I've attached 4 files: -a pan backtrace after the freeze-up -the pan_debug.log (gzipped) -in set_watch_mode.log, 8 lines which were repeated 7.5 million times in the log (making in 783MB, so I removed them :-) -in socket-impl-openssl_gio_func.log, a line that was repeated 1.25 million times in the log
Created attachment 219402 [details] pan GIT 314affc --with-gnutls -> backtrace after freeze-up
Created attachment 219403 [details] pan GIT 314affc debug log
Created attachment 219404 [details] pan GIT 314affc 8 repeating lines removed from debug log
Created attachment 219405 [details] pan GIT 314affc: 1 repeating line removed from debug log
Created attachment 260237 [details] gdb backtrace followed website instructions for this, added the extra debug packages that gdb was asking for prior to this iteration added the additional rpms specified in this trace, and can send another if needed
This seems to be same or related issue. Pan compiled from .139 src with SSL support on Fedora 19 Pan connects and works until the freeze up. Will freeze at random time when browsing headers or when idle, usually not [but sometimes will] when actually downloading something Usually will save current group state when the blank window is closed down The backtrace file sent up has the added debug info rpms that the first 2 iterations wanted to see, have installed the additional ones specified and will send another trace if needed.
Created attachment 260239 [details] gdb backtrace - 2 ran it again with the additional debug packages, and it froze up while dl headers, so have sent the trace. May or may not obsolete the first one but this one asks for the gnutls debug package and the Fedora repos report it as 'does not exist'
Created attachment 260253 [details] out from 'pan --debug' In case it is useful, and edit of output from a previous session run with the --debug flag, first and last 1000 lines The freeze happened as usual, when browsing headers.
Please post the output of ldd -v /usr/lib/libgnutls.so | grep gcrypt ldd -v /usr/lib/libgnutls.so | grep nettle As mentioned above
Could you post your version of gnutls?
Created attachment 260276 [details] requested info the grep for gcrypt came up empty, gcrypt itself is installed as attached shows
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/pan/issues/30.