Hi Paul,

In debian/tests/decoding-test-data, please run "./gentestavi.sh". This command generates the test data (test_raw.avi).

And run "make". It will compile the test program (test1).
Then run "gdb ./test1".
In gdb prompt, execute "set args test_raw.avi".
And then "run".
When the bus error happened, execute "bt -full" and it will print out the backtrace.

You might want to install the debug symbols (-dbg) packages to get the symbol resolved.

Yours,
Paul

Ying-Chun Liu (PaulLiu) 於 2022/4/1 20:53 寫道:
Hi Paul,


I need some help. Actually I know this bug for a while but I just cannot fix it. I've tried to reproduce the bug on qemu-user-static armhf chroot envorionment and PorterBox (abel.debian.org), on both platform the autopkgtest just passed without problem.

I think the bug should be easy to locate if I can run gdb and see the backtrace when the bus error happened. But I just cannot reproduce this bug on my side or on porter box. If possible I hope to get some core dump when bus error happened on the machine that runs the test.

Yours,
Paul




Paul Gevers 於 2022/4/1 03:31 寫道:
Source: avifile
Version: 1:0.7.48~20090503.ds-23
Severity: serious
User: debian...@lists.debian.org
Usertags: regression

Dear maintainer(s),

With a recent upload of avifile the autopkgtest of avifile fails in testing on armhf when that autopkgtest is run with the binary packages of avifile from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
avifile                from testing    1:0.7.48~20090503.ds-23
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration to testing [1]. Can you please investigate the situation and fix it?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=avifile

https://ci.debian.net/data/autopkgtest/testing/armhf/a/avifile/20131436/log.gz

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
Redistribute latency...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:00.312851570
Setting pipeline to NULL ...
Freeing pipeline ...
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
Redistribute latency...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:00.217510393
Setting pipeline to NULL ...
Freeing pipeline ...
g++ -Wall -g -o test1 test1.cc \
    -laviplay -I/usr/include/avifile-0.7 \
    -laubio  \
    -lm
<init> : Avifile RELEASE-0.7.48-220318-20:07-../src/configure
<init> : Available CPU flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs
This binary was compiled for Avifile ver. 1840, the library is ver. 1840
<reader> : Checking: ./test_raw.avi
<AVI reader> : MainHeader: MicroSecPerFrame=40000 MaxBytesPerSec=6112800
 PaddingGranularity=0 Flags=[ HAS_INDEX IS_INTERLEAVED ] TotalFrames=250
 InitialFrames=0 Streams=2 SuggestedBufferSize=0 WxH=320x240
 Scale=0 Rate=0 Start=0 Length=0
<AVI reader> : StreamHeader: Type=vids Handler=DIVX Flags=[ ]
 InitialFrames=0 Scale=1 Rate=25 Start=0 Length=250
 SuggestedBufferSize=12413 Quality=0 SampleSize=0 Rect l,r,t,b=0,0,0,0
<AVI reader> : StreamHeader: Type=auds Handler=0x1 Flags=[ ]
 InitialFrames=0 Scale=1 Rate=44100 Start=0 Length=450559
 SuggestedBufferSize=8192 Quality=0 SampleSize=8 Rect l,r,t,b=0,0,0,0
<AVI reader> : Reading index from offset: 5581514
<AVI reader> : Stream 0 vids : DIVX (0x4944) 250 chunks (0.98KB)
<AVI reader> : WARNING: stream header has incorrect dwLength (450559 -> 450560)
<AVI reader> : Stream 1 auds : Microsoft PCM (0x1) 440 chunks (3.44KB)
<reader> : Initialized video stream (chunk tblsz: 250, fmtsz: 40)
<codec keeper> : Found 7 plugins (/usr/lib/arm-linux-gnueabihf/avifile-0.7,A:28,V:36)
<Registry> : creating dir: /home/debci/.avm
<FFMPEG video decoder> : looking for mpeg4  1482049860
<codec keeper> : Created video decoder: FF OpenDivX
<reader> : Initialized audio stream (chunk tblsz: 450560, fmtsz: 18)
<codec keeper> : PCM audio decoder created
bh.biHeight = -240, bh.biWidth = 320
bh.biHeight < 0, correct the value to 240
Movie size: 320 x 240  [YV12]
audio format: 1, Channels: 2, Samples/sec: 44100, Bits/Sample: 32, Bytes/sec: 352800
Video Length: 250
Video Pos: 0
Audio Length: 450560
Audio Pos: 0
Decoder YUV capabilities: 0x80000080
CAPS is CAP_YV12
TIME 0 0
[mpeg4 @ 0x1ad7e40] Requested frame threading with a custom get_buffer2() implementation which is not marked as thread safe. This is not supported anymore, make your callback thread-safe.
<ffodivx> : using DR1
Audio read 192 samples, 1536 bytes.
Audio frequency 469.27 hz
Audio read 192 samples, 1536 bytes.
Audio frequency 469.188 hz
Audio read 192 samples, 1536 bytes.
Audio frequency 469.095 hz
Audio read 192 samples, 1536 bytes.
Audio frequency 469.086 hz
Audio read 192 samples, 1536 bytes.
Audio frequency 469.17 hz
Audio read 192 samples, 1536 bytes.
Audio frequency 469.262 hz
Audio read 192 samples, 1536 bytes.
Audio frequency 469.267 hz
Audio read 192 samples, 1536 bytes.
Audio frequency 469.18 hz
Audio read 192 samples, 1536 bytes.
Audio frequency 469.091 hz
Audio read 192 samples, 1536 bytes.
Audio frequency 469.09 hz
TIME 0.04 1
Bus error
autopkgtest [10:24:27]: test decoding-test-mp4-raw

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to