Issue 52763 - "Edit/Exchange Database..." crashes with a damaged database file
Summary: "Edit/Exchange Database..." crashes with a damaged database file
Status: CLOSED FIXED
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: OOo 2.0 Beta
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: OOo 2.0.1
Assignee: marc.neumann
QA Contact: issues@dba
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-01 21:21 UTC by mjost
Modified: 2006-05-31 14:29 UTC (History)
1 user (show)

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


Attachments
This file crashes OOO on "Edit/Exchange Database" (8.17 KB, application/vnd.sun.xml.writer)
2005-08-01 21:22 UTC, mjost
no flags Details
Error report created at restart of OOO (12.76 KB, text/xml)
2005-08-01 21:23 UTC, mjost
no flags Details
Use this as DataAccess.xcu (paths adjusted for your machine/account) to crash OOO (530 bytes, text/xml)
2005-08-02 18:41 UTC, mjost
no flags Details
This gives "General Error" when opened directly but crashes OOO when in DataAccess.xcu (7.55 KB, application/vnd.sun.xml.base)
2005-08-02 18:43 UTC, mjost
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description mjost 2005-08-01 21:21:19 UTC
- open the attached document (DBCrash.sxw) 
- Choose "Edit/Exchange Database..." 
- => OOO crashes 
 
This happens with both 1.9.113 and 1.9.118 
It works fine using 1.1.5 rc 2 or 1.1.4 
 
I'm somewhat afraid, that the crash depends on details of the setup. 
Any further info I can supply ? 
(I've submitted an "error report" at the restart of OOO. I have the text of 
this here.)
Comment 1 mjost 2005-08-01 21:22:50 UTC
Created attachment 28411 [details]
This file crashes OOO on "Edit/Exchange Database"
Comment 2 mjost 2005-08-01 21:23:58 UTC
Created attachment 28412 [details]
Error report created at restart of OOO
Comment 3 marc.neumann 2005-08-02 11:18:50 UTC
Hi Martin, 

As far as I can see from the error report there is a problem with the odb file
which you have bind to the sxw document. 

Can you please also attach the odb file?

Thanks Marc

BTW: I believe PALM PDA as Platform is wrong, isn't it.
Comment 4 mjost 2005-08-02 18:27:47 UTC
Yes PALM PDA is wrong (wouldn't it be nice BTW ?) But this is Linux on a PC.
(Guess I hit the scroll wheel of my mouse, while still on the drop down list -
happens all too often...)

I found (in fact already yesterday evening) the offending odb-file.
I will attach this.
If I open this directely, I get a dialogbox saying "General Error".
Then an empty Openoffice base window is opened.

BUT OOO crashes if this file is included in 
 ~/.openoffice.org2/user/registry/data/org/openoffice/Office/DataAccess.xcu

I will attach a shortened file, which creates the crash here.
Comment 5 mjost 2005-08-02 18:39:05 UTC
Yes, this isn't a PALM PDA here (wouldn't it be nice BTW ?)
This is a plain PC running Linux.
Guess, I once again hit the mouse wheel after selecting the right entry.

I found, that one odb-file seems to be the culprit.
When explicitely opened, I get a dialog box simply saying "General Error".
Then a empty OOO Base window is opened. I will attach the file.

BUT, when this file is in
~/.openoffice.org2/user/registry/data/org/openoffice/Office/DataAccess.xcu
"Exchange DB..." crashes OOO.

I will attach a stripped down file for this.
Comment 6 mjost 2005-08-02 18:39:06 UTC
Yes, this isn't a PALM PDA here (wouldn't it be nice BTW ?)
This is a plain PC running Linux.
Guess, I once again hit the mouse wheel after selecting the right entry.

I found, that one odb-file seems to be the culprit.
When explicitely opened, I get a dialog box simply saying "General Error".
Then a empty OOO Base window is opened. I will attach the file.

BUT, when this file is in
~/.openoffice.org2/user/registry/data/org/openoffice/Office/DataAccess.xcu
"Exchange DB..." crashes OOO.

I will attach a stripped down file for this.
Comment 7 mjost 2005-08-02 18:41:32 UTC
Created attachment 28431 [details]
Use this as DataAccess.xcu (paths adjusted for your machine/account) to crash OOO
Comment 8 mjost 2005-08-02 18:43:02 UTC
Created attachment 28432 [details]
This gives "General Error" when opened directly but crashes OOO when in DataAccess.xcu
Comment 9 marc.neumann 2005-08-03 11:28:02 UTC
Hi,

I can reproduce the crash with the damaged database file you attached.

set target and send to the right developer

Bye Marc
Comment 10 marc.neumann 2005-08-03 13:55:26 UTC
More info:

- crash also under windows -> OS: All
- crash only if you select any other languages then "default" under
/tools/options/languages settings/languages/user interface
- crash also in cws dba201b
Comment 11 ocke.janssen 2005-08-08 07:13:25 UTC
Fixed in cws dba201c
Comment 12 ocke.janssen 2005-10-12 09:11:51 UTC
Please verify. Thanks.

re-open issue and reassign to msc@openoffice.org
Comment 13 ocke.janssen 2005-10-12 09:21:13 UTC
reassign to msc@openoffice.org
Comment 14 ocke.janssen 2005-10-12 09:37:41 UTC
reset resolution to FIXED
Comment 15 marc.neumann 2005-10-18 10:50:33 UTC
verified in cws dba201d
Comment 16 marc.neumann 2005-11-21 10:51:56 UTC
Hi,

this is fixed in the current master. The current master is available at
http://download.openoffice.org/680/index.html

I close this issue now.

Bye Marc