Skip to content

Random crash #2114

Closed
Closed
@diorcety

Description

@diorcety

I'm currently having random crash (depending on which library is loaded or not), in the function gotoblas_init.
Valgrind detect an issue on

3600 »·······==7953== Syscall param sched_getaffinity(mask) points to unaddressable byte(s)
3601 ==7953==    at 0x5831F92: sched_getaffinity@@GLIBC_2.3.4 (sched_getaffinity.c:36)
3602 ==7953==    by 0x16EB6ED3: ??? (in /tmp/aa/lib/libopenblas.so.0.3)
3603 ==7953==  Address 0x8030 is not stack'd, malloc'd or (recently) free'd

I started to think to a false positive but when I looked to the code:

https://github.com/xianyi/OpenBLAS/blob/develop/driver/others/init.c#L893

In this IFDEF cpusetp is not initialized ... is it normal?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions