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 319359 - v4l2src error when trying to get device norm + segmentation fault
v4l2src error when trying to get device norm + segmentation fault
Status: RESOLVED DUPLICATE of bug 314160
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.10
Other Linux
: Normal major
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-10-20 21:42 UTC by Pierre Cassimans
Modified: 2006-01-14 13:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pierre Cassimans 2005-10-20 21:42:51 UTC
gst-launch-0.8 v4l2src device=/dev/video0 ! fakesinc

v4l2_calls.c(483): gst_v4l2_get_norm
Faild to get the current norm for device /dev/video0: Invalid argument
Segmentation fault.

I'm using a webcam with the sn9c102 driver (1.0.24) from the 2.6.13 kernel.
Comment 1 Luca Ognibene 2005-11-01 11:25:39 UTC
Can you please get a backtrace? (see http://live.gnome.org/GettingTraces)
thanks
Comment 2 Andy Wingo 2005-11-29 17:51:17 UTC
Lowering to major as it's been a month without reply. Another month and the bug
gets closed.
Comment 3 Pierre Cassimans 2005-11-29 22:26:47 UTC
Sorry for the late response. Here is the backtrace

(gdb) run    
Starting program: /usr/bin/gst-launch-0.8 v4l2src device=/dev/video0
[Thread debugging using libthread_db enabled]
[New Thread -1213696336 (LWP 26143)]
RUNNING pipeline ...

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1213696336 (LWP 26143)]
0xb7f97020 in gst_v4l2_set_defaults (v4l2element=0x806e488) at v4l2_calls.c:348
348     v4l2_calls.c: No such file or directory.
        in v4l2_calls.c
(gdb) thread apply all bt

Thread 1 (Thread -1213696336 (LWP 26143))

  • #0 gst_v4l2_set_defaults
    at v4l2_calls.c line 348
  • #1 gst_v4l2_open
    at v4l2_calls.c line 426
  • #2 gst_v4l2element_change_state
    at gstv4l2element.c line 581
  • #3 gst_v4l2src_change_state
    at gstv4l2src.c line 1077
  • #4 gst_element_set_state_func
    at gstelement.c line 2853
  • #5 gst_element_set_state
    at gstelement.c line 2796
  • #6 set_kid_state_func
    at gstbin.c line 841
  • #7 gst_bin_foreach
    at gstbin.c line 805
  • #8 gst_bin_change_state
    at gstbin.c line 903
  • #9 gst_pipeline_change_state
    at gstpipeline.c line 174
  • #10 gst_element_set_state_func
    at gstelement.c line 2853
  • #11 gst_bin_set_state
  • #12 gst_element_set_state
    at gstelement.c line 2796
  • #13 main
    at gst-launch.c line 538



Hope this is what you wanted. I'm very new to this all :(
Comment 4 Claudio Saavedra 2006-01-14 13:23:01 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


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