Issue 47 in extpascal: After installing any ExtToolKit package, Lazarus restarts with "Access Violation" message

21 views
Skip to first unread message

extp...@googlecode.com

unread,
Apr 7, 2010, 12:04:18 PM4/7/10
to extp...@googlegroups.com
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" 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

Phil

unread,
Apr 7, 2010, 12:11:39 PM4/7/10
to ExtPascal
You omit the most important piece of information: the version of
Lazarus that you're using. Please test with a stable version
(0.9.28.x) that includes FPC 2.4.0. No one is supporting FPC 2.2.4
anymore.

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

Wanderlan Santos dos Anjos

unread,
Apr 7, 2010, 1:01:47 PM4/7/10
to extp...@googlegroups.com
Hi Phil,

Please, use the googlecode Issue system to answer. 
The person who posted the problem may not have access to the forum.
Further information about this issue will end up getting lost in the forum instead of centralized in its place.

TIA
Wanderlan

Phil

unread,
Apr 7, 2010, 1:10:25 PM4/7/10
to ExtPascal
I'm looking around the page and I don't see offhand where that is. Is
it a different Web site?

Thanks.

-Phil

On Apr 7, 1:01 pm, Wanderlan Santos dos Anjos

Wanderlan Santos dos Anjos

unread,
Apr 7, 2010, 1:12:55 PM4/7/10
to extp...@googlegroups.com
Hi Phil,

Clicking Tab Issues in googlecode:
http://code.google.com/p/extpascal/issues/list


--
Att,

Wanderlan Santos dos Anjos

extp...@googlecode.com

unread,
Apr 7, 2010, 2:45:52 PM4/7/10
to extp...@googlegroups.com

Comment #1 on 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

I'm using Lazarus version 0.9.28.2 beta

Brent

extp...@googlecode.com

unread,
Apr 7, 2010, 2:57:13 PM4/7/10
to extp...@googlegroups.com

Comment #2 on issue 47 by MacPgmr: After installing any ExtToolKit package,
Lazarus restarts with "Access Violation" message
http://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.

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

Brent

unread,
Apr 7, 2010, 5:39:55 PM4/7/10
to ExtPascal

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

Phil

unread,
Apr 7, 2010, 5:50:02 PM4/7/10
to ExtPascal
Sounds like maybe a problem with startlazarus.exe. I believe that's
what is run after rebuilding to restart Lazarus. Does it work if you
run startlazarus.exe?

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

unread,
Apr 7, 2010, 8:04:06 PM4/7/10
to ExtPascal
Ok, I found the problem. I ran ProcMon from SysInternals (http://
technet.microsoft.com/en-us/sysinternals/bb896645.aspx) to see what
files were being accessed during the build. I noticed OnlineArmor was
accessing pretty much every file that FPC was compiling. I disabled
OnlineArmor and the AV went away. I guess OA couldn't keep up with all
of the files that were being accessed and it corrupted some memory.

Brent

extp...@googlecode.com

unread,
Apr 13, 2010, 8:00:19 AM4/13/10
to extp...@googlegroups.com
Updates:
Status: Done
Owner: MacPgmr

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.

extp...@googlecode.com

unread,
Apr 13, 2010, 10:46:54 AM4/13/10
to extp...@googlegroups.com

Comment #4 on 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

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

Reply all
Reply to author
Forward
0 new messages