ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Find And Run Robot

FARR crash related to changing monitor sizes.

(1/2) > >>

AJolly:
Having a weird FARR crash issue, which seems to happen when I switch between physical monitors.  It changes the Windows section of the ini, and then any time I restart FARR it immediately crashes.  If I delete the Windows section, it starts back up fine.

Any advice? This is getting annoying, as I do switch between physical monitor configs quite frequently. I think it might have to do with the negative values?

Example: 
[Windows]
MainLeft=-3072
MainTop=34
MainWidth=2304
MainHeight=1654
OptionsLeft=8
OptionsTop=0
OptionsWidth=1022
OptionsHeight=718
AliasLeft=11
AliasTop=8
AliasWidth=851
AliasHeight=662
OptionsActivePage=9
OptionsTransparency=0
ToolbarWidth=121
PluginManagerWidth=917
PluginManagerHeight=718
HotkeyFormWidth=411
HotkeyFormHeight=342
CheckBoxUseCustomBackgroundResultColor=0
ColorBoxCustomBackground=-16777201
CheckBoxUseCustomBackgroundSearchColor=0
ColorBoxCustomSearchBackground=-16777201
ResultMode_Width_0=-1
ResultMode_Height_0=-1
ResultMode_Width_1=3072
ResultMode_Height_1=1654
ResultMode_Width_2=2304
ResultMode_Height_2=1654
ResultMode_Width_3=2304
ResultMode_Height_3=1277
ResultMode_Width_4=564
ResultMode_Height_4=320
ResultMode_Width_5=-1
ResultMode_Height_5=-1
ResultMode_Width_6=-1
ResultMode_Height_6=-1

Nod5:
I don't get a crash if I set "MainLeft=-3072". Instead what happens next time the FindAndRunRobot process is started and FARR is opened it positions itself at the right edge of  the screen and the ini value gets automatically updated to "MainLeft=0".

I suggest you first make a backup of FindAndRunRobot.ini to another folder. Then experiment with values for MainLeft and other items and see if you can further narrow down the cause.

AJolly:
That's the weird thing, I've now had this happen to me across two different computers, multiple times. At some point I'll notice that farr is no longer running, try and restart it and realize it's not starting.  Go delete that section in the ini, and it works just fine again. 

I've got some of the crash dumps if that helps.  I've been using farr for a decade now, but this is the first time I've been switching between monitors so frequently.

I guess I'll try putting back in that section next time it crashes, or let me try and figure out some sort of watchdog script so I get notified when farr crashes. 

Nod5:
Ok so there might be two issues, though related, if I understand you correctly?
1. FARR crashes (the FARR process closes) when you switch between physical monitors.
2. After FARR has crashed (the process is closed) starting FARR again fails if the FindAndRunRobot.ini item "MainLeft" has a negative value, which FARR automatically adds after 1 happens.

With switching you mean something like pulling out the HDMI cable of one monitor and inserting that of another while the PC is on?

Some idea on things you could test to narrow down the issues further:

Does these things happen every time you switch physical monitors? Or only sometimes? If sometimes, does it depend on how the monitors are positioned (in Windows) or on which monitor is primare? Does it depend on which monitor FARR is showing on?

I can't be of help with examining crash reports, only mouser can do that I think.

AJolly:
I think I've diagnosed the root of the problem:
Farr crashes on activation if the saved position of it's window is no longer valid.  This can happen without having negative numbers. 
1) Farr doesn't actually crash at runtime, it crashes when it's hotkey (alt space) is pressed.
2) Deleting the window position info in the ini lets farr run fine.

Example: Today I swapped monitors (I have 5 monitors connected to my pc, by flipping a power switch I move between using 3 at my desk vs 2 at my couch).  Tried launching farr, nothing happened.  In the ini, there were no negative position numbers.  Removed the MainLeft number, reran farr and it works fine. 

[Windows]
MainLeft=4608
MainTop=1173
MainWidth=2304
MainHeight=767
OptionsLeft=1
OptionsTop=109
OptionsWidth=1142
OptionsHeight=815
AliasLeft=1
AliasTop=108
AliasWidth=958
AliasHeight=662
OptionsActivePage=4
OptionsTransparency=0
ToolbarWidth=90
PluginManagerWidth=958
PluginManagerHeight=843
HotkeyFormWidth=629
HotkeyFormHeight=522
CheckBoxUseCustomBackgroundResultColor=0
ColorBoxCustomBackground=-16777201
CheckBoxUseCustomBackgroundSearchColor=0
ColorBoxCustomSearchBackground=-16777201
ResultMode_Width_0=-1
ResultMode_Height_0=-1
ResultMode_Width_1=1044
ResultMode_Height_1=658
ResultMode_Width_2=2304
ResultMode_Height_2=139
ResultMode_Width_3=2304
ResultMode_Height_3=767
ResultMode_Width_4=-1
ResultMode_Height_4=-1
ResultMode_Width_5=-1
ResultMode_Height_5=-1
ResultMode_Width_6=-1
ResultMode_Height_6=-1

Navigation

[0] Message Index

[#] Next page

Go to full version