After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 704001 - freeze when searching CDDB
freeze when searching CDDB
Status: RESOLVED OBSOLETE
Product: easytag
Classification: Other
Component: general
master
Other Linux
: Normal normal
: 2.1
Assigned To: EasyTAG maintainer(s)
EasyTAG maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-07-11 13:19 UTC by Arnau
Modified: 2021-05-26 09:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Arnau 2013-07-11 13:19:58 UTC
easytag freezes everytime I try to look for CDDB info.
I've used freed and musicbrainz (and heelo.org).

I'm compiling git version (d722f8375c7d2ad974d726cd2516f5b797a7dd35).

If you give instructions, I could try to debug it with gdb.

Arnau
Comment 1 David King 2013-07-11 14:10:34 UTC
I reproduced this with the automatic search, using the MusicBrainz FreeDB gateway. The gateway seems to take about 15 seconds to send the first result after the connection has been initiated, but eventually succeeds. The manual search is not affected, as it does not use the MusicBrainz gateway. Is this the behaviour that you are seeing, or does the UI freeze indefinitely?

The code in EasyTAG to do CDDB lookups is absolutely horrible, and only updates the UI when data is received on the CDDB socket, causing a delay when no data has been received. To fix this neatly, the asynchronous API of libsoup should be used to replace the low-level socket IO. I would like to do this, but it is quite a big job and I do not have time at the moment.
Comment 2 Arnau 2013-07-12 07:58:19 UTC
Hello David,

in my case, easytag freezes and it does not depend on the time.
I've seen that if instead of musicbrainz or freedb I use arnau.org, after few minutes it complains about the answer and the UI is ok again. But, as I said before, if I use valid servers, the freeze is for ever.


So, from your answer I should understand that this will be a bug for a long time.

Ok, I fully understand you. I'll be waiting for your updtae to use easytag again.


Many thanks for your answers and your help.

Arnau
Comment 3 David King 2013-07-12 08:31:07 UTC
I cannot reproduce the indefinite delay, so it sounds like a problem specific to your setup. Are you using a proxy server, or is there anything else out of the ordinary about your networking setup? The proxy code (and the CDDB code in general) in EasyTAG is rather fragile, but unfortunately I do not have an idea of why it is failing for you and not for me.
Comment 4 Arnau 2013-07-12 10:05:36 UTC
Hi David,

AFAIK I have no network special configuarion. I can directly reach freedb / musicbrainz

$ telnet freedb.freedb.org 80
Trying 195.214.216.38...
Connected to freedb.freedb.org.
Escape character is '^]'.

$ telnet freedb.musicbrainz.org 80
Trying 140.211.15.122...
Connected to freedb.musicbrainz.org.
Escape character is '^]'.

the url should be http://www.freedb.org/~cddb/cddb.cgi  || http://freedb.musicbrainz.org/~cddb/cddb.cgi

the second one gives the error:

500 Command syntax error: incorrect number of arguments.

but the first one gives me 404.

Arnau
Comment 5 André Klapper 2021-05-26 09:51:45 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new enhancement request ticket at
  https://gitlab.gnome.org/GNOME/easytag/-/issues/

Thank you for your understanding and your help.