Bug 55482 - SIGFPE- Libreoffice crashed when accessing Base options with Linux, JRE 7
Summary: SIGFPE- Libreoffice crashed when accessing Base options with Linux, JRE 7
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
3.6.1.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-01 00:26 UTC by Doug
Modified: 2013-02-10 03:25 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
automated error report with more information (149.34 KB, text/plain)
2012-10-01 00:26 UTC, Doug
Details
Output from strace -o /home/doug/strace-base-10-11.txt libreoffice -base (87.13 KB, text/plain)
2012-10-12 01:05 UTC, Doug
Details
Backtrace (soffice -base --backtrace) from crash (47.27 KB, text/plain)
2012-10-12 01:49 UTC, Doug
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Doug 2012-10-01 00:26:28 UTC
Created attachment 67907 [details]
automated error report with more information

Cross-listing bug reported to IcedTea.   http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1185


Newest version of LibreOffice Version 3.6.1.2 (Build ID: 360m1(Build:2)) on OpenSuse 12.2 x64.  (Available to OpenSuse 12.2 as unstable)  Base crashes when click on Tools-->Options-->LibreOfficeBase-->Connections.  Looks similar to Bug#45580 ( https://bugs.freedesktop.org/show_bug.cgi?id=45580 ), but that was patched.  In terminal sends:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGFPE (0x8) at pc=0x00007f1c152ffeaf, pid=4384, tid=139760274663616
#
# JRE version: 7.0_07-b30
# Java VM: OpenJDK 64-Bit Server VM (23.2-b09 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libqt-mt.so.3+0x590eaf]  QMutexPool::get(void*)+0x1f
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/doug/Documents/hs_err_pid4384.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   http://icedtea.classpath.org/bugzilla
#
Comment 1 Robert Großkopf 2012-10-03 15:44:06 UTC
You are using JRE version: 7.0_07-b30. There are many known problems with all versions Java > 6. Most problems are reported from Windows - could be the Version 7 isn't available for many linux-systems.

I change the title of this report, that everybody could see there is a Linux-problem with JRE 7, too.

I can't confirm this bug, because the is no JRE 7 available for my system (OpenSUSE 11.4 32bit) in the normal repositories.
Comment 2 Julien Nabet 2012-10-11 18:26:16 UTC
Do you reproduce the problem after having renamed your LO directory profile?
(see http://wiki.documentfoundation.org/UserProfile)
Comment 3 Doug 2012-10-12 00:47:41 UTC
(In reply to comment #2)
> Do you reproduce the problem after having renamed your LO directory profile?
> (see http://wiki.documentfoundation.org/UserProfile)

No change from deleting and regenerating LibreOffice profile(s).  Same crash.
Comment 4 Doug 2012-10-12 01:05:54 UTC
Created attachment 68465 [details]
Output from strace -o /home/doug/strace-base-10-11.txt libreoffice -base

Strace of opening base, clicking on tools --> options --> base --> connections
Comment 5 Doug 2012-10-12 01:49:12 UTC
Created attachment 68466 [details]
Backtrace (soffice -base --backtrace) from crash
Comment 6 Julien Nabet 2012-10-12 22:27:17 UTC
Since you have OpenSuse 12.2 (so a version of this year), I don't understand this line:
#11 0x00007ffff68e50b1 in dlopen@@GLIBC_2.2.5 () from /lib64/libdl.so.2

According to http://en.wikipedia.org/wiki/GNU_C_Library, 2.2.4 was in July 2001 and 2.3 in October 2002 !

Could you completely uninstall LO 3.6 version and try 3.5.X version package from OpenSuse to know if you have the same behaviour? (with a brand new LO profile)
Comment 7 Doug 2012-10-17 01:41:51 UTC
(In reply to comment #6)
> Since you have OpenSuse 12.2 (so a version of this year), I don't understand
> this line:
> #11 0x00007ffff68e50b1 in dlopen@@GLIBC_2.2.5 () from /lib64/libdl.so.2
> 
> According to http://en.wikipedia.org/wiki/GNU_C_Library, 2.2.4 was in July
> 2001 and 2.3 in October 2002 !
> 
> Could you completely uninstall LO 3.6 version and try 3.5.X version package
> from OpenSuse to know if you have the same behaviour? (with a brand new LO
> profile)

Installed version of Glibc is 2.15-22.6.4-x86_64.  No reason I know for a 2001 version to be installed here.

Yes, the bug does not exist in LO 3.5.4.7-1.1.2 x86_64 on the existing OS.  Downgraded LO works, even without deleting profile and clean uninstall.  (Bug comes back when upgrading to 3.6.1.2 x86_64.  The bug also does *not* exist on i586 OpenSuse 12.2, LO 3.6.1.2.

Bug only exists on x86_64 version 3.6.1.2 (Build ID: 360m1(Build:2)).
Comment 8 Julien Nabet 2012-10-17 05:57:58 UTC
Rainer: I thought about calling dev's help since it's not Lo profile related and we have a bt. What do you think?
Comment 9 Julien Nabet 2012-10-17 06:07:43 UTC
Doug: Is it the last version of Openjdk 7 you may have from OpenSuse repo?
Perhaps your problem is specifically due to a bug the OpenJdk version you've got.
More generally, there are problem with jdk7. 
Just for the test, could you give a try with Openjdk 6?

Just for the record, I've got:
java version "1.7.0_03"
OpenJDK Runtime Environment (IcedTea7 2.1.2) (7u3-2.1.2-2)
OpenJDK 64-Bit Server VM (build 22.0-b10, mixed mode)
Comment 10 Julien Nabet 2012-10-17 06:13:20 UTC
Doug: Sorry for last comment, forget about OpenJdk 6 since the title of the bug indicates JRE7 specifically.
Comment 11 Rainer Bielefeld Retired 2012-10-17 08:55:09 UTC
(In reply to comment #8)
I have no knowledge here and agree, contacting Lionel might be useful.
Comment 12 Julien Nabet 2012-10-17 20:30:46 UTC
Lionel: I know it's still unconfirmed but if you find some time, could you give a try to this bugtracker? The reporter attached a bt with symbols + strace.
Comment 13 Robert Großkopf 2013-02-09 18:10:37 UTC
@Doug,

could you please test with the new LO 4.0.0.3? I have read in a forum, that this version seems to be the first, which runs without problems with JRE 7 under windows - could be it also works under Linux with JRE 7.
Comment 14 Doug 2013-02-10 03:25:52 UTC
@robert

yes, this is fixed in LO 4.0.3 / OpenSuse x86_64.  Thanks.