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

Segmentation fault while running benchmark_exe #352

Open
AryanGitHub opened this issue Sep 26, 2023 · 3 comments
Open

Segmentation fault while running benchmark_exe #352

AryanGitHub opened this issue Sep 26, 2023 · 3 comments
Labels
bug Something isn't working core something about core good first issue Good for newcomers hacktoberfest hacktoberfest issue Priority:Medium Priority Label for medium priority issue

Comments

@AryanGitHub
Copy link
Contributor

Describe the bug
I am getting a Segmentation fault while running benchmark_exe.

To Reproduce
Steps to reproduce the behavior:

  1. following the given steps at Benchmark Execution
  2. run ./benchmark_exe

Expected behavior
the complete benchmark_exe should execute.

Screenshots

[user@fedora benchmark]$ ./benchmark_exe 
2023-09-26T22:54:46+05:30
Running ./benchmark_exe
Run on (8 X 4200 MHz CPU s)
CPU Caches:
  L1 Data 48 KiB (x4)
  L1 Instruction 32 KiB (x4)
  L2 Unified 1280 KiB (x4)
  L3 Unified 8192 KiB (x1)
Load Average: 0.93, 0.59, 0.45
***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead.
***WARNING*** Library was built as DEBUG. Timings may be affected.
----------------------------------------------------------------------------------
Benchmark                                        Time             CPU   Iterations
----------------------------------------------------------------------------------
BFS_X/1                                       3698 ns         3693 ns       189718
BFS_X/18                                     29347 ns        29302 ns        24008
BFS_X/324                                   491839 ns       491235 ns         1401
BFS_X/5832                                 9127946 ns      9102094 ns           75
BFS_X/104976                             273177336 ns    272093218 ns            3
BFS_X/262144                             287219843 ns    286424086 ns            3
Segmentation fault (core dumped)

Desktop (please complete the following information):

  • OS: Fedora Linux 38 (Workstation Edition) 64bit
  • Version: 38
@ZigRazor
Copy link
Owner

@AryanGitHub can you execute it in debug mode? or provide us the coredump generated?

Thank you

@ZigRazor ZigRazor added bug Something isn't working good first issue Good for newcomers core something about core hacktoberfest hacktoberfest issue Priority:Medium Priority Label for medium priority issue labels Sep 26, 2023
@AryanGitHub
Copy link
Contributor Author

  • can you execute it in debug mode?

Yes, but I dont know how is benchmark is getting built as debug. I did not put the DEBUG flag, at the build.

  • provide us the coredump generated?

The coredump is not displaying the source code.
It is 1.4GB, I have compressed it to 314 MB
https://file.io/BcLoaPTpI0AM

# extract files
tar -xaf archive_name.tar.gz -C path/to/directory

@ZigRazor
Copy link
Owner

Thank you, but could be more useful the stack of the coredump already opened.
With only the coredump we can't open it if the executable is not compiled in the same machine.

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core something about core good first issue Good for newcomers hacktoberfest hacktoberfest issue Priority:Medium Priority Label for medium priority issue
Projects
None yet
Development

No branches or pull requests

2 participants