GNOME Bugzilla – Bug 704001
freeze when searching CDDB
Last modified: 2021-05-26 09:51:45 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
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.
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
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.
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
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.