| Summary: | [abrt] mirall-1.4.1-1.fc20: __gmpz_clear: Process /usr/bin/owncloud was killed by signal 11 (SIGSEGV) | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Philipp Dreimann <philipp> | ||||||||||||||||||||||
| Component: | mirall | Assignee: | Joseph Marrero <jmarrero> | ||||||||||||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||||
| Version: | 20 | CC: | fedora, jmarrero, nmavrogi, tmraz | ||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||||
| Whiteboard: | abrt_hash:c5bf684152467ecab3ef15f7f06211c10f2ffab7 | ||||||||||||||||||||||||
| Fixed In Version: | mirall-1.4.2-3.fc20 | Doc Type: | Bug Fix | ||||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||||
| Last Closed: | 2013-11-16 07:09:13 UTC | Type: | --- | ||||||||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||||
|
Description
Philipp Dreimann
2013-10-24 07:16:59 UTC
Created attachment 815646 [details]
File: backtrace
Created attachment 815647 [details]
File: cgroup
Created attachment 815648 [details]
File: core_backtrace
Created attachment 815649 [details]
File: dso_list
Created attachment 815650 [details]
File: environ
Created attachment 815651 [details]
File: exploitable
Created attachment 815652 [details]
File: limits
Created attachment 815653 [details]
File: maps
Created attachment 815654 [details]
File: open_fds
Created attachment 815655 [details]
File: proc_pid_status
This seems to be related to the gnutls-3.1.13-3.fc20 update in updates-testing. gnutls-3.1.13-2.fc20 works for me. This is not a bug in gnutls. gnutls_global_deinit() is not thread safe and should not be ever called in multithreaded process unless it is really closing or it must handle mutexing of the gnutls_global_init() and gnutls_global_deinit() calls on its own. Ok, Thomas. Then you'd say that the following function in the neon library is wrong, if it is used in a application that uses threading?
void ne__ssl_exit(void)
{
/* No way to unregister the thread callbacks. Doomed. */
#if LIBGNUTLS_VERSION_MAJOR > 1 || LIBGNUTLS_VERSION_MINOR > 3 \
|| (LIBGNUTLS_VERSION_MINOR == 3 && LIBGNUTLS_VERSION_PATCH >= 3)
/* It's safe to call gnutls_global_deinit() here only with
* gnutls >= 1.3., since older versions don't refcount and
* doing so would prevent any other use of gnutls within
* the process. */
gnutls_global_deinit();
#endif
}
It is probably wrong to call the functions ne_sock_init() and ne_sock_exit() individually in threads of the application. The init should be probably called once on startup and the exit should be called once on application exit. Alternatively these calls should be guarded by mutex. owncloud-csync-0.90.4-1.fc19,mirall-1.4.2-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/owncloud-csync-0.90.4-1.fc19,mirall-1.4.2-1.fc19 owncloud-csync-0.90.4-1.fc18,mirall-1.4.2-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/owncloud-csync-0.90.4-1.fc18,mirall-1.4.2-1.fc18 owncloud-csync-0.90.4-1.fc20,mirall-1.4.2-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/owncloud-csync-0.90.4-1.fc20,mirall-1.4.2-1.fc20 According to the mirall bug tracker [1] it seems that this problem only occurs under Fedora 19/20. I also could not find any other bug report where this or similar seg faults occur with mirall or ocsync. I'm not sure if this is really a bug in owncloud and not an related libary. [1] https://github.com/owncloud/mirall/issues/1134 mirall-1.4.2-3.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mirall-1.4.2-3.fc19 mirall-1.4.2-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/mirall-1.4.2-3.fc18 mirall-1.4.2-3.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mirall-1.4.2-3.fc20 Package mirall-1.4.2-3.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mirall-1.4.2-3.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-21438/mirall-1.4.2-3.fc18 then log in and leave karma (feedback). mirall-1.4.2-3.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. mirall-1.4.2-3.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. mirall-1.4.2-3.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |