Bug 637738 - [abrt] using neon not-thread safe (through no fault of its own)
Summary: [abrt] using neon not-thread safe (through no fault of its own)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: openoffice.org
Version: 13
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Caolan McNamara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:31e307b37d4f76885791f3a17f7...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-27 09:48 UTC by balustre
Modified: 2010-10-27 22:34 UTC (History)
1 user (show)

Fixed In Version: openoffice.org-3.2.0-12.33.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-27 22:34:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (69.92 KB, text/plain)
2010-09-27 09:48 UTC, balustre
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 544619 0 low CLOSED [abrt] gnutls's use of libgcrypt not initialised as thread-safe 2021-02-22 00:41:40 UTC

Description balustre 2010-09-27 09:48:34 UTC
abrt version: 1.1.13
architecture: x86_64
Attached file: backtrace
cmdline: /usr/lib64/openoffice.org3/program/swriter.bin -writer
component: openoffice.org
crash_function: raise
executable: /usr/lib64/openoffice.org3/program/swriter.bin
kernel: 2.6.34.6-54.fc13.x86_64
package: openoffice.org-writer-1:3.2.0-12.31.fc13
rating: 4
reason: Process /usr/lib64/openoffice.org3/program/swriter.bin was killed by signal 6 (SIGABRT)
release: Fedora release 13 (Goddard)
time: 1285540538
uid: 500

How to reproduce
-----
1. Copier une image sur internet
2. Ouvrir Open Office Writer
3. Coller l'image sur open office

Comment 1 balustre 2010-09-27 09:48:37 UTC
Created attachment 449857 [details]
File: backtrace

Comment 2 Caolan McNamara 2010-09-27 10:03:37 UTC
This is probably that pesky threading problem we tried to solve before, but which broke cups. Thread 1 and Thread 7 are both using neon, and while *neon* is thread-safe, the underlying libraries they're using is only thread safe if initialized correctly the first time. Cups ends up being the first one to initialize it, but not thread-safely, hence the problems.

Bottom line is that we probably have to mutex up our neon stuff :-(

Comment 3 balustre 2010-09-27 10:10:12 UTC
Im' sorry I wrote that in french, steps to reproduce were :
1. Copy an image on firefox
2. Open openoffice
3. paste the image

But curioulsy, it's not that much reproducible : that is as soon as i closed openoffice, i did the same thing again with the same steps, and it worked... But from time to time, it makes the same bug.

Comment 4 Caolan McNamara 2010-09-27 10:24:38 UTC
Yeah, that's the nature of threads and races. They're difficult to reproduce, but I'm fairly confident I know what the problem is and how to improve the chances of this not happening.

Comment 5 Caolan McNamara 2010-09-27 12:39:31 UTC
added a workaround to protect the ne_dispatches and similar potentially troublesome calls that may call into libgcrypt with a mutex.

Will be available for testing eventually as >= 3.2.0-12.32

Comment 6 Fedora Update System 2010-10-12 19:17:12 UTC
openoffice.org-3.2.0-12.32.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/openoffice.org-3.2.0-12.32.fc13

Comment 7 Fedora Update System 2010-10-14 06:27:06 UTC
openoffice.org-3.2.0-12.32.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 openoffice.org'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/openoffice.org-3.2.0-12.32.fc13

Comment 8 Fedora Update System 2010-10-16 05:43:56 UTC
openoffice.org-3.2.0-12.33.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/openoffice.org-3.2.0-12.33.fc13

Comment 9 Fedora Update System 2010-10-27 22:33:56 UTC
openoffice.org-3.2.0-12.33.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.