Skip to content

Invalid read of size 4 in ctrmm_iutncopy_SANDYBRIDGE #1770

Closed
@amigalemming

Description

@amigalemming

I've got hard to reproduce crashes when calling ctrmm with 2x2 matrices on sandybridge. Valgrind says:

==4642== Invalid read of size 4
==4642==    at 0x797BFD1: ctrmm_iutncopy_SANDYBRIDGE (in /usr/lib/libopenblasp-r0.2.18.so)
==4642==    by 0x69E9700: ctrmm_LNUN (in /usr/lib/libopenblasp-r0.2.18.so)
==4642==    by 0x5963BBA: ctrmm_ (in /usr/lib/openblas-base/libblas.so.3)
==4642==    by 0x711075: ??? (in .../haskell/lapack/dist/build/lapack-test/lapack-test)
==4642==    by 0x42000BE147: ???
==4642==    by 0x42001FFFCF: ???
==4642==    by 0x42001FFFB7: ???
==4642==    by 0x42000BE06F: ???
==4642==    by 0x42001FFFB7: ???
==4642==  Address 0x4200200000 is in a --- anonymous segment
==4642== 
==4642== 
==4642== Process terminating with default action of signal 11 (SIGSEGV)
==4642==  Bad permissions for mapped region at address 0x4200200000
==4642==    at 0x797BFD1: ctrmm_iutncopy_SANDYBRIDGE (in /usr/lib/libopenblasp-r0.2.18.so)
==4642==    by 0x69E9700: ctrmm_LNUN (in /usr/lib/libopenblasp-r0.2.18.so)
==4642==    by 0x5963BBA: ctrmm_ (in /usr/lib/openblas-base/libblas.so.3)
==4642==    by 0x711075: ??? (in .../haskell/lapack/dist/build/lapack-test/lapack-test)
==4642==    by 0x42000BE147: ???
==4642==    by 0x42001FFFCF: ???
==4642==    by 0x42001FFFB7: ???
==4642==    by 0x42000BE06F: ???
==4642==    by 0x42001FFFB7: ???

strmm, dtrmm, ztrmm seem not to be affected.

Maybe related to #601?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions