Failure injecting the monodatacollector library dll injection failed symbol lookup error

Hi, I have a problem with injecting MonoDatacollector dll I have tried all the methods, enable mono in CE but still not working. Reinstalled CE, run as admin, loaded the game first and then enable injection... I tried to apply it on a game but it just doesn't seem to work any idea how i can overcome this? Thank you for your time! Really appreciate it

Atanako

Noobzor
Noobzor
Posts: 6
Joined: Mon Dec 09, 2019 9:48 pm
Reputation: 0

Can’t inject MonoDatacollector dll

Hi, I have a problem with injecting MonoDatacollector dll
I have tried all the methods, enable mono in CE but still not working. Reinstalled CE, run as admin, loaded the game first and then enable injection… I tried to apply it on a game but it just doesn’t seem to work :( any idea how i can overcome this? Thank you for your time! Really appreciate it :D





User avatar

GreenHouse

GreenHouse!
GreenHouse!
Posts: 862
Joined: Fri Oct 12, 2018 10:25 pm
Reputation: 874

Re: Can’t inject MonoDatacollector dll

Post

by GreenHouse » Mon Dec 09, 2019 11:22 pm

If you already ran it as admin, and have the last version… All I can say is, make sure that you’re choosing the right process and check that you have the DLLs in the CE folder. Maybe the antivirus for some reason deleted them. And try disabling the antivirus.
Other than that, no idea. Try restarting your PC.


User avatar

cfemen

RCE Fanatics
RCE Fanatics
Posts: 805
Joined: Fri Feb 15, 2019 5:45 pm
Reputation: 1029

Re: Can’t inject MonoDatacollector dll

Post

by cfemen » Mon Dec 09, 2019 11:37 pm

Atanako wrote: ↑

Mon Dec 09, 2019 10:58 pm

GreenHouse wrote: ↑

Mon Dec 09, 2019 10:54 pm


What game is it? And does the game use Unity without Il2cpp?

It’s Nexomon viewtopic.php?f=2&t=10978&start=15
Everyone seems to be able to do it just fine, only I have problems and can’t seem to know where the problem start

Can you attach the process, and make a Screenshot from Cheat Engine window?
Maybe they updated the game with IL2CPP…


Atanako

Noobzor
Noobzor
Posts: 6
Joined: Mon Dec 09, 2019 9:48 pm
Reputation: 0

Re: Can’t inject MonoDatacollector dll

Post

by Atanako » Tue Dec 10, 2019 4:51 am

cfemen wrote: ↑

Mon Dec 09, 2019 11:37 pm

Atanako wrote: ↑

Mon Dec 09, 2019 10:58 pm

GreenHouse wrote: ↑

Mon Dec 09, 2019 10:54 pm


What game is it? And does the game use Unity without Il2cpp?

It’s Nexomon viewtopic.php?f=2&t=10978&start=15
Everyone seems to be able to do it just fine, only I have problems and can’t seem to know where the problem start

Can you attach the process, and make a Screenshot from Cheat Engine window?
Maybe they updated the game with IL2CPP…

Image

I don’t think they update.. the new update was 3 dec so it still is the version I’m using now


User avatar

cfemen

RCE Fanatics
RCE Fanatics
Posts: 805
Joined: Fri Feb 15, 2019 5:45 pm
Reputation: 1029

Re: Can’t inject MonoDatacollector dll

Post

by cfemen » Wed Dec 11, 2019 4:12 pm

Atanako wrote: ↑

Tue Dec 10, 2019 4:51 am

cfemen wrote: ↑

Mon Dec 09, 2019 11:37 pm

Can you attach the process, and make a Screenshot from Cheat Engine window?
Maybe they updated the game with IL2CPP…

Image

I don’t think they update.. the new update was 3 dec so it still is the version I’m using now

yeah it should work, its clearly a problem of your machine.
MonoDataCollector64.dll is in your Cheat Engine folder?

did you try the suggestions from GreenHouse?
antivirus would be the first thing that maybe blocks the MonoDatacollector.



Atanako

Noobzor
Noobzor
Posts: 6
Joined: Mon Dec 09, 2019 9:48 pm
Reputation: 0

Re: Can’t inject MonoDatacollector dll

Post

by Atanako » Sat Dec 14, 2019 8:50 pm

cfemen wrote: ↑

Wed Dec 11, 2019 4:12 pm

Atanako wrote: ↑

Tue Dec 10, 2019 4:51 am

cfemen wrote: ↑

Mon Dec 09, 2019 11:37 pm

Can you attach the process, and make a Screenshot from Cheat Engine window?
Maybe they updated the game with IL2CPP…

Image

I don’t think they update.. the new update was 3 dec so it still is the version I’m using now

yeah it should work, its clearly a problem of your machine.
MonoDataCollector64.dll is in your Cheat Engine folder?

did you try the suggestions from GreenHouse?
antivirus would be the first thing that maybe blocks the MonoDatacollector.

I tried both but still nothing..



User avatar

fantomas

Table Makers
Table Makers
Posts: 1164
Joined: Sat Mar 25, 2017 7:13 pm
Reputation: 540

Re: Can’t inject MonoDatacollector dll

Post

by fantomas » Sat Dec 14, 2019 9:33 pm

Atanako wrote: ↑

Sat Dec 14, 2019 8:52 pm


I’m new to this, how do I see inside of the mono?

I’m talking about that ‘Mono’ script you showed on your screenshot

Image

Just double click on that script and show us what’s inside. ;)


Memberberry

What is cheating?
What is cheating?
Posts: 3
Joined: Sat Dec 14, 2019 8:37 pm
Reputation: 0

Re: Can’t inject MonoDatacollector dll

Post

by Memberberry » Sat Dec 14, 2019 10:19 pm

Hey guys!

Have the same problem when using LUA scripts.

As soon as I activate a script CE shows me «Failure injecting the MonoDatacollector dll» in the LUA Engine window.

What did I do so far?
1. Reinstalled CE 7.0
2. Deactivated my Antivirus
3. PC Restart
4. Checked the folder of the .dll-files
5. Checked other tables:
— Battletech
— Endless Space 2
— Pathfinder Kingmaker

Yes, I´m running in adminmode.

AOB scripts are working afaik

Can anyone help? Thanks in advance!


capeleto

Novice Cheater
Novice Cheater
Posts: 18
Joined: Wed Dec 18, 2019 4:28 am
Reputation: 5

Re: Can’t inject MonoDatacollector dll

Post

by capeleto » Wed Dec 18, 2019 4:52 am

fantomas wrote: ↑

Sat Dec 14, 2019 9:33 pm

Atanako wrote: ↑

Sat Dec 14, 2019 8:52 pm


I’m new to this, how do I see inside of the mono?

I’m talking about that ‘Mono’ script you showed on your screenshot

Image

Just double click on that script and show us what’s inside. ;)

I’m having the same problem they’re having, and only with Nexomon!
I tried everything Memberbarry did as well.
1. Reinstalled CE 7.0
2. Deactivated my Antivirus
3. PC Restart
4. Checked the folder of the .dll-files
5. Checked other tables and they’re working.
Here is what inside the Mono that stays red, can’t activate it even in the «mono» tab with activate mono features.

Image

and the error

Image

AOB also doens’t work for me

Image

Can anyone help? Thanks in advance!


User avatar

fantomas

Table Makers
Table Makers
Posts: 1164
Joined: Sat Mar 25, 2017 7:13 pm
Reputation: 540

Re: Can’t inject MonoDatacollector dll

Post

by fantomas » Wed Dec 18, 2019 6:45 am

capeleto wrote: ↑

Wed Dec 18, 2019 4:52 am


AOB also doens’t work for me

Image

At the line 16, you have a label(iAdd) while at the line 24, you have mov eax,[iadd]

capeleto wrote: ↑

Wed Dec 18, 2019 4:52 am


Here is what inside the Mono that stays red, can’t activate it even in the «mono» tab with activate mono features.

Image

and the error

Image

No problem here (Win7x64), maybe it has something to do with your system ntfs folder (game installation) permissions, maybe it is why it does not allow you to load the mono dll.
Try to install CE at your desktop or another partition or if you have a second PC (your family or friends), try on it.


Recommend Projects

  • React photo

    React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo

    Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo

    Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo

    TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo

    Django

    The Web framework for perfectionists with deadlines.

  • Laravel photo

    Laravel

    A PHP framework for web artisans

  • D3 photo

    D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Visualization

    Some thing interesting about visualization, use data art

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo

    Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo

    Microsoft

    Open source projects and samples from Microsoft.

  • Google photo

    Google

    Google ❤️ Open Source for everyone.

  • Alibaba photo

    Alibaba

    Alibaba Open Source for everyone

  • D3 photo

    D3

    Data-Driven Documents codes.

  • Tencent photo

    Tencent

    China tencent open source team.

What do you do when the Java VM has a “symbol lookup error” when executing a JNI function? The symbol lookup error is not in the primary shared object library that support the JNI interface, nor is it directly within a library linked to the primary object library, but in a library that’s linked to a library that’s linked to your JNI shared object? (what an incredibly awkward sentence ☺) Particularly, what do you do when you don’t control the code for the library that contains the offending symbol?

I have a problem using JNI to access the SDK for a scientific camera (Andor NEO CMOS). I’m using the Netbeans C/C++ plugin on RHEL 6 to create a shared library (AndorC.so) that basically creates JNI wrappers around the methods provided by the cameras SDK. The camera SDK provides a set of methods to access the camera, which are packaged in a shared object library (libatcore.so). The libatcore.so library uses a series of additional libraries, libatdevregcam.so (for the real camera), libatdevsimcam.so (for the simulated camera), libatcl_bitflow.so (low level video board driver), etc. .

I have tested the camera SDK extensively and I can access the camera with no difficulty from C/C++. I have linked to the shared library (AndorC) that implements the JNI functions from a test C program (using a separate header file) and everything runs properly (i.e. I can read an image and the program completes normally).

My Java code can execute the “InitializeLibrary” and “FinalizeLibrary” functions from the SDK through the JNI interface so there is no problem finding the primary libatcore.so library or my AndorC.so library. There doesn’t appear to be any problem with the basic setup of the JNI. However, when I try to execute the “Open” function for the camera (i.e. the function that actually connects to the real and/ or simulated camera) I get an undefined symbol error in one of the libraries that the libatcore.so libraries uses at runtime (libdevsimcam.so).

/usr/local/java/jdk1.7.0_03/jre/bin/java: symbol lookup error: /usr/local/lib/libatdevsimcam.so: undefined symbol: _ZN20TAndorLibDebugOutput6OutputEPKciS1_xx24TAndorDebugFunctionLevel16TAndorDebugLevelS1_z
Java Result: 127

Essentially, the Java VM doesn’t have a problem with the libatcore.so (i.e. the main library file) and it doesn’t have a problem locating the associated runtime library (/usr/local/lib/libatdevsimcam.so) but it runs into an undefined symbol in that library when it tries to open the camera (note I’m actually opening the real camera NOT the simulated camera).

When I checked the dependencies on each of the libraries (libAndorC.so, libatcore.so, libatdevsimcam.so) I don’t find any undefined symbols. Obviously, the undefined symbol in the libatdevsimcam.so library isn’t a problem when the program is run directly from C/C++ but it’s causing a problem when the Java VM tries to load libatdevsimcam.so.

 libAndorC.so
linux-vdso.so.1 =>  (0x00007fff507ff000)
libatcore.so.3 => /usr/local/lib/libatcore.so.3 (0x00007fe23a278000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fe239f4a000)
libm.so.6 => /lib64/libm.so.6 (0x00007fe239cc6000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fe239ab0000)
libc.so.6 => /lib64/libc.so.6 (0x00007fe239730000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fe239513000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fe23930f000)
librt.so.1 => /lib64/librt.so.1 (0x00007fe239106000)
/lib64/ld-linux-x86-64.so.2 (0x0000003f07000000)
libatcore.so
linux-vdso.so.1 =>  (0x00007fffd53ff000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f7e6b645000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f7e6b440000)
librt.so.1 => /lib64/librt.so.1 (0x00007f7e6b238000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f7e6af31000)
libm.so.6 => /lib64/libm.so.6 (0x00007f7e6acac000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f7e6aa96000)
libc.so.6 => /lib64/libc.so.6 (0x00007f7e6a717000)
/lib64/ld-linux-x86-64.so.2 (0x0000003f07000000)
ldd libatdevsimcam.so
linux-vdso.so.1 =>  (0x00007fff247ef000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f5219dc4000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f5219bbf000)
librt.so.1 => /lib64/librt.so.1 (0x00007f52199b7000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f52196b0000)
libm.so.6 => /lib64/libm.so.6 (0x00007f521942b000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f5219215000)
libc.so.6 => /lib64/libc.so.6 (0x00007f5218e96000)
/lib64/ld-linux-x86-64.so.2 (0x0000003f07000000)

When I specifically check the symbol that the Java VM is having a problem with it’s clear that the symbol is undefined.

nm libatdevsimcam.so | grep _ZN20TAndor
             U _ZN20TAndorLibDebugOutput6OutputEPKciS1_xx24TAndorDebugFunctionLevel16TAndorDebugLevelS1_z

I thought perhaps the symbol wasn’t defined in the release vs. debug version of the libatdevsimcam.so library so I tried building a release version of the libAndorC.so but I got the same problem.

I have two basic questions

  1. Could this be a problem with C++ name mangling? I’ve tried compiling my camera test program with gcc instead of g++ and I run into a large number of compilation errors. I’ve read that C++ name mangling can cause problems.

  2. Is this a problem in the libatdevsimcam.so library provided by the manufacturer? I have no control over the code supplied by Andor to support the camera (all I can do is complain).

I’m basically stuck at this point because all of the SDK functions require a reference to the camera handle returned by the “Open” method. If I can’t open the camera I can’t proceed with developing the JNI interface to the camera that’s I need.

I’ve research this question extensively and I haven’t found any answers that directly address the issue. This isn’t the standard “unsatisfied link” error that’s so common in JNI posts and the basic JNI functionality seems to work (i.e. you can initialize and finalize the library or call any function that doesn’t directly access the camera) . This seems to be a situation where the Java VM runs into a problem with the native code that simply running the code directly doesn’t produce. How do you deal with this kind of issue? Is this a problem I need to take to the manufacturer or is there a configuration / compilation / linking method of dealing with this?

Some additional details:

  • Netbeans 6.9.1 development environment
  • JDK 1.7_0_03 64 bit server
  • Compiling sources as 64bit (i.e. there should be no 32 vs 64 bit problems)

Понравилась статья? Поделить с друзьями:
  • Failure getting nut ups alias socket error
  • Failure error send method file
  • Failure during update process fifa 23 ошибка
  • Failure delete failed internal error
  • Failure code 0x80004005 ns error failure