Bug #952

Updated by Alexey Lavrentev almost 5 years ago

Reported by AL: When calling Description command on -the BFM2014 corpus- +any corpus+, TXM +sporadically+ freezes and crashes a few minutes later (see Linux process crash report below).

*Diagnostic 1 - calling Description*:
* Question: Can we reproduce the bug?
* Test: call Description command on the BFM2014 corpus with TXM 0.7.6 + Ubuntu 14.04
* Conclusion: Impossible to reproduce the bug (MD).
** See if third-party libraries are the same MD's Ubuntu
<pre>
mdecorde@matthieuPC:~/.txm/configuration/org.eclipse.osgi/bundles/119/1/.cp$ ls
libswt-atk-gtk-4332.so libswt-gtk-4332.so libswt-webkit-gtk-4332.so
libswt-cairo-gtk-4332.so libswt-pi-gtk-4332.so
</pre>

alexey@alavrentevPC:~/.txm/configuration/org.eclipse.osgi/bundles/119/1/.cp$ ls

<pre>

libswt-atk-gtk-4332.so libswt-cairo-gtk-4332.so libswt-pi-gtk-4332.so
libswt-awt-gtk-4332.so libswt-gtk-4332.so libswt-webkit-gtk-4332.so
</pre>

--> AL has libswt-awt-gtk-4332.so in addition to MD's configuration

* Conclusion 2: BP could reproduce the bug

*Diagnostic 2 - is the bug present in TXM 0.7.5*:
* Question: Has TXM 0.7.6 introduced this bug?
* Test: Reinstall TXM 0.7.5 and call Description
* Conclusion: The bug persists with TXM 0.7.5 réinstalled

*Diagnostic 3 - test with another corpus*:
* Question: Is Description also bugged for DISCOURS corpus?
* Test: call Description command on the DISCOURS corpus with TXM 0.7.6 + Ubuntu 14.04
* Conclusion:

h2. Linux Crash report

Linux error report message:
<pre>
The crashed program seems to use third-party libraries:

/home/alexey/.txm/configuration/org.eclipse.osgi/bundles/119/1/.cp/libswt-cairo-gtk-4332.so
/home/alexey/.txm/configuration/org.eclipse.osgi/bundles/119/1/.cp/libswt-gtk-4332.so
/home/alexey/.txm/configuration/org.eclipse.osgi/bundles/119/1/.cp/libswt-webkit-gtk-4332.so
/home/alexey/.txm/configuration/org.eclipse.osgi/bundles/119/1/.cp/libswt-pi-gtk-4332.so
/home/alexey/.txm/configuration/org.eclipse.osgi/bundles/119/1/.cp/libswt-atk-gtk-4332.so

It is highly recommended to check if the problem persists without those first.

Do you want to continue the report process anyway?
</pre>

Detailed log:
<pre>
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fca4d2ea159, pid=4948, tid=140509411858176
#
# JRE version: OpenJDK Runtime Environment (7.0_55-b14) (build 1.7.0_55-b14)
# Java VM: OpenJDK 64-Bit Server VM (24.51-b03 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libwebkitgtk-1.0.so.0+0x462159] webkit_web_view_get_type+0x2489
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# 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
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#


see the attached file --------------- T H R E A D ---------------

Current thread (0x00007fcadc00a800): JavaThread "main" [_thread_in_native, id=4949, stack(0x00007fcae584d000,0x00007fcae594e000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x0000000000000000

Registers:
RAX=0x00007fcadcb7a2e0, RBX=0x00007fcae5949b40, RCX=0x00007fcadc300880, RDX=0x0000000000000000
RSP=0x00007fcae5949af0, RBP=0x00007fcae5949b80, RSI=0x00007fcadc300880, RDI=0x0000000000000000
R8 =0x00007fcadc300880, R9 =0x00007fcadc300880, R10=0x0000000000000001, R11=0x0000000000000000
R12=0x00007fcadc272440, R13=0x00007fcadcb7a470, R14=0x0000000000000000, R15=0x00007fcae594a6d0
RIP=0x00007fca4d2ea159, EFLAGS=0x0000000000010246, CSGSFS=0x0000000000000033, ERR=0x0000000000000004
TRAPNO=0x000000000000000e

...

Stack: [0x00007fcae584d000,0x00007fcae594e000], sp=0x00007fcae5949af0, free space=1010k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libwebkitgtk-1.0.so.0+0x462159] webkit_web_view_get_type+0x2489
C [libgtk-x11-2.0.so.0+0x12d815] gtk_marshal_VOID__UINT_STRING+0x105

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(J)V+0
j org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(J)V+8
j org.eclipse.swt.widgets.Display.eventProc(JJ)J+149
v ~StubRoutines::call_stub
j org.eclipse.swt.internal.gtk.OS._gdk_window_process_all_updates()V+0
j org.eclipse.swt.internal.gtk.OS.gdk_window_process_all_updates()V+7
j org.eclipse.swt.widgets.Display.update()V+10
j org.eclipse.swt.widgets.Display.runDeferredLayouts()Z+60
j org.eclipse.swt.widgets.Display.readAndDispatch()Z+10
j org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run()V+638
j org.eclipse.core.databinding.observable.Realm.runWithDefault(Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/Runnable;)V+12
j org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(Lorg/eclipse/e4/ui/model/application/MApplicationElement;Lorg/eclipse/e4/core/contexts/IEclipseContext;)Ljava/lang/Object;+57
j org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(Lorg/eclipse/e4/ui/model/application/MApplicationElement;)V+20
j org.eclipse.ui.internal.Workbench$5.run()V+236
j org.eclipse.core.databinding.observable.Realm.runWithDefault(Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/Runnable;)V+12
j org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+18
j org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2
j org.txm.rcpapplication.Application.run(Ljava/lang/Object;)Ljava/lang/Object;+323
v ~StubRoutines::call_stub
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+57
j org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;+15
j org.eclipse.equinox.internal.app.EclipseAppHandle.run(Ljava/lang/Object;)Ljava/lang/Object;+196
j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+103
j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+29
j org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+119
j org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+183
v ~StubRoutines::call_stub
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+57
j org.eclipse.equinox.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+211
j org.eclipse.equinox.launcher.Main.basicRun([Ljava/lang/String;)V+126
j org.eclipse.equinox.launcher.Main.run([Ljava/lang/String;)I+4
j org.eclipse.equinox.launcher.Main.main([Ljava/lang/String;)V+10
v ~StubRoutines::call_stub
</pre>

Back