PDA

View Full Version : grider crashes if you make it close itself



birty
February 4th, 2005, 09:10 AM
if you make girder clsoe itself by sending close to the girder window then it crashes with an acess violation

Ron
February 4th, 2005, 09:43 AM
Well closing Girder is not an option.

(Rule 5 of the world domination plan) :evil:





Just kidding of course

Ron
February 4th, 2005, 09:50 AM
I have tried to recreate it but cannot do so. Is there a bug report window that pops up when it crashes? If so please mail me the bug report. Also please mail me the action that you used.

birty
February 4th, 2005, 10:23 AM
ive just noticed that girder doesnt automatically add the gml extension to files when making a new file

Ron
February 4th, 2005, 10:25 AM
Hmm, interesting bug report. Are you playing with any kind of Timers on your PC?

birty
February 4th, 2005, 10:51 AM
no, the crash isnt really a major problem, i only really use it when testing plugins

Ron
February 4th, 2005, 11:57 AM
Where you testing something with SetTimer? I am asking because the system is reporting that it ran out of timers! So either Girder is eating them up or a plugin is.

birty
February 4th, 2005, 12:33 PM
my plugin only uses a couple of timers (one of which wasn't being freed on exit) but it worked without crashing in version 3

Ron
February 4th, 2005, 12:36 PM
One of us is leaking timers :-) Can you look closely at your source to make sure you are killing unused timers?

birty
February 4th, 2005, 12:39 PM
sorry, i just deleted my plugin and it still crashes

Ron
February 4th, 2005, 12:41 PM
Cool, can you send me that report where your plugin is not loaded also send the gml that you used.

birty
February 4th, 2005, 01:37 PM
hmm, girder has startd crashing when trying to send a report now, heres the gml anyway

Ron
February 4th, 2005, 01:42 PM
Ah I see, you are sending the WM_CLOSE to every window inside of Girder, including the iwndow that handles the trayicon stuff. That one seems to get upset about the WM_CLOSE. Anyway simply change the targetting to include the class info.

birty
February 4th, 2005, 01:50 PM
which task, if i only use the main form or the application class then the window closes but girder doesnt exit

Ron
February 4th, 2005, 01:56 PM
Indeed Girder doesn't exit when it receive WM_CLOSE. You might have noticed the same when you press the "X" it doesn't exit Girder it closes the window.

Use sendmessage, target the main window and send message 17. That will close Girder.

birty
February 4th, 2005, 01:59 PM
ok, that works thanks