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

Attempt to access memory outside buffer bounds出错是怎么回事? #163

Open
BardLyf opened this issue Apr 12, 2023 · 0 comments
Open

Comments

@BardLyf
Copy link

BardLyf commented Apr 12, 2023

第一次备份,生成了html,但是出错了没生成pdf。
第二次备份,选了跳过抓取,2019-06-05这条之前都正常输出了pdf,但到这条就出错了。
2023-04-12 12:38:47.156: [GenerateCustomer] 正在添加页面2019-06-05(第5/23项)下,第1/1条微博
2023-04-12 12:38:47.157: [GenerateCustomer] catch error
2023-04-12 12:38:47.158: [GenerateCustomer] RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds
at new NodeError (node:internal/errors:371:5)
at boundsError (node:internal/buffer:84:11)
at Buffer.readUInt16LE (node:internal/buffer:243:5)
at Object.validate (C:\Users\z\AppData\Local\Programs\stablog\resources\app\node_modules\image-size\dist\types\cur.js:7:20)
at finder (C:\Users\z\AppData\Local\Programs\stablog\resources\app\node_modules\image-size\dist\detector.js:26:55)
at Array.find ()
at Object.detector (C:\Users\z\AppData\Local\Programs\stablog\resources\app\node_modules\image-size\dist\detector.js:27:17)
at lookup (C:\Users\z\AppData\Local\Programs\stablog\resources\app\node_modules\image-size\dist\index.js:32:29)
at Function.imageSize (C:\Users\z\AppData\Local\Programs\stablog\resources\app\node_modules\image-size\dist\index.js:87:16)
at C:\Users\z\AppData\Local\Programs\stablog\resources\app\dist\command\generate\customer.js:1039:51
at Generator.next ()
at asyncGeneratorStep (C:\Users\z\AppData\Local\Programs\stablog\resources\app\dist\command\generate\customer.js:50:103)
at _next (C:\Users\z\AppData\Local\Programs\stablog\resources\app\dist\command\generate\customer.js:52:194)
2023-04-12 12:38:47.159: [GenerateCustomer] command finish
2023-04-12 12:38:47.159: [DispatchCommand] 生成电子书命令执行完毕
2023-04-12 12:38:47.159: [DispatchCommand] 所有命令执行完毕
2023-04-12 12:38:47.160: [DispatchCommand] command finish
2023-04-12 12:38:47.160: 所有任务执行完毕, 打开电子书文件夹 => C:\Users\z\AppData\Local\Programs\stablog\resources\app\稳部落输出的电子书

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