Opened 9 years ago

Last modified 5 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: Sensitive: no

Description

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

Subtickets

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

Attachment: hs_err_pid5584.log added

Changed 9 years ago by Praetorian

Attachment: hs_err_pid1112.log added

Changed 9 years ago by Praetorian

Attachment: hs_err_pid3960.log added

Changed 9 years ago by Praetorian

Attachment: hs_err_pid4260.log added

Changed 9 years ago by Praetorian

Attachment: hs_err_pid4720.log added

comment:1 Changed 9 years ago by zzz

Component: router/generalapps/console
Owner: set to zzz
Status: newassigned

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: Windows service error on router restartsystray 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 9 years ago by Mathiasdm

Milestone: 0.8.4
Owner: changed from zzz to Mathiasdm
Version: 0.8.3

Desktopgui will replace systray.

comment:6 Changed 9 years ago by Mathiasdm

Status: assignedaccepted

comment:7 Changed 8 years ago by zzz

Milestone: 0.8.120.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 8 years ago by zzz

seen again 0.8.13-27 / XP

comment:9 Changed 8 years ago by zzz

JRE: 1.6.0_24

comment:10 Changed 7 years ago by DISABLED

Resolution: duplicate
Status: acceptedclosed

comment:11 Changed 5 years ago by killyourtv

Milestone: 0.9
Resolution: duplicate
Status: closedreopened

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

Note: See TracTickets for help on using tickets.