New issue 47 by bdgri...@mailbolt.com: After installing any ExtToolKit
package, Lazarus restarts with "Access Violation" message
http://code.google.com/p/extpascal/issues/detail?id=47
# What steps will reproduce the problem?
1. Compile and install extp_ctrls.lpk or extp_proj.lpk or extp_grid.lpk.
The compilation and install seems to complete without any error.
2. This will rebuild Lazarus and when it reloads I see a dialog message
with the window title "startlazarus" and a red "X" "Access Violation".
"Press Ok to ignore and risk data corruption. Press Cancel to kill the
program"
3. I always see this Access Violation when Lazarus is rebuilt. Is this
normal?
# What version of the product are you using? On what operating system?
- ExtPascal: svn from 2010-04-06
- ExtJS: v.3.1
- Compiler: FPC 2.2.4 SVN: 22279
- OSes: Win7
- WebServer: Apache 2.2
- Mode: n/a
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
Thanks.
-Phil
On Apr 7, 12:04 pm, extpas...@googlecode.com wrote:
> Status: New
> Owner: ----
> Labels: Type-Defect Priority-Medium OpSys-All
>
> New issue 47 by bdgri...@mailbolt.com: After installing any ExtToolKit
> package, Lazarus restarts with "Access Violation" messagehttp://code.google.com/p/extpascal/issues/detail?id=47
Thanks.
-Phil
On Apr 7, 1:01 pm, Wanderlan Santos dos Anjos
I'm using Lazarus version 0.9.28.2 beta
Brent
Does it happen if you simply rebuild Laz without the packages? If so, then
it has
nothing to do with the packages.
Please try 0.9.28.3 and FPC 2.4.0.
Note that I can't recall ever seeing this following a rebuild in all the
years I've
used Laz on Windows XP and Mac OS X. That's what makes me think something
else is
going on. Since you have Win7, I would definitely want to use a more recent
version.
You could also run Laz itself in the debugger and do a backtrace to find
where the
exception is occurring. At the command line:
gdb lazarus.exe
Enter r or run.
Thanks.
-Phil
-Phil
On Apr 7, 1:57 pm, extpas...@googlecode.com wrote:
> Comment #2 on issue 47 by MacPgmr: After installing any ExtToolKit package,
> Lazarus restarts with "Access Violation" messagehttp://code.google.com/p/extpascal/issues/detail?id=47
>
> Does it happen if you simply rebuild Laz without the packages? If so, then
> it has
> nothing to do with the packages.
>
> Please try 0.9.28.3 and FPC 2.4.0.
I've just uninstalled my existing Laz/FPC, removed the old directories
and the Lazarus User Data directory.
I downloaded Laz 0.9.28.3 with FPC 2.4 and installed it as you had
suggested. Laz seems to start fine and I was able to compile a sample
application just fine. I then decided to do rebuild Laz *without*
installing any 3rd party packages and it compiled everything and when
it finished it restarted Laz, and you guessed it, the Access Violation
message still appears. This is on the brand spanking new Laz install.
So it looks like you're blameless Phil. :-)
BTW, when I run Laz, I run Lazarus.exe and not StartLazarus.exe. Is
this correct? (I'm not sure what StartLazarus.exe is for).
This AV problem may not be a big deal because when I see it, I press
Ok and close Laz. I can then start Laz and there is no error message.
The AV error message only appears after Laz is rebuilt and it tries to
reload the IDE.
So unless you can think of something, I'll take this problem over to
the Lazarus forum.
Brent
Lazarus always had a problem restarting itself on my older Mac,
although now it seems to work okay on my new Mac. But it never caused
an exception, just didn't do anything.
Thanks.
-Phil
Brent
Comment #3 on issue 47 by wanderlan.anjos: After installing any ExtToolKit
package, Lazarus restarts with "Access Violation" message
http://code.google.com/p/extpascal/issues/detail?id=47
Reinstall Lazarus fixed it.
The AV problem was indirectly caused by OnlineArmor on Win7. When I disabled
OnlineArmor, Lazarus was able to rebuild itself without generating an AV.
The problem
had nothing to do with ExtPascal packages. So if anyone else has a problem
rebuilding
Lazarus, turn off your firewall, anti-virus etc. and see if that changes
anything.
Case closed. :-)
Brent