← Back to team overview

touch-packages team mailing list archive

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

 

Hi,

2015-01-28 2:26 GMT+00:00 vedavata <vedavrata@xxxxxxxxx>:
>> What do you mean by "hang up" ?
>> Does the control window becomes unresponsive?
>
> Yes.
> And MKV-files is stopped to fiil.
>
>> From the logs 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.
>
> I tried 30, 25, 20, 15 fps -- the same result: when MVK-files reeaces 2
> GB, guvcview hangs up...

OK, I'll test this again in another machine.

>
>> Also the matroska muxer caches audio frames so that matching audio and
>> video packets are stored in the same cluster.
>
> I doubt, that AVI is better... :-)

It's not, but it's a completely different muxer, it doesn't care about
timestamps, so it just writes packages immediately to file.

>
>> 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?
>
> Yes.  30, 25, 20, 15 fps... 960, 800, 640 pixels...  [On a Core i5
> processor.]
>
>> You should also test with different codecs and with the avi muxer,
>
> Yes, tried MPEG2, H264... The same... 2 GB... (on any FS: ntfs, ext3...)
>
>> also maybe with audio disabled, just to check if it makes any
> difference.
>
> I will try without audio...
> Thank you.

Ok. I'll wait for your results.

>
> Should i open a new bug?

Yes please, this is a different bug.

Regards,
Paulo

>
> --
> 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


Follow ups

References