Bug 54838 - EDITING: Report-Builder crashes LO with Java-failure-Report
Summary: EDITING: Report-Builder crashes LO with Java-failure-Report
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Database (show other bugs)
Version: 3.6.1.1 rc
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-13 05:17 UTC by Colin
Modified: 2013-04-02 08:13 UTC (History)
6 users (show)

See Also:
i915 platform:
i915 features:


Attachments
A libreoffice 3.6.1 Base file (23.29 KB, application/vnd.oasis.opendocument.database)
2012-09-17 01:28 UTC, Colin
Details
java error log (98.91 KB, text/x-log)
2012-09-17 01:30 UTC, Colin
Details
LO base file (89.12 KB, application/vnd.sun.xml.base)
2012-09-21 01:09 UTC, Colin
Details
dependencies for libreoffice-dbg (20.13 KB, application/vnd.oasis.opendocument.text)
2012-09-25 02:58 UTC, Colin
Details
Sources list (27.32 KB, application/vnd.oasis.opendocument.text)
2012-09-26 05:40 UTC, Colin
Details

Description Colin 2012-09-13 05:17:56 UTC
Creating a report using both design view and wizard crashes LO.
A java failure report is produced suggesting "failed to write core dump"
Comment 1 Jochen 2012-09-13 12:06:22 UTC
Hi Colin,

please
1) Attach the odb-file.
2) List the single steps in details for "Creating a report using both design view and wizard".
3) Attach a screenshot of the failure report.
Comment 2 Julien Nabet 2012-09-15 05:20:06 UTC
Moreover, which Java/jre version do you have?
Did you upgrade Java recently?
Did you try to rename your LO profile to force LO to detect again jre installed? (see http://wiki.documentfoundation.org/UserProfile)
Comment 3 Colin 2012-09-17 01:28:01 UTC
Created attachment 67263 [details]
A libreoffice 3.6.1 Base file
Comment 4 Colin 2012-09-17 01:30:58 UTC
Created attachment 67264 [details]
java error log

An error log like this is produced every time LO crashes when editing/creating a report
Comment 5 Colin 2012-09-17 01:47:18 UTC
I have used both jre6 and jre7. I have recently upgraded to jre7.
Creating a report in design view based on query "Income". add fields Date, Supplier, value. "Edit/view report works. View/sorting and grouping selecting Date and moving Date into date group also works. Formatting by moving value control crashes LO.

Basicly the same results are seen when using the wizard.

I have noticed that the "Insert field dialog from the design method also appears in the wizard method
Comment 6 Colin 2012-09-17 01:49:33 UTC
I have renamed the LO profile and a new one was created
Comment 7 Colin 2012-09-19 05:24:30 UTC
Further to Base crashing on creating report:
I have found that saving the complete database after each edit I have been able to gradually build up the working report while working in design view.

With the wizard it crashes each time I press finish.
Comment 8 Julien Nabet 2012-09-19 18:41:10 UTC
On pc Debian x86-64 with 3.6 branch updated today, I don't reproduce the problem.

The weird thing is you can still reproduce the problem with a brand new LO profile and most of this kind of problem doesn't appear with a brand new one.

Did you install any specific font?
Do you reproduce the problem with these steps:
- create a report by clicking "Use Wizard to create report"
- select all the columns with ">>"
- click finish
?
Do you reproduce on any odb file?
Comment 9 Colin 2012-09-20 04:52:38 UTC
1) As i have had the same outcome with the new LO profile I have reverted to the original.
2) No extra fonts have been specifically installed
3) Older .odb files produce the same results.
4) This I find confusing, as I said before when I use the wizard the design view field enter dialogue opens also
  I have 2 reports which were created in an older version of LO using the wizard.
These still function perfectly.
  I did as you asked and using the wizard stopped at the enter fields state and clicked finish. This created a simple report.
  Now when I come to edit this it opens in design view with the page heading saying Libreoffice Base: Oracle report builder, exactly as if produced in design view
  When I go to edit one of the old "wizard" reports it opens in writer with the page title Libreoffice Base:Report Design

Does this give us another clue
Comment 10 Julien Nabet 2012-09-20 06:30:34 UTC
Colin: Thank you for your feedback. So creating a report doesn't crash.
Could you give the exact steps to reproduce the problem once the report has been created?

Could you attach the old odb file with the 2 reports?
Comment 11 Colin 2012-09-21 01:09:08 UTC
Created attachment 67467 [details]
LO base file

Shows difference in two reports
Comment 12 Colin 2012-09-21 01:13:30 UTC
Hi Julien  intriguing no?

I assume you meant the report made with the wizard with just the fields added and finished and saved. I just right clicked the report and edit. It opens in design view.

I have included an attachment which is the same file but with a report added which works as expected
Comment 13 Julien Nabet 2012-09-22 06:15:22 UTC
Let's focus on the crash for the moment.
Could you give the exact steps to reproduce the crash?
Comment 14 Colin 2012-09-23 03:36:03 UTC
Rather than describe the steps, I have added an Impress file which shows these as screen shots of each step.
Comment 15 Julien Nabet 2012-09-23 20:53:07 UTC
Colin: I received your email with the odb + odp explaining the problem.
You must know that there's a page to upload big files (see http://wiki.documentfoundation.org/QA/Bugzilla-Attachments quoted in http://wiki.documentfoundation.org/BugReport).
FYI, LO proposed me to repair your odp file, I did it. (Perhaps it's a email problem, I don't know).

On pc Debian x86-64, I made the test with 3.5, 3.6 and master branches, each time with a brand new LO profile, I didn't reproduce the pb.

On which distribution are you?
How did you install LO? From distribution packages?
Could you give a try to final 3.6.1?
Finally could you retrieve an useful backtrace? (see http://wiki.documentfoundation.org/BugReport#How_to_get_backtrace_.28on_Linux.29)
Comment 16 Julien Nabet 2012-09-23 21:01:48 UTC
BTW, your odp explains how to get a crash during creation of a report not during an edition.
So when do happen your crashes, during creation, editing, both?
Comment 17 Colin 2012-09-24 03:18:21 UTC
I am running ubuntu 12.04 on a 32bit system.
The LO distribution is 3.6.1.2 build id e29a214
This was down loaded and installed from the libreoffice site. I previously used the ubuntu version but changed because of the problem with Base.
I am unable to install libreoffice-dbg to produce a backtrace because of a dependancy issue which implies I do not have libreoffice installed.

Editing, provided I do it with incremental saves, now seems to work but creation always crashes
Comment 18 Julien Nabet 2012-09-24 05:41:33 UTC
It's anormal you can't install libreoffice-dbg.
Could you quote the details of dependency problem?

Then could you try this?
- remove your LO version
- add ppa Libreoffice (sudo add-apt-repository ppa:libreoffice/ppa)
- rename your LO directory profile (see http://wiki.documentfoundation.org/UserProfile)
- uninstall lo-menubar if installed
- install LO from ppa + libreoffice-dbg
- try again

Could you also give java version?
Type this on console:
java -version
Comment 19 Colin 2012-09-25 02:57:29 UTC
Suggestions have been followed and the results are attached.

I am now back using same LO version
Comment 20 Colin 2012-09-25 02:58:59 UTC
Created attachment 67659 [details]
dependencies for libreoffice-dbg
Comment 21 Julien Nabet 2012-09-25 05:50:50 UTC
It's quite a mess here, libreoffice-dbg should be installable. Perhaps I'm wrong but it seems version of libreoffice-dbg and libreoffice-core don't correspond.

Could you remove all LibreOffice packages with:
apt-get remove --purge <package> 
?

Then if you installed some things with dpkg, uninstall it too with dpkg.

Finally, could you attach the complete list of your repositories?
(in Debian it's here /etc/apt/sources.list)
Perhaps there's something wrong in it.
Comment 22 Colin 2012-09-26 05:39:13 UTC
I have attempted to remove libreoffice packages as listed in the dependencies problems. with the stated result that none of them are installed, which I can confirm by searching, except for the 3.6.1 version which installs into a diferent folder.

I have included the attachment showing my sources list.

Now this is getting rather complicated and I am thinking maybe I should wait a couple of weeks for Ubuntu 12,10.
However there appears to be some doubt as to whether LO base will be included.

I also note that the latest version of Linux Mint does not include LO base, Is there an unresolved problem there also?
Comment 23 Colin 2012-09-26 05:40:02 UTC
Created attachment 67703 [details]
Sources list
Comment 24 Julien Nabet 2012-09-27 20:17:50 UTC
Since you got Precise, could you comment this line:
deb http://archive.canonical.com/ubuntu natty partner 

Then launch these:
apt-get update
apt-get autoremove --purge
apt-get clean
apt-get check

After that try this:
apt-get libreoffice libreoffice-dbg
Comment 25 Colin 2012-09-28 01:01:22 UTC
Did as requested;

apt-get libreoffice libreoffice-dbg  = invalid instruction

apt-get install libreoffice-dbg gave exactly the same unmet dependency list as before
Comment 26 Julien Nabet 2012-09-28 05:29:03 UTC
(In reply to comment #25)
> Did as requested;
> 
> apt-get libreoffice libreoffice-dbg  = invalid instruction
> 
> apt-get install libreoffice-dbg gave exactly the same unmet dependency list
> as before

Sorry for the "install" :-(

Except reinstall Linux, no more idea now. I still think there's something wrong with your repos but I don't know what.
Comment 27 Julien Nabet 2012-09-28 05:46:01 UTC
Rene: Any idea about the dependency problem? (since you maintain LO packages for Debian and  Ubuntu is derived from Debian)
Comment 28 Colin 2012-09-29 03:24:23 UTC
Should this be considered regarding dependency problems.

When installing LO using the .tar.gz files from the LO site. LO is installed into /opt folder whereas ubuntu installs LO into /usr/share, all of which have been un- installed thro' Synaptic
Comment 29 robert 2012-09-29 19:36:30 UTC
I could not confirm any crash of the report-builder while editing a report with the wizard or directly in design-view.
My System: OpenSUSE 12.1 64bit rpm, OpenJDK 1.6, LO 3.6.2.1
Comment 30 Alex Thurgood 2012-09-30 15:33:20 UTC
Colin, does your report contain a calculated field by any chance ?


Alex
Comment 31 Alex Thurgood 2012-09-30 15:42:09 UTC
The reason I ask is because in the Java log you posted I see a reference to Fraction in rptuilo and calculated fields in reports were known to crash LO until a fix went into master, but this fix will only be available in 3.6.2 or 3.6.3 as I understand it.


Alex
Comment 32 Alex Thurgood 2012-09-30 15:44:24 UTC
(In reply to comment #31)
> The reason I ask is because in the Java log you posted I see a reference to
> Fraction in rptuilo and calculated fields in reports were known to crash LO

sorry, that should be "calculated fields in SQL statements", but if your report relies on a calculated SQL statement, then it might fall victim to the same problem.


Alex
Comment 33 Colin 2012-10-01 03:51:37 UTC
Alex
There is a calculated field in the query the report is basesd on 

SELECT "SUPPLIER", SUM( "VALUE" ) FROM "Income" GROUP BY "SUPPLIER"

Also: I am un able to use the  Accumulation function (or maximum or minimum) when trying to produce a total by supplier for instance in the footer.
Comment 34 robert 2012-10-03 16:10:29 UTC
The java-error-log is made from JRE version: 7.0_07-b30. Could you please test it with a JRE 6? There are many problems with JRE 7 - not only with Windows, Linux could have the same problems. You could see another report with JRE-7-problems here:
https://bugs.freedesktop.org/show_bug.cgi?id=55482
Comment 35 Alex Thurgood 2012-10-03 16:34:44 UTC
@Colin : try a recent daily build from 13/09/2012 or later.


Alex
Comment 36 Colin 2012-10-04 04:21:07 UTC
Alex:.

All fixed ... Report Wizard now works fine, including the Accumulation function

Iinstalled LO 3.6.2 rc2 (28/9/12)

WOW
Comment 37 Julien Nabet 2012-10-04 05:29:36 UTC
(In reply to comment #36)
> All fixed ... Report Wizard now works fine, including the Accumulation
> function
> 
> Iinstalled LO 3.6.2 rc2 (28/9/12)
Colin: Thanks for your feedback, so putting to WFM.

Alex: thank you for your help on this tracker


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.