Bug 542277

Summary: [abrt] crash detected in cheese-2.28.1-1.fc12
Product: [Fedora] Fedora Reporter: Adam Wagner <awagner83>
Component: librsvg2Assignee: Matthias Clasen <mclasen>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: alexey_kulikov, bbigby64, behdad, beyecixramd, bkim872, david.becker5, edosurina, giovanni.conconi, hdegoede, joe_underscore, khalil.awada, kru10197, luzemail, mclasen, mirkolerotic-web2, mschmidt, niksecbbkn, papseddy, phil.ingram, richip, sardiscomatias
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: abrt_hash:5027078222ed25b02457eb7e4cec9f3a0d6980b3
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 578568 (view as bug list) Environment:
Last Closed: 2010-12-04 02:36:30 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:
Bug Depends On:    
Bug Blocks: 578568    
Attachments:
Description Flags
File: backtrace
none
do not call xmlCleanupParser() none

Description Adam Wagner 2009-11-29 03:36:06 UTC
abrt detected a crash.

Attached file: backtrace
cmdline: cheese
component: cheese
executable: /usr/bin/cheese
kernel: 2.6.31.5-127.fc12.x86_64
package: cheese-2.28.1-1.fc12
rating: 4
reason: Process was terminated by signal 6

Comment 1 Adam Wagner 2009-11-29 03:36:08 UTC
Created attachment 374505 [details]
File: backtrace

Comment 2 Michal Schmidt 2010-01-18 14:58:20 UTC
Assertion failure in pa_tls_set(). Probably caused by Thread Local Storage corruption due to misuse of libxml2.

Matthias / other developers,
please read Lennart's "Heads-Up: Beware of xmlCleanupParser() when your package links against libxml2":
http://lists.fedoraproject.org/pipermail/devel/2010-January/129117.html
or take a look at how a similar bug was found in abiword:
https://bugzilla.redhat.com/show_bug.cgi?id=532307#c111

It would be worth checking if something in cheese calls xmlCleanupParser().

Comment 3 Michal Schmidt 2010-01-18 14:59:05 UTC
*** Bug 549463 has been marked as a duplicate of this bug. ***

Comment 4 Michal Schmidt 2010-01-18 14:59:34 UTC
*** Bug 555854 has been marked as a duplicate of this bug. ***

Comment 5 Michal Schmidt 2010-02-04 13:14:05 UTC
cheese itself does not call xmlCleanupParser(), but it uses librsvg2 which calls it in rsvg-base.c:rsvg_term(). librsvg2 really should not do that.

Comment 6 Michal Schmidt 2010-02-21 12:38:45 UTC
*** Bug 566497 has been marked as a duplicate of this bug. ***

Comment 7 David Becker 2010-03-11 10:12:55 UTC

Comment
-----
i played around with some effects and want to view the result in fullscreen. as i klick on fullscreen the crash happens. the 2 active effects were horison mirror and warp

Comment 8 Phil 2010-03-13 00:56:03 UTC

How to reproduce
-----
1. start cheese
2. go full screen


Comment
-----
everthing seems to work normally until you try full screen

Comment 9 Miguel 2010-03-17 17:24:37 UTC

How to reproduce
-----
1. fullscreen mode
2. take a shoot
3.

Comment 10 Michal Schmidt 2010-03-17 18:42:30 UTC
Created attachment 400854 [details]
do not call xmlCleanupParser()

This patch should fix it.

Here's a scratch build with it applied:
http://koji.fedoraproject.org/koji/taskinfo?taskID=2059471

Please test if it fixes the cheese crash.

Comment 11 beyecixramd 2010-03-19 19:42:21 UTC

How to reproduce
-----
Open Cheese, and launch it in fullscreen. Result: instant crash.

Comment 12 Michal Schmidt 2010-03-21 08:10:51 UTC
Would someone seeing the crash please test the librsvg2-2.26.0-3.fc12.m1 scratch build from comment #10 ?

Comment 13 Phil 2010-03-21 21:01:35 UTC
I just installed librsvg2-2.26.0-3.fc12.m1.i686.rpm and full screen now works in photo and video modes.  I'll be happy to call this bug fixed and closed.

sorry for the delay but thanks for the fix :)

Comment 14 Michal Schmidt 2010-03-27 21:43:24 UTC
*** Bug 577396 has been marked as a duplicate of this bug. ***

Comment 15 Michal Schmidt 2010-03-27 22:03:25 UTC
At least for Fedora 13 this crash should be fixed in https://admin.fedoraproject.org/updates/cheese-2.29.92-4.fc13 (it was solved by calling rsvg_term() only right before exiting the program and never else). I don't know what the maintainers' plan for F-12 is.

Comment 16 bkim872 2010-04-06 17:06:32 UTC

How to reproduce
-----
1.Start Cheese
2.Apply an effect
3.

Comment 17 Michal Schmidt 2010-06-22 09:34:16 UTC
*** Bug 603493 has been marked as a duplicate of this bug. ***

Comment 18 Michal Schmidt 2010-06-22 09:34:30 UTC
*** Bug 594039 has been marked as a duplicate of this bug. ***

Comment 19 Michal Schmidt 2010-06-22 09:34:47 UTC
*** Bug 579354 has been marked as a duplicate of this bug. ***

Comment 20 Joe Robinson 2010-06-26 19:21:10 UTC
Package: cheese-2.28.1-2.fc12
Architecture: i686
OS Release: Fedora release 12 (Constantine)


How to reproduce
-----
1.open 'cheese'
2.hit F11 for full-screen
3.boom


Comment
-----
Cheese was opened on the 'secondary' monitor of a dual-head system. This is driven by the onboard intel 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device rev 1, Mem @ 0xe0000000/134217728, 0xe8000000/524288, BIOS @ 0x????????/131072
Primary monitor driven by nVidia Corporation GeForce 8400 GS rev 161, Mem @ 0xc2000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x0000a000/128, BIOS @ 0x????????/131072 under nouveau.

Comment 21 Giovanni Conconi 2010-07-02 16:42:46 UTC
Package: cheese-2.28.1-2.fc12
Architecture: i686
OS Release: Fedora release 12 (Constantine)


How to reproduce
-----
1. Open Cheese
2. After having made some funny faces to the camera, try to switch fullscreen mode
3. Cheesecrash

Comment 22 Fedora Admin XMLRPC Client 2010-08-06 18:09:39 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 23 Bug Zapper 2010-11-04 05:01:04 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 24 Bug Zapper 2010-12-04 02:36:30 UTC
Fedora 12 changed to end-of-life (EOL) status on 2010-12-02. Fedora 12 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.