PP stürzt ab, wenn Aktie im Browser geöffnet werden soll


#1

seit heute (neue Version) stürzt PP regelmäßig beim Öffnen des Links zum Browser ab.
Zudem habe ich Einträge im Fehlerprotokoll

Version: 0.33.1 (linux, X86_64)

Hier der erste Eintrag im Fehlerprotokoll

Mon Jul 16 17:46:12 CEST 2018
Problems occurred when invoking code from plug-in: "org.eclipse.equinox.app".

java.lang.NoClassDefFoundError: org/eclipse/swt/accessibility/AccessibleObject
	at org.eclipse.equinox.launcher.JNIBridge._takedown_splash(Native Method)
	at org.eclipse.equinox.launcher.JNIBridge.takeDownSplash(JNIBridge.java:170)
	at org.eclipse.equinox.launcher.Main.takeDownSplash(Main.java:2216)
	at org.eclipse.equinox.launcher.Main$SplashHandler.run(Main.java:117)
	at org.eclipse.core.runtime.internal.adaptor.DefaultStartupMonitor.applicationRunning(DefaultStartupMonitor.java:67)
	at org.eclipse.equinox.internal.app.EclipseAppHandle$1.run(EclipseAppHandle.java:268)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.applicationRunning(EclipseAppHandle.java:258)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1105)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1059)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
	at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:162)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1498)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1471)
Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.accessibility.AccessibleObject
	at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@9-internal/BuiltinClassLoader.java:366)
	at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@9-internal/ClassLoaders.java:184)
	at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:419)
	... 26 more

#2

Hallo Thomas_Langer,

habe die gleiche Problematik in linux:

für AndreasB.

anbei der java_error_log:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fcaa6d8a342, pid=5218, tid=0x00007fcb4868d700
#
# JRE version: OpenJDK Runtime Environment (8.0_172-b11) (build 1.8.0_172-b11)
# Java VM: OpenJDK 64-Bit Server VM (25.172-b11 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libgdk-x11-2.0.so.0+0x4d342]  gdk_display_open+0x62
#
# Core dump written. Default location: /home/bb/Dokumente/Port_new/portfolio/core or core.5218
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x00007fcb4000b000):  JavaThread "main" [_thread_in_native, id=5219, stack(0x00007fcb4858e000,0x00007fcb4868e000)]

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000114

Registers:
RAX=0x0000000000000000, RBX=0x00007fca9404bcb0, RCX=0x0000000000000000, RDX=0x0000000000000000
RSP=0x00007fcb4868b390, RBP=0x00007fcb4868b3a0, RSI=0x00007fcaa6d8a120, RDI=0x00007fca9404bcb0
R8 =0x0000000000000002, R9 =0x0000000000000001, R10=0x0000000000000000, R11=0x0000000000000000
R12=0x00007fcb4868b3d0, R13=0x0000000000000000, R14=0x00007fcac0d8ce80, R15=0x00007fca9402eb20
RIP=0x00007fcaa6d8a342, EFLAGS=0x0000000000010246, CSGSFS=0x002b000000000033, ERR=0x0000000000000006
  TRAPNO=0x000000000000000e

Top of Stack: (sp=0x00007fcb4868b390)
0x00007fcb4868b390:   0000000000000000 0000000000000027
0x00007fcb4868b3a0:   00007fca94048f20 00007fcada7d67cf
0x00007fcb4868b3b0:   0000000000000008 0000000000000018
0x00007fcb4868b3c0:   0000000000000020 0000000000000027
0x00007fcb4868b3d0:   0000000194048f20 00007fcada7d67cf
0x00007fcb4868b3e0:   0000000000000008 0000000000000000
0x00007fcb4868b3f0:   00007fca94048f20 00007fca94048f20
0x00007fcb4868b400:   00007fca94048f20 00007fcac0d8ce80
0x00007fcb4868b410:   00007fca9402eb20 00007fcada7c271d
0x00007fcb4868b420:   00007fca94048f20 684ce44a3b0da200
0x00007fcb4868b430:   00007fca94048f20 684ce44a3b0da200
0x00007fcb4868b440:   0000000000000000 0000000000000000
0x00007fcb4868b450:   00007fcb4868b510 00007fcb4029ca70
0x00007fcb4868b460:   00007fcac0d874a0 00007fcac0d8ce80
0x00007fcb4868b470:   00007fca9402eb20 00007fcaa6d59052
0x00007fcb4868b480:   0000000000000001 00007fcb4868b510
0x00007fcb4868b490:   00007fcb4029ca70 00007fcac03b3c53
0x00007fcb4868b4a0:   00007fcb4868b510 00007fcac0d97bbf
0x00007fcb4868b4b0:   00007fcb4868b520 00007fca9402eb28
0x00007fcb4868b4c0:   00007fca9402eb18 00007fcb4000b1e0
0x00007fcb4868b4d0:   00007fcac0c6e148 684ce44a3b0da200
0x00007fcb4868b4e0:   00007fcac0c70350 0000000000000001
0x00007fcb4868b4f0:   00007fcb4000b1e0 00007fcac0c70350
0x00007fcb4868b500:   00007fcb4868b5a0 00007fcb4000b000
0x00007fcb4868b510:   00007fcb4868b530 00007fcac0d899e8
0x00007fcb4868b520:   00007fcac0c70350 0000000000000000
0x00007fcb4868b530:   00007fcb4868b588 00007fcb31018487
0x00007fcb4868b540:   00007fcb310181a2 00007fcb4868b548
0x00007fcb4868b550:   00007fcac0c70350 00007fcb4868b5a0
0x00007fcb4868b560:   00007fcac0c704a8 0000000000000000
0x00007fcb4868b570:   00007fcac0c70350 0000000000000000
0x00007fcb4868b580:   00007fcb4868b5a8 00007fcb4868b5e8 

Instructions: (pc=0x00007fcaa6d8a342)
0x00007fcaa6d8a322:   aa fe ff ff 31 f6 48 89 c7 31 c0 ff 15 35 50 26
0x00007fcaa6d8a332:   00 49 89 c5 31 d2 48 8d 35 e1 fd ff ff 48 89 df
0x00007fcaa6d8a342:   c7 80 14 01 00 00 01 00 00 00 48 89 98 d8 00 00
0x00007fcaa6d8a352:   00 ff 15 8f 52 26 00 ba 24 00 00 00 48 8d 35 3b 

Register to memory mapping:

RAX=0x0000000000000000 is an unknown value
RBX=0x00007fca9404bcb0 is an unknown value
RCX=0x0000000000000000 is an unknown value
RDX=0x0000000000000000 is an unknown value
RSP=0x00007fcb4868b390 is pointing into the stack for thread: 0x00007fcb4000b000
RBP=0x00007fcb4868b3a0 is pointing into the stack for thread: 0x00007fcb4000b000
RSI=0x00007fcaa6d8a120: <offset 0x4d120> in /usr/lib/libgdk-x11-2.0.so.0 at 0x00007fcaa6d3d000
RDI=0x00007fca9404bcb0 is an unknown value
R8 =0x0000000000000002 is an unknown value
R9 =0x0000000000000001 is an unknown value
R10=0x0000000000000000 is an unknown value
R11=0x0000000000000000 is an unknown value
R12=0x00007fcb4868b3d0 is pointing into the stack for thread: 0x00007fcb4000b000
R13=0x0000000000000000 is an unknown value
R14=0x00007fcac0d8ce80: <offset 0x32e80> in /usr/lib/jvm/java-8-openjdk/jre/lib/amd64/libawt_xawt.so at 0x00007fcac0d5a000
R15=0x00007fca9402eb20 is an unknown value


Stack: [0x00007fcb4858e000,0x00007fcb4868e000],  sp=0x00007fcb4868b390,  free space=1012k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libgdk-x11-2.0.so.0+0x4d342]  gdk_display_open+0x62
C  [libglib-2.0.so.0+0x6a7cf]  g_slice_free_chain_with_offset+0x4f

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  sun.awt.X11.XDesktopPeer.init()Z+0
j  sun.awt.X11.XDesktopPeer.initWithLock()V+9
j  sun.awt.X11.XDesktopPeer.isDesktopSupported()Z+0
j  sun.awt.X11.XToolkit.isDesktopSupported()Z+0
j  java.awt.Desktop.isDesktopSupported()Z+15
j  name.abuchen.portfolio.ui.util.DesktopAPI.browse(Ljava/lang/String;)V+9
j  name.abuchen.portfolio.ui.util.BookmarkMenu.lambda$0(Lname/abuchen/portfolio/model/Bookmark;Lorg/eclipse/jface/action/Action;)V+12
j  name.abuchen.portfolio.ui.util.BookmarkMenu$$Lambda$313.run(Lorg/eclipse/jface/action/Action;)V+9
j  name.abuchen.portfolio.ui.util.SimpleAction.run()V+5
j  org.eclipse.jface.action.Action.runWithEvent(Lorg/eclipse/swt/widgets/Event;)V+1
j  org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Lorg/eclipse/swt/widgets/Event;Z)V+352
j  org.eclipse.jface.action.ActionContributionItem.lambda$4(Lorg/eclipse/swt/widgets/Event;)V+54
j  org.eclipse.jface.action.ActionContributionItem$$Lambda$315.handleEvent(Lorg/eclipse/swt/widgets/Event;)V+5
J 8736 C2 org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/swt/widgets/Event;)V (592 bytes) @ 0x00007fcb3126fe84 [0x00007fcb3126fd40+0x144]
J 8997 C2 org.eclipse.swt.widgets.Display.sendEvent(Lorg/eclipse/swt/widgets/EventTable;Lorg/eclipse/swt/widgets/Event;)V (34 bytes) @ 0x00007fcb31892ea0 [0x00007fcb31892d60+0x140]
J 5188 C1 org.eclipse.swt.widgets.Display.runDeferredEvents()Z (109 bytes) @ 0x00007fcb31de71e4 [0x00007fcb31de6a00+0x7e4]
J 9887 C1 org.eclipse.swt.widgets.Display.readAndDispatch()Z (71 bytes) @ 0x00007fcb32aa1b74 [0x00007fcb32aa1620+0x554]
j  org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run()V+564
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.e4.ui.internal.workbench.swt.E4Application.start(Lorg/eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;+139
j  org.eclipse.equinox.internal.app.EclipseAppHandle.run(Ljava/lang/Object;)Ljava/lang/Object;+135
j  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+85
j  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+82
j  org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+105
j  org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+132
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;+100
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;+56
j  org.eclipse.equinox.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+205
j  org.eclipse.equinox.launcher.Main.basicRun([Ljava/lang/String;)V+160
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

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x00007fca94047800 JavaThread "AWT-XAWT" daemon [_thread_blocked, id=5329, stack(0x00007fcaa419e000,0x00007fcaa429f000)]
  0x00007fca94039000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=5328, stack(0x00007fcaa409d000,0x00007fcaa419e000)]
  0x00007fcac424a000 JavaThread "Provisioning Event Dispatcher" daemon [_thread_blocked, id=5281, stack(0x00007fca9feff000,0x00007fcaa0000000)]
  0x00007fcb0c023800 JavaThread "Worker-12" [_thread_blocked, id=5274, stack(0x00007fcaa5230000,0x00007fcaa5331000)]
  0x00007fcabc013000 JavaThread "Worker-5" [_thread_blocked, id=5263, stack(0x00007fcaa7bf2000,0x00007fcaa7cf3000)]
  0x00007fcb4180d000 JavaThread "EventAdmin Async Event Dispatcher Thread" daemon [_thread_blocked, id=5261, stack(0x00007fcaa7eff000,0x00007fcaa8000000)]
  0x00007fcb41049000 JavaThread "Bundle File Closer" daemon [_thread_blocked, id=5253, stack(0x00007fcac31e7000,0x00007fcac32e8000)]
  0x00007fcb409be800 JavaThread "EMF Reference Cleaner" daemon [_thread_blocked, id=5252, stack(0x00007fcac30e6000,0x00007fcac31e7000)]
  0x00007fcb40b8b800 JavaThread "Gogo shell" [_thread_blocked, id=5249, stack(0x00007fcac34e8000,0x00007fcac35e9000)]
  0x00007fcab0257800 JavaThread "Worker-JM" [_thread_blocked, id=5248, stack(0x00007fcac35e9000,0x00007fcac36ea000)]
  0x00007fcab004a800 JavaThread "SCR Component Actor" daemon [_thread_blocked, id=5247, stack(0x00007fcac3aea000,0x00007fcac3beb000)]
  0x00007fcb40b46000 JavaThread "Framework Event Dispatcher: Equinox Container: 799c2646-2a6a-48e5-9482-ba07cd00cf51" daemon [_thread_blocked, id=5246, stack(0x00007fcac3beb000,0x00007fcac3cec000)]
  0x00007fcb40b3e800 JavaThread "Start Level: Equinox Container: 799c2646-2a6a-48e5-9482-ba07cd00cf51" daemon [_thread_blocked, id=5245, stack(0x00007fcac3cec000,0x00007fcac3ded000)]
  0x00007fcb40839800 JavaThread "Active Thread: Equinox Container: 799c2646-2a6a-48e5-9482-ba07cd00cf51" [_thread_blocked, id=5244, stack(0x00007fcac80ed000,0x00007fcac81ee000)]
  0x00007fcb402e7800 JavaThread "Service Thread" daemon [_thread_blocked, id=5240, stack(0x00007fcadbeff000,0x00007fcadc000000)]
  0x00007fcb402e4000 JavaThread "C1 CompilerThread2" daemon [_thread_blocked, id=5239, stack(0x00007fcb0803d000,0x00007fcb0813d000)]
  0x00007fcb402e2000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=5238, stack(0x00007fcb0813e000,0x00007fcb0823e000)]
  0x00007fcb402e0000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=5237, stack(0x00007fcb0823f000,0x00007fcb0833f000)]
  0x00007fcb402dd800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5236, stack(0x00007fcb0833f000,0x00007fcb08440000)]
  0x00007fcb402db800 JavaThread "Surrogate Locker Thread (Concurrent GC)" daemon [_thread_blocked, id=5235, stack(0x00007fcb08440000,0x00007fcb08541000)]
  0x00007fcb402a5000 JavaThread "Finalizer" daemon [_thread_blocked, id=5234, stack(0x00007fcb0872e000,0x00007fcb0882f000)]
  0x00007fcb402a0800 JavaThread "Reference Handler" daemon [_thread_blocked, id=5233, stack(0x00007fcb0882f000,0x00007fcb08930000)]
=>0x00007fcb4000b000 JavaThread "main" [_thread_in_native, id=5219, stack(0x00007fcb4858e000,0x00007fcb4868e000)]

Other Threads:
  0x00007fcb40298800 VMThread [stack: 0x00007fcb08931000,0x00007fcb08a31000] [id=5232]
  0x00007fcb402ea800 WatcherThread [stack: 0x00007fcadbdff000,0x00007fcadbeff000] [id=5241]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap:
 garbage-first heap   total 301056K, used 148480K [0x00000000d0000000, 0x00000000d0100930, 0x0000000100000000)
  region size 1024K, 40 young (40960K), 6 survivors (6144K)
 Metaspace       used 49808K, capacity 55740K, committed 56024K, reserved 1097728K
  class space    used 5806K, capacity 7514K, committed 7640K, reserved 1048576K

Heap Regions: (Y=young(eden), SU=young(survivor), HS=humongous(starts), HC=humongous(continues), CS=collection set, F=free, TS=gc time stamp, PTAMS=previous top-at-mark-start, NTAMS=next top-at-mark-start)
AC   0  O    TS     5 PTAMS 0x00000000d0000000 NTAMS 0x00000000d0000000 space 1024K, 100% used [0x00000000d0000000, 0x00000000d0100000)
AC   0  O    TS     0 PTAMS 0x00000000d0200000 NTAMS 0x00000000d0200000 space 1024K, 100% used [0x00000000d0100000, 0x00000000d0200000)
AC   0  O    TS     0 PTAMS 0x00000000d0300000 NTAMS 0x00000000d0300000 space 1024K, 100% used [0x00000000d0200000, 0x00000000d0300000)
AC   0  O    TS     5 PTAMS 0x00000000d0300000 NTAMS 0x00000000d0300000 space 1024K, 100% used [0x00000000d0300000, 0x00000000d0400000)
AC   0  O    TS     0 PTAMS 0x00000000d0500000 NTAMS 0x00000000d0500000 space 1024K, 100% used [0x00000000d0400000, 0x00000000d0500000)
AC   0  O    TS     0 PTAMS 0x00000000d0600000 NTAMS 0x00000000d0600000 space 1024K, 100% used [0x00000000d0500000, 0x00000000d0600000)
AC   0  O    TS     1 PTAMS 0x00000000d0600000 NTAMS 0x00000000d0600000 space 1024K, 100% used 

...

#3

Das liest sich nach einem AWT Bug an. Da die ganze Java VM weg ist, kann ich da gar nicht mehr eingreifen.

Ich sehe Du verwendest OpenJDK 1.8.0_172-b11. Das ist ziemlich neu.

Es gibt ähnliche Reports. Dieser Eclipse Bug deutete daraufhin, dass es daran liegt, dass AWT GTK2 nutzt, aber PP jetzt per Default auf GTK3 setzt. Und beides zusammen Probleme bereitet. Mir ist nicht ganz klar wie ich das auflösen kann da ich AWT an einer Stelle nutzt: um den externen Browser zu öffnen (und das platform-übergreifend).

Hier der relevante Text:

Awt loads GTK2. and eclipse by default starts in GTK3. GTK2 and GTK3 cannot be loaded in the same process. That is the reason you are seeing this crash.

the workaround is to use GTK2 for eclipse as well. This can be achieved in the following ways

  1. add the following lines to eclipse.ini before -vmargs(recommended approach)
    –launcher.GTK_version
    2

  2. set the environment variable SWT_GTK3 to 0 before launching eclipse. you need to do this every time you launch eclipse

Statt “eclipse.ini” müsstest Du “PortfolioPerformance.ini” editieren.


Programm flackert
#4

Das scheint ein Problem von webkitgtk gewesen zu sein, seit Update auf Version 2.20.3 gibt es keine Abstürze mehr.


#5

Hallo Andreas,

habe mal in der portfolio.ini

auf GTK 2 umgestellt.

Damit kann ich die Browserlinks aufrufen.

Leider funktionieren dann die Grafiken in Bestände, Donuts etc nicht mehr.

Wenn ich jdk austauschen würde, wie hier

https://wiki.archlinux.org/index.php/java#GTK3_Support

klappt es vielleicht.


#6

Habe jetzt openjdk 9 installiert ,

damit kann ich wider alle Browserlinks aufrufen

und die Grafiken mit gtk 3 funktionieren auch. :slight_smile:


#7

Vielen Dank für den Link. Ich nehme das Argument mit auf damit der nächste nicht in die gleichen Problem läuft.