Bug 82722 - EDITING: By editing a macro in the IDE Libo crashes immediatly and completely when macro opens
Summary: EDITING: By editing a macro in the IDE Libo crashes immediatly and completely...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
4.3.0.1 rc
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords: possibleRegression
Depends on:
Blocks:
 
Reported: 2014-08-17 08:47 UTC by Harald
Modified: 2015-12-15 10:57 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
My LO directory profile (zip-file) (2.13 MB, application/zip)
2014-10-12 14:05 UTC, Harald
Details
My old 4.3.0 LO user directory (Windows) (933.53 KB, application/zip)
2014-10-12 15:51 UTC, Harald
Details
example odb (10.21 KB, application/zip)
2014-10-13 06:24 UTC, Harald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Harald 2014-08-17 08:47:53 UTC
Problem description: 

Steps to reproduce:
1. open a database - ok
2. Exrtras  - Makros - Makros verwalten - LibreOffice Basic - ok
3. Choose Database and select a macro - ok
4. click Edit macro - crash 

kind regards

harald
              
Operating System: Windows 7
Version: 4.3.0.4 release
Last worked in: 4.2.6.2 release
Comment 1 Robert Großkopf 2014-08-17 10:12:11 UTC
Could confirm this, special for macros, which are saved in the database-file.
You have only to open Tools → Macros → Organize Macros and chose a macro in the database-file for editing. LO crashes immediately. Tested it more than one time. May be about 10% the macro would be opened for editing.

If I chose a macro saved in MyMacros, not in the database-file, it works.

I have tested with different LO-versions. Seems to work last with LO 4.3.0.0beta2. So I set the version to 4.3.0.1.

Then I have changed the user-profile and let it create new by LO 4.3 - no crash appears any more. Same user-profile worked with many LO-4-versions I have installed for testing without problem.

Don't know what had been changed in the profile ...

My system: OpenSUSE 12.3 64bit rpm Linux.
Comment 2 Julien Nabet 2014-10-12 13:09:54 UTC
On pc Debian x86-64 with 4.3.2 LO Debian package, I don't reproduce this. However, I must recognize it's almost a brand new profile.

Harald: could you zip your LO directory profile, see  https://wiki.documentfoundation.org/UserProfile#Windows, and attach it to the bugtracker by using this link:
https://bugs.freedesktop.org/attachment.cgi?bugid=82722&action=enter ?
Comment 3 Harald 2014-10-12 14:05:51 UTC
Created attachment 107739 [details]
My LO directory profile (zip-file)

for about 5 days I use LO  4.3.2.2 and Base works well. The bug do not appear, no crash happens. 

Nevertheless I attach my LO directory profile. Thanks for your request.
Comment 4 Julien Nabet 2014-10-12 14:10:39 UTC
Harald: if the bug hasn't appeared since 5 days with the LO directory profile you attach, I don't think I'd be able to trigger the bug! :-)
BTW, I noticed 2 profiles: "4" and "4-suse, is it normal?

Robert: if you still reproduce this quite easily, could you attach your LO directory profile?
Comment 5 Robert Großkopf 2014-10-12 14:59:11 UTC
(In reply to Julien Nabet from comment #4)
> Harald: if the bug hasn't appeared since 5 days with the LO directory
> profile you attach, I don't think I'd be able to trigger the bug! :-)
> BTW, I noticed 2 profiles: "4" and "4-suse, is it normal?

It's normal when you install the packages from OpenSUSE and the packages from LO. The profiles were saved in different folders.
> 
> Robert: if you still reproduce this quite easily, could you attach your LO
> directory profile?

Couldn't reproduce it since I had deleted the user-profile. Have worked with some macros today without any problems in LO 4.3.3.1
Comment 6 Julien Nabet 2014-10-12 15:45:35 UTC
So let's put this one to WFM.
If one of you reproduce this, don't hesitate to reopen this tracker and attach the LO directory profile (zipped! :-))
Comment 7 Harald 2014-10-12 15:51:08 UTC
Created attachment 107744 [details]
My old 4.3.0 LO user directory (Windows)

I better look twice ..  I found my old Windows LO-User directory (backup-file). That one, that crashes most of the time by editing macros. I hope it is helpful for you.
Comment 8 Julien Nabet 2014-10-12 19:19:49 UTC
Harald: I retrieved your LO directory profile and tried without reproducing the crash. I must recognize the macro was empty since it was a brand new file.

Would you have an example odb file so we can try to reproduce the crash?
Also, I noticed the extension XRaytool. This one might be the cause or at least triggers the problem.

Anyway, for the moment, I'll reopen it.
Comment 9 Harald 2014-10-13 06:24:31 UTC
Created attachment 107758 [details]
example odb

I attach an example odb. It is from LO-Base Forum. I started it 5 times, crashes by editing the macro: 4.
Comment 10 Harald 2014-10-13 06:27:32 UTC
I use XRay-Tool in all other versions of LO and do not notice any problems. I don't think that is's the reason for the crashes.
Comment 11 Harald 2014-10-13 06:33:30 UTC
Comment on attachment 107758 [details]
example odb

I forgot to mention: I reinstalled LO 4.3.0.4 and then testing the forum odb file.
Comment 12 Julien Nabet 2014-10-14 19:42:33 UTC
On pc Debian x86-64 with 4.3.2.2 LO Debian package + provided LO profile, I don't reproduce this.

Harald: could you give a try to last LO stable version 4.3.2 (not 4.3.0)?
Then install 1 by 1 your extensions (I think about XRayTool) + make your customizations.
BTW, it's not because XRayTool has been working until recent LO version that there couldn't be some incompatibilites with last LO versions.
Comment 13 Harald 2014-10-15 09:52:56 UTC
(In reply to Julien Nabet from comment #12)
> On pc Debian x86-64 with 4.3.2.2 LO Debian package + provided LO profile, I
> don't reproduce this.
> 
> Harald: could you give a try to last LO stable version 4.3.2 (not 4.3.0)?
> Then install 1 by 1 your extensions (I think about XRayTool) + make your
> customizations.
> BTW, it's not because XRayTool has been working until recent LO version that
> there couldn't be some incompatibilites with last LO versions.


1. I renamed the user-profile directory in Windows 
2. then installed LO 4.3.2.2. from LO Homepage
3. installed step by step the extensions, including XRay-Tool.
4. in each step I opened the example odb and tried to edit the macro

no problem, no bug. It works well, have a look at comment 3. 

Only LO 4.3.0.x will crash immediately by editing macros. As far as I'm concerned, we can close this one.
Comment 14 Julien Nabet 2014-10-15 10:06:47 UTC
Thank you for your feedback, I put it WFM then.
Comment 15 Robinson Tryon (qubit) 2015-12-15 10:57:54 UTC
Migrating Whiteboard tags to Keywords: (possibleRegression)
[NinjaEdit]