I2P

Invisible Internet Project


Ticket #82 (accepted defect)

Opened 20 months ago

Last modified 4 weeks ago

systray causes JVM crash (Windows service error on router restart)

Reported by: Praetorian Owned by: Mathiasdm
Priority: minor Milestone: 0.9
Component: apps/console Version: 0.8.3
Keywords: Cc:

Description

Service was stop unexpectedly.
Eventid: 7034
Source: Service Control Manager

Attachments

hs_err_pid5584.log Download (18.1 KB) - added by Praetorian 20 months ago.
hs_err_pid1112.log Download (15.7 KB) - added by Praetorian 20 months ago.
hs_err_pid3960.log Download (15.7 KB) - added by Praetorian 20 months ago.
hs_err_pid4260.log Download (15.7 KB) - added by Praetorian 20 months ago.
hs_err_pid4720.log Download (15.7 KB) - added by Praetorian 20 months ago.

Change History

Changed 20 months ago by Praetorian

Changed 20 months ago by Praetorian

Changed 20 months ago by Praetorian

Changed 20 months ago by Praetorian

Changed 20 months ago by Praetorian

Changed 19 months ago by zzz

  • owner set to zzz
  • status changed from new to assigned
  • component changed from router/general to apps/console

All 5 crashes look about the same, with a JVM crash resulting from the systray.
This might be a JVM bug or a systray4j.dll bug.
Sadly I don't see workaround for this, systray is always initialized by the router console.

Our systray4j.dll and systray4j.jar are unchanged since 2004, and the version is unknown. For further research.

Please update this ticket with your windows version and JVM version.

C [systray4j.dll+0x61f9]
j snoozesoft.systray4j.NativeSysTray?.addMainMenuNative(Lsnoozesoft/systray4j/SysTrayMenu;Ljava/lang/String;Ljava/lang/String;)I+0
31 j snoozesoft.systray4j.NativeSysTray?.addMainMenu(Lsnoozesoft/systray4j/SysTrayMenu;Ljava/lang/String;Ljava/lang/String;)V+24
32 j snoozesoft.systray4j.SysTrayManager?.addMainMenu(Lsnoozesoft/systray4j/SysTrayMenu;)V+49
33 j snoozesoft.systray4j.SysTrayMenu?.<init>(Lsnoozesoft/systray4j/SysTrayMenuIcon;Ljava/lang/String;Ljava/util/Vector;)V+77
34 j snoozesoft.systray4j.SysTrayMenu?.<init>(Lsnoozesoft/systray4j/SysTrayMenuIcon;Ljava/lang/String;)V+10
35 j net.i2p.apps.systray.SysTray?.<init>()V+58
36 j net.i2p.apps.systray.SysTray?.<clinit>()V+139

Changed 19 months ago by zzz

  • summary changed from Windows service error on router restart to systray causes JVM crash (Windows service error on router restart)

Changed 19 months ago by anonymous

It looks like systray instantiation can be disabled with the system property systray.disable=true . This won't work in router.config.

Changed 19 months ago by zzz

I verified we have systray4j version 2.4.1, which is still the latest 6 years later  http://sourceforge.net/projects/systray/files/ .

Maybe the systray.dll needs to be rebuilt for 64 bit or something? What is your hardware platform?

Changed 15 months ago by Mathiasdm

  • owner changed from zzz to Mathiasdm
  • version set to 0.8.3
  • milestone set to 0.8.4

Desktopgui will replace systray.

Changed 15 months ago by Mathiasdm

  • status changed from assigned to accepted

Changed 5 months ago by zzz

  • milestone changed from 0.8.12 to 0.9

I saw this on my windows box the other day. It crashed 3 times in a row and started the 4th time. Didn't know anything until I saw the logs (wrapper will try 5 times)

Changed 4 weeks ago by zzz

seen again 0.8.13-27 / XP

Changed 4 weeks ago by zzz

JRE: 1.6.0_24

Note: See TracTickets for help on using tickets.