[gst-devel] strange svgalib problem

Zeeshan Ali zak147 at yahoo.com
Sun Jan 5 19:47:03 CET 2003

Hello everyone,
  I am trying to get the vgavideosink from Ronald
Bultje to work. It depends on the svgalib which is
availabe at:


  I got quite successfull in getting video (Alien
Song) on it from my app but couldnt get it to work
from inside the plugin (vgavideosink) at all. It
segfaults at the first call: vga_init ()

Here is the stack trace from gdb:

#0  0x401ac524 in __errno_location () from
#1  0x42047f2c in vfprintf () from /lib/i686/libc.so.6
#2  0x420523c2 in printf () from /lib/i686/libc.so.6
#3  0x402f304c in __svgalib_CHIPS_SetTransparency ()
   from /usr/local/lib/libvga.so.1
#4  0x4008ab95 in gst_vgavideosink_change_state
    at vgavideosink.c:325
#5  0x400311ce in gst_element_set_state
    state=GST_STATE_READY) at gstelement.c:2128
#6  0x40027262 in gst_bin_change_state
(element=0x8061680) at gstbin.c:613
#7  0x4003d5c8 in gst_pipeline_change_state
    at gstpipeline.c:170
#8  0x400311ce in gst_element_set_state
    state=GST_STATE_PLAYING) at gstelement.c:2128
#9  0x0804980c in main (argc=9, argv=0xbffffaa4) at
#10 0x420158d4 in __libc_start_main () from

  but what was for my shock was that in the src of
svgalib the __svgalib_CHIPS_SetTransparency () does
not calls printf() or any other function at all. I
dont understand it at all... plz help me debug this
problem cause i spent hours of this and cant afford
more time on this...

  Keep one thing in mind that svgalib requires its
apps to be compiled by the root and further that root
should chmod u+s on the binaries to make it accessible
by the other users (i dont get this one too, do you?)
Thanks in advance. Bye.


Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.

More information about the gstreamer-devel mailing list