Bug 653551

Summary: [abrt] xawtv-3.95-13.fc14: raise: Process /usr/bin/xawtv was killed by signal 6 (SIGABRT)
Product: [Fedora] Fedora Reporter: William Bader <williambader>
Component: xawtvAssignee: Hans de Goede <hdegoede>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: dmitry, hdegoede, williambader
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:a8b96c0981dd0b34d5db9683ff1644b1d48767c6
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-17 09:31:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description William Bader 2010-11-15 17:11:02 UTC
abrt version: 1.1.13
architecture: i686
Attached file: backtrace
cmdline: /usr/bin/xawtv -device /dev/video0
component: xawtv
crash_function: raise
executable: /usr/bin/xawtv
kernel: 2.6.35.6-48.fc14.i686
package: xawtv-3.95-13.fc14
rating: 4
reason: Process /usr/bin/xawtv was killed by signal 6 (SIGABRT)
release: Fedora release 14 (Laughlin)
time: 1289840397
uid: 214

comment
-----
The real issue is that the webcam worked under Fedora 13 but no longer works under Fedora 14.
I tried unplugging it, sudo modprobe -r pwc, and plugging it back in (which helped under Fedora 13)
but it still didn't work with Fedora 14.

$ /usr/bin/xawtv -hwscan
This is xawtv-3.95, running on Linux/i686 (2.6.35.6-48.fc14.i686)
looking for available devices
port 63-94
    type : Xvideo, image scaler
    name : Nouveau GeForce 8/9 Textured Video

/dev/video0: OK                         [ -device /dev/video0 ]
    type : v4l2
    name : Logitech QuickCam Pro 4000
    flags:  capture  

$ lsusb | grep Cam
Bus 004 Device 003: ID 046d:08b2 Logitech, Inc. QuickCam Pro 4000

How to reproduce
-----
1. I ran "xawtv -device /dev/video0"
2. it didn't work:
$ /usr/bin/xawtv -device /dev/video0
This is xawtv-3.95, running on Linux/i686 (2.6.35.6-48.fc14.i686)
xinerama 0: 1680x1050+0+0
/dev/video0 [v4l2]: no overlay support
v4l-conf had some trouble, trying to continue anyway
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
v4l2: oops: select timeout
^Clibv4l2: error dequeuing buf: Interrupted system call
v4l2: read: Interrupted system call
*** glibc detected *** /usr/bin/xawtv: double free or corruption (!prev): 0x08e40738 ***
======= Backtrace: =========
/lib/libc.so.6(+0x71ee4)[0x1024ee4]
/usr/lib/xawtv/drv0-v4l2.so(+0x31cb)[0x18d1cb]
/usr/bin/xawtv(ExitCB+0x7c)[0x805db1c]
/usr/bin/xawtv[0x805db73]
/usr/lib/libXt.so.6(+0x28142)[0x7c8142]
/usr/lib/libXt.so.6(XtAppNextEvent+0xab)[0x7c820b]
/usr/bin/xawtv(xt_main_loop+0x49)[0x805b5c9]
/usr/bin/xawtv(main+0x19bb)[0x8055b9b]
/lib/libc.so.6(__libc_start_main+0xe6)[0xfc9e16]
/usr/bin/xawtv[0x8052641]

3. I pressed ^C

Comment 1 William Bader 2010-11-15 17:11:05 UTC
Created attachment 460587 [details]
File: backtrace

Comment 2 Dmitry Butskoy 2010-11-15 17:19:35 UTC
Seems an issue by libv4l patch...

Comment 3 William Bader 2010-11-15 17:42:32 UTC
The webcam is working now.
The problem was that I didn't have permission to access /dev/video0.
I made /dev/video0 world readable and writable, and now xawtv and other programs like cheese are working.
William

$ ls -l /dev/video0 
crw-rw----+ 1 root video 81, 0 Nov 15 18:11 /dev/video0
$ sudo chmod a+rw /dev/video0 
$ ls -l /dev/video0 
crw-rw-rw-+ 1 root video 81, 0 Nov 15 18:11 /dev/video0
$ xawtv -device /dev/video0
This is xawtv-3.94, running on Linux/i686 (2.6.35.6-48.fc14.i686)
xinerama 0: 1680x1050+0+0
/dev/video0 [v4l2]: no overlay support
v4l-conf had some trouble, trying to continue anyway
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
$

Comment 4 Hans de Goede 2010-11-17 09:31:25 UTC
This is a dup of bug 608344, and this is not a libv4l problem but an xawtv bug.

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