Skip to content

Occasional crashes in Stream2 API #105

@MarkRivers

Description

@MarkRivers

I am seeing occasional crashed in the Stream2API when running on an Eiger2 9M. This is at the current master head, 0a5115e. This is a gdb trace when it happens:

Thread 20 "eigerStreamTask" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffef7f7640 (LWP 1484993)]
0x00007ffff5b9140d in __memmove_avx512_unaligned_erms () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff5b9140d in __memmove_avx512_unaligned_erms () from /lib64/libc.so.6
#1  0x00007ffff7f90c1f in Stream2API::getFrame (this=0x7fffdc009960, pArrayOut=pArrayOut@entry=0x7fffef7f69b8, pNDArrayPool=<optimized out>,
    thresh=thresh@entry=0, decompress=0, extractTimeStamp=<optimized out>) at ../stream2Api.cpp:327
#2  0x00007ffff7f825f9 in eigerDetector::streamTask (this=0x5745a0) at ../eigerDetector.cpp:1500
#3  0x00007ffff63acf05 in start_routine (arg=0x5cfe80) at ../osi/os/posix/osdThread.c:444
#4  0x00007ffff5a8b2ea in start_thread () from /lib64/libc.so.6
#5  0x00007ffff5b103d0 in clone3 () from /lib64/libc.so.6

The crash is happening on this line:

memcpy(pArray->pData, pInput, compressedSize);

Need to determine whether the problem is with pInput, compressedSize, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions