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

启动就自动停止了 #660

Open
jing-xf opened this issue Aug 13, 2024 · 0 comments
Open

启动就自动停止了 #660

jing-xf opened this issue Aug 13, 2024 · 0 comments

Comments

@jing-xf
Copy link

jing-xf commented Aug 13, 2024

日志
athname =/dev/properties
File opened '/dev/properties' with oflags=0xa8000 from RX@0x40222e75[libc.so]0x1be75
File closed '/dev/properties' from RX@0x40220fe1[libc.so]0x19fe1
pathname =/proc/stat
File opened '/proc/stat' with oflags=0xa0000 from RX@0x40222e75[libc.so]0x1be75
Read 1871 bytes from '/proc/stat'
Read 0 bytes from '/proc/stat'
File closed '/proc/stat' from RX@0x40220fe1[libc.so]0x19fe1
pathname =/proc/self/maps
File opened '/proc/self/maps' with oflags=0x0 from RX@0x40166904[libNatciml.so]0x166904
Read 1 bytes from '/proc/self/maps'
Read 1 bytes from '/proc/self/maps'
Read 1 bytes from '/proc/self/maps'
Read 1 bytes from '/proc/self/maps'
Read 1 bytes from '/proc/self/maps'
很多Read 1 bytes from '/proc/self/maps'
Read 0 bytes from '/proc/self/maps'
exit status=0
2024-08-13 10:48:49.471 WARN 11768 --- [ main] c.github.unidbg.arm.AbstractARMEmulator : memory failed: address=0x0, size=4, value=0x0, PC=RX@0x4004bc14[libNatciml.so]0x4bc14, LR=unidbg@0xffff0000
2024-08-13 10:48:49.472 WARN 11768 --- [ main] com.github.unidbg.AbstractEmulator : emulate RX@0x4004bc15[libNatciml.so]0x4bc15 exception sp=unidbg@0xbffff798, msg=unicorn.UnicornException: Invalid memory read (UC_ERR_READ_UNMAPPED), offset=1ms
2024-08-13 10:48:49.472 WARN 11768 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mingRenService' defined in file [D:\ideaProject\feichangzhun\target\classes\com\anjia\unidbgserver\service\MingRenService.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.anjia.unidbgserver.service.MingRenService]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Illegal JNI version: 0xffffffff
2024-08-13 10:48:49.532 ERROR 11768 --- [ main] o.s.boot.SpringApplication : Application run failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mingRenService' defined in file [D:\ideaProject\feichangzhun\target\classes\com\anjia\unidbgserver\service\MingRenService.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.anjia.unidbgserver.service.MingRenService]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Illegal JNI version: 0xffffffff
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1232)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:338)
at com.anjia.unidbgserver.UnidbgServerApplication.main(UnidbgServerApplication.java:31)
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.anjia.unidbgserver.service.MingRenService]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Illegal JNI version: 0xffffffff
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:224)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1326)
... 15 common frames omitted
Caused by: java.lang.IllegalStateException: Illegal JNI version: 0xffffffff
at com.github.unidbg.linux.android.dvm.BaseVM.checkVersion(BaseVM.java:194)
at com.github.unidbg.linux.android.dvm.DalvikModule.callJNI_OnLoad(DalvikModule.java:39)
at com.anjia.unidbgserver.service.MingRenService.(MingRenService.java:173)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:211)
... 17 common frames omitted

Process finished with exit code 1

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