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 BE8AA464F9 for ; Sat, 20 May 2023 17:43:01 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 3FC9268C17B; Sat, 20 May 2023 20:42:59 +0300 (EEST) Received: from mail-ot1-f49.google.com (mail-ot1-f49.google.com [209.85.210.49]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3727868BB59 for ; Sat, 20 May 2023 20:42:52 +0300 (EEST) Received: by mail-ot1-f49.google.com with SMTP id 46e09a7af769-6aaef8ca776so1681004a34.2 for ; Sat, 20 May 2023 10:42:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684604570; x=1687196570; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=y22bdVViivN5tauTN752WNIN5hgng9xGyIF8UQeJmgw=; b=CI1J00yUZnPrHEnnlHjbnRYlgribLlN6gsQ45XGHMuPxJiyul1nQzOD4ldxUWpejhm dIxKideS5gyYpDZ18R9wkeI6965LooSZ7SkzQpKDaWjJhBCPMDUSS+4gtsD0tYqPwwUz phygBahVzBMhGPmpfovcBPRZyJPNiBmzKP/95Y7e9bYXx5S32l52jbn4bUDk/ONhOT8x YJh0pKWuTSHdyGh1+AhhlUMONZ/FbUi5Ietn6ipXzjV/Bbw4GsOwn5KExo7VZodP8IZz iQqkdr3OgMkT3XR9AQM93UFRoF2ip+9f4dVEnR8LHMzoSf8d/bTEBVbWwNTBEAeEWlBP OGuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684604570; x=1687196570; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=y22bdVViivN5tauTN752WNIN5hgng9xGyIF8UQeJmgw=; b=DEs8uGeG9Qe6wTDmXe75RzB5aEHl0DI+VNf1idq0i0n7q6CmV86E7xMliw6GcqyQhe mYl56bfuQxU8fwz52nJVAED6lCBU3ByLaesvNvhzYieI1PITScq4OAnUL7HagMZy+Msz tteTUHepfU0fsc39NCnWFbabv9HitTKixG8NNbgsIOJ1tXefbin2cGigXYO+afnHWNEh qHaj+JWp3hqYsr/xJmN4vszGDyiBC5VcuBruiySTrgb8GRz9BIvX32tWZXsbOyUEyONt 3gOk4qoGirX+JJeswgGgFAsa0Okkf9364IBQWMMpCAQM36y581eT9slJXXt2cCLcuGbU yl0A== X-Gm-Message-State: AC+VfDyHzr1z7GVBSDNKx2wqlaLZlo4Djv71uJMFqmlS3bzuj8MEMUBn NRkvdhMbOa2t49YO6RAvrZQE4LiQhBQ= X-Google-Smtp-Source: ACHHUZ5yWi3z9W9IDo1fQqrTyWP4mlwQWSG+Dh3a3V3hSmdoe5T46q+GRCpsBNAKq+Yxbauu+/pWSQ== X-Received: by 2002:a05:6830:1d4a:b0:68d:6a1e:46b9 with SMTP id p10-20020a0568301d4a00b0068d6a1e46b9mr2999657oth.26.1684604570444; Sat, 20 May 2023 10:42:50 -0700 (PDT) Received: from [192.168.0.12] (host197.190-225-105.telecom.net.ar. [190.225.105.197]) by smtp.gmail.com with ESMTPSA id e26-20020a05683013da00b006ac75cff491sm762231otq.3.2023.05.20.10.42.49 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 20 May 2023 10:42:50 -0700 (PDT) Message-ID: <5e072d0e-8aa4-7f6f-19b8-863cc4e5318b@gmail.com> Date: Sat, 20 May 2023 14:43:06 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: <20230520015057.4589-1-jamrial@gmail.com> <20230520172323.GC1391451@pb2> From: James Almer In-Reply-To: <20230520172323.GC1391451@pb2> Subject: Re: [FFmpeg-devel] [PATCH v2] avcodec/av1dec: convert to receive_frame() 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 5/20/2023 2:23 PM, Michael Niedermayer wrote: > On Fri, May 19, 2023 at 10:50:57PM -0300, James Almer wrote: >> Signed-off-by: James Almer >> --- >> libavcodec/av1dec.c | 75 +++++++++++++++++++++++++++++++++------------ >> libavcodec/av1dec.h | 4 +++ >> 2 files changed, 60 insertions(+), 19 deletions(-) > > Crashes intermittently (so maybe its not this one) > > [av1 @ 0x562d7e65db40] No sequence header available. > [av1 @ 0x562d7e65db40] Invalid OBU length: 1071323, but only 768 bytes remaining in fragment. > [av1 @ 0x562d7e65db40] Failed to parse temporal unit. > [av1 @ 0x562d7e65db40] Invalid OBU length: 1071323, but only 768 bytes remaining in fragment. > [av1 @ 0x562d7e65db40] Failed to read packet. > Assertion i <= s->current_obu.nb_units failed at libavcodec/av1dec.c:1415 > Aborted (core dumped) > > #0 0x00007fffed2e2e87 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 > #1 0x00007fffed2e47f1 in __GI_abort () at abort.c:79 > #2 0x0000555555bfcf4a in av1_receive_frame () > #3 0x0000555555c7d814 in decode_receive_frame_internal () > #4 0x0000555555c7e4c0 in avcodec_send_packet () > #5 0x0000555555a5d633 in try_decode_frame () > #6 0x0000555555a628ff in avformat_find_stream_info () > #7 0x000055555574578e in ifile_open () > #8 0x000055555575c99c in open_files.isra () > #9 0x000055555575ddb5 in ffmpeg_parse_options () > #10 0x000055555573df61 in main () > > if i build with full debug symbols it doesnt crash :) > ill mail you the file "i" was uninitialized because the for loop was never reached. Fixed locally. > > > [...] > > > _______________________________________________ > 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". _______________________________________________ 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".