Opened 9 years ago

Last modified 4 years ago

#82 reopened defect

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

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

Description

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

Subtickets (add)

Attachments (5)

hs_err_pid5584.log (18.1 KB) - added by Praetorian 9 years ago.
hs_err_pid1112.log (15.7 KB) - added by Praetorian 9 years ago.
hs_err_pid3960.log (15.7 KB) - added by Praetorian 9 years ago.
hs_err_pid4260.log (15.7 KB) - added by Praetorian 9 years ago.
hs_err_pid4720.log (15.7 KB) - added by Praetorian 9 years ago.

Download all attachments as: .zip

Change History (16)

Changed 9 years ago by Praetorian

Changed 9 years ago by Praetorian

Changed 9 years ago by Praetorian

Changed 9 years ago by Praetorian

Changed 9 years ago by Praetorian

comment:1 Changed 9 years ago by zzz

  • Component changed from router/general to apps/console
  • Owner set to zzz
  • Status changed from new to assigned

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

comment:2 Changed 9 years ago by zzz

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

comment:3 Changed 9 years 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.

comment:4 Changed 9 years 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?

comment:5 Changed 8 years ago by Mathiasdm

  • Milestone set to 0.8.4
  • Owner changed from zzz to Mathiasdm
  • Version set to 0.8.3

Desktopgui will replace systray.

comment:6 Changed 8 years ago by Mathiasdm

  • Status changed from assigned to accepted

comment:7 Changed 7 years 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)

comment:8 Changed 7 years ago by zzz

seen again 0.8.13-27 / XP

comment:9 Changed 7 years ago by zzz

JRE: 1.6.0_24

comment:10 Changed 6 years ago by guest

  • Resolution set to duplicate
  • Status changed from accepted to closed

comment:11 Changed 4 years ago by killyourtv

  • Milestone 0.9 deleted
  • Resolution duplicate deleted
  • Status changed from closed to reopened

This was closed by guest, probably during the time of the spam runs. Reopening.

Note: See TracTickets for help on using tickets.