Issue 97425 - Crash, when ending a basicprogram under special circumstances
Summary: Crash, when ending a basicprogram under special circumstances
Status: ACCEPTED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Linux, all
: P3 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: crash, oooqa
Depends on:
Blocks:
 
Reported: 2008-12-19 10:04 UTC by mikeadvo
Modified: 2017-05-20 11:28 UTC (History)
2 users (show)

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


Attachments
Extension showing the crash (4.19 KB, application/vnd.openofficeorg.extension)
2009-01-08 20:56 UTC, Mechtilde
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description mikeadvo 2008-12-19 10:04:52 UTC
Starting a basic-program (self-build-extension), program opens a dialog, open an
new writer document with that program without closing the dialog.

Now the dialog is "glued" at the second (new) window.

Closing the first window (from that the program was original started), working
with the program - no problems.

Finishing the program -> Crash!

The ID of the first error report is r86rwuc.

More IDs will follow
Comment 1 Mechtilde 2008-12-19 10:08:11 UTC
can confirm also with OOO300_m13 and DEV300_m37
Comment 2 jsc 2008-12-19 12:48:43 UTC
well that can have different reason. Without knowing the basic macro and what
are you doing exactly it is impossible to say where the problem is.
You can easy damage the office with own macros by doing the wrong things ...   
Comment 3 Mechtilde 2008-12-20 21:18:27 UTC
The ID of the first error report is r86rwuc.

Also we get:rkcrwuc
rjnrwuc
rd5rwuc
rj7rwuc
rkxrwuc

Comment 4 jsc 2009-01-05 09:27:23 UTC
again please give us the basic code that we can take a look on it.  It doesn't
make sense to produce more crash reports.
Comment 5 Mechtilde 2009-01-08 20:53:48 UTC
I attach an example extension

This code is the part causing the crash.

The UI is in German.
Comment 6 Mechtilde 2009-01-08 20:56:04 UTC
Created attachment 59245 [details]
Extension showing the crash
Comment 7 jsc 2009-01-14 15:24:07 UTC
jsc -> ab: the basic code looks ok for me. I think we need some deeper debugging
Comment 8 ab 2009-02-25 14:30:54 UTC
STARTED

Comment 9 ab 2009-04-02 16:05:36 UTC
ab->mikeadvo: I could not reproduce this, neither on OOO300m9 nor on
dev300 m45. First, I don't find the dialog glued to the new opened
window but to the first one. Second, I can't close the first window
at all. Did I understand anything wrong?
Comment 10 mikeadvo 2009-04-04 18:00:49 UTC
mikeadvo -> ab
I tested it with OOO300m9; bug still there.
Itry to give you a step-by-step-introduction:
you have to click "Dokument freigeben" ("Free document") an then on "Auswahl"
("choice"). A messagebox with a warning will appear: "Dieses Fenster darf nicht
vor der Beendigung dess Programms geschlossen werden, da OpenOffice.org sonst
bei Beendigung des Programms abstürzt!". Click on "ok".
A new window will appear and the dialog will glue a this new window, so you can
close the first one. Do this and then click on "Programm beenden" ("finish
program") and "Auswahl". -> Crash

If you opened a third window from the first  one, dataloss is possible.
Comment 11 ab 2009-06-17 11:35:14 UTC
ab->mikeadvo: I could reproduce this now. I think the problem is
that by this complex scenario you've managed to allow the window
used to start the program is beeing closed which normally, e.g.
in case of a document containing a macro, is blocked just to
avoid problems like this. I doubt that this is easy to fix.

As this is a very complex scenario that should not "affect a sig-
nificant number of customers", I don't think, P2 is justified, see:
http://qa.openoffice.org/scdocs/ddIssues_EnterModify.html#priority
So STARTED, P3, OOo 3.x for now.
Comment 12 mikeadvo 2009-06-17 12:20:39 UTC
mikeadvo -> ab P3 is also ok for me.
But I don't think, this problem doesn't "affect a sig-
nificant number of customers". OOo is more and more going to business (that's
good, I suppose ;-)). In such an enviroment extensions and Makros are needed.

So it's a common problem to "free" the window
used to start the program and it's easy to realize that in Basic.
Comment 13 ab 2009-06-17 12:52:27 UTC
> But I don't think, this problem doesn't "affect a sig-
> nificant number of customers". OOo is more and more going to business (that's
> good, I suppose ;-)). In such an enviroment extensions and Makros are needed.

I did not mean the number of OOo and macro users in general,
but the number of users running into this special problem.

> So it's a common problem to "free" the window
> used to start the program and it's easy to realize that in Basic.

Really, this is a common problem? I have to admit, I've never
heart of it before. Why to you want to "free" a window and
from what? From the modal dialog? I doubt that "a significant
number etc." uses macros that have to run all the time kee-
ping a dialog open all the time. What's the reason for this
by the way? There must be alternatives. :-)
Comment 14 Marcus 2017-05-20 11:28:08 UTC
Reset assigne to the default "issues@openoffice.apache.org".