Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2000-05

Access violation

6 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

M.B.M
to Marc Weustink: + From: On Behalf + Of M.B.M + + > An unhandled exception occurred at (hex address) : +…
Marc Weustink wrote
It is not realy a GTK bug, it has something to do with events still firing. Some examples don't have this problem.

Yep. For example, this error does not appears, when you will create just one form. But will be, if more that one... I'm usually do:

procedure tform.onclose(s:tobject);
begin
  if application.messagebox('Are you sure to exit?','',$34)=6 then halt;
end;

...and running my program with stdout to /dev/null *inside* the Lazarus program.
And user does not see the seg. fault and 'core' file. But this bug is still present ;(

M.B.M

Reply by email

M.B.M
to Chris Moody: I've been playing with some of the GTK demos under the Lazarus directory. I have noticed…
Chris Moody wrote 15 lines
Hi all, I've been playing with some of the GTK demos under the Lazarus directory. I have noticed that every time I exit one of the demo's I get the error: An unhandled exception occurred at (hex address) : Access violation Is this a bug in the Demos causing this? Or just an incompatibility between GTK and Windows? Lazarus also does the same thing when I try to exit it. Thanks for the assistance, Chris

It is a GTK-like bug, I mean. All of the programs do same thing for now... :-(

Reply by email

Peter Vreman
to Chris Moody: I've been playing with some of the GTK demos under the Lazarus directory. I have noticed…
you wrote 10 lines
Hi all, I've been playing with some of the GTK demos under the Lazarus directory. I have noticed that every time I exit one of the demo's I get the error: An unhandled exception occurred at (hex address) : Access violation Is this a bug in the Demos causing this? Or just an incompatibility between GTK and Windows? Lazarus also does the same thing when I try to exit it.

If you compile with -gl then you'll get the source lines also. Since yesterday the backtraces should be correct also for exceptions generated by signals.

Peter

Reply by email

Chris Moody

Hi all,

I've been playing with some of the GTK demos under the Lazarus directory. I have noticed that every time I exit one of the demo's I get the error:

An unhandled exception occurred at (hex address) : Access violation

Is this a bug in the Demos causing this? Or just an incompatibility between GTK and Windows? Lazarus also does the same thing when I try to exit it.

Thanks for the assistance,

Chris

Reply by email

Marc Weustink
to M.B.M: It is a GTK-like bug, I mean. All of the programs do same thing for now... :-(

+ From: On Behalf
+ Of M.B.M

+ Chris Moody wrote:
+
+ > An unhandled exception occurred at (hex address) :
+ > Access violation
+ >
+ > Is this a bug in the Demos causing this? Or just an
+ > incompatibility between GTK and Windows? Lazarus
+ > also does the same thing when I try to exit it.

+ It is a GTK-like bug, I mean. All of the programs do same
+ thing for now... :-(

It is not realy a GTK bug, it has something to do with events still firing. Some examples don't have this problem.

Marc

Reply by email