[Bug 684399] New: videomixer can't compile orc program

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Sep 19 12:30:13 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=684399
  GStreamer | gst-plugins-good | 0.11.x

           Summary: videomixer can't compile orc program
    Classification: Platform
           Product: GStreamer
           Version: 0.11.x
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: mrubinstein at weather.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


This problem was seen on a MinGW build of RELEASE-0.11.94.  It could be Windows
specific:

The problem occurs when background=transparent and the video has an alpha
component.

Pipeline:

run videomixer name=mix  background=transparent   ! videoconvert !
autovideosink  videotestsrc ! video/x-raw,format=RGBA,
width=200,height=200,framerate=10/1  ! videoconvert ! mix.sink_1  videotestsrc
pattern=smpte ! video/x-raw,format=RGBA, width=720,height=480,framerate=10/1  !
videoconvert ! mix.sink_0

Debug Trace:

Breakpoint 2, video_mixer_orc_overlay_bgra (d1=d1 at entry=0x6850070 "",
d1_stride=d1_stride at entry=2880, s1=s1 at entry=0x66f0070 '\377' <repeats 200
times>..., s1_stride=s1_stride at entry=2880, p1=255, n=n at entry=720,
m=m at entry=480)
    at tmp-orc.c:1858
1858    {
(gdb) call orc_debug_set_level(5)
$3 = 5
(gdb) c
Continuing.
ORC: INFO: orccompiler.c(193): orc_program_compile_full(): initializing
compiler for program "video_mixer_orc_overlay_bgra"
ORC: LOG: orccompiler.c(208): orc_program_compile_full(): variables
ORC: LOG: orccompiler.c(215): orc_program_compile_full(): 0: d1 size 4 type 2
alloc 0
ORC: LOG: orccompiler.c(215): orc_program_compile_full(): 4: s1 size 4 type 1
alloc 0
ORC: LOG: orccompiler.c(215): orc_program_compile_full(): 16: c1 size 4 type 3
alloc 0
ORC: LOG: orccompiler.c(215): orc_program_compile_full(): 17: c2 size 4 type 3
alloc 0
ORC: LOG: orccompiler.c(215): orc_program_compile_full(): 18: c3 size 4 type 3
alloc 0
ORC: LOG: orccompiler.c(215): orc_program_compile_full(): 19: c4 size 4 type 3
alloc 0
ORC: LOG: orccompiler.c(215): orc_program_compile_full(): 20: c5 size 4 type 3
alloc 0
ORC: LOG: orccompiler.c(215): orc_program_compile_full(): 24: p1 size 2 type 4
alloc 0
ORC: LOG: orccompiler.c(215): orc_program_compile_full(): 32: t1 size 4 type 0
alloc 0
ORC: LOG: orccompiler.c(215): orc_program_compile_full(): 33: t2 size 4 type 0
alloc 0
ORC: LOG: orccompiler.c(215): orc_program_compile_full(): 34: t3 size 2 type 0
alloc 0
ORC: LOG: orccompiler.c(215): orc_program_compile_full(): 35: t4 size 1 type 0
alloc 0
ORC: LOG: orccompiler.c(215): orc_program_compile_full(): 36: t5 size 8 type 0
alloc 0
ORC: LOG: orccompiler.c(215): orc_program_compile_full(): 37: t6 size 8 type 0
alloc 0
ORC: LOG: orccompiler.c(215): orc_program_compile_full(): 38: t7 size 8 type 0
alloc 0
ORC: LOG: orccompiler.c(215): orc_program_compile_full(): 39: t8 size 4 type 0
alloc 0
ORC: LOG: orccompiler.c(215): orc_program_compile_full(): 40: t9 size 8 type 0
alloc 0
ORC: LOG: orccompiler.c(215): orc_program_compile_full(): 41: t10 size 8 type 0
alloc 0
ORC: LOG: orccompiler.c(218): orc_program_compile_full(): instructions
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 0: loadl 32 0 4 0
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 1: shrul 33 0 32 19
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 2: convlw 34 0 33 0
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 3: convwb 35 0 34 0
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 4: splatbl 39 0 35 0
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 5: convubw 36 0 39 0
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 6: mullw 36 0 36 24
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 7: shruw 36 0 36 20
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 8: convubw 41 0 32 0
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 9: mullw 41 0 41 36
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 10: loadpl 39 0 16 0
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 11: convubw 37 0 39 0
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 12: subw 37 0 37 36
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 13: loadl 32 0 0 0
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 14: shrul 33 0 32 19
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 15: convlw 34 0 33 0
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 16: convwb 35 0 34 0
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 17: splatbl 39 0 35 0
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 18: convubw 38 0 39 0
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 19: mullw 38 0 38 37
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 20: div255w 38 0 38 0
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 21: convubw 40 0 32 0
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 22: mullw 40 0 40 38
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 23: addw 40 0 40 41
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 24: addw 38 0 38 36
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 25: divluw 40 0 40 38
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 26: convwb 32 0 40 0
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 27: andl 32 0 32 18
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 28: convwb 39 0 38 0
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 29: andl 39 0 39 17
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 30: orl 32 0 32 39
ORC: LOG: orccompiler.c(225): orc_program_compile_full(): 31: storel 0 0 32 0
ORC: WARNING: orccompiler.c(376): orc_program_compile_full(): program
video_mixer_orc_overlay_bgra failed to compile, reason: register overflow for
vector reg
ORC: INFO: orccompiler.c(399): orc_program_compile_full(): finished compiling
(fail)

Program received signal SIGSEGV, Segmentation fault.
video_mixer_orc_overlay_bgra (d1=d1 at entry=0x6850070 "",
d1_stride=d1_stride at entry=2880, s1=s1 at entry=0x66f0070 '\377' <repeats 200
times>..., s1_stride=s1_stride at entry=2880, p1=255, n=n at entry=720,
m=m at entry=480)
    at tmp-orc.c:1944
1944      func (ex);
(gdb)

There are two issues:

1.  The orc compile failed.
2.  The error was not detected and the backup function was not called.

I'm using orc-0.4.16, which I built using the instructions on the GStreamer
wiki.

Other orc programs compile and run properly.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list