ECC hangs when scanning wrong ZIPs

If you encounter bugs, errors or crashes, please report them in this section so we can try to fix it!
User avatar
Blackerking
ECC Support
Posts: 448
Joined: 30 Dec 2006, 14:51
Location: Germany, Leipzig
Contact:

ECC hangs when scanning wrong ZIPs

Unread post by Blackerking » 31 Jan 2009, 08:33

I was scanning all my Scummgames(At the moment the most are empty files, because Torrent).
ECC hangs everytime at the same file. But i don't know which exactly. Maybe the incomplete files makes ECC hangs.
Nothing that looks like a signature.

User avatar
ECC
ECC Founder & Developer 2005-2009
Posts: 3680
Joined: 28 Aug 2006, 11:58
Location: Hamburg, Germany
Contact:

Re: ECC hangs when scanning wrong ZIPs

Unread post by ECC » 31 Jan 2009, 10:24

Maybe you can activate the logger mechanism. So you can see, whats the last game ecc could added for a system.
ECC Developer 2005-2009
http://www.camya.com/ecc/
contact: ecc@camya.com

User avatar
Blackerking
ECC Support
Posts: 448
Joined: 30 Dec 2006, 14:51
Location: Germany, Leipzig
Contact:

Re: ECC hangs when scanning wrong ZIPs

Unread post by Blackerking » 31 Jan 2009, 18:32

Spoiler: show

Code: Select all

********************************************************************************
2009-01-31 18:24:52: NEW SESSION
********************************************************************************
################################################################################
GENERATOR: emuControlCenter (log: rom_parsing.txt)
2009-01-31 18:24:52: Suche und parse neue Spiele
################################################################################
STATE	CRC32		EXT	NAME
Füge Spiele für zip hinzu
OK 	7F5CA8F7	zip	agi-fanmade-11
OK 	ED741582	zip	agi-fanmade-110
OK 	45CAAE7C	zip	agi-fanmade-111
OK 	19F99844	zip	agi-fanmade-112
OK 	CA47089D	zip	agi-fanmade-113
OK 	1A143B19	zip	agi-fanmade-114
OK 	AFE0A119	zip	agi-fanmade-115
OK 	AB02D2C9	zip	agi-fanmade-116
OK 	13CE01D5	zip	agi-fanmade-117
OK 	F2ED7293	zip	agi-fanmade-118
OK 	62479C3B	zip	agi-fanmade-119
OK 	8057AA74	zip	agi-fanmade-12
OK 	E2462F86	zip	agi-fanmade-120
OK 	3CD95C22	zip	agi-fanmade-121
OK 	C45AA7A3	zip	agi-fanmade-122
OK 	1078AA5A	zip	agi-fanmade-123
OK 	FF3717F0	zip	agi-fanmade-124
OK 	4E427E91	zip	agi-fanmade-125
OK 	AF500A0E	zip	agi-fanmade-126
OK 	6C5EFB36	zip	agi-fanmade-127
OK 	8E55F4FB	zip	agi-fanmade-128
OK 	9131FC65	zip	agi-fanmade-129
OK 	D77531D5	zip	agi-fanmade-13
OK 	0D0B9958	zip	agi-fanmade-130
OK 	FC1E8087	zip	agi-fanmade-131
OK 	D56C972E	zip	agi-fanmade-132
OK 	B2FD692A	zip	agi-fanmade-133
OK 	3E52B57F	zip	agi-fanmade-134
OK 	CB609D22	zip	agi-fanmade-135
OK 	83971186	zip	agi-fanmade-136
OK 	F61DAD38	zip	agi-fanmade-137
OK 	BAE1DDF9	zip	agi-fanmade-138
OK 	2B2C887D	zip	agi-fanmade-139
OK 	47BC487B	zip	agi-fanmade-14
OK 	31099062	zip	agi-fanmade-140
OK 	01E1E95A	zip	agi-fanmade-141
OK 	E228CC22	zip	agi-fanmade-142
OK 	6105F83C	zip	agi-fanmade-143
OK 	23E199C0	zip	agi-fanmade-144
OK 	EF4F600C	zip	agi-fanmade-145
OK 	89018F90	zip	agi-fanmade-146
OK 	156C5A2E	zip	agi-fanmade-147
OK 	D1D85C31	zip	agi-fanmade-148
OK 	1F1C67AD	zip	agi-fanmade-149
OK 	D32597F3	zip	agi-fanmade-15
OK 	E1D0D23C	zip	agi-fanmade-150
OK 	B06A143A	zip	agi-fanmade-151
OK 	FC52E861	zip	agi-fanmade-152
OK 	1467851F	zip	agi-fanmade-153
OK 	87CDD7F5	zip	agi-fanmade-154
OK 	B37812D4	zip	agi-fanmade-155
OK 	E93637EC	zip	agi-fanmade-156
OK 	83BDD53E	zip	agi-fanmade-157
OK 	3D4A87E2	zip	agi-fanmade-158
OK 	9D938134	zip	agi-fanmade-159
OK 	7C8A3462	zip	agi-fanmade-16
OK 	3E424E7B	zip	agi-fanmade-160
OK 	93EA3E1D	zip	agi-fanmade-161
OK 	A452E273	zip	agi-fanmade-162
OK 	F10CD419	zip	agi-fanmade-163
OK 	2B646A58	zip	agi-fanmade-164
OK 	7EF78207	zip	agi-fanmade-165
OK 	115B6463	zip	agi-fanmade-166
OK 	46439536	zip	agi-fanmade-167
OK 	1D28DD38	zip	agi-fanmade-168
OK 	8598C915	zip	agi-fanmade-169
OK 	EE988AA2	zip	agi-fanmade-17
OK 	F697BF6F	zip	agi-fanmade-18
OK 	C2582E9C	zip	agi-fanmade-19
OK 	9D6D7710	zip	agi-fanmade-2
OK 	00D62674	zip	agi-fanmade-20
OK 	83A77219	zip	agi-fanmade-21
OK 	353471AA	zip	agi-fanmade-22
OK 	C16E9DAA	zip	agi-fanmade-23
OK 	F466C9B9	zip	agi-fanmade-24
OK 	C33321D8	zip	agi-fanmade-25
OK 	77CE2DC6	zip	agi-fanmade-26
OK 	1701D531	zip	agi-fanmade-27
OK 	2F1E0846	zip	agi-fanmade-28
OK 	9814C3BB	zip	agi-fanmade-29
OK 	BED96329	zip	agi-fanmade-3
OK 	E75E3B88	zip	agi-fanmade-30
OK 	120F23C9	zip	agi-fanmade-31
OK 	7DF73D86	zip	agi-fanmade-32
OK 	BE5D0845	zip	agi-fanmade-33
OK 	7B46557C	zip	agi-fanmade-34
OK 	7B7D5593	zip	agi-fanmade-35
OK 	9EBCAFD3	zip	agi-fanmade-36
OK 	C7078497	zip	agi-fanmade-37
OK 	06A58DDD	zip	agi-fanmade-38
OK 	1DD3E0DA	zip	agi-fanmade-39
OK 	8EDC6448	zip	agi-fanmade-4
OK 	05B95CD7	zip	agi-fanmade-40
OK 	2A9384D9	zip	agi-fanmade-41
OK 	78B27B32	zip	agi-fanmade-42
OK 	0D99D760	zip	agi-fanmade-43
OK 	C53EB592	zip	agi-fanmade-44
OK 	3993B0C5	zip	agi-fanmade-45
OK 	22475C83	zip	agi-fanmade-46
OK 	969C61C7	zip	agi-fanmade-47
OK 	00000000	zip	agi-fanmade-48
OK 	3F5729EA	zip	agi-fanmade-55
OK 	1FFBDB6F	zip	agi-fanmade-56
OK 	78D3476F	zip	agi-fanmade-57
OK 	B0E73604	zip	agi-fanmade-58
OK 	2EBC2D0D	zip	agi-fanmade-59
OK 	42F8BB04	zip	agi-fanmade-6
OK 	2DC740D2	zip	agi-fanmade-60
OK 	D9EB6398	zip	agi-fanmade-61
OK 	7D3A2EE8	zip	agi-fanmade-62
OK 	9B91974A	zip	agi-fanmade-63
OK 	CEEF28E5	zip	agi-fanmade-64
OK 	935CB269	zip	agi-fanmade-65
OK 	F7631211	zip	agi-fanmade-66
OK 	B30FB2CB	zip	agi-fanmade-67
OK 	0DC2B635	zip	agi-fanmade-68
OK 	C4F47A28	zip	agi-fanmade-69
OK 	85039381	zip	agi-fanmade-7
OK 	BE474F2C	zip	agi-fanmade-70
OK 	80D3A871	zip	agi-fanmade-71
OK 	1CB18347	zip	agi-fanmade-72
OK 	9F046BAF	zip	agi-fanmade-73
OK 	C8EF2F49	zip	agi-fanmade-74
OK 	7C986512	zip	agi-fanmade-75
OK 	06A065CD	zip	agi-fanmade-76
OK 	4DD53B22	zip	agi-fanmade-77
OK 	FA32BF17	zip	agi-fanmade-78
OK 	044617DA	zip	agi-fanmade-79
OK 	247CEEF8	zip	agi-fanmade-8
OK 	00000000	zip	agi-fanmade-80
OK 	F867DC23	zip	agi-fanmade-90
OK 	B381AFAC	zip	agi-fanmade-91
OK 	3F6E2BCB	zip	agi-fanmade-92
OK 	532BA524	zip	agi-fanmade-93
OK 	DAC953B0	zip	agi-fanmade-94
OK 	58274F39	zip	agi-fanmade-95
OK 	06BE5450	zip	agi-fanmade-96
OK 	C0999347	zip	agi-fanmade-97
OK 	5FEB472B	zip	agi-fanmade-98
OK 	0A64F9A3	zip	agi-fanmade-99
OK 	DD443F44	zip	agi-fanmade-fr-1
OK 	93E4D42C	zip	agi-fanmade-fr-2
OK 	9146A84B	zip	agi-fanmade-fr-3
OK 	56956344	zip	agi-fanmade-fr-4
OK 	90EC40D1	zip	agi-fanmade-fr-5
OK 	111331D0	zip	agi-fanmade-fr-6
OK 	5D4580ED	zip	agi-fanmade-fr-7
OK 	2148EA60	zip	agi-fanmade-fr
OK 	00000000	zip	agi-fanmade-nl
OK 	D4A9E70E	zip	sqx-1
OK 	00000000	zip	sqx
OK 	00000000	zip	elvira1-amiga
OK 	00000000	zip	elvira2-amiga
OK 	00000000	zip	feeble-amiga-de
OK 	00000000	zip	feeble-amiga
OK 	00000000	zip	feeble-win-de
OK 	00000000	zip	feeble-win
OK 	00000000	zip	sim1da
OK 	00000000	zip	sim1mep
OK 	00000000	zip	sim2da
OK 	00000000	zip	sim2wa
OK 	00000000	zip	simon1-amiga-2
OK 	00000000	zip	simon1-amiga
OK 	00000000	zip	simon1-cz
OK 	00000000	zip	simon1-de
OK 	00000000	zip	simon1-hb
OK 	00000000	zip	simon1-ru
OK 	00000000	zip	simon1-win-de
OK 	00000000	zip	simon1-win
OK 	00000000	zip	simon2-de
OK 	00000000	zip	simon2-fr
No error?!?
Nothing that looks like a signature.

User avatar
ECC
ECC Founder & Developer 2005-2009
Posts: 3680
Joined: 28 Aug 2006, 11:58
Location: Hamburg, Germany
Contact:

Re: ECC hangs when scanning wrong ZIPs

Unread post by ECC » 31 Jan 2009, 22:28

Hm, these OK 00000000 zip sqx rows dont look good. I have to try it.... first i have to find the right update for svn :lmfao:
ECC Developer 2005-2009
http://www.camya.com/ecc/
contact: ecc@camya.com

User avatar
Phoenix
ECC Developer 2006-2016
Posts: 9059
Joined: 27 Aug 2006, 01:17
Location: Deventer, The Netherlands
Contact:

Re: ECC hangs when scanning wrong ZIPs

Unread post by Phoenix » 19 Apr 2009, 13:10

@All

Who can help to add a check in the PHP file when ECC gets the CRC32?, i found where ecc cals fsum.exe to get the crc32, it's in ecc-system\manager\cFileIO.php', now we only to have a check if it the crc32 = "0000000", if so then skip the file...

Code: Select all

	public function eccGetCrc32FromFile($fileName) {
		return str_pad (strtoupper(dechex(crc32(file_get_contents($fileName)))), 8, '0', STR_PAD_LEFT);
	}
Sebastiaan Ebeltjes | ECC Developer 2006-2016 | ECC Forum Admin | Phoenix Interactive WebMaster
[- ECC programs -]
eccUpdate, eccScriptSystem, GtkThemeSelect, DatFileUpdater (DFU), ImagePackCenter (IPC), eccDiagnostics, 3dGallery, iccImageInject
eccKameleonCode, eccCreateStartmenuShotcut, eccThirdPartyConfig (TPC), EmuMoviesDownloader (EMD), eccVideoPlayer
MobyGamesImporter (MGI), ECC Amiga GetGemusConfig.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest