Bug 987 - The program won't start after adding an IP to server options
Status:
NEW
Component:
Core
Version:
1.9.3
Hardware:
PC Windows 7
Importance:
P5 blocker
Target Milestone:
---
Assignee:
Rob Caelers
URL:
Depends on:
Blocks:
Reported:
Feb 15 2011 17:03:44 UTC
by:
Ykpui Acur
Modified:
Oct 11 2011 22:30:00 UTC
CC List:
Joe Ross
James Ladan
IdWhoWhenSizeType
244The 3 screens and 4 images after the app crashes
Ykpui AcurFeb 15 2011 17:03:44 UTC118827application/x-7z-compressed
WhoWhenWhatRemovedAdded
Joe RossMay 15 2011 20:05:12 UTCccJoe Ross
James LadanOct 11 2011 21:51:07 UTCccJames Ladan
Description
Ykpui Acur  Feb 15 2011 17:03:44 UTC
Created attachment 244
The 3 screens and 4 images after the app crashes

I tried to add an IP in the server section of the configuration / prefrences and when I did apply the app crashed and went out.

Since then I can't get back in and I get the error as seen in the attachment.

I tried also to erase the workrave directory in %APPDATA% but that didn't help either.
Comment 1
Rob Caelers  Feb 15 2011 18:27:43 UTC
Workrave stores its settings in the registry. You could open regedit.exe and delete all keys below: HKEY_CURRENT_USER\Software\Workrave\distribution

I'm also interested in the value of the 'peers' setting (You can mail it directly yo me if you don't want your IP address in bugzilla.

Could you also try installing:

http://snapshots.workrave.org/20110209/workrave-win32-v1_9_3-41-g831c769c01-20110209-installer.exe

And check if that fixes the problem. Thanks
Comment 2
Joe Ross  May 15 2011 20:05:12 UTC
I have the same result in workrave 1.9.4 when workrave can't connect to the server (for example, I mistyped the IP address or the computer is turned off). It happens on both Windows XP and Windows 7.

I'm not sure if this is exactly the same problem or not.
Comment 3
James Ladan  Oct 11 2011 21:51:07 UTC
I have the same crash on 32-bit Windows 7 SP1. I have a 64-bit Ubuntu 11.04 install that's running fine.

When I first configured the network settings, things seemed fine. After exiting Workrave on the Windows machine, it now crashes every time I try to launch it.

My registry settings under 'distribution' are:
 - enabled: 1
 - listening: 1
 - password: ...
 - peers: tcp://ipaddr:27273
 - reconnect_attempts: 5
 - reconnect_interval: 15
 - username: ...

I changed "enabled" to 0 and could launch it again. From the program I re-enabled, reconnected, and the timers became synchronized. 15 seconds into the first micro-break, Workrave crashed again on the Windows computer.
Comment 4
James Ladan  Oct 11 2011 21:54:03 UTC
The startup crash (appears to always be at the same offset):

Faulting application name: Workrave.exe, version: 1.9.4.0, time stamp: 0x4d8b7749
Faulting module name: Workrave.exe, version: 1.9.4.0, time stamp: 0x4d8b7749
Exception code: 0x40000015
Fault offset: 0x001b7305
Faulting process id: 0x1254
Faulting application start time: 0x01cc884d94325d7e
Faulting application path: C:\Program Files\Workrave\lib\Workrave.exe
Faulting module path: C:\Program Files\Workrave\lib\Workrave.exe
Report Id: d32addd4-f440-11e0-9d44-f706816c1cf4


The crash during micro break:

Faulting application name: Workrave.exe, version: 1.9.4.0, time stamp: 0x4d8b7749
Faulting module name: Workrave.exe, version: 1.9.4.0, time stamp: 0x4d8b7749
Exception code: 0x40000015
Fault offset: 0x001b7305
Faulting process id: 0x1254
Faulting application start time: 0x01cc884d94325d7e
Faulting application path: C:\Program Files\Workrave\lib\Workrave.exe
Faulting module path: C:\Program Files\Workrave\lib\Workrave.exe
Report Id: d32addd4-f440-11e0-9d44-f706816c1cf4
Comment 5
James Ladan  Oct 11 2011 22:30:00 UTC
Appears to work ok with the Windows computer listening only and the Linux box connecting to it.  Only odd thing noticed so far is the first time I switched from working on the Linux box to the Windows one, the micro-break timer jumped back up to 10 minutes.