Issue 75967 - Base hung up when saving complex forms (soffice.bin > 90% CPU Usage)
Summary: Base hung up when saving complex forms (soffice.bin > 90% CPU Usage)
Status: CLOSED FIXED
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: OOo 2.2
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.2.1
Assignee: marc.neumann
QA Contact: issues@dba
URL:
Keywords: oooqa, regression
Depends on:
Blocks:
 
Reported: 2007-03-31 18:22 UTC by reichowmi
Modified: 2015-08-17 03:32 UTC (History)
4 users (show)

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


Attachments
Test file 'Test_KundenDB.odb' to confirm bug (128.39 KB, text/plain)
2007-03-31 19:25 UTC, reichowmi
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description reichowmi 2007-03-31 18:22:12 UTC
My customer database has a complex form to query outstanding accounts.
I can open the form, query for outstanding accounts (sorted by customer numbers).
When closing this form the system hung up (soffice.bin > 90% CPU Usage).

File data
==========
Type: HSQLBD
Size: 128.5KB
Table: 8
View: 1
Query: 10
Form: 2

The form which is showing the bug has one mainform and two subforms. One of
these subforms consists off four other subforms, which are connected to queries.

The database is created with OOo2.1 and works correct.
With OOo2.2 I can not use this important function for my productive work.

If needed, I can upload a test file with a short description how to reproduce
the bug.

Tested with WinXP, SUSE Linux 10.1

Regards
Michael
Comment 1 reichowmi 2007-03-31 19:25:29 UTC
Created attachment 44105 [details]
Test file 'Test_KundenDB.odb' to confirm bug
Comment 2 reichowmi 2007-03-31 19:26:43 UTC
I think to confirm the bug it is better to upload a test file.

Description to reproduce the bug:
1. Open Database
2. Choose Forms in Database section
3. Open 'Form_KD_RE_offen' in section Forms
4. Now you can see an overview from the last query of the outstanding accounts.
   (When now closing the form there is no bug)
5. Choose in ListBox 'Bitte Kundennummer wählen (Please choose customer number)'
   another number (for example '0024').
6. Then klick on PushButton "Daten übernehmen"
7. Confirm the windows 'The content of the current form has been modified.
   do you want to save your changes?' with "Yes".
8. The new query will be shown in the form.
9. Now close the form
10. As result the system hung up
11. Control the CPU Usage with 'Task Manager' or 'Process Table'
12. You will see that process 'soffice.bin' has an usage > 90%

Regards
Michael
Comment 3 Mechtilde 2007-04-01 09:45:49 UTC
I can confirm it with the attached file.

Comment 4 andreschnabel 2007-04-01 10:11:28 UTC
confirmed on windows and linux, keywords set
Comment 5 Frank Schönheit 2007-04-02 11:59:35 UTC
confirming as regression compared with 2.1. Targeting for 2.3, currently trying
to get approval for 2.2.1. Assigning.

fs->pl: When closing the document, a certain form control window (a button) is
being disabled. This implicitly calls Window::ImplDlgCtrlNextWindow, which calls
Window::ImplGetDlgWindow, which never returns - it loops in the do/while in
dlgctrl.cxx:251.

I don't understand what's being done there, and I suppose that somehow the
window structure is corrupted (which might be a bug in the form/toolkit layer),
but I don't have a chance finding out in VCL ...
Comment 6 Frank Schönheit 2007-04-04 12:00:11 UTC
Targeting to 2.2.1, approved by MH. Final risk assessment after the fix, before
integration of the CWS, might change the target back to 2.3.
Comment 7 philipp.lohmann 2007-04-16 18:11:07 UTC
fixed in CWS fix75967
Comment 8 philipp.lohmann 2007-04-17 10:21:35 UTC
please verify in CWS fix75967
Comment 9 marc.neumann 2007-04-20 08:39:12 UTC
verified in CWS fix75967

find more information about this CWS, like when it is available in the master
builds, in EIS, the Environment Information System:
http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=OOF680%2Ffix75967
Comment 10 reichowmi 2007-05-13 10:33:03 UTC
verified in OOo2.2.1 RC1 fix75967
Comment 11 Mechtilde 2007-06-25 20:21:38 UTC
-> closed