Picard 2.1.3 freezes with slave server

#1

I’ve been running my musicbrainz slave server in a VM for some time now, i use docker with the container from here: https://github.com/linuxserver/docker-musicbrainz

After updating Picard to 2.1.3 the program crashes when i lookup a new album, it disappears leaving no traces. I removed the container and installed the 23.03.19 update, reload the entire DB and Picard still crashes when i try to scan. I tried a clean install of Picard, without any plugins, it didn’t work. Changing Picard’s server to musicbrainz.org, port 443, the program works fine.

I don’t think the container is to blame since when i add a folder i already tagged before, it retrieves the data without a problem. Only when i add new media and click Lookup this happens. The AcousticID scan and the web interface both work fine with my VM. Lookup in browser works, it runs on port 5000, the same port i always used in Picard.

I tried to save a debug log but it just hangs and i have to end with ctrl+break. I don’t think it will help much but here it is: https://pastebin.com/UevLyvYT

The crash is logged on Windows event log:

  • 1000 2 100 0x80000000000000 5795 Application EDITED
  • picard.exe 2.1.3.0 5b8e995f Qt5Core.dll 5.12.1.0 5c4f4548 c0000409 0000000000028858 d8 01d4e4ffd9e5f5e1 C:\Program Files\MusicBrainz Picard\picard.exe C:\Program Files\MusicBrainz Picard\Qt5Core.dll 1c1677d3-3234-4850-9086-72acd84871d9

Using Win 10.

0 Likes

#2

Musicbrainz do have thair own containers and this is how I’m running my own instance.

I would not expect using the containers from linuxserver.io to be much different

1 Like

#3

No good idea what is happening here, especially since there seems to be no exception logged at the end. But can you try and see what your local server answers on the following URL:

http://192.168.1.18:5000/ws/2/recording?limit=25&query=track%3A%28só eu sei%29 artist%3A%28capital inicial%29 release%3A%28sonora%29 tnum%3A%2811%29 tracks%3A%2811%29 qdur%3A%28106%29

1 Like

#4

Looks like a full response to me.

https://pastebin.com/btPBe9rz

0 Likes

#5

Looks normal, although this gives me an idea. It could be possible that the server is not responding with JSON data as it should. If you can try the following request using the “curl” tool (you can get it for Windows at https://curl.haxx.se/windows/) and post the output to see if my theory is valid:

curl -X GET -H 'Accept: application/json' -i 'https://musicbrainz.org/ws/2/release/86baa9d0-b610-4721-80ee-bc70f5c0680a'

The expected output here would be JSON data instead of XML.

1 Like

#6

Here are the output from both servers

MYVM:~$ docker exec -it musicbrainz /bin/bash

musicbrainz.org:

root@mydockerid:/# curl -X GET -H 'Accept: application/json' -i 'https://musicbrainz.org/ws/2/release/86baa9d0-b610-4721-80ee-bc70f5c0680a'
HTTP/2 200 
date: Thu, 28 Mar 2019 23:27:09 GMT
content-type: application/json; charset=utf-8
content-length: 619
vary: Accept-Encoding
x-ratelimit-limit: 1200
x-ratelimit-remaining: 933
x-ratelimit-reset: 1553815630
server: Plack::Handler::Starlet
etag: "7f29fc59f9c248c5f80e0635af92438b"
access-control-allow-origin: *

{"disambiguation":"","barcode":"5099751351825","release-events":[{"date":"2003-10-13","area":{"sort-name":"Germany","name":"Germany","iso-3166-1-codes":["DE"],"disambiguation":"","id":"85752fda-13c4-31a3-bee5-0e5cb1f51dad"}}],"cover-art-archive":{"front":true,"back":false,"count":1,"artwork":true,"darkened":false},"country":"DE","id":"86baa9d0-b610-4721-80ee-bc70f5c0680a","date":"2003-10-13","packaging-id":null,"status-id":"4e304316-386d-3409-af2e-78857eec5cfe","text-representation":{"language":"eng","script":"Latn"},"status":"Official","packaging":null,"title":"The Focus","quality":"normal","asin":"B0000DELA9"}root@3d2b3e37d3d9:/# 

my virtual machine:

root@mydockerid:/# curl -X GET -H 'Accept: application/json' -i 'http://192.168.1.18:5000/ws/2/release/86baa9d0-b610-4721-80ee-bc70f5c0680a'
HTTP/1.1 200 OK
Server: nginx/1.14.2
Date: Thu, 28 Mar 2019 23:28:40 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 619
Connection: keep-alive
ETag: "e0089bf4e9497fab66256ba98e45e20c"
Expires: Fri, 29 Mar 2019 00:10:00 GMT
Last-Mod i> fied: Thu, 28 Mar 2019 23:10:00 GMT
Access-Control-Allow-Origin: *

{"asin":"B0000DELA9","release-events":[{"date":"2003-10-13","area":{"iso-3166-1-codes":["DE"],"sort-name":"Germany","disambiguation":"","id":"85752fda-13c4-31a3-bee5-0e5cb1f51dad","name":"Germany"}}],"id":"86baa9d0-b610-4721-80ee-bc70f5c0680a","status-id":"4e304316-386d-3409-af2e-78857eec5cfe","disambiguation":"","text-representation":{"script":"Latn","language":"eng"},"country":"DE","status":"Official","quality":"normal","barcode":"5099751351825","cover-art-archive":{"back":false,"darroot@root@root@3d2b3root@3d2b3e37d3d9:/#root@root@root@3d2b3root@root@root@3d2b3e37d3d9:/#
0 Likes