Project

General

Profile

Actions

action #96507

open

Job terminated prematurely during needle check auto_review:"isotovideo: backen.*: free.*: invalid pointer":retry

Added by MDoucha almost 3 years ago. Updated over 1 year ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Regressions/Crashes
Target version:
Start date:
2021-08-03
Due date:
% Done:

0%

Estimated time:

Description

Two LTP jobs have failed recently in a similar way while waiting for needle match.

https://openqa.suse.de/tests/6638157
https://openqa.suse.de/tests/6625293

The first job has some interesting output in autoinst-log.txt:

[2021-08-03T07:24:58.610 CEST] [debug] no change: 0.5s
[2021-08-03T07:25:03.632 CEST] [debug] WARNING: check_asserted_screen took 4.02 seconds for 35 candidate needles - make your needles more specific
[2021-08-03T07:25:03.632 CEST] [debug] no match: -0.5s, best candidate: linux-login-20181005 (0.29)
*** Error in `/usr/bin/isotovideo: backen': free(): invalid pointer: 0x00005560f6795e00 ***
[2021-08-03T07:25:05.336 CEST] [debug] backend process exited: 0
[2021-08-03T07:25:05.336 CEST] [debug] stopping command server 30808 because test execution ended

The other job does not show any obvious error in the log:

[2021-07-31T07:21:58.852 CEST] [debug] no change: 1785.4s
[2021-07-31T07:22:01.325 CEST] [debug] backend process exited: 0
[2021-07-31T07:22:01.326 CEST] [debug] stopping command server 21557 because test execution ended

Suggestion

  • Reproduce locally
  • Extend t/01-test_needle.t to reproduce this case
  • Have the test create and destroy multiple needs in a loop
  • Try using an optimized build for tinycv (e.g. via cmake argument -DCMAKE_BUILD_TYPE=RelWithDebInfo, see https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html) if the problem is not reproducible
  • Provoke more threading in opencv
  • Investigate memory-handling on the Perl side, passed to opencv, in baseclass (check os-autoinst readme)

Files

stacktrace (13.1 KB) stacktrace mkittler, 2021-08-06 14:02
stacktrace2 (13 KB) stacktrace2 mkittler, 2021-08-06 14:21
stacktrace3 (13.2 KB) stacktrace3 mkittler, 2021-08-06 14:24
stacktrace4 (13.2 KB) stacktrace4 mkittler, 2021-08-06 14:26
backend-backtraces-openqaworker10.txt (18.1 KB) backend-backtraces-openqaworker10.txt mkittler, 2021-08-17 11:23
Actions

Also available in: Atom PDF