From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id E82EC4309C for ; Thu, 13 Jan 2022 18:40:45 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9C8B868B2F1; Thu, 13 Jan 2022 20:40:43 +0200 (EET) Received: from mail-oi1-f169.google.com (mail-oi1-f169.google.com [209.85.167.169]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id AACC768B2F1 for ; Thu, 13 Jan 2022 20:40:36 +0200 (EET) Received: by mail-oi1-f169.google.com with SMTP id w188so8886804oiw.13 for ; Thu, 13 Jan 2022 10:40:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=fJENcPpttYrPYcKv0msYnYaXCjas/ZpULlIsG+yUXsY=; b=FefIcelKvF7eCmvQjg+77J46xGRUa9hUTXG55v4xIvOG7rDASKn3i9z91Yk86HqCO5 9beMsbhvFNMDCWxFmrRBnBqHG67pH8amxeszliaMp+9gFt9r3Bz0znKkGS/qWzRQLBhD 4FkY6GyPAvNgqPbjSHvLovExh0JRy3I+Hqyu4sszemiPYsSxdcDa6Mk1gh1DZwcK4VV+ daHVoY5aPso+VcrdYvWchoiIOnhyxz++pLJFtgQmHLw7a+N5w14WCr5sThTJBVCveTaA 1J7g/2dTihU8gmXKE9FTkUALfs0AllsDWYN9+yoVNJfcl/tJwj0bNG4PMwZIimy7exHg mr+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=fJENcPpttYrPYcKv0msYnYaXCjas/ZpULlIsG+yUXsY=; b=tKm/JKX8FV3C2OrEMCmgrWX84vXr0p0gB9mWIerura32A1zuhMwRsD0hu+0J0MQQeF cTERPsjqaoSH8eivgBF/oOegXvlstSsC6LcU6JRugqQ+nXaU5RshEAfz08S9Z10W9W7z zM7pnZS9ovS/SzSjyAo205Q3w3IDFqw4UtJqX+rRBMFwP5/4fXVIgkAZ6ii3HKW3mryg dFQ/JuB3OETZuLSkaszBb56l7YGQj/WJ6Q8jdqW5P4AU/E+1ToxCHgNgCl2Kvx/Je2vI +DsjI8LmIYPNPBYk71D14+RzFkKZ8quc2BACH+ymbMHQ6FEN7YyWMK/hW9nf1fv4PwRd 1QmA== X-Gm-Message-State: AOAM530t3VnFSVPWC9uoDE1LB49SmiCP7znzDDUtDotGDpwD8Xj5uJ+I QDCn8r2IBh7FDZRtuq677VadjJDTij8= X-Google-Smtp-Source: ABdhPJzu0Kbp7XicFVnUOdrxnBo7yMMNQqlEpfyvDceMkx33g1iosM1MIdwjUHPBfq5UlTtsouN3kg== X-Received: by 2002:aca:bd04:: with SMTP id n4mr10073594oif.142.1642099234409; Thu, 13 Jan 2022 10:40:34 -0800 (PST) Received: from [192.168.0.13] ([186.136.131.95]) by smtp.gmail.com with ESMTPSA id d21sm712398oti.5.2022.01.13.10.40.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Jan 2022 10:40:33 -0800 (PST) Message-ID: <93c5f897-8ed2-2168-c3d3-482b2d3c2346@gmail.com> Date: Thu, 13 Jan 2022 15:40:30 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: <20220113015101.4-1-jamrial@gmail.com> <20220113020913.870-8-jamrial@gmail.com> <20220113182955.GM2829255@pb2> From: James Almer In-Reply-To: <20220113182955.GM2829255@pb2> Subject: Re: [FFmpeg-devel] [PATCH 277/281] ffmpeg: convert to new channel layout-API X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 1/13/2022 3:29 PM, Michael Niedermayer wrote: > On Wed, Jan 12, 2022 at 11:09:09PM -0300, James Almer wrote: >> Signed-off-by: James Almer >> --- >> fftools/cmdutils.c | 42 +++++++++++++++--------- >> fftools/cmdutils.h | 8 ----- >> fftools/ffmpeg.c | 47 ++++++++++++++++---------- >> fftools/ffmpeg.h | 7 ++-- >> fftools/ffmpeg_filter.c | 52 ++++++++++++++++++++++------- >> fftools/ffmpeg_opt.c | 62 ++++++++++++++++++++++++++++++----- >> tests/fate/aac.mak | 2 +- >> tests/fate/lavf-container.mak | 2 +- >> 8 files changed, 155 insertions(+), 67 deletions(-) > > This or a prior patch introduces crashes (it bisected to this but this is my > 2nd testcase the first did not reproduce reliably at all) > > Thread 1 "ffmpeg_g" received signal SIGSEGV, Segmentation fault. > 0x00005555566ed811 in av_vlog (avcl=0x5555577400c0, level=24, fmt=0x5555568249e8 "%d frames left in the queue on closing\n", vl=0x7fffffffda50) at libavutil/log.c:428 av_vlog() is where it crashes? > 428 if (avc && avc->version >= (50 << 16 | 15 << 8 | 2) && > (gdb) bt > #0 0x00005555566ed811 in av_vlog (avcl=0x5555577400c0, level=24, fmt=0x5555568249e8 "%d frames left in the queue on closing\n", vl=0x7fffffffda50) at libavutil/log.c:428 > #1 0x00005555566ed6bd in av_log (avcl=0x5555577400c0, level=24, fmt=0x5555568249e8 "%d frames left in the queue on closing\n") at libavutil/log.c:411 > #2 0x0000555555c320b9 in ff_af_queue_close (afq=0x5555576c47c8) at libavcodec/audio_frame_queue.c:39 > #3 0x0000555555e84c06 in mp3lame_encode_close (avctx=0x5555576bf180) at libavcodec/libmp3lame.c:86 > #4 0x0000555555c373f7 in avcodec_close (avctx=0x5555576bf180) at libavcodec/avcodec.c:489 > #5 0x0000555555f7feab in avcodec_free_context (pavctx=0x5555576a8858) at libavcodec/options.c:163 > #6 0x000055555569cfe3 in ffmpeg_cleanup (ret=1) at fftools/ffmpeg.c:608 > #7 0x0000555555694817 in exit_program (ret=1) at fftools/cmdutils.c:131 > #8 0x000055555569ef1f in do_audio_out (of=0x5555576ae2c0, ost=0x5555576a8800, frame=0x5555576bf580) at fftools/ffmpeg.c:1056 > #9 0x00005555556a117a in reap_filters (flush=0) at fftools/ffmpeg.c:1546 > #10 0x00005555556ad8e5 in transcode_step () at fftools/ffmpeg.c:4643 > #11 0x00005555556ad9e7 in transcode () at fftools/ffmpeg.c:4687 > #12 0x00005555556ae45c in main (argc=12, argv=0x7fffffffe1c8) at fftools/ffmpeg.c:4903 > (gdb) print avc->version > Cannot access memory at address 0xc1528eb7c0ea0157 > > make -j32 && gdb --args ./ffmpeg_g -ss 8 -i NeroRecodeSample.mp4 -bitexact -t 3 -filter_complex '[0:2]scale=720:576[v];[v][0:5]overlay' -y file-whitesubs.avi > > it appears this file is at: > https://samples.ffmpeg.org/MPEG-4/NeroRecodeSample-MP4/ I can't reproduce this on mingw64. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".