Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
06576 Misc. Minor Always May 3, 2017, 09:41 Oct 22, 2017, 14:30
Tester Robbbert View Status Public Platform MAME (Official Binary)
Assigned To Resolution Reopened OS Windows Vista/7/8 (64-bit)
Status [?] Confirmed Driver
Version 0.185 Fixed in Version Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary 06576: imgtool: imgtool multiple problems
Description imgtool listformats produces no output (last worked in 0.181)
imgtool listfilters produces no output (last worked in 0.181)


Any attempt to work with a format of pc_chd crashes imgtool with a generic windows popup message (no dump).
Not sure when this broke, but I had to go way back to 0.132 to find a version that mostly worked.

In 0.132, identify, mkdir, get, dir are working. The put command gave no error, but no file was copied over either.
Now, all of these commands crash.
Steps To Reproduce
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems imgtool
Attached Files
txt file icon listf.txt (11,905 bytes) May 4, 2017, 12:37 Uploaded by Osso
imgtool listformat > listf.txt output
[Show Content]
Relationships
There are no relationship linked to this issue.
Notes
8
User avatar
No.13820
Bletch
Developer
May 4, 2017, 02:15
Couldn't reproduce listformats, identify, mkdir, get, dir problems. Fixed the others. File another ticket for remaining issues.
User avatar
No.13821
Robbbert
Senior Tester
May 4, 2017, 11:49
Just compiled with your changes, the listfilters and listformats still not working. CHDs no longer crash but instead are treated as corrupted. Re-opened.
User avatar
No.13822
Osso
Moderator
May 4, 2017, 12:40
I have the same problem with listformats. Upload the output I get when directing to a file.
User avatar
No.13823
cuavas
Administrator
May 4, 2017, 12:49
It's working fine for me - MinGW 32/64 on Win10 Pro (accessing remotely using Microsoft's port of OpenSSH server). It's also fine with 64-bit builds on Linux. Which configurations have you tested, Bletch?
User avatar
No.13824
Robbbert
Senior Tester
May 4, 2017, 14:12
It has been found that the use of _O_U8TEXT is causing nulls to appear in the text stream. On some computers (such as mine) the null is interpreted as end-of string so all the output is truncated.

Now, to be more explicit with the CHD troubles:

imgtool identify ibm_v4.chd
Unrecognized format

imgtool dir pc_chd ibm_v5.chd
Corrupt image

These errors occur with any CHD that I've tried.
User avatar
No.13828
M.A.S.H.
Senior Tester
May 8, 2017, 18:34
@Robbbert
This bug was fixed: https://git.redump.net/mame/commit/?id=19821fa25ad83f39d2218d02686edbbd176cb2a3
Also login and see "Issue History". This Bug report was changed from Open => Fixed by Nathan Woods.

4 days ago npwoods Resolution Open => Fixed

The correct "Status" and "Fixed in Version" settings were missing
So i changed the "Status" to Assigned => Resolved and "Fixed in Version" to => 0.186GIT

Why did you set the "Status" back to Resolved => Assigned ?
User avatar
No.13829
Tafoid
Administrator
May 8, 2017, 21:22
From what I understand looking at the modified, the fix was thought to be complete, labeled as fix, but was now and was set to assigned but the status/version fixed were not changed or cleared out at the same time.
This bug is still pending with some issues - to mu knowledge. Since this is basically a Dev bug, let the Devs take care of it.

I do appreciate your efforts to help clean up forgotten things, MASH. Just be 100% sure by your own local verification before actually assigning fixed.
User avatar
No.14317
star2root
Viewer
Oct 22, 2017, 14:30
Is this related to: http://mametesters.org/view.php?id=6693
?