Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213221 - [GNOME overlay] media-video/cheese-2.22.0 : crashes on startup, plus inadequate dependencies
Summary: [GNOME overlay] media-video/cheese-2.22.0 : crashes on startup, plus inadequa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks: 184115
  Show dependency tree
 
Reported: 2008-03-13 01:48 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2008-03-23 23:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
cheese-2.22.0-strcmp-device-name.patch (cheese-2.22.0-strcmp-device-name.patch,622 bytes, patch)
2008-03-13 01:50 UTC, Alexandre Rostovtsev (RETIRED)
Details | Diff
cheese-2.22.0.ebuild (cheese-2.22.0.ebuild,1.31 KB, text/plain)
2008-03-13 01:51 UTC, Alexandre Rostovtsev (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-03-13 01:48:37 UTC
First, cheese-2.22.0 crashes on startup with many webcams (just look in the Gnome bugzilla).

Second, it has a hidden dependency on gnome-vfs (i.e. it calls gnome_vfs_init() in cheese.c); and naturally, this dependency is not listed in configure or in the documentation.
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-03-13 01:50:10 UTC
Created attachment 145967 [details, diff]
cheese-2.22.0-strcmp-device-name.patch

Patch to fix the crashes on startup.
Submitted upstream: http://bugzilla.gnome.org/show_bug.cgi?id=522143
and upstream seems to approve of it.
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-03-13 01:51:08 UTC
Created attachment 145969 [details]
cheese-2.22.0.ebuild

Ebuild that uses above patch, and that correctly lists the gnome-vfs dependency.
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2008-03-13 06:40:50 UTC
Since you seem to know Cheese's bugzilla quite well :) is there an open bug for the gnome-vfs dependency?

Thanks for the patches
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-03-13 09:20:43 UTC
well the gnome-vfs dep is clearly a bug, grepping through the sources, the only call that I could find is the init. Moreover the Changelog clearly states the completely moved to gio, I guess they just missed this line :)
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2008-03-13 09:35:03 UTC
I've just reported the gnome-vfs issue :

http://bugzilla.gnome.org/show_bug.cgi?id=522189
Comment 6 Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-03-13 13:51:37 UTC
(In reply to comment #3)
> Since you seem to know Cheese's bugzilla quite well :) is there an open bug for
> the gnome-vfs dependency?

I reported it yesterday at http://bugzilla.gnome.org/show_bug.cgi?id=522152 and it's now fixed in SVN.

By the way, the gnome_vfs_init() call is not a bug; it's required because cheese calls gnome_thumbnail, which has not been converted to GIO.
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-03-14 09:17:45 UTC
do you know if we'll see a 2.22.0.1 with this patch ?
Comment 8 Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-03-14 14:25:38 UTC
(In reply to comment #7)
> do you know if we'll see a 2.22.0.1 with this patch ?

Don't know, ask Daniel Siegel.

By the way, here's another patch you might want to look at:
http://bugzilla.gnome.org/show_bug.cgi?id=522197

That particular bug doesn't affect my webcam, but it's a second potential source of crashes at startup. And cheese seems to be crashing at startup on lots of cameras.
Comment 9 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-03-23 23:46:29 UTC
fixes have been commited to the tree. Please submit diffs against actual ebuild next time ;)