Bug 604799 - [abrt] crash in POSTITMGR->GetActivePostIt()
Summary: [abrt] crash in POSTITMGR->GetActivePostIt()
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: openoffice.org
Version: 13
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Caolan McNamara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:3e5a84a1685cee236a6ba680a4e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-16 18:32 UTC by Mircea Sava
Modified: 2010-06-21 13:15 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-06-21 13:15:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (58.93 KB, text/plain)
2010-06-16 18:32 UTC, Mircea Sava
no flags Details


Links
System ID Private Priority Status Summary Last Updated
OpenOffice.org 112577 0 None None None Never

Description Mircea Sava 2010-06-16 18:32:40 UTC
abrt 1.1.1 detected a crash.

architecture: i686
Attached file: backtrace
cmdline: /usr/lib/openoffice.org3/program/swriter.bin -writer file:///home/mircea/Desktop/referat/fret.odt
component: openoffice.org
crash_function: GetDocShell
executable: /usr/lib/openoffice.org3/program/swriter.bin
global_uuid: 3e5a84a1685cee236a6ba680a4ea4980fe4ef3f2
kernel: 2.6.33.5-112.fc13.i686.PAE
package: openoffice.org-writer-1:3.2.0-12.24.fc13
rating: 4
reason: Process /usr/lib/openoffice.org3/program/swriter.bin was killed by signal 11 (SIGSEGV)
release: Fedora release 13 (Goddard)

Comment 1 Mircea Sava 2010-06-16 18:32:43 UTC
Created attachment 424549 [details]
File: backtrace

Comment 2 Caolan McNamara 2010-06-16 19:00:19 UTC
This is definitely a crash related to post it notes in margins (again), this one however is rather odd in that its triggered from inside a StarBasic macro. 

Are you able to reproduce this, and can you remember what you did just before it crashed, i.e. what did you click on the toolbar ?

Comment 3 Caolan McNamara 2010-06-18 16:17:21 UTC
Its got to be some sort of macro calling xDocument.replaceAll

We do have one macro that uses this, but running tools->macros->organize->macros->basic->gimmicks->changeallchars on a document with margin notes doesn't crash

Comment 4 Caolan McNamara 2010-06-21 13:01:34 UTC
As an off-chance, I tried loading a document in a hidden shell from starbasic and did a search and replace on a doc that contains comments. And again no crash.

Sub Main

Dim OpenProperties(1) as new com.sun.star.beans.PropertyValue

OpenProperties(0).Name = "Hidden"
OpenProperties(0).Value = True

oDocument = StarDesktop.LoadComponentFromURL("file:///tmp/example.odt", "_default", 0, OpenProperties())

        oReplaceDesc = oDocument.createReplaceDescriptor()
        oReplaceDesc.SearchCaseSensitive = True
        oReplaceDesc.SearchRegularExpression = True
        oReplaceDesc.Searchstring = "[A-Z]"
        oReplaceDesc.ReplaceString = "Y"
        oReplCount = oDocument.ReplaceAll(oReplaceDesc)
End Sub

Its clear that GetWrtShell is 0, but its not clear how that came about

Comment 5 Caolan McNamara 2010-06-21 13:15:51 UTC
Supplied a potential workaround upstream. Moving there.


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