gabr42 / gabr42/OmniThreadLibrary

AV in pipeline demo

Open
#38 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Pascal
Stars
513
Forks
147
PR merge metrics
No merged PRs in 30d

Description

Hi,

I consistently get an access violation in the HL-III pipeline demo (This is the web spider demo). (http://www.omnithreadlibrary.com/webinars/code/HL-III.zip)

I'm not sure if this is due to a bug in OTL or perhaps in the code in the demo.

How to reproduce:
I make 1 simple change to the demo. In the method TfrmWebSpider.ExtractLinks:

```
for url in parser.Parsed.Hyperlinks do
//if not StartsText('http', url) then
begin
FURLCount.Increment;
FSpider.Input.TryAdd(url);
end;
```

I comment out the "if" statement. So now the demo will go for all links. If run this way the program will download a total of 90 links in a short time.

I press start, then after about 10 entries have been added I press "Stop". The program waits and then comes up with an AV.

I'm using DXE4, Win 7 x64

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.