Bug Report Global source animated GIF crash

bluesatin

New Member
I saw a report for OBS crashing with a certain GIF but this may be slightly different.

Steps to reproduce:

  • 1. Make an image global source
    2. Set the global source to an animated gif file
    3. Add the global source to a scene
    3. Enable preview mode
    4. Now right click the global source you added and go into properties
    5. Change the animated gif source to another animated gif
    6. Either it will crash with an error message like "Error: Out of range! List<float>::operator[](61)" or it'll hang

It's a bit inconsistent and sometimes it takes a couple of tries changing the animated gif for it to crash on a new scene. Note that it only seems to happen on a global source and when preview is active.

Crash with "Error: Out of range! List<float>::operator[](61)" error message
Code:
23:49:50: Open Broadcaster Software v0.584b - 32bit (´・ω・`)
23:49:50: -------------------------------
23:49:50: CPU Name: Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz
23:49:50: CPU Speed: 3400MHz
23:49:50: Physical Memory:  4095MB Total, 3582MB Free
23:49:50: stepping id: 3, model 60, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
23:49:50: monitor 1: pos={0, 0}, size={2560, 1440}
23:49:50: monitor 2: pos={2560, 0}, size={1280, 720}
23:49:50: Windows Version: 6.1 Build 7601 S
23:49:50: Aero is Enabled
23:49:50: -------------------------------
23:49:50: OBS Modules:
23:49:50: Base Address     Module
23:49:50: 013B0000         OBS.exe
23:49:50: 5E910000         OBSApi.dll
23:49:50: 72EF0000         DShowPlugin.dll
23:49:50: 68040000         GraphicsCapture.dll
23:49:50: 73440000         NoiseGate.dll
23:49:50: 68020000         PSVPlugin.dll
23:49:50: ------------------------------------------
23:49:50: Adapter 1
23:49:50:   Video Adapter: NVIDIA GeForce GTX 560 Ti  
23:49:50:   Video Adapter Dedicated Video Memory: 1024917504
23:49:50:   Video Adapter Shared System Memory: 3221106688
23:49:50:   Video Adapter Output 1: pos={0, 0}, size={2560, 1440}, attached=true
23:49:50: ------------------------------------------
23:49:50: Adapter 2
23:49:50:   Video Adapter: Intel(R) HD Graphics 4600
23:49:50:   Video Adapter Dedicated Video Memory: 67108864
23:49:50:   Video Adapter Shared System Memory: 1711276032
23:49:50:   Video Adapter Output 1: pos={2560, 0}, size={1280, 720}, attached=true
23:49:50: =====Stream Start: 2013-12-04, 23:49:50===============================================
23:49:50:   Multithreaded optimizations: On
23:49:50:   Base resolution: 1280x720
23:49:50:   Output resolution: 1280x720
23:49:50: ------------------------------------------
23:49:50: Loading up D3D10 on NVIDIA GeForce GTX 560 Ti...
23:49:50: ------------------------------------------
23:49:50: Audio Format: 48000hz
23:49:50: Playback device Default
23:49:50: ------------------------------------------
23:49:50: Using desktop audio input: Speakers (Realtek High Definition Audio)
23:49:50: ------------------------------------------
23:49:50: Using auxilary audio input: Rode Podcaster (Rode Podcaster)
23:49:50: ------------------------------------------
23:49:50: Audio Encoding: AAC
23:49:50:     bitrate: 128
23:49:50: Using bitmap image
23:49:50: Scene buffering time set to 400
23:49:50: Found QSV hardware support
23:49:50: ------------------------------------------
23:49:50: QSV version 1.6 using MFX_IMPL_HARDWARE_ANY | MFX_IMPL_VIA_D3D9 (actual: MFX_IMPL_HARDWARE2 | MFX_IMPL_VIA_D3D9)
23:49:50: Using 10 bitstreams and 13 frame buffers
23:49:50: ------------------------------------------
23:49:50: Video Encoding: QSV
23:49:50:     fps: 30
23:49:50:     width: 1280, height: 720
23:49:50:     target-usage: MFX_TARGETUSAGE_BEST_QUALITY
23:49:50:     CBR: yes
23:49:50:     CFR: no
23:49:50:     max bitrate: 2048
23:49:50: ------------------------------------------
23:49:50: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 384000, samples per sec is 48000
23:49:50: MMDeviceAudioSource: Frequency for device 'Rode Podcaster (Rode Podcaster)' is 192000, samples per sec is 48000

Error: Out of range!  List<float>::operator[](61)
Let me know if you need any more information or example gifs.


Thanks, bluesatin.
 
Top