← Back to team overview

desktop-packages team mailing list archive

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

 

I doubt that this verbose log helps much, but here you go...
This is with a Trust 17676 webcam (145f:019f) on Debian 8 (guvcview 2.0.1+debian-1).

$ guvcview --verbosity=2
GUVCVIEW: couldn't open /home/.../.config/guvcview2/video0 for read: No such file or directory
GUVCVIEW: language catalog=> dir:/usr/share/locale type:(null) cat:guvcview.mo
GUVCVIEW: main thread (tid: 879)
V4L2_CORE: Device Node Path: /dev/video0
  VID/PID: 145f 019f
  Novatek
  Trust Webcam
  serial: (null)
  busnum: 3
  devnum: 3
V4L2_CORE: language catalog=> dir:/usr/share/locale type:(null) cat:gview_v4l2core.mo
V4L2_CORE: capture method mmap (1)
V4L2_CORE: video device: /dev/video0 
V4L2_CORE: mapping control for Pan (relative)
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: mapping control for Tilt (relative)
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: mapping control for Pan Reset
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: mapping control for Tilt Reset
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: mapping control for Focus
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: mapping control for LED1 Mode
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: mapping control for LED1 Frequency
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: mapping control for Disable video processing
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: mapping control for Raw bits per pixel
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: No such file or directory
V4L2_CORE: Init. Trust Webcam (location: usb-0000:00:1a.7-2)
{ pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
{ discrete: width = 640, height = 480 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 160, height = 120 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 176, height = 144 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 320, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 352, height = 288 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 720 }
	Time interval between frame: 1/10, 2/15, 
{ discrete: width = 1920, height = 1080 }
	Time interval between frame: 1/5, 
{ pixelformat = 'MJPG', description = 'MJPEG' }
{ discrete: width = 640, height = 480 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 160, height = 120 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 176, height = 144 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 320, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 352, height = 288 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 720 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1920, height = 1080 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ pixelformat = 'RGB3', description = 'RGB3' }
{ discrete: width = 640, height = 480 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 160, height = 120 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 176, height = 144 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 320, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 352, height = 288 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 720 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1920, height = 1080 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ pixelformat = 'BGR3', description = 'BGR3' }
{ discrete: width = 640, height = 480 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 160, height = 120 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 176, height = 144 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 320, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 352, height = 288 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 720 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1920, height = 1080 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ pixelformat = 'YU12', description = 'YU12' }
{ discrete: width = 640, height = 480 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 160, height = 120 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 176, height = 144 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 320, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 352, height = 288 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 720 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1920, height = 1080 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ pixelformat = 'YV12', description = 'YV12' }
{ discrete: width = 640, height = 480 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 160, height = 120 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 176, height = 144 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 320, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 352, height = 288 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 720 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1920, height = 1080 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
V4L2_CORE: checking muxed H264 format support
V4L2_CORE: (libusb) checking for H264 unit id
control[0]:(int) 0x980900 'Brightness'
	min:-128 max:127 step:1 def:0 curr:0
control[1]:(int) 0x980901 'Contrast'
	min:60 max:255 step:1 def:128 curr:0
control[2]:(int) 0x980902 'Saturation'
	min:0 max:200 step:1 def:100 curr:0
control[3]:(int) 0x980903 'Hue'
	min:-128 max:127 step:1 def:0 curr:0
control[4]:(bool) 0x98090c 'White Balance Temperature, Auto'
	def:1 curr:0
control[5]:(menu) 0x980918 'Power Line Frequency'
	min:0 max:2 def:1 curr:0
	menu[0]: [0] -> 'Disabled'
	menu[1]: [1] -> '50 Hz'
	menu[2]: [2] -> '60 Hz'
control[6]:(int) 0x98091a 'White Balance Temperature'
	min:2500 max:6500 step:1 def:4500 curr:0
control[7]:(int) 0x98091b 'Sharpness'
	min:0 max:100 step:1 def:50 curr:0
control[8]:(int) 0x98091c 'Backlight Compensation'
	min:0 max:1 step:1 def:0 curr:0
control[9]:(menu) 0x9a0901 'Exposure, Auto'
	min:0 max:3 def:3 curr:0
	menu[0]: [1] -> 'Manual Mode'
	menu[1]: [3] -> 'Aperture Priority Mode'
control[10]:(int) 0x9a0902 'Exposure (Absolute)'
	min:2 max:5000 step:1 def:156 curr:0
control[11]:(int) 0x9a090a 'Focus (absolute)'
	min:0 max:50 step:1 def:0 curr:0
control[12]:(bool) 0x9a090c 'Focus, Auto'
	def:1 curr:0
GUVCVIEW: setting video codec to 'dx50'
GUVCVIEW: setting audio codec to 'mp2'
GUVCVIEW: basename for my_video.mkv is my_video.mkv
GUVCVIEW: extension for my_video.mkv is mkv
GUVCVIEW: basename for my_photo.jpg is my_photo.jpg
GUVCVIEW: extension for my_photo.jpg is jpg
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM sysdefault
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM sysdefault
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM dmix
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
----------------------------------------------
Segmentation fault

-- 
You received this bug notification because you are a member of Desktop
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