View Issue Details

IDProjectCategoryView StatusLast Update
0000672Cinelerra-GG[All Projects] Bugpublic2025-04-03 22:31
ReporterLukas Assigned ToPhyllisSmith  
PrioritynormalSeveritycrashReproducibilityalways
Status acknowledgedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0000672: Crash when using the speed curve
DescriptionVersion:
CinGG-20250228-x86_64-older-distros.AppImage
Linux Mint 19.3
8 GB memory
ulimit -n 4096

I made a film with 30 minutes, 4 video tracks 1280x720 with 250 clips, 6 audio tracks. Everything works without problems, but when I try to move the speed curve to create a new keyframe or to change its value, Cinelerra always crashes:

** segv at 0xb1b5e5 in pid 12179, tid 12179
writing debug data to /tmp/cinelerra_12179.dmp
lock_items: 39
lock_frees: 5
** dump complete
Segmentation fault (core dumped)

I also tried it on another similar film and it also always crashes. If I make a new test project with 1 video track with 30 clips and 2 audio tracks, I can move the speed curve without problems. If I manually add speed keyframes in the big project's XML file ( <SPEEDAUTOS> <AUTO ...></AUTO> </SPEEDAUTOS> ), the change works without problems, but I must not move the speed curve using a mouse.
Steps To ReproduceOpen a long project with many tracks and clips.
View -> Speed.
Move the speed curve in any place.
TagsNo tags attached.

Activities

PhyllisSmith

PhyllisSmith

2025-04-03 22:20

manager   ~0005797

Last edited: 2025-04-03 22:31

View 3 revisions

@Lukas, your persistence paid off. Since I noticed in the dmp you provided that you were using the effects Flip, Title, and Chroma Key (HSV) those are the ones I used too. I stuck with Chroma Key or Title which I could get to crash because initially I did not get Flip to crash (this may be a helpfu hint).

The Good News is that I can now get it to crash sometimes.
The Bad News is that sometimes it does not crash -- actually that is good news too so I can narrow down the root cause.
The other good news is that testing with a compiled version from April 2020, it has not crashed so far but by September 2020, it did crash. So with more testing time, I should be able to find which modification caused the problem.

I will update progress as it occurs.

Lukas

Lukas

2025-04-03 10:00

reporter   ~0005796

I think I found it. If I remove all video effects, I can move the speed curve and create keyframes. If I add any video effect, it still works. But when I create at least one keyframe on any video effect and then I move the speed curve, Cinelerra crashes. So it looks like a problem between video effects keyframes and speed curve keyframes.

Steps to reproduce: Open or create a project with at least one video clip. Attach any video effect. Create at least one keyframe on any video effect. View -> Speed. Move the speed curve in any place. Cinelerra crashes.
Lukas

Lukas

2025-04-03 07:46

reporter   ~0005795

I removed all video and audio effects from all tracks and it works now! So it looks like a problem between the speed curve and some effects. I will make tests with different combinations of effects to see what causes the problem.
PhyllisSmith

PhyllisSmith

2025-04-03 02:00

manager   ~0005794

@Lukas
(I forgot to actually add the previous note yesterday).
So today, I booted a Mint 19 O/S and loaded the same files as described in the late last note. I had no problem modifying speed with the mouse, except of course it was so slow with all of the files I had loaded.

We have to be able to reproduce the failure in order to have any chance of resolving it. But I will try some different scenarios.

IF YOU HAVE TIME could you try to temporarily rename your $HOME/.bcast5 directory (so you don't lose all of your settings) in order that a new one is created and then try your speed autos with the mouse. It will take longer to actually load your project because it will have to recreate all of the indexes for the files so be patient. If it still fails, then rename your original $HOME/.bcast5 directory so you get your settings back.
PhyllisSmith

PhyllisSmith

2025-04-03 01:48

manager   ~0005793

@Lukas
Thanks for the dmp file. Unfortunately it did not help in understanding the issue. Probably ulimit is not the problem thoug
So now I am trying to test a similar scenario to yours. Using the 0228 older version AppImage, I loaded 1280x720 Big Buck Bunny which has 6 audio tracks. Because it is about 10 minutes, I appended it 3 times to get to the almost 30 minutes. Then on 3 other tracks I loaded each with 84 clips so I have 4 video tracks total with 252 clips loaded (but 3x duplicates rather than 252 different). Added the speed curve to all tracks and mouse moved it and it did not crash.

Tomorrow if I can get the Mint O/S booted, I will test there.
Lukas

Lukas

2025-04-02 07:37

reporter   ~0005792

I tried it on anothe computer with 8 GB memory, Linux Mint 21.3, CinGG-20250331-x86_64.AppImage and ulimit -n 8192. Unfortunately with the same result. I could also attach the project XML file without video and audio clips, but I don't think it would be very useful.
PhyllisSmith

PhyllisSmith

2025-04-02 01:11

manager   ~0005791

@Lukas
Thanks for the dmp file. Unfortunately it did not help in understanding the issue. Probably ulimit is not the problem though.
So now I am trying to test a similar scenario to yours. Using the 0228 older version AppImage, I loaded 1280x720 Big Buck Bunny which has 6 audio tracks. Because it is about 10 minutes, I appended it 3 times to get to the almost 30 minutes. Then on 3 other tracks I loaded each with 84 clips so I have 4 video tracks total with 252 clips loaded (but 3x duplicates rather than 252 different). Added the speed curve to all tracks and mouse moved it and it did not crash.

Tomorrow if I can get the Mint O/S booted, I will test there.
Lukas

Lukas

2025-04-01 19:56

reporter   ~0005790

OK, here is the dump file.

I tried to increase ulimit, but the system doesn't allow me to do it. I was using 4096 since several years, so I forgot how it worked. I will try to figure it out again.

cinelerra_12179.dmp (688,634 bytes)
PhyllisSmith

PhyllisSmith

2025-04-01 18:54

manager   ~0005789

@Lukas
Does increasing ulimit to 8192 make a difference?
Could you attach the dump here? i.e. - /tmp/cinelerra_12179.dmp or your latest?
It does look like using the CinGG-20250228-x86_64-older-distros.AppImage "older version" is necessary for Mint 19.3 because kernel is at 5.0 (newer version appimage is at 5.8.15) and libc at 2.27 (newer version appimage is at 2.31).

Issue History

Date Modified Username Field Change
2025-04-01 09:11 Lukas New Issue
2025-04-01 18:54 PhyllisSmith Assigned To => PhyllisSmith
2025-04-01 18:54 PhyllisSmith Status new => acknowledged
2025-04-01 18:54 PhyllisSmith Note Added: 0005789
2025-04-01 19:56 Lukas File Added: cinelerra_12179.dmp
2025-04-01 19:56 Lukas Note Added: 0005790
2025-04-02 01:11 PhyllisSmith Note Added: 0005791
2025-04-02 07:37 Lukas Note Added: 0005792
2025-04-03 01:48 PhyllisSmith Note Added: 0005793
2025-04-03 02:00 PhyllisSmith Note Added: 0005794
2025-04-03 07:46 Lukas Note Added: 0005795
2025-04-03 10:00 Lukas Note Added: 0005796
2025-04-03 22:20 PhyllisSmith Note Added: 0005797
2025-04-03 22:30 PhyllisSmith Note Edited: 0005797 View Revisions
2025-04-03 22:31 PhyllisSmith Note Edited: 0005797 View Revisions