Hi all,
I have an application working on Linux but it gets an illegal memory
access when I run it on Windows XP. I've boiled the code down to this
small application. Does anything look wrong? I know all these slots
seem to be a bit much, but the real application is a little bigger
(see links at bottom). Any help would be greatly appreciated.
Shoes.app :title => "Lat/Lon Converter", :width => 370, :height => 160 do
stack do
flow :height => 50, :margin_top => 8 do
flow do
stack :width => 157, :margin => 3 do
button "convert" do
debug "Input: [" + @input_area.text + "]"
end
end
@input_area = edit_line :margin_top => 3
end
end
end
end
Screenshot of error dialog:
http://members.cox.net/matc14/images/PosUnits_error.png
Recreate crash by:
The app comes up with a button and an input text box. If the console
is open (ALT /) you should see a debug print of the input data each
time the button is clicked. I usually have to input some text,
cut/paste some text a few times and click the button a few times
before it crashes. Unfortunately it doesn't always happen at the same
time. The crash usually happens while typing in the input box, but
sometimes after hitting the button also.
Config:
Shoes Raisins, no-video version
Win XP, SP2 (behind corporate firewall)
Run shoes2.exe, then open application source
(same behavior if I make an EXE and run standalone)
Full source code:
http://github.com/kookjr/PositionUnits/tree/master
Screenshot of full application (not sample):
http://members.cox.net/matc14/images/mainscreen.png
Thanks,
Mathew Cucuzella