After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 171659 - gst-launch crashes on a pipeline for recording a vnc session to theora
gst-launch crashes on a pipeline for recording a vnc session to theora
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.9
Other All
: High critical
: 0.8.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-03-25 23:06 UTC by Samuel Abels
Modified: 2005-06-30 16:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
CLI output (7.32 KB, text/plain)
2005-03-25 23:07 UTC, Samuel Abels
  Details
Another CLI output (12.38 KB, text/plain)
2005-03-26 12:32 UTC, Samuel Abels
  Details
add support for 8/16/32 bpp (4.16 KB, patch)
2005-05-16 19:40 UTC, Luca Ognibene
none Details | Review

Description Samuel Abels 2005-03-25 23:06:20 UTC
Steps to reproduce:
1. Run a vnc server on port 5900. (I run vino 2.10.0-0ubuntu1)

2. Run this pipeline:

gst-launch-0.8 rfbsrc port=5900 ! ffmpegcolorspace ! theoraenc ! oggmux !
filesink location=out.ogg

3. It segfaults.


Stack trace:
Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 25152)

  • #0 gst_rfbsrc_get_type
    from /usr/lib/gstreamer-0.8/libgstrfbsrc.so
  • #1 rfb_decoder_iterate
    from /usr/lib/gstreamer-0.8/libgstrfbsrc.so
  • #2 rfb_decoder_iterate
    from /usr/lib/gstreamer-0.8/libgstrfbsrc.so
  • #3 gst_rfbsrc_get_type
    from /usr/lib/gstreamer-0.8/libgstrfbsrc.so
  • #4 gst_pad_call_get_function
    from /usr/lib/libgstreamer-0.8.so.1
  • #5 ??
    from /usr/lib/gstreamer-0.8/libgstoptscheduler.so
  • #6 ??
  • #7 ??
  • #8 ??
    from /usr/lib/gstreamer-0.8/libgstoptscheduler.so
  • #9 ??
    from /usr/lib/gstreamer-0.8/libgstoptscheduler.so
  • #10 ??
  • #11 ??
  • #12 ??
    from /usr/lib/gstreamer-0.8/libgstoptscheduler.so
  • #13 ??
  • #14 ??
  • #15 ??
  • #16 ??
    from /usr/lib/libgstreamer-0.8.so.1
  • #17 ??
  • #18 ??
  • #19 ??
  • #20 ??
  • #21 ??
    from /usr/lib/gstreamer-0.8/libgstoptscheduler.so
  • #22 ??
  • #23 ??
  • #24 ??
  • #25 ??
    from /usr/lib/gstreamer-0.8/libgstoptscheduler.so
  • #26 ??
  • #27 ??
  • #28 ??
  • #29 gst_debug_log
    from /usr/lib/libgstreamer-0.8.so.1


Other information:
Comment 1 Samuel Abels 2005-03-25 23:07:15 UTC
Created attachment 39264 [details]
CLI output

The complete CLI output.
Comment 2 David Schleef 2005-03-26 00:28:15 UTC
Could you get a backtrace with debugging symbols?
Comment 3 Samuel Abels 2005-03-26 12:32:58 UTC
Created attachment 39278 [details]
Another CLI output

The attached file includes a backtrace with debugging symbols. This was
compiled from the gst-plugins 0.8.8 package.
Comment 4 Luis Villa 2005-05-02 00:00:35 UTC
I'd really love to see this one fixed so that I can do theora demos for the
liveCD; am reopening since the requested information was provided.
Comment 5 Luca Ognibene 2005-05-15 22:07:36 UTC
I've started looking at this bug this evening. The problem is that rfbsrc works only if bpp is 8. I've 
added some code to handle 8/16/24 bpp and it seems to work fine. I only need to add some check for 
LE/BE system. I'm planning to finish this patch tomorrow.. will file here for review!
Comment 6 Luca Ognibene 2005-05-16 19:40:11 UTC
Created attachment 46509 [details] [review]
add support for 8/16/32 bpp

This patch adds support for 8/16/24 bpp. I've only tested it on a little endian
system and it seems to work fine.. I'm not committing this because i would like
a review (i'm not totally sure if my changes are right..). 
Can you please test and see if this work? thanks!
Comment 7 Luca Ognibene 2005-05-16 19:42:50 UTC
The patch is against current cvs of gst-plugins/gst/librfb. sigh, i can't change
the status of the bug :( please set to needinfo..
Comment 8 David Schleef 2005-05-16 22:40:56 UTC
I don't think you mean NEEDINFO, as that will cause us to ignore it.  I'll
review the patch soon.
Comment 9 David Schleef 2005-05-17 07:12:36 UTC
I did a bunch of hacking on rfbsrc today.  This bug (and the 10 other related
bugs) are fixed.