Skip to content

perf_imgproc: DistanceTransform_Test_distanceTransform.distanceTransform/6 - sporadic crashes on MacOSX #15904

@alalek

Description

@alalek

Nightly builder:

 RUN      ] DistanceTransform_Test_distanceTransform.distanceTransform/6, where GetParam() = (640x480, DIST_L2, DIST_MASK_3, CV_8U)
Process returned: -11
OSX crash report
Process:               opencv_perf_imgproc [42186]
Path:                  /Volumes/VOLUME/*/opencv_perf_imgproc
Identifier:            opencv_perf_imgproc
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ??? [42175]
Responsible:           bash [320]
User ID:               502

Date/Time:             2019-11-13 00:51:03.525 +0000
OS Version:            Mac OS X 10.15.1 (19B88)
Report Version:        12
Anonymous UUID:        F839B2E8-7DD6-7F8B-8D5E-D8B3FCC636A3


Time Awake Since Boot: 35000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x00000001138e0000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [42186]

VM Regions Near 0x1138e0000:
    MALLOC_LARGE           00000001137b4000-00000001138e0000 [ 1200K] rw-/rwx SM=PRV  
--> 
    __TEXT                 0000000113dd1000-0000000113e62000 [  580K] r-x/r-x SM=COW  /usr/lib/dyld

Application Specific Information:
dyld2 mode

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libopencv_imgproc.4.1.2.dylib 	0x000000010b3858d5 icv_l9_ownDistanceTransform_3x3_8u32f_C1R_21B_g9e9 + 309
1   libopencv_imgproc.4.1.2.dylib 	0x000000010b37de4a icv_l9_ippiDistanceTransform_3x3_8u32f_C1R + 3626
2   libopencv_imgproc.4.1.2.dylib 	0x000000010b05e07c cv::distanceTransform(cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, int, int, int) + 2588
3   libopencv_imgproc.4.1.2.dylib 	0x000000010b0616d9 cv::distanceTransform(cv::_InputArray const&, cv::_OutputArray const&, int, int, int) + 313
4   opencv_perf_imgproc           	0x000000010a8616b0 opencv_test::DistanceTransform_Test_distanceTransform::PerfTestBody() + 656
5   opencv_perf_imgproc           	0x000000010a981dbe perf::TestBase::RunPerfTestBody() + 142
6   opencv_perf_imgproc           	0x000000010a8601f3 opencv_test::DistanceTransform_Test_distanceTransform_distanceTransform_Test::TestBody() + 51
7   opencv_perf_imgproc           	0x000000010a94fd78 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) + 72
8   opencv_perf_imgproc           	0x000000010a94fcf9 testing::Test::Run() + 329
9   opencv_perf_imgproc           	0x000000010a951010 testing::TestInfo::Run() + 496
10  opencv_perf_imgproc           	0x000000010a9519b7 testing::TestCase::Run() + 263
11  opencv_perf_imgproc           	0x000000010a95e2c7 testing::internal::UnitTestImpl::RunAllTests() + 1303
12  opencv_perf_imgproc           	0x000000010a95dc08 bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) + 72
13  opencv_perf_imgproc           	0x000000010a95db8c testing::UnitTest::Run() + 108
14  opencv_perf_imgproc           	0x000000010a8b4439 main + 505
15  libdyld.dylib                 	0x00007fff643552e5 start + 1

Thread 1:
0   libsystem_pthread.dylib       	0x00007fff6455e56c start_wqthread + 0

Thread 2:
0   libsystem_pthread.dylib       	0x00007fff6455e56c start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib       	0x00007fff6455e56c start_wqthread + 0

Thread 4:
0   libsystem_pthread.dylib       	0x00007fff6455e56c start_wqthread + 0

Thread 5:
0   libsystem_pthread.dylib       	0x00007fff6455e56c start_wqthread + 0

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x000000000004b000  rbx: 0x0000000000000000  rcx: 0x0000000000000280  rdx: 0x000000000004ad80
  rdi: 0x00000000fffffd80  rsi: 0x0000000000000000  rbp: 0x00007ffee5465610  rsp: 0x00007ffee54655f0
   r8: 0x000000000000027e   r9: 0x00000001137b4000  r10: 0x000000000004ab00  r11: 0x000000000004ad80
  r12: 0x000000000004b000  r13: 0x000000000004ad80  r14: 0x0000000000000000  r15: 0x000000000000004f
  rip: 0x000000010b3858d5  rfl: 0x0000000000010202  cr2: 0x00000001138e0000
  
Logical CPU:     2
Error Code:      0x00000004 (no mapping for user data write)
Trap Number:     14

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions