<div dir="ltr"><div class="gmail_default" style="font-size:small">Andrew,</div><div class="gmail_default" style="font-size:small">GG got the asynch failure (the line 155 error) via some method and developed this patch.  Could you test when you have time and let us know?  Thank you, gg/Phyllis<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 12, 2020 at 8:10 PM Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com">randrianasulu@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Aha, caught it!<br>
<br>
<br>
./cin 2>&1 > /dev/shm/LOG-2.log<br>
Cinelerra Infinity - built: Jun 13 2020 04:52:32<br>
git://<a href="http://git.cinelerra-gg.org/goodguy/cinelerra.git" rel="noreferrer" target="_blank">git.cinelerra-gg.org/goodguy/cinelerra.git</a><br>
(c) 2006-2019 Heroine Virtual Ltd. by Adam Williams<br>
2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy<br>
Cinelerra is free software, covered by the GNU General Public License,<br>
and you are welcome to change it and/or distribute copies of it under<br>
certain conditions. There is absolutely no warranty for Cinelerra.<br>
<br>
Assertion fctx->async_lock failed at libavcodec/pthread_frame.c:172<br>
Аварийный останов<br>
<br>
but unfortunately log ends like this ...<br>
<br>
<br>
clr async lock<br>
./cin() [0x8c04a07]<br>
./cin(ff_thread_flush+0x32) [0x8c06012]<br>
./cin(avcodec_flush_buffers+0x109) [0x8cff139]<br>
./cin(_ZN8FFStream4seekExd+0x22d) [0x853e48d]<br>
./cin(_ZN13FFVideoStream4loadEP6VFramex+0xc6) [0x8540606]<br>
./cin(_ZN6FFMPEG6deco<br>
<br>
and nothing past this .. :/<br>
<br>
<br>
----------  Пересланное сообщение  ----------<br>
<br>
Тема: Assertion fctx->async_lock failed at libavcodec/pthread_frame.c:155<br>
Дата: Суббота 13 июня 2020<br>
Отправитель: Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com" target="_blank">randrianasulu@gmail.com</a>><br>
Получатель:  "Cinelerra.GG" <<a href="mailto:cin@lists.cinelerra-gg.org" target="_blank">cin@lists.cinelerra-gg.org</a>><br>
<br>
Lets create another thread for this specific problem....<br>
<br>
Because it hit me randomly on file load :/<br>
<br>
cinelerra git log top:<br>
<br>
commit fb3e53778e49a406768506de9bf8edfd3d4c36e6 (HEAD -> master)<br>
Author: Good Guy <<a href="mailto:good1.2guy@gmail.com" target="_blank">good1.2guy@gmail.com</a>><br>
Date:   Sat Apr 25 19:41:57 2020 -0600<br>
<br>
    split resource_thread update into separate audio/video threads, boxblur layout tweaks<br>
<br>
ffmpeg git log top:<br>
<br>
<br>
commit 38737b3d4e03e2a089083e38cd1fd6f9b4c3ddfd (HEAD -> master, origin/master, origin/HEAD)<br>
Author: Steven Liu <<a href="mailto:lq@chinaffmpeg.org" target="_blank">lq@chinaffmpeg.org</a>><br>
Date:   Fri Jun 12 14:30:02 2020 +0800<br>
<br>
    mailmap: add entry for myself<br>
<br>
<br>
Configure line:<br>
<br>
LDFLAGS=-L/usr/X11R7/lib setarch i686 ./configure --prefix=/usr --with-git-ffmpeg=<a href="https://git.ffmpeg.org/ffmpeg.git" rel="noreferrer" target="_blank">https://git.ffmpeg.org/ffmpeg.git</a> --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib --with-ladspa-build --with-opus --with-nv --enable-opus --with-jobs=4 --with-booby --build=i486-slackware-linux build_alias=i486-slackware-linux CC="ccache gcc" CFLAGS="-O3 -march=i686 -mtune=i686 -D__STDC_CONSTANT_MACROS" LDFLAGS="-L/usr/X11R7/lib -ldl -L/usr/lib" CXX=clang++ CXXFLAGS="-O3 -march=i686 -mtune=i686 -D__STDC_CONSTANT_MACROS" --no-create --no-recursion --with-commercial  <br>
<br>
yeah, quite aggressive, I know ....<br>
<br>
Action:<br>
1) open program<br>
1.1) Set load strategy to 'Create resources only'<br>
2) try to load my KARA... .mkv file ('O' then navigate to folder where file is<br>
 and the doubleclick on it - only resource should appear, timeline still in default state - 3 tracks,<br>
one for video, 2 for audio)<br>
3) drag file from Resources on timeline.<br>
If it loads correctly - undo loading, and try again.<br>
Eventually it will hit this assert.<br>
<br>
terminal output<br>
<br>
guest@slax:/dev/shm/tmp/cinelerra-goodguy-20200607/cinelerra-5.1/bin$ ./cin<br>
Cinelerra Infinity - built: Jun 13 2020 04:36:31<br>
git://<a href="http://git.cinelerra-gg.org/goodguy/cinelerra.git" rel="noreferrer" target="_blank">git.cinelerra-gg.org/goodguy/cinelerra.git</a><br>
(c) 2006-2019 Heroine Virtual Ltd. by Adam Williams<br>
2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy<br>
Cinelerra is free software, covered by the GNU General Public License,<br>
and you are welcome to change it and/or distribute copies of it under<br>
certain conditions. There is absolutely no warranty for Cinelerra.<br>
<br>
RenderFarmClient::main_loop: client started<br>
FFMPEG::open_decoder: some stream times estimated: /home/guest/New_hdd/KARA (Quantic Dream) [HD]-wxVyeSfE6p8.mkv<br>
FFMPEG::open_decoder: some stream times estimated: /home/guest/New_hdd/KARA (Quantic Dream) [HD]-wxVyeSfE6p8.mkv<br>
FFMPEG::open_decoder: some stream times estimated: /home/guest/New_hdd/KARA (Quantic Dream) [HD]-wxVyeSfE6p8.mkv<br>
FFMPEG::open_decoder: some stream times estimated: /home/guest/New_hdd/KARA (Quantic Dream) [HD]-wxVyeSfE6p8.mkv<br>
FFMPEG::open_decoder: some stream times estimated: /home/guest/New_hdd/KARA (Quantic Dream) [HD]-wxVyeSfE6p8.mkv<br>
FFMPEG::open_decoder: some stream times estimated: /home/guest/New_hdd/KARA (Quantic Dream) [HD]-wxVyeSfE6p8.mkv<br>
FFMPEG::open_decoder: some stream times estimated: /home/guest/New_hdd/KARA (Quantic Dream) [HD]-wxVyeSfE6p8.mkv<br>
FFMPEG::open_decoder: some stream times estimated: /home/guest/New_hdd/KARA (Quantic Dream) [HD]-wxVyeSfE6p8.mkv<br>
FFMPEG::open_decoder: some stream times estimated: /home/guest/New_hdd/KARA (Quantic Dream) [HD]-wxVyeSfE6p8.mkv<br>
FFMPEG::open_decoder: some stream times estimated: /home/guest/New_hdd/KARA (Quantic Dream) [HD]-wxVyeSfE6p8.mkv<br>
FFMPEG::open_decoder: some stream times estimated: /home/guest/New_hdd/KARA (Quantic Dream) [HD]-wxVyeSfE6p8.mkv<br>
FFMPEG::open_decoder: some stream times estimated: /home/guest/New_hdd/KARA (Quantic Dream) [HD]-wxVyeSfE6p8.mkv<br>
FFMPEG::open_decoder: some stream times estimated: /home/guest/New_hdd/KARA (Quantic Dream) [HD]-wxVyeSfE6p8.mkv<br>
FFMPEG::open_decoder: some stream times estimated: /home/guest/New_hdd/KARA (Quantic Dream) [HD]-wxVyeSfE6p8.mkv<br>
FFMPEG::open_decoder: some stream times estimated: /home/guest/New_hdd/KARA (Quantic Dream) [HD]-wxVyeSfE6p8.mkv<br>
FFMPEG::open_decoder: some stream times estimated: /home/guest/New_hdd/KARA (Quantic Dream) [HD]-wxVyeSfE6p8.mkv<br>
FFMPEG::open_decoder: some stream times estimated: /home/guest/New_hdd/KARA (Quantic Dream) [HD]-wxVyeSfE6p8.mkv<br>
Assertion fctx->async_lock failed at libavcodec/pthread_frame.c:155<br>
Аварийный останов<br>
<br>
guest@slax:/dev/shm/tmp/cinelerra-goodguy-20200607/cinelerra-5.1/bin$               <br>
<br>
Thing is, I was unable to make it assert with ffmpeg.patch provided :/ (on very same sw and hw)<br>
may be patch slows down all those threading operation enough for assertion to be avoided ?<br>
<br>
-------------------------------------------------------<br>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" target="_blank">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote></div>