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

vmtool error: ArthasJniLibraryxxxx.tmp no suitable image found #2828

Open
1 task
charles1503 opened this issue May 8, 2024 · 0 comments
Open
1 task

vmtool error: ArthasJniLibraryxxxx.tmp no suitable image found #2828

charles1503 opened this issue May 8, 2024 · 0 comments

Comments

@charles1503
Copy link

  • 我已经在 issues 里搜索,没有重复的issue。

环境信息

  • arthas-boot.jar 或者 as.sh 的版本: xxx
  • Arthas 版本: 3.7.2 / 3.7.2编译版
  • 操作系统版本: MacOS Majove 10.14.6 (18G9323)
  • 目标进程的JVM版本: Java SE 8(1.8.0_401) / Eclipse Temurin 8(1.8.0_412)
  • 执行arthas-boot的版本: 3.7.2 / 3.7.2编译版

重现问题的步骤

执行 vmtool时报错

期望的结果

如何解决这个问题?

[INFO] arthas home: /Users/charles/work/arthas/arthas/packaging/target/arthas-bin
[INFO] The target process already listen port 3658, skip attach.
[INFO] arthas-client connect 127.0.0.1 3658
  ,---.  ,------. ,--------.,--.  ,--.  ,---.   ,---.
 /  O  \ |  .--. ''--.  .--'|  '--'  | /  O  \ '   .-'
|  .-.  ||  '--'.'   |  |   |  .--.  ||  .-.  |`.  `-.
|  | |  ||  |\  \    |  |   |  |  |  ||  | |  |.-'    |
`--' `--'`--' '--'   `--'   `--'  `--'`--' `--'`-----'

wiki       https://arthas.aliyun.com/doc
tutorials  https://arthas.aliyun.com/doc/arthas-tutorials.html
version    3.7.2.20240508134613
main_class com.crmixc.trade.application.svr.App
pid        72930
time       2024-05-08 13:59:55

[arthas@72930]$ vmtool --action getInstances -c 18b4aac2 --className com.crmixc.trade.application.biz.service.impl.OrderUploadServiceImpl --express 'instances[0]'
vmtool error: /private/var/folders/vy/qqvts3f91rj3rm_x_nfdj9xh0000gn/T/ArthasJniLibrary2690960575193180013.tmp: dlopen(/private/var/folders/vy/qqvts3f91rj3rm_x_nfdj9xh0000gn/T/ArthasJniLibrary2690960575193180013.tmp, 1): no suitable image found.  Did find:
	/private/var/folders/vy/qqvts3f91rj3rm_x_nfdj9xh0000gn/T/ArthasJniLibrary2690960575193180013.tmp: cannot load 'ArthasJniLibrary2690960575193180013.tmp' (load command 0x80000034 is unknown)
	/private/var/folders/vy/qqvts3f91rj3rm_x_nfdj9xh0000gn/T/ArthasJniLibrary2690960575193180013.tmp: cannot load 'ArthasJniLibrary2690960575193180013.tmp' (load command 0x80000034 is unknown)
[arthas@72930]$ stop
Resetting all enhanced classes ...
Affect(class count: 0 , method count: 0) cost in 2 ms, listenerId: 0
Arthas Server is going to shutdown...
[arthas@72930]$ session (c519c257-825d-4cbd-872b-6756c37aae1d) is closed because server is going to shutdown.
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