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 - invalid memory reference with gcc #28

Closed
nimgould opened this issue May 13, 2019 · 1 comment
Closed

Segmentation fault - invalid memory reference with gcc #28

nimgould opened this issue May 13, 2019 · 1 comment

Comments

@nimgould
Copy link
Contributor

nimgould commented May 13, 2019

If I compile and run with gfortran 6 and HWLOC enabled, I get the following segfault:

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:

#0  0x146c00115ea7 in ???
#1  0x146c001150dd in ???
#2  0x146c01127f1f in ???
#3  0x5606f9659262 in _ZNK5spral11hw_topology13HwlocTopology10count_typeERKP9hwloc_obj16hwloc_obj_type_t
	at hw_topology/hwloc_wrapper.hxx:104
#4  0x5606f9659262 in _ZNK5spral11hw_topology13HwlocTopology11count_coresERKP9hwloc_obj
	at hw_topology/hwloc_wrapper.hxx:74
#5  0x5606f9659262 in spral_hw_topology_guess
	at guess_topology.cxx:42

The offending line appears to be
if(obj->type == type) return 1;
in the private count_type function.

This happens for a variety of examples. I don't recall this with earlier versions of hwloc.

Nick

@jfowkes
Copy link
Contributor

jfowkes commented Sep 21, 2023

Closing as outdated.

@jfowkes jfowkes closed this as completed Sep 21, 2023
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