← Back to team overview

touch-packages team mailing list archive

Re: [Bug 1373221] Re: guvcview crashed with SIGSEGV in get_ctrl_by_id()

 

Hi,
What do you mean by "hang up" ?
Does the control window becomes unresponsive?

>From the logs all I notice is that the capture ring buffer gets full,
this usually means frames are not being encoded fast enough. Guvcview
tries to compensate for this, by reducing the frame rate.
Also the matroska muxer caches audio frames so that matching audio and
video packets are stored in the same cluster.
In this case for some reason video frames are not being fed to the
muxer, so audio keeps filling the cache.
Have you tried reducing the resolution, or fps?
You should also test with different codecs and with the avi muxer,
also maybe with audio disabled, just to check if it makes any
difference.

Regards,
Paulo

2015-01-22 21:34 GMT+00:00 vedavata <vedavrata@xxxxxxxxx>:
>> please upgrade to version 2.0.1, you can use one of the following ppa:
>> stable: https://launchpad.net/~pj-assis/+archive/ubuntu/ppa
>
> This helped!
> Thank you very much!
>
> But... with this version 2.0.1, when video size became 2 GB, guvcview
> hung up... :-(
>
> # guvcview
> V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
> ** (guvcview:15514): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-Grv3g4WwxK: Connection refused
> V4L2_CORE: VIDIOC_S_EXT_CTRLS for multiple controls failed (error -1)
> V4L2_CORE: using VIDIOC_S_CTRL for user class controls
> V4L2_CORE: control(0x0098091a) "White Balance Temperature" failed to set (error -1)
> V4L2_CORE: VIDIOC_S_EXT_CTRLS for multiple controls failed (error -1)
> V4L2_CORE: using VIDIOC_S_EXT_CTRLS on single controls for class: 0x009a0000
> V4L2_CORE: control(0x009a0902) "Exposure (Absolute)" failed to set (error -1)
> GUVCVIEW: error setting spin value
> (guvcview:15514): GLib-GObject-CRITICAL **: g_value_set_object: assertion 'G_VALUE_HOLDS_OBJECT (value)' failed
> GUVCVIEW: (status) saving video to /media/ntfs2/guvc/guvc-video-1.mkv
> ENCODER: add stream 0 to stream list
> ENCODER: add stream 1 to stream list
> ENCODER: (matroska) add seekhead entry 0 (max 10)
> ENCODER: (matroska) add seekhead entry 1 (max 10)
> AUDIO: Pulseaudio pa_stream_get_latency() failed
> [...]
> ENCODER: (matroska) packet buffer [81] is in use: flushing cached data
> ENCODER: video ring buffer full - dropping frame
> AUDIO: write buffer(23) is still in use - dropping data
>
> What can be the reason?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1373221
>
> Title:
>   guvcview crashed with SIGSEGV in get_ctrl_by_id()
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/guvcview/+bug/1373221/+subscriptions

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to v4l-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1373221

Title:
  guvcview crashed with SIGSEGV in get_ctrl_by_id()

Status in GTK uvc viewer:
  Confirmed
Status in One Hundred Papercuts:
  Triaged
Status in libv4l v4l-utils:
  Confirmed
Status in guvcview package in Ubuntu:
  Triaged
Status in v4l-utils package in Ubuntu:
  Triaged

Bug description:
  HOW TO REPRODUCE:
  - Launch guvcview

  EXPECTED BEHAVIOUR:
  - The application to start normally.

  REAL BEHAVIOUR:
  - The application crashes.

  ProblemType: Crash
  DistroRelease: Ubuntu 14.10
  Package: guvcview 1.7.3-1.1build2
  ProcVersionSignature: Ubuntu 3.16.0-17.23-generic 3.16.3
  Uname: Linux 3.16.0-17-generic x86_64
  ApportVersion: 2.14.7-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed Sep 24 06:35:20 2014
  ExecutablePath: /usr/bin/guvcview
  InstallationDate: Installed on 2013-05-21 (490 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  ProcCmdline: guvcview
  SegvAnalysis:
   Segfault happened at: 0x42d970:	mov    0x0,%eax
   PC (0x0042d970) ok
   source "0x0" (0x00000000) not located in a known VMA region (needed readable region)!
   destination "%eax" ok
  SegvReason: reading NULL VMA
  Signal: 11
  SourcePackage: guvcview
  StacktraceTop:
   ?? ()
   ?? ()
   ?? ()
   ?? ()
   __libc_start_main (main=0x409920, argc=1, argv=0x7fff32c34208, init=<optimised out>, fini=<optimised out>, rtld_fini=<optimised out>, stack_end=0x7fff32c341f8) at libc-start.c:287
  Title: guvcview crashed with SIGSEGV in __libc_start_main()
  UpgradeStatus: Upgraded to utopic on 2014-09-24 (0 days ago)
  UserGroups: adm lpadmin sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/guvcview/+bug/1373221/+subscriptions


References