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

"Unknown" showing up in call stack #115

Open
gjaegy opened this issue Dec 16, 2024 · 10 comments
Open

"Unknown" showing up in call stack #115

gjaegy opened this issue Dec 16, 2024 · 10 comments

Comments

@gjaegy
Copy link

gjaegy commented Dec 16, 2024

Hi Milos,

MTuner seems to be unable to resolve module/function for a DLL (actually file extension is .dlg, but it's a .dll) that is being loaded dynamically (that's ImagineIG.dlg), see screenshot:

image

Thanks a lot !

@milostosic
Copy link
Collaborator

Can you try 4.9 please?

@gjaegy
Copy link
Author

gjaegy commented Dec 16, 2024

I'm on it. Will let you know in a few minutes.
rmem_hash.cpp still missing BTW

@gjaegy
Copy link
Author

gjaegy commented Dec 16, 2024

so, with the .zip provided, issue is still there:

image

@gjaegy
Copy link
Author

gjaegy commented Dec 16, 2024

trying 4.9 now (sorry didn't get the new release, I thought you were mentioning the .zip attached above).
same missing file
will get back to you in 5 minutes

@gjaegy
Copy link
Author

gjaegy commented Dec 16, 2024

/// Set to zero to disable linking lz4 functions in case you're
/// already statically linking against them
#define RMEM_LZ4_NO_DEFINE 0

I guess you should write "set to one", no ?

Recompiling the project right now, will let you know soon.

@gjaegy
Copy link
Author

gjaegy commented Dec 16, 2024

I'm afraid the problem is still present in 4.9:

image

@gjaegy
Copy link
Author

gjaegy commented Dec 16, 2024

It occurs also in the case I rename the .dlg file into a .dll file, so that's likely not the issue (see below).

The difference compared to the other .dll is that this one is loaded dynamically, however, I think my code does what it is supposed to do, isn't it ?
image

image

@milostosic
Copy link
Collaborator

milostosic commented Dec 16, 2024

I'm on it. Will let you know in a few minutes. rmem_hash.cpp still missing BTW

missing from where? it's clearly there
edit: ok, from zip file - fixed.

@milostosic
Copy link
Collaborator

It occurs also in the case I rename the .dlg file into a .dll file, so that's likely not the issue (see below).

The difference compared to the other .dll is that this one is loaded dynamically, however, I think my code does what it is supposed to do, isn't it ? image

image

yes, that looks ok but this is manual instrumentation with dynamic linking - I don't think I had a scenario like that. any chance of a limited repro case to send over?

@gjaegy
Copy link
Author

gjaegy commented Dec 17, 2024

Hi Milos,

Hmmm, that's not easy, I guess I will have to recreate a repro case from scratch...

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

2 participants