Bug 628163

Summary: Crash when camera does not provide any settings controls
Product: [Fedora] Fedora Reporter: muny <muny>
Component: entangleAssignee: Daniel Berrangé <berrange>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: berrange, thub
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:b99b3fce2d94fb9e1af17cf8866d510c4cea0adc
Fixed In Version: entangle-0.2.0-1.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-19 07:12:48 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
Backtrace after installing debuginfo
none
Debug output that accompanies the backtrace in attachment 449630. none

Description muny 2010-08-28 10:35:47 UTC
abrt version: 1.1.13
architecture: x86_64
Attached file: backtrace
cmdline: entangle
component: entangle
crash_function: entangle_control_group_count
executable: /usr/bin/entangle
kernel: 2.6.33.8-149.fc13.x86_64
package: entangle-0.1.0-4.fc13
rating: 4
reason: Process /usr/bin/entangle was killed by signal 11 (SIGSEGV)
release: Fedora release 13 (Goddard)
time: 1282991162
uid: 500

How to reproduce
-----
1. Connect {lumix, pana, DFZ38} as usb-mass-storage option 
2. Launch Entangle

Nothing but useless crash :)

Comment 1 muny 2010-08-28 10:35:50 UTC
Created an attachment (id=441668)
File: backtrace

Comment 2 Daniel Berrangé 2010-08-31 11:04:00 UTC
The stack trace appears to be incomplete, possibly because entangle-debuginfo is missing ?

Can you double-check that you have the matching debuginfo installed. Also please run it with '--debug-entangle' and '--debug-gphoto' command line options & upload the resulting (huge) debug output to this ticket.

Comment 3 Ira Malinich 2010-09-25 20:33:24 UTC
Package: entangle-0.1.0-4.fc13
Architecture: i686
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
1. Do not plug in a camera
2. Launch the application


Comment
-----
The application doesn't get as far as drawing a window before crashing.  If I plug in my camera, it will show me the camera selection dialogue box and things work fine, compatibility with my particular camera notwithstanding.
If I disconnect the camera using the menu, Entangle crashes with a slightly different crashdump that shows up separately in ABRT.  Rather than letting ABRT create another bug, I'll try to figure out how to attach the relevant report manually.

Comment 4 Ira Malinich 2010-09-25 21:24:16 UTC
Created attachment 449630 [details]
Backtrace after installing debuginfo

I ran a "debuginfo-install entangle" and it installed a load of debuginfo packages.  It took me a couple tries to get everything downloaded (my glibc wasn't up-to-date so it couldn't find the appropriate debuginfo for my installed version) but I think I got everything.  The new stack trace doesn't look any more useful, but since I don't know what I'm looking at, I'll attach it just in case.

Comment 5 Ira Malinich 2010-09-25 21:29:49 UTC
Created attachment 449631 [details]
Debug output that accompanies the backtrace in attachment 449630 [details].

This is the requested debug output from "entangle --debug-entangle --debug-gphoto > entangle-output".

Comment 6 Ira Malinich 2010-09-25 21:36:00 UTC
Hmm.  I should note that "Photo2" is the memory card from my camera that was plugged in via a reader.  I ejected it and tried again and it works fine, showing me the camera selection dialogue box (with no cameras, of course).

Comment 7 Daniel Berrangé 2010-10-06 10:58:02 UTC
> ** (entangle:2565): DEBUG: context: This camera does not offer any configuration options.

This last line of the log is interesting/useful. I've not tested with a camera which doesn't have config options before, so there's probably an edge case I screwed up.

Comment 8 Fedora Update System 2010-10-06 17:46:55 UTC
entangle-0.2.0-1.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/entangle-0.2.0-1.fc13

Comment 9 Fedora Update System 2010-10-08 20:49:55 UTC
entangle-0.2.0-1.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update entangle'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/entangle-0.2.0-1.fc13

Comment 10 Fedora Update System 2010-10-19 07:12:43 UTC
entangle-0.2.0-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.