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 164165 - [ximagesink] Got a nice segfault with cupid
[ximagesink] Got a nice segfault with cupid
Status: RESOLVED DUPLICATE of bug 166142
Product: Cupid
Classification: Deprecated
Component: general
HEAD
Other Linux
: Normal normal
: NONE
Assigned To: Cupid Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-01-15 14:18 UTC by Gergely Nagy
Modified: 2005-02-05 16:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GDB backtrace (17.83 KB, text/plain)
2005-01-15 14:24 UTC, Gergely Nagy
Details
Backtrace & other infos (9.21 KB, text/plain)
2005-01-15 14:53 UTC, Gergely Nagy
Details

Description Gergely Nagy 2005-01-15 14:18:57 UTC
Set the default videosink to ximagesink with gstreamer-properties, then launch
cupid. Before any window appears, I get a segfault.

Does not happen when trying, eg, gst-launch v4lsrc autoprobe=0 autoprobe-fps=0 !
video/x-raw-yuv,width=(int)320,height=(int)240,framerate=(double)10 !
ffmpegcolorspace ! ximagesink.

Backtrace will come soon.
Comment 1 Gergely Nagy 2005-01-15 14:24:10 UTC
Created attachment 36055 [details]
GDB backtrace
Comment 2 Gergely Nagy 2005-01-15 14:53:18 UTC
Created attachment 36056 [details]
Backtrace & other infos
Comment 3 Gergely Nagy 2005-01-15 14:57:17 UTC
FYI, it works with xvimagesink just fine (except the 15bit display bug reported
elsewhere).
Comment 4 Gergely Nagy 2005-01-16 11:32:47 UTC
Cannot reproduce with today's CVS... Though, I do not see the webcam picture in
the window either.

I get messages like this:

ERROR (0x8073370 - 307187:31:55.078017000)             v4l(17122)
v4lsrc_calls.c(385):gst_v4lsrc_capture_stop:<video-source-0> Device is not in
streaming mode
ERROR (0x8073370 - 307187:31:55.274923000)          v4lsrc(17122)
gstv4lsrc.c(663):gst_v4lsrc_src_link:<video-source-0> Could not set framerate of
1.000000 fps

That might be a different bug, somewhere else, though.
Comment 5 Ronald Bultje 2005-01-16 12:12:13 UTC
Maybe... Make sure to set a framerate in the preferences. It will then give that
error once, but then work fine. If you don't get a picture, that's... weird.
Comment 6 Gergely Nagy 2005-01-16 12:16:22 UTC
I did set one, even removed all cupid settings from my system and let it redo
its stuff, and still get the 1.0000 fps stuff. I might have missed something,
though, so will keep on trying to gather some more information.

(And try to reproduce the original problem this bug was opened for :)
Comment 7 Ronald Bultje 2005-02-05 16:58:13 UTC
I think all of them are fixed now. The ximagesink bug shouldn't be there in
practice anymore, though I may be wrong. The fix for this bug (race) is in #166142.

*** This bug has been marked as a duplicate of 166142 ***