Issue 106909 - Crash when selecting text in an .odp.
Summary: Crash when selecting text in an .odp.
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: Impress
Classification: Application
Component: ui (show other issues)
Version: OOo 3.1.1
Hardware: PC Linux, all
: P2 Trivial (vote)
Target Milestone: ---
Assignee: graphicsneedsconfirm
QA Contact: issues@graphics
URL: http://www.shlomifish.org/Files/files...
Keywords: crash, needhelp, needmoreinfo, oooqa
Depends on:
Blocks:
 
Reported: 2009-11-14 06:43 UTC by shlomif
Modified: 2009-11-24 18:11 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
An Impress OOo-dev 3.2.0 | OOO320m2 error message when trying to open this presentation (25.49 KB, image/jpeg)
2009-11-14 18:35 UTC, yu2
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description shlomif 2009-11-14 06:43:18 UTC
When I select text in an ODP (such as the one in the URL) I get an immediate
crash. I'm using openoffice.org-common-3.1.1-2mdv2010.0 on Mandriva Cooker and
it's been a long standing problem.

I'll try to triage this bug in some of my VMs.
Comment 1 jbf.faure 2009-11-14 18:13:05 UTC
Several points with your document cmake-tutorial.odp :
1/ I do not reproduce the crash with vanilla OOo 3.1.1 FR/US under Ubuntu 8.04
2/ OOO320_m4 says that the file is corrupt. If I open the file as an archive I
can see a directory .svn in the archive. Do you know why ?
3/ If I "save as" your document with OOo 3.1.1 the new file is only 98,4 Kio
instead of 395 Kio for your file. The new file opens fine with OOO320_m4. I can
send you this file, if you want.
Comment 2 yu2 2009-11-14 18:27:19 UTC
I was not able to reproduce this bug on Windows XP Service Pack 2:
----
1) I downloaded  cmake-tutorial.odp (21-Oct-2009 21:49  397K) from 
http://www.shlomifish.org/Files/files/code/bugs/openoffice/crash-on-cmake-pres
2) Then I tried to open it using two different versions of Impress
2.a) OpenOffice.org 3.1.1. | OOO310m19 (Build:9420) allowed me to:
- open cmake-tutorial.odp, 
- select text on different slides, 
- copy to clipboard and notepad, 
- save this Presentation under new name in .odp and .ppt formats. 
- Then I was able to successfully open .ppt format in MS PowerPoint.
2.a) OOo-dev 3.2.0 | OOO320m2 (Build:9432) did not allow me to open this file 
and displayed the following message:
   "The file 'cmake-tutorial.odp' is corrupt and therefore cannot be opened. 
OOo-dev can try to repair the file"

An attempt to "repair" this file produced an empty presentation with just one 
blank page.

A snapshot of an error message will be attached.
Comment 3 yu2 2009-11-14 18:35:02 UTC
Created attachment 66124 [details]
An Impress OOo-dev 3.2.0 | OOO320m2 error message when trying to open this presentation
Comment 4 Rainer Bielefeld 2009-11-15 08:24:48 UTC
NOT reproducible with "Ooo 3.1.1 WIN XP DE-multilingual version German UI
activated [OOO310m19 (Build 9420)]"!
Can anybody tell whether reporter's version is an original OOo one?

@shlomif:
How did you create the sample document?
Comment 5 shlomif 2009-11-15 09:50:54 UTC
Hi all!

The .svn directory is there because the ODP file was created using an xml2odp()
script on a Subversion working directory:

https://seed1.projectlocker.com/shlomif/svn/homepage/trunk/t2/lecture/CMake/

Username: svn@shlomifish.org

Password: abcdefghijkl

(Read-only access.).

Once you check it out, do from bash/zsh:

1. <<< . bashrc >>>

2. <<< xml2odp >>>

The script probably inserted a stray .svn directory.

@jbfaure: please send me this file.

@rainerbielefeld : my version is the standard Mandriva-shipped version in
Mandriva Linux "Cooker". The sample document was originally created by an
associate of mine who wrote the presentation about CMake and used the "shlomif"
projectlocker.com repository to work on it. Like I said it is:

<<<
openoffice.org-common-3.1.1-2mdv2010.0 o
>>>

Regards,

-- Shlomi Fish
Comment 6 wolframgarten 2009-11-16 08:24:04 UTC
Sorry, not able to reproduce under linux with offical 3.1.1 . Is this an
official version you are using? Have you been asked to send a crash report?
Which error id did you receive?
Comment 7 shlomif 2009-11-16 12:11:54 UTC
@wg: 

> Sorry, not able to reproduce under linux with offical 3.1.1 . 

OK. :-(

> Is this an official version you are using? 

As I told in a previous comment, this is openoffice.org-common-3.1.1-2mdv2010.0
which is the version shipped with Mandriva Linux Cooker (from their RPM/urpmi
package repository). So it's not the official version, and installing the
official version would be more time consuming on my part.

> Have you been asked to send a crash report?

Now I haven't. I got a recovery dialog which was completely non-responsiveness
and I had to xkill it.

> Which error id did you receive?

There is none. Checked now.

Hope it helps.

Regards,

-- Shlomi Fish
Comment 8 wolframgarten 2009-11-16 12:25:11 UTC
If a crash only happens on some other distributors version and not on the
original OOo version there is nothing we can do, sorry.
Comment 9 jbf.faure 2009-11-16 12:58:31 UTC
@shlomif : I think the bug is probably in the script xml2odp which create a non
ODF conformal file as said by OOO320_m2.
Comment 10 jcoutu 2009-11-18 21:59:16 UTC
Just as a question to the reporter, how did you select the text? Was this a
mouse drag, a select from the edit menu or a cursor select? 

Why I ask is that mouse drags on Linux machines are overloaded to also place
text in the "kill ring" so that the user can click the middle mouse button to
paste. It might be an interaction with the systems mouse interface.
Comment 11 shlomif 2009-11-19 10:13:48 UTC
> If a crash only happens on some other distributors version and not on the
> original OOo version there is nothing we can do, sorry.

Sucks. I'll try to report it on the Mandriva bug-tracker.

> @shlomif : I think the bug is probably in the script xml2odp which create a non
> ODF conformal file as said by OOO320_m2.

No. If xml2odp creates a non-conformant file then OpenOffice.org should refuse
to open it, or handle it gracefully - it should never crash. Someone else who
used OpenOffice.org to edit this file, said it is perfectly OK for him.
Furthermore, the ODP file that jbfaure sent me does not work either, and neither
does this file:

http://www.shlomifish.org/freesoftware.odp

> Just as a question to the reporter, how did you select the text? Was this a
> mouse drag, a select from the edit menu or a cursor select? 

I selected it using a mouse drag. In a completely new presentation it seems to
be fine.

Comment 12 shlomif 2009-11-19 11:09:44 UTC
Just a note - after I fixed this bug on Mandriva:

https://qa.mandriva.com/show_bug.cgi?id=53284

Where there weren't any icons in the toolbars, I fixed this bug by installing
the separate package and now selecting a text using the mouse works in a
presentation that failed previously in the Mandriva openoffice.org.
Comment 13 wolframgarten 2009-11-19 11:36:32 UTC
Do I understand you right: the problem is gone after installing the package? And
it is a Mandriva-only issue so we can close this one here? Thanks for your comment.
Comment 14 shlomif 2009-11-19 11:40:54 UTC
> Do I understand you right: the problem is gone after installing the package? And
> it is a Mandriva-only issue so we can close this one here? Thanks for your 
> comment.

After I installed the openoffice.org-style-galaxy package I finally had icons in
my toolbars, and it seems like selecting text with the mouse did not crash
openoffice.org. The lack of icons in OpenOffice.org is a Mandriva-specific
problem - if there are always icons in OOo, then it should be OK on other platforms.
Comment 15 wolframgarten 2009-11-19 11:50:06 UTC
Ok, thanks.
Comment 16 wolframgarten 2009-11-19 11:50:26 UTC
Closed.
Comment 17 Mechtilde 2009-11-24 18:11:14 UTC
worksforme -> closed