View Issue Details

IDProjectCategoryView StatusLast Update
0004646JEDI VCL00 JVCL Componentspublic2009-04-02 15:56
ReporterStewart81Assigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Product Version3.35 
Target VersionFixed in Version 
Summary0004646: JVThread and Index out of Bounds
DescriptionHi. I was trying to incorporate JVThread into SynEditStudio just to see if I could speed up the way it finds folds. It works initially but when recalling the threaded function I always get EListError with List Index out of bounds and it jumps to classes.pas which I believe is a delphi class. Just wondering if anyone else has run into this one and has a solution for it.

Thank you

Stewart
TagsNo tags attached.

Activities

jfudickar

2009-01-05 10:57

developer   ~0015211

Could you please create a sample for this behaviour.

I'm using the TJvThread in multiple circumstances, and didn't see this error.

Greetings
Jens

Stewart81

2009-01-05 11:40

reporter   ~0015212

Might be a little hard to create a project sample since it's very specific to the fact I incorporated it into SynEditStudio. The problem isn't related to JVThreading per say at least I don't think it is because I tried a few other threading components which all resulted in the same problem but on the flip side I don't see how it can be the function that the thread is running either as the function is not causing errors if it's called independently of the thread. The goal was really just a little trial to try using a seperate thread to see if it could fix SynEditStudio's speed issues related to code folding. It did indeed speed it up. The problem is it throws off that list index out of bounds error. But being that all the threading components I could find suffer from the same problem I doubt it's much you guys can fix. Have you guys with JVCL ever thought about taking on SynEdit and breathing new life into it. It seems to be a dead project and I'd really love to see it get some touch ups, upgrades and fixes.

Thanks for your reply

Stewart

obones

2009-04-02 15:55

administrator   ~0015379

the index out of bounds could be related to the fact that you use a VCL resource inside a thread. This resource should be accessed in a synchronized method.
As to taking over SynEdit, it's not possible, we don't have the resources for this.

Issue History

Date Modified Username Field Change
2009-01-05 08:28 Stewart81 New Issue
2009-01-05 10:57 jfudickar Note Added: 0015211
2009-01-05 11:40 Stewart81 Note Added: 0015212
2009-02-02 01:21 obones Status new => acknowledged
2009-04-02 15:55 obones Note Added: 0015379
2009-04-02 15:55 obones Status acknowledged => resolved
2009-04-02 15:55 obones Resolution open => no change required
2009-04-02 15:55 obones Assigned To => obones