Dashboard building issue "RuntimeError: memory access out of bounds"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,


I was building ceph with the tag "v19.0.0" on Milkv Pioneer board (RISCV arch, OS is fedora-riscv 6.1.55)
I ran "./do_cmake.sh -DCMAKE_BUILD_TYPE=RelWithDebInfo -DWITH_SPDK=ON" then just went to the "build" folder and ran "ninja" command.
But it failed with the following dashboard error:


[1/2] cd /mnt/ssd/projects/test/ceph/build/src/pybind/mgr/dashboard/frontend && . /mnt/ssd/projects/test/ceph/build/src/pybind/mgr/dashboard/frontend/node-env/bin/activate && npm config set cache /mnt/ssd/projects/test/ceph/build/src/pybind/mgr/dashboard/frontend/node-env/.npm --userconfig /mnt/ssd/projects/test/ceph/build/src/pybind/mgr/dashboard/frontend/node-env/.npmrc && deactivate
[2/2] dashboard frontend is being created
FAILED: src/pybind/mgr/dashboard/frontend/dist /mnt/ssd/projects/test/ceph/build/src/pybind/mgr/dashboard/frontend/dist
cd /mnt/ssd/projects/test/ceph/src/pybind/mgr/dashboard/frontend && . /mnt/ssd/projects/test/ceph/build/src/pybind/mgr/dashboard/frontend/node-env/bin/activate && DASHBOARD_FRONTEND_LANGS="" npm run build:localize -- --output-path /mnt/ssd/projects/test/ceph/build/src/pybind/mgr/dashboard/frontend/dist --configuration=production --progress=false && deactivate


> ceph-dashboard@0.0.0 build:localize
> node cd --env --pre && ng build --localize --output-path /mnt/ssd/projects/test/ceph/build/src/pybind/mgr/dashboard/frontend/dist --configuration=production --progress=false


[cd.js] './angular.backup.json' already exists, restoring it into './angular.json'}
[cd.js] Preparing build of EN.
[cd.js] 'src/environments/environment.tpl.ts' was copied to 'src/environments/environment.prod.ts'
[cd.js] 'src/environments/environment.tpl.ts' was copied to 'src/environments/environment.ts'
[cd.js] Writing to ./angular.json
[cd.js] Placeholders were replace in 'src/environments/environment.prod.ts'
[cd.js] Placeholders were replace in 'src/environments/environment.ts'
    TypeScript compiler options "target" and "useDefineForClassFields" are set to "ES2022" and "false" respectively by the Angular CLI. To control ECMA version and features use the Browerslist configuration. For more information, see https://angular.io/guide/build#configuring-browser-compatibility;
    NOTE: You can set the "target" to "ES2022" in the project's tsconfig to remove this warning.
wasm://wasm/7f04b08a:1




RuntimeError: memory access out of bounds
    at wasm://wasm/7f04b08a:wasm-function[2]:0x322
    at WasmHash.digest (/mnt/ssd/projects/test/ceph/src/pybind/mgr/dashboard/frontend/node_modules/webpack/lib/util/hash/wasm-hash.js:138:11)
    at BatchedHash.digest (/mnt/ssd/projects/test/ceph/src/pybind/mgr/dashboard/frontend/node_modules/webpack/lib/util/hash/BatchedHash.js:64:20)
    at /mnt/ssd/projects/test/ceph/src/pybind/mgr/dashboard/frontend/node_modules/webpack/lib/DefinePlugin.js:595:38
&nbsp; &nbsp; at _next42 (eval at create (/mnt/ssd/projects/test/ceph/src/pybind/mgr/dashboard/frontend/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous&gt;:36:1)
&nbsp; &nbsp; at _next20 (eval at create (/mnt/ssd/projects/test/ceph/src/pybind/mgr/dashboard/frontend/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous&gt;:97:1)
&nbsp; &nbsp; at Hook.eval [as call] (eval at create (/mnt/ssd/projects/test/ceph/src/pybind/mgr/dashboard/frontend/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous&gt;:141:1)
&nbsp; &nbsp; at Hook.CALL_DELEGATE [as _call] (/mnt/ssd/projects/test/ceph/src/pybind/mgr/dashboard/frontend/node_modules/tapable/lib/Hook.js:14:14)
&nbsp; &nbsp; at Compiler.newCompilation (/mnt/ssd/projects/test/ceph/src/pybind/mgr/dashboard/frontend/node_modules/webpack/lib/Compiler.js:1122:26)
&nbsp; &nbsp; at /mnt/ssd/projects/test/ceph/src/pybind/mgr/dashboard/frontend/node_modules/webpack/lib/Compiler.js:1166:29
&nbsp; &nbsp; at eval (eval at create (/mnt/ssd/projects/test/ceph/src/pybind/mgr/dashboard/frontend/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous&gt;:13:1)


Node.js v18.17.0
ninja: build stopped: subcommand failed.


Has anyone met this same issue before?
How to fix it???
Please let me know if further info is needed.Thanks a lot.




(I will try to build on the latest mainline code tonight to see if the same issue still exists)




Best Regards,
Dongchuan
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux