Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Builder ffmpeg-solaris10-i386 Build #12837

Results:

Failed shell_2 shell_3 shell_4 shell_5

SourceStamp:

Projectffmpeg
Repositoryhttps://git.ffmpeg.org/ffmpeg.git
Branchmaster
Revision0ea961c0700441b68eff73296755a3245145588e
Got Revision0ea961c0700441b68eff73296755a3245145588e
Changes4 changes

BuildSlave:

unstable10x

Reason:

The SingleBranchScheduler scheduler named 'schedule-ffmpeg-solaris10-i386' triggered this build

Steps and Logfiles:

  1. git update ( 6 secs )
    1. stdio
  2. shell 'gsed -i ...' ( 0 secs )
    1. stdio
  3. shell_1 'gsed -i ...' ( 0 secs )
    1. stdio
  4. shell_2 'gsed -i ...' failed ( 0 secs )
    1. stdio
  5. shell_3 './configure --samples="../../../ffmpeg/fate-suite" ...' failed ( 10 secs )
    1. stdio
    2. config.log
  6. shell_4 'gmake fate-rsync' failed ( 0 secs )
    1. stdio
  7. shell_5 '../../../ffmpeg/fate.sh ../../../ffmpeg/fate_config.sh' failed ( 1 secs )
    1. stdio
    2. configure.log
    3. compile.log
    4. test.log

Build Properties:

NameValueSource
branch master Build
builddir /export/home/buildbot/slave/ffmpeg-solaris10-i386 slave
buildername ffmpeg-solaris10-i386 Builder
buildnumber 12837 Build
codebase Build
got_revision 0ea961c0700441b68eff73296755a3245145588e Git
project ffmpeg Build
repository https://git.ffmpeg.org/ffmpeg.git Build
revision 0ea961c0700441b68eff73296755a3245145588e Build
scheduler schedule-ffmpeg-solaris10-i386 Scheduler
slavename unstable10x BuildSlave
workdir /export/home/buildbot/slave/ffmpeg-solaris10-i386 slave (deprecated)

Forced Build Properties:

NameLabelValue

Responsible Users:

  1. Andreas Rheinhardt

Timing:

StartThu Nov 27 12:08:04 2025
EndThu Nov 27 12:08:23 2025
Elapsed19 secs

All Changes:

:

  1. Change #250162

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Thu 27 Nov 2025 11:30:55
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 90551b7d80e39c2fcde67fc65e3623bbef12590c

    Comments

    avcodec/vp3: Sync VLCs once during init, fix crash
    6c7a344b65cb7476d1575cb1504e3a53bcbc83e7 made the VLCs shared between
    threads and did so in a way that was designed to support stream
    reconfigurations, so that the structure containing the VLCs was
    synced in update_thread_context. The idea was that the currently
    active VLCs would just be passed along between threads.
    
    Yet this was broken by 5acbdd2264d3b90dc11369f9e031e762f260882e:
    Before this commit, submit_packet() was a no-op during flushing
    for VP3, as it is a no-delay decoder, so it won't produce any output
    during flushing. This meant that prev_thread in pthread_frame.c
    contained the last dst thread that update_thread_context()
    was called for (so that these VLCs could be passed along between
    threads). Yet after said commit, submit_packet was no longer
    a no-op during flushing and changed prev_thread in such a way
    that it did not need to contain any VLCs at all*. When flushing,
    prev_thread is used to pass the current state to the first worker
    thread which is the one that is used to restart decoding.
    It could therefore happen that the decoding thread did not contain
    the VLCs at all any more after decoding restarts after flushing
    leading to a crash (this scenario was never anticipated and
    must not happen at all).
    
    There is a simple, easily backportable fix given that we do not
    support stream reconfigurations (yet) when using frame threading:
    Don't sync the VLCs in update_thread_context(), instead do it once
    during init.
    
    This fixes forgejo issue #20346 and trac issue #11592.
    
    (I don't know why 5acbdd2264d3b90dc11369f9e031e762f260882e
    changed submit_packet() to no longer be a no-op when draining
    no-delay decoders.)
    
    *: The exact condition for the crash is nb_threads > 2*nb_frames.
    
    Reviewed-by: Peter Ross <pross@xvid.org>
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/vp3.c
  2. Change #250163

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Thu 27 Nov 2025 11:32:54
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision d52bca36ef28a928fc42f81214d516f35bd0aa33

    Comments

    avcodec/vp3: Move last_qps from context to stack
    Reviewed-by: Peter Ross <pross@xvid.org>
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/vp3.c
  3. Change #250164

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Thu 27 Nov 2025 11:33:00
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 2ca072e168fd4b4a4edd3dfa2eddf344d86c57e4

    Comments

    avcodec/vp3: Remove always-false checks
    The dimensions are only set at two places: theora_decode_header()
    and vp3_decode_init(). These functions are called during init
    and during dimension changes, but the latter is only supported
    (and attempted) when frame threading is not active. This implies that
    the dimensions of the various worker threads in
    vp3_update_thread_context() always coincide, so that these checks
    are dead and can be removed.
    
    (These checks would of course need to be removed when support
    for dimension changes during frame threading is implemented;
    and in any case, a dimension change is not an error.)
    
    Reviewed-by: Peter Ross <pross@xvid.org>
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/vp3.c
  4. Change #250165

    Category ffmpeg
    Changed by Andreas Rheinhardt <andreas.rheinhardtohnoyoudont@outlook.com>
    Changed at Thu 27 Nov 2025 11:34:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 0ea961c0700441b68eff73296755a3245145588e

    Comments

    avcodec/vp3: Redo updating frames
    VP3's frame managment is actually simple: It has three frame slots:
    current, last and golden. After having decoded the current frame,
    the old last frame will be freed and replaced by the current frame.
    If the current frame is a keyframe, it also takes over the golden slot.
    
    The VP3 decoder handled this like this: In single-threaded mode,
    the above procedure was carried out (on success). Doing so with
    frame-threading is impossible, as it would lead to data races.
    Instead vp3_update_thread_context() created new references
    to these frames and then carried out said procedure.
    
    This means that vp3_update_thread_context() is not just a "dumb"
    function that only copies certain fields from src to dst; instead
    it actually processes them. E.g. trying to copy the decoding state
    from A to B and then from B to C (with no decode_frame call in between)
    will not be equivalent to copying from A to C, as both current and last
    frames will be blank in the first case.
    
    This commit changes this: Because last_frame won't be needed after
    decoding, no reference to it will be created to it in
    vp3_update_thread_context(); instead it is now always unreferenced
    after decoding it (even on error). Replacing last_frame with the new
    frame is now always performed when the new frame is allocated.
    Replacing the golden frame is now done earlier, namely in decode_frame()
    before ff_thread_finish_setup(), so that update_thread_context only
    has to reference current frame and golden frame. Being dumb means
    that update_thread_context also no longer checks whether the current
    frame is valid, so that it can no longer error out.
    
    This unifies the single- and multi-threaded codepaths; it can lead
    to changes in output in single threaded mode: When erroring out,
    the current frame would be discarded and not be put into one
    of the reference slots at all in single-threaded mode. The new
    code meanwhile does everything as the frame-threaded code already did
    in order to reduce discrepancies between the two. It would be possible
    to keep the old single-threaded behavior (one would need to postpone
    replacing the golden frame to the end of vp3_decode_frame and would
    need to swap the current frame and the last frame on error,
    unreferencing the former).
    
    Reviewed-by: Peter Ross <pross@xvid.org>
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    Changed files

    • libavcodec/vp3.c