guvcview seg faults on opening Reproducible: Steps to Reproduce:
On real hardware, M3, KDE, 32-bit Package(s) under test: guvcview default install of guvcview [root@localhost wilcal]# urpmi guvcview Package guvcview-1.7.3-3.mga5.i586 is already installed Connect USB webcam [wilcal@localhost ~]$ guvcview guvcview 1.7.3 file guvcview_video.mkv has extension type 1 file guvcview_image.jpg has extension type 0 file guvcview_image.jpg has extension type 0 ..... ..... ..... Segmentation fault Test platform: Intel, P4 530J 3.0 GHz, 800MHz FSB, 1MB L2, LGA 775 GigaByte GA-81915G Pro F4 i915G LGA 775 MoBo Marvel Yukon 88E8001 Gigabit LAN Intel High Def Audio, Azalia (C-Media 9880) (snd-hda-intel) Intel Graphics Media Accelerator 900 (Intel 82915G) Kingston 4GB (2 x 2GB) DDR400 PC-3200 250GB Seagate Kingwin KF-91-BK SATA Mobile Rack Kingwin KF-91-T-BK SATA Mobile Rack Tray Sony CD/DVD-RW DWQ120AB2
Whiteboard: (none) => 5alpha2
Assignee: bugsquad => mageia
*** Bug 14498 has been marked as a duplicate of this bug. ***
CC: (none) => thkala
It's segfaulting on Ubuntu 14.10 using a Logitech C920 also.
CC: (none) => electromage
Is this bug still present?
Keywords: (none) => NEEDINFO
Created attachment 6562 [details] guvcview segmentation fault on launch (In reply to Samuel VERSCHELDE from comment #4) > Is this bug still present? Yup.
Whiteboard: 5alpha2 => MGA5TOO
Keywords: NEEDINFO => (none)CC: (none) => mageia
Similar issue was reported against guvcview 1.7.1 upstream where it segfaulted as it sometimes tries to open the first video device under /dev (/dev/video0) which may not be a webcam: https://sourceforge.net/p/guvcview/tickets/3/ Maybe you can check if there are other video devices there via ls -al /dev/video* and report this new segfault upstream. Actually from what I understood it should ask which video device to use if multiple ones are found, but that dialog doesn't pop up always. But it could be chosen via guvcview -d /dev/video1 (for example). Also try via LC_ALL=C guvcview --verbose to get verbose output. Here it looks like this when not finding any video device, for comparison LC_ALL=C guvcview --verbose guvcview 1.7.3 file guvcview_video.mkv has extension type 1 file guvcview_image.jpg has extension type 0 file guvcview_image.jpg has extension type 0 Video file suffix detected: 0 Image file suffix detected: 0 video_device: /dev/video0 vid_sleep: 0 cap_meth: 1 resolution: 640 x 480 windowsize: 560 x 560 default action: 0 mode: mjpg fps: 1/25 Display Fps: 0 bpp: 0 hwaccel: 1 vid_codec: 8 sound: 1 sound Device: 0 sound samp rate: 0 sound Channels: 0 Sound delay: 0 nanosec Sound Format: 80 Pan Step: 2 degrees Tilt Step: 2 degrees Video Filter Flags: 0 image inc: 1 profile(default):/home/doktor5000/default.gpfl starting portaudio... 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_route.c:947:(find_matching_chmap) Found no matching channel map 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 language catalog=> dir:/usr/share/locale type:C lang:de_DE.UTF-8 cat:guvcview.mo Screen resolution is (1920 x 1200) mjpg: setting format to MJPG capture method = 1 video device: /dev/video0 unable to detect video devices on your system (0) ERROR opening V4L interface: No such file or directory Init video returned -1 free audio mutex VIDIOC_REQBUFS - Failed to delete buffers: Inappropriate ioctl for device (errno 25) closed v4l2 strutures free controls - vidState cleaned allocations - 100% Closing portaudio ...OK Terminated. It may be necessary to switch to new guvcview branch 2.0.x which the author recommends, see https://sourceforge.net/p/guvcview/tickets/18/ https://sourceforge.net/p/guvcview/tickets/14/ https://sourceforge.net/p/guvcview/tickets/13/
CC: (none) => doktor5000
reassigning to BugSquad, because "nobody maintains guvcview now. also CC'ing two guvcview-committers
CC: (none) => fundawang, marja11, rverscheldeAssignee: mageia => bugsquad
*** Bug 17310 has been marked as a duplicate of this bug. ***
CC: (none) => jm.81000
Hello there, I have uploaded an upgraded package of guvcview version 2.0.2 for Mageia 5 in updates/testing. An upgrade was the easiest thing to do as this package was no longer maintained for a while. You can test it if you have a "uvc" webcam by installing it and typing: guvcview in a terminal. A window should appear with various menus. If this is the case, then that's ok, the segfault is fixed (that's the case on my machine, and it works meaning you can see through your webcam). Suggested advisory: ======================== Upgraded guvcview packages to fix a segmentation fault when the program was started. ======================== Updated packages in core/updates_testing: ======================== guvcview-2.0.2-1.mga5.x86_64.rpm lib(64)gviewaudio1-2.0.2-1.mga5.x86_64.rpm lib(64)gviewaudio-devel-2.0.2-1.mga5.x86_64.rpm lib(64)gviewencoder1-2.0.2-1.mga5.x86_64.rpm lib(64)gviewencoder-devel-2.0.2-1.mga5.x86_64.rpm lib(64)gviewrender1-2.0.2-1.mga5.x86_64.rpm lib(64)gviewrender-devel-2.0.2-1.mga5.x86_64.rpm lib(64)gviewv4l2core1-2.0.2-1.mga5.x86_64.rpm lib(64)gviewv4l2core-devel-2.0.2-1.mga5.x86_64.rpm
CC: (none) => eatdirtHardware: i586 => AllAssignee: bugsquad => qa-bugs
Version: Cauldron => 5Whiteboard: MGA5TOO => (none)
Testing on Mageia 5 x86_64, I can confirm that the initial version segfaults, and the update candidate works fine. The GUI shows up, the webcam records properly, and I played around with a few parameters and could see them work (looks way better than qv4l2 btw, I'll keep it around :D).
Whiteboard: (none) => has_procedure MGA5-64-OK
Whiteboard: has_procedure MGA5-64-OK => has_procedure MGA5-64-OK advisory
On real hardware, M3, KDE, 32-bit Package(s) under test: guvcview default install of guvcview [root@localhost wilcal]# uname -a Linux localhost 4.1.13-server-2.mga5 #1 SMP Wed Nov 11 01:51:29 UTC 2015 i686 i686 i686 GNU/Linux [root@localhost wilcal]# urpmi guvcview Package guvcview-1.7.3-3.mga5.i586 is already installed Connect USB webcam [wilcal@localhost ~]$ guvcview guvcview 1.7.3 file guvcview_video.mkv has extension type 1 file guvcview_image.jpg has extension type 0 file guvcview_image.jpg has extension type 0 ..... ..... ..... Segmentation fault [wilcal@localhost ~]$ kamoso ( works just fine ) install guvcview from updates_testing [root@localhost wilcal]# urpmi guvcview Package guvcview-2.0.2-1.mga5.i586 is already installed guvcview launches just fine from a terminal or from its desktop icon
This update works fine. Testing complete for MGA5, 32-bit & 64-bit Validating the update. Could someone from the sysadmin team push to updates. Thanks
Keywords: (none) => validated_updateWhiteboard: has_procedure MGA5-64-OK advisory => has_procedure MGA5-32-OK MGA5-64-OK advisoryCC: (none) => sysadmin-bugs
Great, thanks for the tests. I'll take maintainer-ship of it since I know it a bit now. cheers.
(In reply to Chris Denice from comment #13) I'll take maintainer-ship of it since I know it a bit now. Awesome, thanks! :)
An update for this issue has been pushed to Mageia Updates repository. http://advisories.mageia.org/MGAA-2015-0206.html
Status: NEW => RESOLVEDResolution: (none) => FIXED