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

Check spinlock usage on others threads while main is solving symboles #103

Open
svalat opened this issue Jul 12, 2024 · 2 comments
Open
Labels
bug Something isn't working

Comments

@svalat
Copy link
Member

svalat commented Jul 12, 2024

No description provided.

@svalat svalat added the bug Something isn't working label Jul 12, 2024
@svalat
Copy link
Member Author

svalat commented Jul 12, 2024

Observed block analysing python prog using pyarrow package at exit time of python when solving symbols.

Threads are in spinlocks (inside malt) creating LocalAnalayser and popen looks not notifiued

@bernarda78
Copy link
Contributor

I encountered this issue on remote server but works fine on my local machine, on the same program execution and inputs.

On remote server (where I fail to profile with malt), some errors appear :

Warning : At /***/malt/src/lib/tools/ELFReader.cpp:136 :
Warning : Invalid kind of elf file, expect ELF (3), get 0

Warning : At /***/malt/src/lib/tools/ELFReader.cpp:220 :
Warning : Caution, get NULL elf structure, ignore it and skip global variable extraction.

Remote configuration:

$ uname -a
Linux remote_host 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
LSB Version:	:core-4.1-amd64:core-4.1-ia32:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-ia32:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-ia32:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-ia32:printing-4.1-noarch
Distributor ID:	CentOS
Description:	CentOS Linux release 7.9.2009 (Core)
Release:	7.9.2009
Codename:	Core

Local machine configuration :

$ uname -a
Linux local_host 6.1.0-22-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.94-1 (2024-06-21) x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 12 (bookworm)
Release:	12
Codename:	bookworm

Same version of pyarrow == 16.1.0 which seemed to trigger the issues.

Same version of binutils == 2.40 which contains nm and addr2line command.

Feel free to ask more details if needed.

svalat added a commit that referenced this issue Aug 9, 2024
…e threads during exit (or also us to accelrate symbol solving) (working on #103)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants