解密时出现错误”RuntimeError: integer divide by zero“ #36

Closed
opened 2023-03-21 16:37:07 +00:00 by kedec · 2 comments
name about title labels assignees
Bug报告 报告Bug以帮助改进程序 bug
  • 请按照此模板填写,否则可能立即被关闭
  • 我确认已经搜索过Issue不存并确认相同的Issue
  • 我有证据表明这是程序导致的问题(如不确认,可以在Discussions内提出)

Bug描述

如题,在网页端(版本1.10.3)解密时右上角弹窗提示出现错误“RuntimeError: integer divide by zero”。同时控制台有错误输出(详细报错在下面 Console 报错部分)。

同样的文件使用 cli (版本 build 81)则可以正常解密。

复现方法

正常解密即可。提供一个样本文件。

程序截图或者Console报错信息

image

Console 报错:

RuntimeError: integer divide by zero
    ut https://demo.unlock-music.dev/js/0.a81c5e11.worker.js?__WB_REVISION__=0894eaff0b95f712013968e791f418c5:1
    w https://demo.unlock-music.dev/js/0.a81c5e11.worker.js?__WB_REVISION__=0894eaff0b95f712013968e791f418c5:6
    c https://demo.unlock-music.dev/js/0.a81c5e11.worker.js?__WB_REVISION__=0894eaff0b95f712013968e791f418c5:21
    s https://demo.unlock-music.dev/js/0.a81c5e11.worker.js?__WB_REVISION__=0894eaff0b95f712013968e791f418c5:21
    o https://demo.unlock-music.dev/js/0.a81c5e11.worker.js?__WB_REVISION__=0894eaff0b95f712013968e791f418c5:21
app.b4142dc7.js:1:2452
    addFile https://demo.unlock-music.dev/js/app.b4142dc7.js:1
RuntimeError: integer divide by zero
    ut https://demo.unlock-music.dev/js/0.a81c5e11.worker.js?__WB_REVISION__=0894eaff0b95f712013968e791f418c5:1
    w https://demo.unlock-music.dev/js/0.a81c5e11.worker.js?__WB_REVISION__=0894eaff0b95f712013968e791f418c5:6
    c https://demo.unlock-music.dev/js/0.a81c5e11.worker.js?__WB_REVISION__=0894eaff0b95f712013968e791f418c5:21
    s https://demo.unlock-music.dev/js/0.a81c5e11.worker.js?__WB_REVISION__=0894eaff0b95f712013968e791f418c5:21
    o https://demo.unlock-music.dev/js/0.a81c5e11.worker.js?__WB_REVISION__=0894eaff0b95f712013968e791f418c5:21
 「航拍中国」05-1 - 王备.mgg app.b4142dc7.js:1:79849
    showFail https://demo.unlock-music.dev/js/app.b4142dc7.js:1
    nt https://demo.unlock-music.dev/js/chunk-vendors.279a5a28.js:10
    r https://demo.unlock-music.dev/js/chunk-vendors.279a5a28.js:10
    nt https://demo.unlock-music.dev/js/chunk-vendors.279a5a28.js:10
    $emit https://demo.unlock-music.dev/js/chunk-vendors.279a5a28.js:10
    addFile https://demo.unlock-music.dev/js/app.b4142dc7.js:1
TypeError: window._paq is undefined
    showFail https://demo.unlock-music.dev/js/app.b4142dc7.js:1
    nt https://demo.unlock-music.dev/js/chunk-vendors.279a5a28.js:10
    r https://demo.unlock-music.dev/js/chunk-vendors.279a5a28.js:10
    nt https://demo.unlock-music.dev/js/chunk-vendors.279a5a28.js:10
    $emit https://demo.unlock-music.dev/js/chunk-vendors.279a5a28.js:10
    addFile https://demo.unlock-music.dev/js/app.b4142dc7.js:1
chunk-ven

环境信息:

  • 操作系统和浏览器:Windows 10,Firefox 111.0
  • 程序版本:1.10.3
  • 获取音乐文件所使用的客户端及其版本信息:QQ 音乐 19.17
--- name: Bug报告 about: 报告Bug以帮助改进程序 title: '' labels: bug assignees: '' --- * 请按照此模板填写,否则可能立即被关闭 - [x] 我确认已经搜索过Issue不存并确认相同的Issue - [x] 我有证据表明这是程序导致的问题(如不确认,可以在[Discussions](https://github.com/ix64/unlock-music/discussions)内提出) **Bug描述** 如题,在网页端(版本`1.10.3`)解密时右上角弹窗提示出现错误“RuntimeError: integer divide by zero”。同时控制台有错误输出(详细报错在下面 Console 报错部分)。 同样的文件使用 cli (版本 [`build 81`](https://git.unlock-music.dev/um/-/packages/generic/cli-build/81))则可以正常解密。 **复现方法** 正常解密即可。提供一个样本文件。 **程序截图或者Console报错信息** ![image](/attachments/280247c0-8304-4c1d-afb7-63bd10524f64) Console 报错: ``` RuntimeError: integer divide by zero ut https://demo.unlock-music.dev/js/0.a81c5e11.worker.js?__WB_REVISION__=0894eaff0b95f712013968e791f418c5:1 w https://demo.unlock-music.dev/js/0.a81c5e11.worker.js?__WB_REVISION__=0894eaff0b95f712013968e791f418c5:6 c https://demo.unlock-music.dev/js/0.a81c5e11.worker.js?__WB_REVISION__=0894eaff0b95f712013968e791f418c5:21 s https://demo.unlock-music.dev/js/0.a81c5e11.worker.js?__WB_REVISION__=0894eaff0b95f712013968e791f418c5:21 o https://demo.unlock-music.dev/js/0.a81c5e11.worker.js?__WB_REVISION__=0894eaff0b95f712013968e791f418c5:21 app.b4142dc7.js:1:2452 addFile https://demo.unlock-music.dev/js/app.b4142dc7.js:1 RuntimeError: integer divide by zero ut https://demo.unlock-music.dev/js/0.a81c5e11.worker.js?__WB_REVISION__=0894eaff0b95f712013968e791f418c5:1 w https://demo.unlock-music.dev/js/0.a81c5e11.worker.js?__WB_REVISION__=0894eaff0b95f712013968e791f418c5:6 c https://demo.unlock-music.dev/js/0.a81c5e11.worker.js?__WB_REVISION__=0894eaff0b95f712013968e791f418c5:21 s https://demo.unlock-music.dev/js/0.a81c5e11.worker.js?__WB_REVISION__=0894eaff0b95f712013968e791f418c5:21 o https://demo.unlock-music.dev/js/0.a81c5e11.worker.js?__WB_REVISION__=0894eaff0b95f712013968e791f418c5:21 「航拍中国」05-1 - 王备.mgg app.b4142dc7.js:1:79849 showFail https://demo.unlock-music.dev/js/app.b4142dc7.js:1 nt https://demo.unlock-music.dev/js/chunk-vendors.279a5a28.js:10 r https://demo.unlock-music.dev/js/chunk-vendors.279a5a28.js:10 nt https://demo.unlock-music.dev/js/chunk-vendors.279a5a28.js:10 $emit https://demo.unlock-music.dev/js/chunk-vendors.279a5a28.js:10 addFile https://demo.unlock-music.dev/js/app.b4142dc7.js:1 TypeError: window._paq is undefined showFail https://demo.unlock-music.dev/js/app.b4142dc7.js:1 nt https://demo.unlock-music.dev/js/chunk-vendors.279a5a28.js:10 r https://demo.unlock-music.dev/js/chunk-vendors.279a5a28.js:10 nt https://demo.unlock-music.dev/js/chunk-vendors.279a5a28.js:10 $emit https://demo.unlock-music.dev/js/chunk-vendors.279a5a28.js:10 addFile https://demo.unlock-music.dev/js/app.b4142dc7.js:1 chunk-ven ``` **环境信息:** - 操作系统和浏览器:Windows 10,Firefox 111.0 - 程序版本:1.10.3 - 获取音乐文件所使用的客户端及其版本信息:QQ 音乐 19.17
lsr added the
bug
label 2023-05-07 01:31:03 +00:00
Owner

错误来自编译后的 wasm 模块。

已提交对应的 issue 到 xhacker-zzz/QmcWasm#1

请暂时换用 um-react仓库) 或 um-cli 进行处理。

错误来自编译后的 wasm 模块。 已提交对应的 issue 到 xhacker-zzz/QmcWasm#1 。 请暂时换用 [um-react](https://um-react.netlify.app/)([仓库](https://git.unlock-music.dev/um/um-react)) 或 [um-cli](https://git.unlock-music.dev/um/cli) 进行处理。
lsr referenced this issue from a commit 2023-08-28 17:10:06 +00:00
Owner

已修正。

已修正。
lsr closed this issue 2023-08-28 17:10:30 +00:00
lsr referenced this issue from a commit 2024-09-01 17:12:55 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: um/web#36
No description provided.