vlc assert failure: double free or corruption (!prev) when taking screenshot the second time on same time position
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vlc (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I discovered this bug when I tried to take a snapshot of "I Died in a Car Crash" contemporary dance video by Ana Zimhart (https:/
When the video played at time position 1:37 (when Ana did headstand/handstand [baby freeze headstand] trick) I took a snapshot two times. The first attempt succeed, but the second attempt triggered double free crash.
Examining log (tail) when running vlc with `vlc -vvv`, I got:
[00007f55c81ee320] main filter debug: using video converter module "vaapi_filters"
[00007f55c844abc0] main filter debug: Filter 'VAAPI filters' (0x7f55c81ee320) appended to chain
[00007f55c8563940] main filter debug: looking for video converter module matching "any": 23 candidates
[00007f55c8563940] swscale filter debug: 540x360 (544x368) chroma: I420 -> 540x360 (544x368) chroma: YUVA with scaling using Bicubic (good quality)
[00007f55c8563940] main filter debug: using video converter module "swscale"
[00007f55c844abc0] main filter debug: Filter 'Swscale' (0x7f55c8563940) appended to chain
[00007f55c844abc0] main filter debug: using video converter module "chain"
[00007f55c844abc0] main filter debug: removing module "chain"
[00007f55c81ee320] main filter debug: removing module "vaapi_filters"
double free or corruption (!prev)
ProblemType: Crash
DistroRelease: Ubuntu 20.04
Package: vlc-bin 3.0.9.2-1
ProcVersionSign
Uname: Linux 5.4.0-33-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu27.8
Architecture: amd64
AssertionMessage: double free or corruption (!prev)
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Wed Sep 9 16:14:10 2020
ExecutablePath: /usr/bin/vlc
ExecutableTimes
InstallationDate: Installed on 2020-05-05 (126 days ago)
InstallationMedia: Ubuntu-MATE 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
ProcCmdline: vlc -vvv I\ Died\ in\ a\ Car\ Crash\ -\ Contemporary\ Solo.mp4
ProcCwd: /home/bagas/vlc-bug
Signal: 6
SourcePackage: vlc
StacktraceTop:
__libc_message (action=
malloc_printerr (str=str@
_int_free (av=Quit
Title: vlc assert failure: double free or corruption (!prev)
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
modified.
mtime.conffile.
separator:
To reproduce this bug:
- `mkdir vlc-bug && cd vlc-bug`
- Get this video attachment
- Invoke `vlc 'I Died in a Car Crash - Contemporary Solo.mp4'`
- Pause at 1:37 (when Ana is doing headstand/handstand trick). Wait until her legs are fully straight.
- Either click 'Take a snapshot' button (requires enabling advanced controls on View -> Advanced Controls) or click Video -> Take Snapshot. Take snapshot twice.