[Libreoffice-bugs] [Bug 113937] Forms and reports hang

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Nov 27 17:59:48 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=113937

--- Comment #19 from Ralph Peters <RPeters52 at gmail.com> ---
(In reply to Alex Thurgood from comment #18)
> @Ralph : as you mention that you have programming experience, perhaps you
> could install either the debug code for the version of LO that comes with
> your distrib and try and obtain a backtrace using gdb when the app hangs.
> That at least might point in the right direction.
> 
> The problem with LO5162 as provided by the distro is that it is, to all
> intents and purposes, obsolete, and no longer supported by TDF. Whether or
> not Ubuntu still provides updates and fixes for that version is another
> matter altogether and not within the LibreOffice project's control.
> 
> Another avenue to explore is the version of JDK/JVM. The report-builder, as
> does embedded hsqldb, uses Java to function correctly, and perhaps a SIGSEGV
> in the JVM, for whatever reason, is subsequently causing LO to hang. You
> might want to look through your logs to see if there are any traces of hangs
> registered there when using LibreOffice and that particular ODB file.
> 
> If we don't have a copy of the database, and I understand your reticence to
> post a copy on this bug report, then it is going to be very difficult for us
> to reproduce. If your database contains confidential information then
> posting it to this bug report is not a good idea, as it will become public.
> 
> There are/were known mutex release issues that sometimes occur(red) with
> LibreOffice Base, particularly when switching between Forms and Reports. The
> behaviour you describe might be one such occurrence, which is why I
> suggested trying to obtain a backtrace with a debug build (or the associated
> debug symbol code provided with the distro version).

Hi Alex,

Where do I get the debug code?  I could wander the web but thought
that I would ask.  I am currently using version 5.4.3.2 of
LibreOffice which I downloaded from the LibreOffice site.

Ahh gdb.... I remember it well...with fondness based on many
hours(days, weeks...) using it inside emacs.  (Maybe not fondness, but
it was a great tool.)  I have not used it for a few years, so I may
have a few questions about what would make sense to do.  Are you
suggesting just a simple run and then look at the backtrace after I
kill it??

A set of suggestions to get me re-started might speed things up.

Is "main" LibreOffice code c++?  Or one of the
newer languages?  I know that hsqldb is java.

Which logs should I look at during and after a "hang"?  Suggestions
appreciated!

You mentioned mutex issues and that sounds right to me.  On occasion,
after I killed LibreOffice in the standard gui manner ("Wait" or
"Force Quit"), I have checked "top" and found soffice.bin was still
running and chewing up a lot of cpu (40%) after it was "killed".

Ralph

--------------------------------------------

I CHECKED ON THE INSTALLED PACKAGES FOR JAVA and JDK.  Are these appropriate?

JAVA:
dpkg -l | grep java
ii  ca-certificates-java                              20160321                 
                   all          Common CA certificates (JKS keystore)
ii  cjs                                               3.4.4+sonya              
                   amd64        Mozilla-based javascript bindings for the
Cinnamon platform
ii  gir1.2-javascriptcoregtk-3.0:amd64                2.4.11-0ubuntu0.1        
                   amd64        JavaScript engine library from WebKitGTK+ -
GObject introspection data
ii  gir1.2-javascriptcoregtk-4.0:amd64                2.18.3-0ubuntu0.16.04.1  
                   amd64        JavaScript engine library from WebKitGTK+ -
GObject introspection data
ii  gjs                                               1.44.0-1ubuntu1          
                   amd64        Mozilla-based javascript bindings for the GNOME
platform
ii  java-common                                       0.56ubuntu2              
                   all          Base package for Java runtimes
ii  libapache-pom-java                                10-2build1               
                   all          Maven metadata for all Apache Software projects
ii  libatk-wrapper-java                               0.33.3-6                 
                   all          ATK implementation for Java using JNI
ii  libatk-wrapper-java-jni:amd64                     0.33.3-6                 
                   amd64        ATK implementation for Java using JNI (JNI
bindings)
ii  libcjs0f                                          3.4.4+sonya              
                   amd64        Mozilla-based javascript bindings for the
Cinnamon platform
ii  libcommons-beanutils-java                         1.9.2-3                  
                   all          Apache Commons BeanUtils - Utility for
manipulating Java beans
ii  libcommons-collections3-java                      3.2.2-1                  
                   all          Apache Commons Collections - Extended
Collections API for Java
ii  libcommons-compress-java                          1.10-2                   
                   all          Java API for working with compression and
archive formats
ii  libcommons-digester-java                          1.8.1-4                  
                   all          Rule based XML Java object mapping tool
ii  libcommons-logging-java                           1.2-1+build1             
                   all          common wrapper interface for several logging
APIs
ii  libcommons-parent-java                            39-3                     
                   all          Maven metadata for Apache Commons project
ii  libdb-je-java                                     3.3.98-1                 
                   all          Oracle Berkeley Database Java Edition
ii  libgjs0e                                          1.44.0-1ubuntu1          
                   amd64        Mozilla-based javascript bindings for the GNOME
platform
ii  libhsqldb1.8.0-java                               1.8.0.10+dfsg-6          
                   all          Java SQL database engine
ii  libicu4j-java                                     4.2.1.1-3                
                   all          Library for Unicode support and
internationalization
ii  libjavascriptcoregtk-1.0-0:amd64                  2.4.11-0ubuntu0.1        
                   amd64        JavaScript engine library from WebKitGTK+
ii  libjavascriptcoregtk-3.0-0:amd64                  2.4.11-0ubuntu0.1        
                   amd64        JavaScript engine library from WebKitGTK+
ii  libjavascriptcoregtk-4.0-18:amd64                 2.18.3-0ubuntu0.16.04.1  
                   amd64        JavaScript engine library from WebKitGTK+
ii  libjaxp1.3-java                                   1.3.05-2ubuntu3          
                   all          Java XML parser and transformer APIs (DOM, SAX,
JAXP, TrAX)
ii  libjtidy-java                                     7+svn20110807-4          
                   all          JTidy
ii  liblucene2-java                                   2.9.4+ds1-4              
                   all          Full-text search engine library for Java(TM)
ii  libobasis5.4-extension-javascript-script-provider 5.4.3.2-2                
                   amd64        Script provider for JavaScript extension for
LibreOffice 5.4 .3.2
ii  libservlet2.5-java                                6.0.45+dfsg-1            
                   all          Servlet 2.5 and JSP 2.1 Java API classes
ii  libservlet3.0-java                                7.0.68-1ubuntu0.1        
                   all          Servlet 3.0 and JSP 2.2 Java API classes
ii  libservlet3.1-java                                8.0.32-1ubuntu1.4        
                   all          Servlet 3.1, JSP 2.3, EL 3.0 and WebSocket 1.0
Java API classes
ii  plasma-scriptengine-javascript                    4:15.12.3-0ubuntu1       
                   amd64        JavaScript script engine for Plasma

JDK:
dpkg -l | grep jdk
ii  openjdk-8-jre:amd64                              
8u151-b12-0ubuntu0.16.04.2                   amd64        OpenJDK Java runtime,
using Hotspot JIT
ii  openjdk-8-jre-headless:amd64                     
8u151-b12-0ubuntu0.16.04.2                   amd64        OpenJDK Java runtime,
using Hotspot JIT (headless)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171127/e1735897/attachment-0001.html>


More information about the Libreoffice-bugs mailing list