Bug 850505
Summary: | On some tv-cards Cheese goes into an infinite loop until oom | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | D. Charles Pyle <dcharlespyle> | ||||||||||
Component: | cheese | Assignee: | Hans de Goede <hdegoede> | ||||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||
Priority: | unspecified | ||||||||||||
Version: | 17 | CC: | hdegoede, mclasen, yaneti | ||||||||||
Target Milestone: | --- | ||||||||||||
Target Release: | --- | ||||||||||||
Hardware: | x86_64 | ||||||||||||
OS: | Unspecified | ||||||||||||
Whiteboard: | abrt_hash:01a60db6af108e675fd1f7fc804bcf1e11b84f30 | ||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2012-08-23 23:31:50 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
D. Charles Pyle
2012-08-21 17:04:10 UTC
Created attachment 605988 [details]
File: backtrace
Created attachment 605989 [details]
File: maps
Created attachment 605990 [details]
File: dso_list
Created attachment 605991 [details]
File: build_ids
*** Bug 849805 has been marked as a duplicate of this bug. *** Hi, Ok, so thanks to this backtrace, and the logs provided in bug 810429, it is now clear what is going on. The cx18 tvcard driver is reporting that in capture at a minimum resolution of 0x0, which causes cheese to go into an infinite loop in cheese_camera_device_update_format_table(), until it runs out of memory. An updated package (hopefully) fixing this is now building here: http://koji.fedoraproject.org/koji/taskinfo?taskID=4413018 Once that has complete building, download the cheese and cheese-libs rpm for your architecture and then as root run: rpm -Uvh cheese*.rpm After that start cheese and the problem should be gone. Regards, Hans cheese-3.4.2-4.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/cheese-3.4.2-4.fc17 cheese-3.5.5-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/cheese-3.5.5-1.fc18 Package cheese-3.4.2-4.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing cheese-3.4.2-4.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-12472/cheese-3.4.2-4.fc17 then log in and leave karma (feedback). Installed the updates from koji (I didn't want to wait). Cheese now no longer crashes. I also noticed that System Settings | User Accounts loads correctly without crashing now, so whatever was fixed here helped to fix the other problem somehow. Thanks again and two positive karma were left. I am about to restart my system to make sure the fix continues to work. I am pretty sure it will. :-) (In reply to comment #10) > Installed the updates from koji (I didn't want to wait). Cheese now no > longer crashes. That is good news. Thanks for all the time you spend on helping debug this! Note the fix has also been send upstream and is also committed there, so it should make it into other distros when they upgrade cheese too, see: https://bugzilla.gnome.org/show_bug.cgi?id=682443 > I also noticed that System Settings | User Accounts loads > correctly without crashing now, so whatever was fixed here helped to fix the > other problem somehow. That is because System Settings | User Accounts uses libcheese to access the webbam :) Regarding the cheese-libs, I figured as much when I saw that user-accounts stopped crashing and I realized that there was the option to take a picture directly from within user-accounts. I enjoyed trying to figure this "show-stopper" out. I just wish I could remember my programming. Since the carbon momoxide poisoning, things have not come as easily to me as they used to do and I have forgotten most of my programming knowledge anyway. Thanks for helping me help you get this long-standing problem fixed. There are a lot of people who were affected by this but mostly did not report it so it could not be fixed. Now maybe there will be less complaints about "cheese problems" now that this has been fixed. There is one more annoyance that needs fixing but it is simply a matter of dependencies for the cheese effects that often do not work on a fresh install. Some effects don't work unless frei0r-plugins is also installed. After you fixed the original problem I noticed that certain effects weren't working and I was seeing errors in the terminal window about certain effects. Installing frei0r-plugins stopped those error messages and all effects now are working without crashes. I had one that took out X.org and logged me off but I have not seen this since installing frei0r-plugins. Thanks again. cheese-3.4.2-4.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. (In reply to comment #12) > There is one more annoyance that needs fixing but it is simply a matter of > dependencies for the cheese effects that often do not work on a fresh > install. Some effects don't work unless frei0r-plugins is also installed. > After you fixed the original problem I noticed that certain effects weren't > working and I was seeing errors in the terminal window about certain effects. > > Installing frei0r-plugins stopped those error messages and all effects now > are working without crashes. Ah, thanks for letting us know about the missing Requires, for F-17 I've added it to cheese itself, but not yet done a build, as I expect there probably will be a new build soon-ish for more bug-fixes. For F-18 and rawhide, I've instead added the Requires to gnome-video-effects, where it actually belongs. As the gnome-video-effects maintainer I don't think adding the dependencies to gnome-video-effects is the right thing to do here, that's why I didn't add them in the first place... I think cheese should be checking the available gst filters and limit the list of available effects on runtime. Hi, (In reply to comment #15) > As the gnome-video-effects maintainer I don't think adding the dependencies > to gnome-video-effects is the right thing to do here, that's why I didn't > add them in the first place... > I think cheese should be checking the available gst filters and limit the > list of available effects on runtime. First of all, sorry for pushing through changes to your package which you did not want, I did not expect these changes to be controversial. So I think we should answer 2 questions here: 1) Should cheese directly or indirectly Require the necessary plugins for all effects to work ? 2) Where do those Requires belong ? To me, the answer to 1. is: yes. Yes, it is possible to make cheese not show effects which won't work due to missing plugins, but how will a normal end user (so not a techie) ever find out that there are more effects, and that he should do a "yum install frei0r-plugins" to get those? The answer to 2 is somewhat harder. Since gnome-video-effects defines the pipelines for the effects, it knows exactly which plugins are needed, and as those may change over time, it makes sense to keep the Requires with the definitions of the pipelines, so that they can easily be updated. So, to me gnome-video-effects seems the right place for those Requires. But if you disagree I'm fine with moving them over to cheese. Regards, Hans Ideally the cheese effects list will only have the ones with already installed pipeline requirements. And there will be a "Get more.." button that will lead to an appstore like page for aditionall effects. I am not really going to work on any of this so I am not going to fret too much about the requirements you added. I'll contact you for transferring gnome-video-effects maintainership. cheese-3.5.5-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |