Bug 668777

Summary: [abrt] Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkMain killed by signal 6 (SIGABRT)
Product: [Fedora] Fedora Reporter: Kourosh <kourosh.moazami>
Component: gccAssignee: Andrew Haley <aph>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: aph, aravindvijayan224185, caolanm, dweb98, jakub, jhansen
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:a3b752d192ba66d2d2dca66364527948a8702657
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-28 04:57:38 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 Flags
File: backtrace
none
stub setlocationByPlatform etc.
none
thread became detached in small window of time
none
it should "just be there" none

Description Kourosh 2011-01-11 15:40:23 UTC
abrt version: 1.1.14
architecture: i686
Attached file: backtrace
cmdline: /usr/lib/openoffice.org3/program/swriter.bin -writer
component: openoffice.org
executable: /usr/lib/openoffice.org3/program/swriter.bin
kernel: 2.6.35.10-74.fc14.i686
package: openoffice.org-writer-1:3.3.0-18.2.fc14
rating: 4
reason: Process /usr/lib/openoffice.org3/program/swriter.bin was killed by signal 6 (SIGABRT)
release: Fedora release 14 (Laughlin)
time: 1294751962
uid: 500

comment
-----
1. I installed gdocs_2.3.1.oxt on open office (the open office - google docs synch tool)
2. Just clicked on import from google docs
3. open office crashed and closed

How to reproduce
-----
1. I installed gdocs_2.3.1.oxt on open office (the open office - google docs synch tool)
2. Just clicked on import from google docs
3. open office crashed and closed

Comment 1 Kourosh 2011-01-11 15:40:28 UTC
Created attachment 472837 [details]
File: backtrace

Comment 2 Caolan McNamara 2011-01-11 16:10:11 UTC
Aha, finally someone correctly reports how to reproduce this bug. Thanks for this.

Comment 3 Caolan McNamara 2011-01-11 16:15:04 UTC
*** Bug 626243 has been marked as a duplicate of this bug. ***

Comment 4 Caolan McNamara 2011-01-11 17:24:16 UTC
The thread may have come to an end before the idle callback to set the runnable flag gets called.

Comment 5 Caolan McNamara 2011-01-12 12:28:18 UTC
I think the thread ended because "Window::setLocationByPlatform" is not implemented.

Comment 6 Caolan McNamara 2011-01-12 21:18:22 UTC
Created attachment 473133 [details]
stub setlocationByPlatform etc.

This stubs setlocationByPlatform/islocationByPlatform so that users of those have a chance of working

Comment 7 Caolan McNamara 2011-01-12 21:21:48 UTC
Created attachment 473134 [details]
thread became detached in small window of time

And afaics the idle handler gets scheduled in after the thread has become detached. This naive patch use AttachCurrentThread to try and reattach it if it became detacted, which allows the extension to not crash and apparently work.

Comment 8 Caolan McNamara 2011-01-12 21:31:00 UTC
Anyway, summary is that its a crash in libgcj, maybe the attached patches are the right solution, and if not at least they're illustrative of the issues

A workround for this is to install openjdk, i.e
yum -y install java-1.6.0-openjdk
and then selecting openjdk, the "Sun Microsystem 1.6.0" entry, instead of libgcj, the "Free Software Foundation" entry in OpenOffice.org's tools->options->java

And to reproduce

a) download http://code.google.com/p/ooo2gd/downloads/detail?name=gdocs_2.3.1.oxt
b) select "Free Software Foundation" in OOo's tools->options->java
b) oowriter gdocs_2.3.1.oxt
c) click through to install, 
d) restart oowriter
e) and click on the second icon of the "AddOn 1 floating toolbar"

Comment 11 Caolan McNamara 2011-01-17 16:15:52 UTC
Created attachment 473873 [details]
it should "just be there"

Here's a screenshot, after installing the extension it should "just be there" on restart of writer. 

Tools->extension manager should list "gdocs_2.3.1.oxt" and "View toolsbars" should list it.

And (when gcj is selected as the java backend to use) clicking the second button "import from google docs" should crash it. Actually I think all of them are likely to crash.

Comment 12 Caolan McNamara 2011-01-24 12:07:29 UTC
*** Bug 672161 has been marked as a duplicate of this bug. ***

Comment 13 Aravind vijayan 2011-12-28 04:57:38 UTC
    Thank you for your bug report. 

    We are sorry, but the Fedora Project is no longer releasing bug fixes or any other updates for this version of Fedora. This bug will be set to CLOSED:WONTFIX to reflect this, but please reopen it if the problem persists after upgrading to the latest version of Fedora, which is available from: 

    http://fedoraproject.org/get-fedora 



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers