View Issue Details

IDProjectCategoryView StatusLast Update
0002480JEDI VCSClient (Gui)public2008-11-15 07:24
ReporterLogiqualisAssigned ToUSchuster 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version2.40 (First JVCS release) 
Target VersionFixed in Version2.40 RC3 (Client) 
Summary0002480: AV when try to Create JVCSVER.RES (in "Version Settings" form)
DescriptionAn access violation is raised (in ntdll.dll) when try to Create JVCSVER.RES (in "Version Settings" form)
Additional InformationInfo from Alexander Genedl(thread "Problem with creating JVCS Version Info" in newsgroup jedi.vcs started on 2005/05/04)

"Access violation at address 778830F" in module 'ntdll.dll'. Write of address 039055A9"
IDE: Delphi 6 SP 1 Enterprise
The error comes up only the first time. But even later there is no file beeing created. All is true for .exe and .dll files.
TagsNo tags attached.
Fix in JVCS version2.40 RC2
Releasedocumentation

Relationships

child of 0002377 closed Releaseinfo: 2.40 gui client issues 

Activities

anonymous

2005-05-11 00:54

viewer   ~0007125

Hello!

Because I need a version information in my .DLL badly I made some investigations in the source. And finally found a workaround for using the feature right now and a solution of how to change the code for eliminating the problem:

At first the workaround is very simple.
At the version information form just change the tab to <Special> and then change the Language to something different than empty. ("0000: Language Neutral" will do).
From now on the .rc file will be created!

The source code change I made is likely simple:

In Unit VerSet, proc BuildResFile is a line (366)

LangID := Copy(ResFileRec.Language, 1, Pred(Pos(':', ResFileRec.Language)));

Just add a line like

if LangID='' then LangId:='0000';

And everything will be right.

I think the problem is: when you read something form an INI-File without giving an Section-Name there might come an error up.

If someone change this proc, please add some try finally blocks
for the IntFile and for the closing of the .rc-file. Thanks.

Alex Genedl

USchuster

2005-05-11 11:22

manager   ~0007127

The empty language was the clue.
I can reproduce it now and will fix it.

Issue History

Date Modified Username Field Change
2005-01-06 10:27 Logiqualis New Issue
2005-01-09 05:19 USchuster Fix in JVCS version => 2.40 RC2
2005-01-09 05:19 USchuster Status new => confirmed
2005-01-09 05:19 USchuster Relationship added child of 0002377
2005-05-06 13:41 USchuster Additional Information Updated
2005-05-11 00:54 anonymous Note Added: 0007125
2005-05-11 11:22 USchuster Note Added: 0007127
2005-05-11 11:22 USchuster Status confirmed => assigned
2005-05-11 11:22 USchuster Assigned To => USchuster
2005-05-11 12:18 USchuster Status assigned => resolved
2005-05-11 12:18 USchuster Fixed in Version => 2.40 RC3 (Client)
2005-05-11 12:18 USchuster Resolution open => fixed
2008-11-15 07:24 THuber Status resolved => closed