Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Unexpected exit when playing specific songs #31

Open
just-a-pony opened this issue Apr 7, 2022 · 0 comments
Open

[BUG] Unexpected exit when playing specific songs #31

just-a-pony opened this issue Apr 7, 2022 · 0 comments

Comments

@just-a-pony
Copy link

When playing some specific songs ,the program is always crash. But,rarely,it will works just fine.
Here's the log

[00:00:00.000] (7fd367e13b40) INFO   start netease cloud music rust client
[00:00:00.183] (7fd367e13b40) DEBUG  init player
[00:00:00.191] (7fd3630d5640) DEBUG  starting new connection: https://music.163.com/
[00:00:00.192] (7fd362ed4640) DEBUG  resolving host="music.163.com"
[00:00:00.204] (7fd3630d5640) DEBUG  connecting to [2407:ae80:200:1001::20]:443
[00:00:00.241] (7fd3630d5640) DEBUG  connected to [2407:ae80:200:1001::20]:443
[00:00:00.280] (7fd3630d5640) DEBUG  flushed 1093 bytes
[00:00:00.460] (7fd3630d5640) DEBUG  read 1888 bytes
[00:00:00.460] (7fd3630d5640) DEBUG  parsed 15 headers
[00:00:00.460] (7fd3630d5640) DEBUG  incoming body is chunked encoding
[00:00:00.460] (7fd3630d5640) DEBUG  incoming chunked header: 0x587 (1415 bytes)
[00:00:00.460] (7fd3630d5640) DEBUG  response '200 OK' for https://music.163.com/
[00:00:00.461] (7fd3630d5640) DEBUG  read 765 bytes
[00:00:00.461] (7fd3630d5640) DEBUG  incoming chunked header: 0x2F6 (758 bytes)
[00:00:00.461] (7fd3630d5640) DEBUG  read 633 bytes
[00:00:00.461] (7fd3630d5640) DEBUG  incoming chunked header: 0x272 (626 bytes)
[00:00:00.461] (7fd3630d5640) DEBUG  read 654 bytes
[00:00:00.461] (7fd3630d5640) DEBUG  incoming chunked header: 0x287 (647 bytes)
[00:00:00.462] (7fd3630d5640) DEBUG  read 738 bytes
[00:00:00.462] (7fd3630d5640) DEBUG  incoming chunked header: 0x2DB (731 bytes)
[00:00:00.462] (7fd3630d5640) DEBUG  read 1276 bytes
[00:00:00.462] (7fd3630d5640) DEBUG  incoming chunked header: 0x4F5 (1269 bytes)
[00:00:00.465] (7fd3630d5640) DEBUG  read 2502 bytes
[00:00:00.465] (7fd3630d5640) DEBUG  incoming chunked header: 0x9BF (2495 bytes)
[00:00:00.470] (7fd3630d5640) DEBUG  read 7213 bytes
[00:00:00.470] (7fd3630d5640) DEBUG  incoming chunked header: 0x1C25 (7205 bytes)
[00:00:00.504] (7fd3630d5640) DEBUG  read 8192 bytes
[00:00:00.504] (7fd3630d5640) DEBUG  incoming chunked header: 0x2DF1 (11761 bytes)
[00:00:00.504] (7fd3630d5640) DEBUG  read 3577 bytes
[00:00:00.506] (7fd3630d5640) DEBUG  read 1399 bytes
[00:00:00.506] (7fd3630d5640) DEBUG  incoming chunked header: 0x570 (1392 bytes)
[00:00:00.507] (7fd3630d5640) DEBUG  read 20 bytes
[00:00:00.507] (7fd3630d5640) DEBUG  incoming chunked header: 0xA (10 bytes)
[00:00:00.507] (7fd3630d5640) DEBUG  incoming body completed
[00:00:00.507] (7fd3630d5640) DEBUG  pooling idle connection for ("https", music.163.com)
[00:00:00.509] (7fd367e13b40) INFO   start mpris thread
[00:00:00.509] (7fd367e13b40) INFO   finish mpris thread
[00:00:00.510] (7fd36279f640) INFO   start
[00:00:00.511] (7fd367e13b40) DEBUG  2883 instructions outputed.
[00:00:00.511] (7fd3630d5640) DEBUG  reuse idle connection for ("https", music.163.com)
[00:00:00.511] (7fd3630d5640) DEBUG  flushed 1946 bytes
[00:00:00.581] (7fd3630d5640) DEBUG  read 1572 bytes
[00:00:00.581] (7fd3630d5640) DEBUG  parsed 16 headers
[00:00:00.581] (7fd3630d5640) DEBUG  incoming body is content-length (7458 bytes)
[00:00:00.581] (7fd3630d5640) DEBUG  response '200 OK' for https://music.163.com/weapi/user/playlist
[00:00:00.581] (7fd3630d5640) DEBUG  read 1448 bytes
[00:00:00.582] (7fd3630d5640) DEBUG  read 1448 bytes
[00:00:00.584] (7fd3630d5640) DEBUG  read 3474 bytes
[00:00:00.585] (7fd3630d5640) DEBUG  incoming body completed
[00:00:00.585] (7fd3630d5640) DEBUG  pooling idle connection for ("https", music.163.com)
[00:00:00.586] (7fd367e13b40) DEBUG  546 instructions outputed.
[00:00:00.760] (7fd367e13b40) DEBUG  0 instructions outputed.
[00:00:01.011] (7fd367e13b40) DEBUG  0 instructions outputed.
[00:00:01.260] (7fd367e13b40) DEBUG  0 instructions outputed.
[00:00:01.495] (7fd367e13b40) DEBUG  26 instructions outputed.
[00:00:01.495] (7fd367e13b40) INFO   send msg "Playlist"
[00:00:01.510] (7fd367e13b40) DEBUG  0 instructions outputed.
[00:00:01.510] (7fd367e13b40) INFO   send msg "null"
[00:00:01.658] (7fd367e13b40) DEBUG  26 instructions outputed.
[00:00:01.658] (7fd367e13b40) INFO   send msg "Stopped"
[00:00:01.760] (7fd367e13b40) DEBUG  0 instructions outputed.
[00:00:01.760] (7fd367e13b40) INFO   send msg "0"
[00:00:02.010] (7fd367e13b40) DEBUG  0 instructions outputed.
[00:00:02.010] (7fd367e13b40) INFO   send msg "false"
[00:00:02.260] (7fd367e13b40) DEBUG  28 instructions outputed.
[00:00:02.260] (7fd367e13b40) DEBUG  0 instructions outputed.
[00:00:02.300] (7fd367e13b40) DEBUG  28 instructions outputed.
[00:00:02.339] (7fd367e13b40) DEBUG  32 instructions outputed.
[00:00:02.381] (7fd367e13b40) DEBUG  33 instructions outputed.
[00:00:02.420] (7fd367e13b40) DEBUG  26 instructions outputed.
[00:00:02.462] (7fd367e13b40) DEBUG  26 instructions outputed.
[00:00:02.502] (7fd367e13b40) DEBUG  28 instructions outputed.
[00:00:02.510] (7fd367e13b40) DEBUG  0 instructions outputed.
[00:00:02.541] (7fd367e13b40) DEBUG  28 instructions outputed.
[00:00:02.761] (7fd367e13b40) DEBUG  0 instructions outputed.
[00:00:03.012] (7fd367e13b40) DEBUG  0 instructions outputed.
[00:00:03.261] (7fd367e13b40) DEBUG  0 instructions outputed.
[00:00:03.294] (7fd367e13b40) DEBUG  29 instructions outputed.
[00:00:03.425] (7fd367e13b40) DEBUG  29 instructions outputed.
[00:00:03.512] (7fd367e13b40) DEBUG  0 instructions outputed.
[00:00:03.762] (7fd367e13b40) DEBUG  0 instructions outputed.
[00:00:03.870] (7fd367e13b40) DEBUG  27 instructions outputed.
[00:00:04.011] (7fd367e13b40) DEBUG  0 instructions outputed.
[00:00:04.048] (7fd367e13b40) DEBUG  27 instructions outputed.
[00:00:04.261] (7fd367e13b40) DEBUG  0 instructions outputed.
[00:00:04.512] (7fd367e13b40) DEBUG  298 instructions outputed.
[00:00:04.513] (7fd367e13b40) DEBUG  0 instructions outputed.
[00:00:04.763] (7fd367e13b40) DEBUG  0 instructions outputed.
[00:00:04.916] (7fd3630d5640) DEBUG  reuse idle connection for ("https", music.163.com)
[00:00:04.916] (7fd3630d5640) DEBUG  flushed 2039 bytes
[00:00:05.006] (7fd3630d5640) DEBUG  read 1572 bytes
[00:00:05.006] (7fd3630d5640) DEBUG  parsed 16 headers
[00:00:05.006] (7fd3630d5640) DEBUG  incoming body is content-length (3076 bytes)
[00:00:05.006] (7fd3630d5640) DEBUG  response '200 OK' for https://music.163.com/weapi/v3/playlist/detail
[00:00:05.006] (7fd3630d5640) DEBUG  read 1987 bytes
[00:00:05.006] (7fd3630d5640) DEBUG  incoming body completed
[00:00:05.006] (7fd3630d5640) DEBUG  pooling idle connection for ("https", music.163.com)
[00:00:05.007] (7fd367e13b40) DEBUG  2115 instructions outputed.
[00:00:05.012] (7fd367e13b40) DEBUG  0 instructions outputed.
[00:00:05.262] (7fd367e13b40) DEBUG  0 instructions outputed.
[00:00:05.513] (7fd367e13b40) DEBUG  0 instructions outputed.
[00:00:05.685] (7fd367e13b40) DEBUG  189 instructions outputed.
[00:00:05.762] (7fd367e13b40) DEBUG  0 instructions outputed.
[00:00:05.902] (7fd367e13b40) DEBUG  143 instructions outputed.
[00:00:06.012] (7fd367e13b40) DEBUG  0 instructions outputed.
[00:00:06.180] (7fd3630d5640) DEBUG  reuse idle connection for ("https", music.163.com)
[00:00:06.180] (7fd3630d5640) DEBUG  flushed 1974 bytes
[00:00:06.242] (7fd3630d5640) DEBUG  read 839 bytes
[00:00:06.242] (7fd3630d5640) DEBUG  parsed 16 headers
[00:00:06.242] (7fd3630d5640) DEBUG  incoming body is content-length (356 bytes)
[00:00:06.242] (7fd3630d5640) DEBUG  incoming body completed
[00:00:06.242] (7fd3630d5640) DEBUG  pooling idle connection for ("https", music.163.com)
[00:00:06.242] (7fd3630d5640) DEBUG  response '200 OK' for https://music.163.com/weapi/song/enhance/player/url
[00:00:06.242] (7fd367e13b40) INFO   Song {
    id: Some(
        28762569,
    ),
    url: Some(
        "http://m8.music.126.net/20220408002902/41e7fd36575fd33217c26095b9b44739/ymusic/4b6e/9a9b/773b/c3269086d3e3245360dab5257a02161a.mp3",
    ),
}
[00:00:06.249] (7fd36259e640) DEBUG  starting new connection: http://m8.music.126.net/
[00:00:06.249] (7fd361b99640) DEBUG  resolving host="m8.music.126.net"
[00:00:06.258] (7fd36259e640) DEBUG  connecting to [2409:8c14:e04:1204:3::3f6]:80
[00:00:06.263] (7fd36259e640) DEBUG  connected to [2409:8c14:e04:1204:3::3f6]:80
[00:00:06.264] (7fd361d9a640) DEBUG  flushed 474 bytes
[00:00:06.275] (7fd36219c640) DEBUG  read 2739 bytes
[00:00:06.275] (7fd36219c640) DEBUG  parsed 30 headers
[00:00:06.275] (7fd36219c640) DEBUG  incoming body is content-length (3807809 bytes)
[00:00:06.275] (7fd36259e640) DEBUG  response '200 OK' for http://m8.music.126.net/20220408002902/41e7fd36575fd33217c26095b9b44739/ymusic/4b6e/9a9b/773b/c3269086d3e3245360dab5257a02161a.mp3
[00:00:06.275] (7fd36259e640) DEBUG  start download
[00:00:06.275] (7fd36259e640) DEBUG  first chunk
[00:00:06.275] (7fd36219c640) DEBUG  read 7320 bytes
[00:00:06.275] (7fd36219c640) DEBUG  read 2440 bytes

#Just The Similar Logs.  The Only Differences Is The Number Of Bytes.

[00:00:06.346] (7fd361f9b640) DEBUG  read 4880 bytes
[00:00:06.346] (7fd361f9b640) DEBUG  read 10209 bytes
[00:00:06.346] (7fd361f9b640) DEBUG  incoming body completed
[00:00:06.346] (7fd361f9b640) DEBUG  pooling idle connection for ("http", m8.music.126.net)
[00:00:06.346] (7fd36259e640) DEBUG  finish downloa
[00:00:06.493] (7fd367e13b40) ERROR  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }': src/player/track.rs:82
[00:00:06.493] (7fd367e13b40) DEBUG  Shutting down player thread ...

Full log is here
ncmt.log

@just-a-pony just-a-pony changed the title [BUG} Unexpected exit when playing specific songs [BUG] Unexpected exit when playing specific songs Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant