MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

Ziggy
Lurker
Reged: 01/06/04
Posts: 22
Send PM


chdman 0.146 crash
#287585 - 05/24/12 02:18 AM


Hello, I tried using chdman included with official 64 bit mame 0.146 and it is crashing on one of the chd files I used. I'm using Windows 7 64 bit with a quad core system. The chd is b07jaa11.chd (bm7thmix). During conversion of the version 4 chd to version 5, it continues to utilize more and more memory until it reaches over 2 gigabytes and finally crashes. I used an older version of chdman (0.145u3) months ago with this very same chd file successfully. My version 4 b07jaa11.chd file is 961,306,235 bytes. The following is the command line I use to convert it:

chdman copy -i b07jaa11.chd -o test.chd

Can someone please confirm this is an issue as well?



TafoidAdministrator
I keep on testing.. testing.. testing... into the future!
Reged: 04/19/06
Posts: 3135
Loc: USA
Send PM


Re: chdman 0.146 crash new [Re: Ziggy]
#287586 - 05/24/12 02:20 AM


> Hello, I tried using chdman included with official 64 bit mame 0.146 and it is
> crashing on one of the chd files I used. I'm using Windows 7 64 bit with a quad core
> system. The chd is b07jaa11.chd (bm7thmix). During conversion of the version 4 chd to
> version 5, it continues to utilize more and more memory until it reaches over 2
> gigabytes and finally crashes. I used an older version of chdman (0.145u3) months ago
> with this very same chd file successfully. My version 4 b07jaa11.chd file is
> 961,306,235 bytes. The following is the command line I use to convert it:
>
> chdman copy -i b07jaa11.chd -o test.chd
>
> Can someone please confirm this is an issue as well?

There are known memory leak issues which makes CHDMAN unsuitable for low memory systems. Wait up until U1 is release with hopefully something a bit more stable.



Ziggy
Lurker
Reged: 01/06/04
Posts: 22
Send PM


Re: chdman 0.146 crash new [Re: Tafoid]
#287587 - 05/24/12 02:21 AM


Thanks for replying...

FYI...my system has 4 gigabytes of memory. At the time of the crash, I still have over 1 gigabyte of memory left.



B2K24
MAME @ 15 kHz Sony Trinitron CRT user
Reged: 10/25/10
Posts: 2663
Send PM


Re: chdman 0.146 crash new [Re: Ziggy]
#287615 - 05/24/12 05:22 AM Attachment: chdman.zip 298 KB (48 downloads)


Self compiled X64 version of chdman works fine.
The one included in the official download needs to be replaced.

I will attach it here for your convenience



Anonymous
Unregistered
Send PM


Re: chdman 0.146 crash new [Re: B2K24]
#287655 - 05/24/12 10:15 AM


> Self compiled X64 version of chdman works fine.
> The one included in the official download needs to be replaced.
>
> I will attach it here for your convenience

Both have memory leaks, but the 32bit one can only allocate 2gb before it runs out of address space (not necessarily run out of memory). With 64bit you have more address space, it might expand your page file on large chd's but it will work.



Varmeco
purebred Arcade Lover
Reged: 06/10/12
Posts: 1
Send PM


Re: chdman 0.146 crash new [Re: ]
#289067 - 06/10/12 04:15 PM Attachment: convert_chd.zip 1 KB (13 downloads)


> Self compiled X64 version of chdman works fine.
> The one included in the official download needs to be replaced.
>
> I will attach it here for your convenience

I reworked a little script found in another forum (sorry, don't remember where) to do all the conversions conveniently.
Just take a look at it, and you will understand what it does.

Just put your chd-folder, "chdman.exe" and "convert_chd.cmd" in a new folder. Create also a "chd.new"-folder in there and start the script.
You will get a log-file to review all the SHA-1 checksums.

Edited by Varmeco (06/10/12 04:49 PM)



Destroy him my robots!



speedygreen
MAME Fan
Reged: 08/08/16
Posts: 2
Send PM


Re: chdman 0.146 crash new [Re: B2K24]
#357451 - 08/08/16 08:21 AM


B2K24, big THANK YOU for posting the X64 compiled version of chdman. I'm a noob at this and was pulling my hair out with the versions I had dying out at the 2K memory limit. Yours worked perfectly.



Haze
Reged: 09/23/03
Posts: 5244
Send PM


Re: chdman 0.146 crash new [Re: speedygreen]
#357455 - 08/08/16 10:29 AM


> B2K24, big THANK YOU for posting the X64 compiled version of chdman. I'm a noob at
> this and was pulling my hair out with the versions I had dying out at the 2K memory
> limit. Yours worked perfectly.

this thread is 4 years old, using 4 year old tools is not recommended.



speedygreen
MAME Fan
Reged: 08/08/16
Posts: 2
Send PM


Re: chdman 0.146 crash new [Re: Haze]
#357735 - 08/15/16 07:07 AM


Is there a newer version of chdman than .146?



abelenki
Super Drunk
Reged: 10/20/03
Posts: 962
Loc: Perm, Russia
Send PM


Re: chdman 0.146 crash new [Re: speedygreen]
#357736 - 08/15/16 08:55 AM Attachment: chdman.zip 617 KB (3 downloads)


> Is there a newer version of chdman than .146?

yes, chdman - MAME Compressed Hunks of Data (CHD) manager 0.176.



MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration



Haze
Reged: 09/23/03
Posts: 5244
Send PM


Re: chdman 0.146 crash new [Re: abelenki]
#357738 - 08/15/16 09:48 AM


> > Is there a newer version of chdman than .146?
>
> yes, chdman - MAME Compressed Hunks of Data (CHD) manager 0.176.

actually I'd be careful with that, there was a bug caused by refactoring in 0.176, it's fixed in current GIT, but 0.176 won't handle large files.

0.176 was a bit of a botched release all round really and should probably be avoided.



TafoidAdministrator
I keep on testing.. testing.. testing... into the future!
Reged: 04/19/06
Posts: 3135
Loc: USA
Send PM


Re: chdman 0.146 crash new [Re: Haze]
#357743 - 08/15/16 01:16 PM


> > > Is there a newer version of chdman than .146?
> >
> > yes, chdman - MAME Compressed Hunks of Data (CHD) manager 0.176.
>
> actually I'd be careful with that, there was a bug caused by refactoring in 0.176,
> it's fixed in current GIT, but 0.176 won't handle large files.
>
> 0.176 was a bit of a botched release all round really and should probably be avoided.

Yeah. Without going into too much detail, it was largely 6.1.0 GCC's fault as it was updated via msys2/pacman mere days before release and no testing was done on the new GCC. The issues with 6.1.0 have pretty much been fixed at this point, so 0.177 should be a bit better



Vas Crabb
BOFH
Reged: 12/13/05
Posts: 4461
Loc: Melbourne, Australia
Send PM


Re: chdman 0.146 crash new [Re: Haze]
#357762 - 08/15/16 05:57 PM


> actually I'd be careful with that, there was a bug caused by refactoring in 0.176,
> it's fixed in current GIT, but 0.176 won't handle large files.

The refactoring bug was introduced after 0.176 and fixed pretty soon after that (unless there's another bug in 0.176).



Haze
Reged: 09/23/03
Posts: 5244
Send PM


Re: chdman 0.146 crash new [Re: Vas Crabb]
#357765 - 08/15/16 06:26 PM


> > actually I'd be careful with that, there was a bug caused by refactoring in 0.176,
> > it's fixed in current GIT, but 0.176 won't handle large files.
>
> The refactoring bug was introduced after 0.176 and fixed pretty soon after that
> (unless there's another bug in 0.176).

Ah, fair enough, I was checking notes and saw it listed as a post 176 fix, those notes of course didn't mention that it also broke after 176 :-)


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 205 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 5398