[CinCV TNG] Fwd: CinGG crash at playing avi file

Phyllis Smith phylsmith2017 at gmail.com
Sat Apr 14 17:08:55 CEST 2018

I cannot reproduce the failure here and GG looked at the dump and did not
find any potential cause.  I must be doing something different - I tested
with 3 avi files I had hanging around and the first 6 files from:


I will download a few more and test but If can not reproduce then if
possible could you?

  run with 2-audio-streams.avi from the example set
  save the session file with that file loaded right before
  you play and it crashes so we can see what your setup is.
  and keyin:  aplay -L
    to show the results of your Alsa setup

  check the Settings->Preferences->Playback A/B->Audio Driver configuration.
  be sure the sound device driver can support the Playback buffer size
  check the Driver setup (Alsa) and be sure the Device can work with aplay.
  Please try starting the session from a console terminal, so that any
  output is not missed.  The program can be started with "/path/cin" where
  is usually, /usr/bin or auser install path like: /opt/cin/

Dump analysis, short form:

The segv occurs in tid: 30103
Thread 49 (Thread 0xd84ffb40 (LWP 30103)):
#0  0xf78b6c91 in waitpid () from /lib/libpthread.so.0
#1  0x086b2f00 in ?? ()
#2  <signal handler called>
#3  0xf76f58b9 in ?? () from /usr/lib/libasound.so.2
#4  0xf76cf78a in snd_pcm_wait () from /usr/lib/libasound.so.2
#5  0x0835660b in AudioALSA::write_buffer(char*, int) ()

The failing code is in alsa, and not cinelerra.  That does not excuse
cinelerra, it
just makes finding the cause more diffcult.  Usually the problems are
code failures, not system library code failures.

The trap occurs inside a call to snd_pcm_wait.  This interface requires only
an audio device handle as a parameter.  It waits for the buffer to play.
If this fails, it may be because the device is somehow closed out from under
the playing audio.  That is weird.

GG/Phyllis (written by both)

On Sat, Apr 14, 2018 at 5:05 AM, Andrew Randrianasulu <
randrianasulu at gmail.com> wrote:

> Update: you can use sample
> 2-audio-streams.avi from https://samples.mplayerhq.hu/avi/
> ----------  Пересланное сообщение  ----------
> Тема: CinGG crash at playing avi file
> Дата: Суббота 14 апреля 2018
> Отправитель: Andrew Randrianasulu <randrianasulu at gmail.com>
> Получатель:  cinelerra at lists.cinelerra-cv.org
> Hello, everyone!
> Today I compiled new version of CinelerraGG (git commit
> 9a16c85641dee9f15136f40c8a3195d88d45513f , "add dragcheckbox, fix
> transition
> plugin title, sams opencv icons, drop libipp in opencv" ) , and
> unfortunately
> found new crash at playback (probably only happening with dual-sound-track
> AVIs). File itself was downloaded with torrent, mplayer correctly plays
> it, and
> Cinelerra appear to load it correctly, just after hitting play button it
> segfaults :(
> Dump attached
> Console output:
> cin
> Cinelerra 5.1 - built: Apr 14 2018 01:05:22
> git://git.cinelerra-cv.org/goodguy/cinelerra.git
> (c) 2006-2018 Heroine Virtual Ltd. by Adam Williams
> (c) 2007-2018 cin5 derivative by W.P. Morrow aka goodguy
> Cinelerra is free software, covered by the GNU General Public License,
> and you are welcome to change it and/or distribute copies of it under
> certain conditions. There is absolutely no warranty for Cinelerra.
> FFMPEG::open_decoder: some stream times estimated
> audio0 pad 512 0 (512)
> audio1 pad 512 0 (512)
> ** segv at 0xf76f58b9 in pid 29989, tid 30103
> writing debug data to /tmp/cinelerra_29989.dmp
>    mov_sphere=0 jpeg_sphere=0
> ** dump complete
> Ошибка сегментирования
> -----------------------------
> -------------------------------------------------------
> _______________________________________________
> Cinelerra mailing list
> Cinelerra at lists.cinelerra-cv.org
> http://lists.cinelerra-cv.org/cgi-bin/mailman/listinfo/cinelerra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cinelerra-cv.org/pipermail/cinelerra/attachments/20180414/6029e43e/attachment.html>

More information about the Cinelerra mailing list