Forum index VCMI Project - Heroes 3: WoG recreated
Forum of the project aiming to recreate best turn-based strategy ever!

FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  StatisticsStatistics
RegisterRegister  Log inLog in  AlbumAlbum  DownloadDownload

Previous topic :: Next topic
GameInit Crash
Author Message
Vizit0r 

Joined: 18 Jul 2010
Posts: 9
  Posted: 2010-07-18, 08:32   GameInit Crash  

Quote:
Smack cannot open ACREDIT.SMK
Disaster happened.
Reason: 0xc0000005 - EXCEPTION_ACCESS_VIOLATION at 001b:004A5FF1
Attempt to read from 0x00000004
Thread ID: c20 [3104]
Crash info will be put in VCMI_client.exe_crashinfo.dmp


ACredit.smk exist and correct. anywhere same - 39460 bytes size.

When VCMI_client.exe starts - start video played, next main menu shows and fail :(

i haven't VC Compiler for cut opening this file from sources and compiling. and i hate VC :)




VCMI_client.exe_crashinfo.dmp.rar attached (why .dmp extension not allowed for attaching?)

GRRR! "Sorry, but the maximum filesize for all Attachments is reached. Please contact the Board Administrator if you have questions." WTF? size - 85 kb!
 
 
     
Zamolxis 
Moderator


Age: 32
Joined: 24 Feb 2008
Posts: 615
Location: Brussels, Belgium
Posted: 2010-07-18, 08:55     

Hi Visit0r & welcome to the forum.

Currently no attachments can be added to forum posts. Sorry for that. You can use THIS link to report bugs/crashes if you want (there you can add attachments).
_________________
Testing on: AMD 5600+ ASUS M2A-VM HDMI 690G chipset 2GB DDRII 800MHz Corsair 22" Screen@1680x1050 WinXP SP2 // H3C + WoG 3.58f + Script Update + VCMI (@1440x900 - unless otherwise specified)

Tips for testers:
- Check the bugs already reported in the BUGTRACKER, to avoid creating dupes
- Check the ITEM IMPLEMENTATION STATUS lists, to avoid reporting as “bug” a feature not yet ready for testing
- If you feel the devs should prioritize a certain feature implementation, please add it to the Missing features & functionalities thread.
- Enjoy! :)


The use of the EDIT button is strongly encouraged on the forum. ;-)
 
     
Vizit0r 

Joined: 18 Jul 2010
Posts: 9
Posted: 2010-07-18, 09:33     

hi 2 you too

i think that's some my problem, not VCMI.
i'm dev of one project, and i know that 80% of problems - it's hand problems of users. but dev must waste time for insight into the problem - time that could be spent on useful code.



can anyone with normal working VCMI upload anywhere ACredit.smk ?
also if anyone can compile VCMI without playing this video - plz upload compiled .exe too.
 
 
     
OnionKnight 
VCMI Programmer


Age: 22
Joined: 19 Jul 2009
Posts: 74
Location: Sweden
Posted: 2010-07-19, 02:10     

If the OS you are running on is case-sensitive about filenames have you made sure it's all in uppercase? My ACREDIT.SMK is also 39460 bytes, with the MD5 sum being 3057018d97b462cd21004302585ef862 and comes from a Heroes 3 Complete installation.
 
 
     
Tow 
Project Lead
VCMI Programmer


Joined: 01 Feb 2008
Posts: 810
Location: Kraków, Poland
Posted: 2010-07-19, 07:35     

Looks similar to #435. Is VCMI installed on your OS partition? Has VCMI privilages necessary to create, modify and delete files in its folder? Is there any change if you run VCMI as an administrator?

Since you say that ACredit.smk exists (and I assume that it's in the main VCMI directory) than uploading-downloading it is pointless. It wouldn't work anyway, since VCMI extracts it every time from video.vid archive.

The only thing that puzzles me is why ACredit.smk crashes, when intro videos (3DOLOGO.SMK and AZVS.SMK) are played properly.
_________________
VCMI is a work in progress.
VCMI is NOT an another mod.
 
     
Vizit0r 

Joined: 18 Jul 2010
Posts: 9
Posted: 2010-07-19, 13:47     

OnionKnight wrote:
If the OS you are running on is case-sensitive about filenames have you made sure it's all in uppercase? My ACREDIT.SMK is also 39460 bytes, with the MD5 sum being 3057018d97b462cd21004302585ef862 and comes from a Heroes 3 Complete installation.


OS - WinXP.

My MD5 - 1af5151813cdf30cdd64c49d98a43e2f
Upload plz your file anywhere.

Change name to ACREDIT.SMK - crash again


Tow wrote:
Looks similar to #435. Is VCMI installed on your OS partition? Has VCMI privilages necessary to create, modify and delete files in its folder? Is there any change if you run VCMI as an administrator?

Since you say that ACredit.smk exists (and I assume that it's in the main VCMI directory) than uploading-downloading it is pointless. It wouldn't work anyway, since VCMI extracts it every time from video.vid archive.


No, second partition.

OS - WinXP. No priveleges needed.

Logged as administrator.
 
 
     
Vizit0r 

Joined: 18 Jul 2010
Posts: 9
Posted: 2010-07-19, 13:58     

part2

if ACREDIT.SMK deleted - it's recreated. size same. if it's exists - it's rewriten

looking af file monitor (SysInternals Utils).

Quote:
0.00000365 VCMI_client.exe:304 READ D:\Games\Heroes WOG 3.58f\Data\H3sprite.lod SUCCESS Offset: 123045083 Length: 4096
0.00033013 VCMI_client.exe:304 CREATE D:\Games\Heroes WOG 3.58f\ACREDIT.SMK SUCCESS Options: OverwriteIf Access: 00120196
0.00002443 VCMI_client.exe:304 OPEN D:\Games\Heroes WOG 3.58f\ SUCCESS Options: Open Directory Access: 00100000
0.00005386 VCMI_client.exe:304 WRITE D:\Games\Heroes WOG 3.58f\ACREDIT.SMK SUCCESS Offset: 0 Length: 4096
0.00003750 VCMI_client.exe:304 WRITE D:\Games\Heroes WOG 3.58f\ACREDIT.SMK SUCCESS Offset: 4096 Length: 4096
0.00000635 VCMI_client.exe:304 WRITE D:\Games\Heroes WOG 3.58f\ACREDIT.SMK SUCCESS Offset: 8192 Length: 4096
0.00000512 VCMI_client.exe:304 WRITE D:\Games\Heroes WOG 3.58f\ACREDIT.SMK SUCCESS Offset: 12288 Length: 4096
0.00003606 VCMI_client.exe:304 WRITE D:\Games\Heroes WOG 3.58f\ACREDIT.SMK SUCCESS Offset: 16384 Length: 4096
0.00000563 VCMI_client.exe:304 WRITE D:\Games\Heroes WOG 3.58f\ACREDIT.SMK SUCCESS Offset: 20480 Length: 4096
0.00000544 VCMI_client.exe:304 WRITE D:\Games\Heroes WOG 3.58f\ACREDIT.SMK SUCCESS Offset: 24576 Length: 4096
0.00000525 VCMI_client.exe:304 WRITE D:\Games\Heroes WOG 3.58f\ACREDIT.SMK SUCCESS Offset: 28672 Length: 4096
0.00003932 VCMI_client.exe:304 WRITE D:\Games\Heroes WOG 3.58f\ACREDIT.SMK SUCCESS Offset: 32768 Length: 4096
0.00000533 VCMI_client.exe:304 WRITE D:\Games\Heroes WOG 3.58f\ACREDIT.SMK SUCCESS Offset: 36864 Length: 2596
0.00010396 VCMI_client.exe:304 CLOSE D:\Games\Heroes WOG 3.58f\ACREDIT.SMK SUCCESS
0.00009589 VCMI_client.exe:304 OPEN D:\Games\Heroes WOG 3.58f\ACREDIT.SMK SUCCESS Options: Open Sequential Access: Read
0.00001097 VCMI_client.exe:304 READ D:\Games\Heroes WOG 3.58f\ACREDIT.SMK SUCCESS Offset: 0 Length: 104
0.00000956 VCMI_client.exe:304 CLOSE D:\Games\Heroes WOG 3.58f\ACREDIT.SMK SUCCESS
0.00000499 VCMI_client.exe:304 WRITE D:\Games\Heroes WOG 3.58f\VCMI_Client_log.txt SUCCESS Offset: 1383 Length: 18
0.00000285 VCMI_client.exe:304 WRITE D:\Games\Heroes WOG 3.58f\VCMI_Client_log.txt SUCCESS Offset: 1401 Length: 11

1) end of reading H3sprite.lod
2) rewrite ACREDIT.SMK completely
3) read 104 bytes from ACREDIT.SMK
4) fail - creating crashlog.
 
 
     
Vizit0r 

Joined: 18 Jul 2010
Posts: 9
Posted: 2010-07-19, 14:35     

in VCMI_client.exe i change by hex-editor ACREDIT.SMK to 3DOLOGO.SMK.

okey, we started :) buttons in main menu partially closed by video, but it's not a problem - i can start game.


as one good man from another forum sad - this problem from non-stardart (edited) video.vid
I can't remember, where i take my heroes3 wog, so this is may be.
 
 
     
Tow 
Project Lead
VCMI Programmer


Joined: 01 Feb 2008
Posts: 810
Location: Kraków, Poland
Posted: 2010-07-19, 19:19     

Does H3:WoG work properly on that installation? If it's running, then VCMI should also run. If not - then we have a bug.

Vizit0r wrote:
Upload plz your file anywhere.

And what you'd do with it? VCMI will overwrite it anyway. I'd suggest quite the opposite - you upload your file ;-) That way I'll be able to say if it is the file broken or something in your environment.
The point is to find the source of the issue and - if possible - fix it. :-)
_________________
VCMI is a work in progress.
VCMI is NOT an another mod.
 
     
Vizit0r 

Joined: 18 Jul 2010
Posts: 9
Posted: 2010-07-20, 08:03     

uploaded file needed no more

yes, WOG working absolutely correctly

all what i can say for possible issue - it's maybe problem in first 104 bytes of ACREDIT.SMK - it's almost full of 00 in hex. maybe incorrect extract from video.vid?

http://file.qip.ru/file/7zmLRK4i/ACREDIT.html - my ACREDIT.SMK

if you need - i can upload my WOG's video.vid (58 mb)
 
 
     
Tow 
Project Lead
VCMI Programmer


Joined: 01 Feb 2008
Posts: 810
Location: Kraków, Poland
Posted: 2010-07-20, 11:13     

Thank you for the file, I'm able to reproduce the issue now.
Your ACREDIT.SMK seems to be encoded with a newer version of smack than rest of H3 videos (first 4 magic bytes are SMK4 instead of SMK2). I'll try looking closer into how H3 handles it.

Vizit0r wrote:
if you need - i can upload my WOG's video.vid (58 mb)

Thanks but there's no need - I'll simply update my video.vid with your file :-)
_________________
VCMI is a work in progress.
VCMI is NOT an another mod.
 
     
Vizit0r 

Joined: 18 Jul 2010
Posts: 9
Posted: 2010-07-20, 12:23     

problem found - it's 90% of fix :)

good
 
 
     
Tow 
Project Lead
VCMI Programmer


Joined: 01 Feb 2008
Posts: 810
Location: Kraków, Poland
Posted: 2010-07-20, 12:30     

I've put your file into my VIDEO.VID and tried running H3:WoG with it. However it seems that my copy of H3 can't handle your ACREDIT.SMK fille neither. It doesn't crash but video is not displayed.

Please, check again - run your WoG and tell if in the main menu the letter "t" in "IN THE WAKE OF GODS" is animated - it should be rotating. [That is the video in the ACREDIT.]

We surely should improve handling of invalid video files (VCMI should not crash) and we will but I fear that's all we can do here.
_________________
VCMI is a work in progress.
VCMI is NOT an another mod.
 
     
Tow 
Project Lead
VCMI Programmer


Joined: 01 Feb 2008
Posts: 810
Location: Kraków, Poland
Posted: 2010-07-20, 12:47     

Quote:
We surely should improve handling of invalid video files (VCMI should not crash) and we will

Done in r1675 :-)
_________________
VCMI is a work in progress.
VCMI is NOT an another mod.
 
     
Vizit0r 

Joined: 18 Jul 2010
Posts: 9
Posted: 2010-07-20, 12:58     

Tow wrote:
I've put your file into my VIDEO.VID and tried running H3:WoG with it. However it seems that my copy of H3 can't handle your ACREDIT.SMK fille neither. It doesn't crash but video is not displayed.

Please, check again - run your WoG and tell if in the main menu the letter "t" in "IN THE WAKE OF GODS" is animated - it should be rotating. [That is the video in the ACREDIT.]

We surely should improve handling of invalid video files (VCMI should not crash) and we will but I fear that's all we can do here.


no animation in main menu.

btw, i have no string "In the Wake of Gods" in main menu ,but russian translate of this.

maybe due to russian localisation someone broke this file, who knows...
 
 
     
Display posts from previous:   
Reply to topic
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Add this topic to your bookmarks
Printable version

Jump to:  
Quick Reply
Username: 


Expire Days
 
 
 
 
 
 
 

Powered by phpBB modified by Przemo © 2003 phpBB Group
Template Chronicles modified by Nasedo modified by Tow.
© VCMI Team
Page generated in 0.08 second. SQL queries: 9